Home
last modified time | relevance | path

Searched refs:ivars (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-13-stable/sys/xen/xenbus/
HDxenbusb.c83 xenbusb_free_child_ivars(struct xenbus_device_ivars *ivars) in xenbusb_free_child_ivars() argument
85 if (ivars->xd_otherend_watch.node != NULL) { in xenbusb_free_child_ivars()
86 xs_unregister_watch(&ivars->xd_otherend_watch); in xenbusb_free_child_ivars()
87 free(ivars->xd_otherend_watch.node, M_XENBUS); in xenbusb_free_child_ivars()
88 ivars->xd_otherend_watch.node = NULL; in xenbusb_free_child_ivars()
91 if (ivars->xd_local_watch.node != NULL) { in xenbusb_free_child_ivars()
92 xs_unregister_watch(&ivars->xd_local_watch); in xenbusb_free_child_ivars()
93 ivars->xd_local_watch.node = NULL; in xenbusb_free_child_ivars()
96 if (ivars->xd_node != NULL) { in xenbusb_free_child_ivars()
97 free(ivars->xd_node, M_XENBUS); in xenbusb_free_child_ivars()
[all …]
HDxenbusb_front.c139 xenbusb_front_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_front_get_otherend_node() argument
144 if (ivars->xd_otherend_path != NULL) { in xenbusb_front_get_otherend_node()
145 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
146 ivars->xd_otherend_path = NULL; in xenbusb_front_get_otherend_node()
149 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_front_get_otherend_node()
150 "backend-id", "%i", &ivars->xd_otherend_id, in xenbusb_front_get_otherend_node()
155 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
156 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_front_get_otherend_node()
HDxenbusb_back.c191 xenbusb_back_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_back_get_otherend_node() argument
196 if (ivars->xd_otherend_path != NULL) { in xenbusb_back_get_otherend_node()
197 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
198 ivars->xd_otherend_path = NULL; in xenbusb_back_get_otherend_node()
201 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_back_get_otherend_node()
202 "frontend-id", "%i", &ivars->xd_otherend_id, in xenbusb_back_get_otherend_node()
207 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
208 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_back_get_otherend_node()
HDxenbusb_if.m64 * a split device whose local end is represented by ivars.
/freebsd-13-stable/sys/dev/pwm/
HDofw_pwmbus.c61 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_add_child() local
63 if ((ivars = malloc(sizeof(struct ofw_pwmbus_ivars), M_DEVBUF, in ofw_pwmbus_add_child()
69 free(ivars, M_DEVBUF); in ofw_pwmbus_add_child()
73 ivars->devinfo.obd_node = -1; in ofw_pwmbus_add_child()
74 device_set_ivars(child, ivars); in ofw_pwmbus_add_child()
82 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_child_deleted() local
84 ivars = device_get_ivars(child); in ofw_pwmbus_child_deleted()
85 if (ivars != NULL) { in ofw_pwmbus_child_deleted()
86 ofw_bus_gen_destroy_devinfo(&ivars->devinfo); in ofw_pwmbus_child_deleted()
87 free(ivars, M_DEVBUF); in ofw_pwmbus_child_deleted()
[all …]
HDpwmbus.c52 struct pwmbus_ivars *ivars; in pwmbus_add_child() local
58 ivars = malloc(sizeof(struct pwmbus_ivars), M_DEVBUF, M_NOWAIT | M_ZERO); in pwmbus_add_child()
59 if (ivars == NULL) { in pwmbus_add_child()
63 device_set_ivars(child, ivars); in pwmbus_add_child()
71 struct pwmbus_ivars *ivars; in pwmbus_child_location_str() local
73 ivars = device_get_ivars(child); in pwmbus_child_location_str()
75 device_get_nameunit(device_get_parent(dev)), ivars->pi_channel); in pwmbus_child_location_str()
91 struct pwmbus_ivars *ivars; in pwmbus_hinted_child() local
100 ivars = device_get_ivars(child); in pwmbus_hinted_child()
101 resource_int_value(dname, dunit, "channel", &ivars->pi_channel); in pwmbus_hinted_child()
[all …]
/freebsd-13-stable/sys/dev/mii/
HDmii.c124 struct miibus_ivars *ivars; in miibus_attach() local
142 ivars = device_get_ivars(dev); in miibus_attach()
143 ifmedia_init(&mii->mii_media, IFM_IMASK, ivars->ifmedia_upd, in miibus_attach()
144 ivars->ifmedia_sts); in miibus_attach()
145 mii->mii_ifp = ivars->ifp; in miibus_attach()
157 struct miibus_ivars *ivars; in miibus_detach() local
159 ivars = device_get_ivars(dev); in miibus_detach()
163 free(ivars, M_DEVBUF); in miibus_detach()
196 struct miibus_ivars *ivars; in miibus_read_ivar() local
202 ivars = device_get_ivars(dev); in miibus_read_ivar()
[all …]
/freebsd-13-stable/sys/dev/nvdimm/
HDnvdimm_acpi.c97 uintptr_t *ivars; in nvdimm_root_create_devs() local
112 ivars = mallocarray(NVDIMM_ROOT_IVAR_MAX, sizeof(uintptr_t), in nvdimm_root_create_devs()
114 device_set_ivars(child, ivars); in nvdimm_root_create_devs()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDObjCUnusedIVarsChecker.cpp113 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar()
HDNullabilityChecker.cpp443 for (const auto *IvarDecl : ID->ivars()) { in checkSelfIvarsForInvariantViolation()
/freebsd-13-stable/sys/dev/fdc/
HDfdc.c1636 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_read_ivar() local
1640 *result = ivars->fdunit; in fdc_read_ivar()
1643 *result = ivars->fdtype; in fdc_read_ivar()
1654 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_write_ivar() local
1658 ivars->fdunit = value; in fdc_write_ivar()
1661 ivars->fdtype = value; in fdc_write_ivar()
/freebsd-13-stable/sys/dev/igc/
HDif_igc.h322 u32 ivars; member
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaDeclObjC.cpp2137 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars() argument
2151 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2157 IDecl->makeDeclVisibleInContext(ivars[i]); in CheckImplementationIvars()
2158 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2167 assert(ivars && "missing @implementation ivars"); in CheckImplementationIvars()
2172 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2202 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2232 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
3772 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars()
3855 Ivars = IntfDecl->ivars(); in DiagnoseVariableSizedIvars()
[all …]
/freebsd-13-stable/sys/dev/e1000/
HDif_em.h486 u32 ivars; member
HDif_em.c1609 E1000_WRITE_REG(&sc->hw, E1000_IVAR, sc->ivars); in em_if_init()
2510 sc->ivars |= (8 | rx_que->msix) << (i * 4); in em_if_msix_intr_assign()
2537 sc->ivars |= (8 | tx_que->msix) << (8 + (i * 4)); in em_if_msix_intr_assign()
2557 sc->ivars |= (8 | rx_vectors) << 16; in em_if_msix_intr_assign()
2558 sc->ivars |= 0x80000000; in em_if_msix_intr_assign()
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGObjCMac.cpp3780 auto ivars = ivarList.beginArray(ObjCTypes.IvarTy); in EmitIvarList() local
3788 auto ivar = ivars.beginStruct(ObjCTypes.IvarTy); in EmitIvarList()
3792 ivar.finishAndAddTo(ivars); in EmitIvarList()
3796 auto count = ivars.size(); in EmitIvarList()
3798 ivars.abandon(); in EmitIvarList()
3803 ivars.finishAndAddTo(ivarList); in EmitIvarList()
5546 SmallVector<const ObjCIvarDecl*, 32> ivars; in BuildIvarLayout() local
5562 ivars.push_back(IVD); in BuildIvarLayout()
5566 } else if (!ivars.empty()) { in BuildIvarLayout()
5568 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/InstallAPI/
HDVisitor.cpp194 D->ivars()); in VisitObjCInterfaceDecl()
212 D->ivars()); in VisitObjCCategoryDecl()
/freebsd-13-stable/sys/dev/ahci/
HDahci.c691 intptr_t ivars; in ahci_print_child() local
695 ivars = (intptr_t)device_get_ivars(child); in ahci_print_child()
696 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_print_child()
697 retval += printf(" at channel %d", (int)ivars & AHCI_UNIT); in ahci_print_child()
706 intptr_t ivars; in ahci_child_location_str() local
708 ivars = (intptr_t)device_get_ivars(child); in ahci_child_location_str()
709 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_child_location_str()
710 snprintf(buf, buflen, "channel=%d", (int)ivars & AHCI_UNIT); in ahci_child_location_str()
/freebsd-13-stable/sys/kern/
HDsubr_bus.c147 void *ivars; /**< instance variables */ member
1841 dev->ivars = NULL; in make_device()
2619 return (dev->ivars); in device_get_ivars()
2626 device_set_ivars(device_t dev, void * ivars) in device_set_ivars() argument
2629 dev->ivars = ivars; in device_set_ivars()
5438 (dev->ivars? "":"no "), in print_device_short()
6134 db_printf(" ivars: %p\n", dev->ivars); in DB_SHOW_COMMAND()
/freebsd-13-stable/stand/kshim/
HDbsd_kernel.c649 device_set_ivars(device_t dev, void *ivars) in device_set_ivars() argument
651 dev->dev_aux = ivars; in device_set_ivars()
HDbsd_kernel.h463 void device_set_ivars(device_t dev, void *ivars);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
HDMachODump.cpp3640 uint64_t ivars; // const ivar_list_t * (64-bit pointer) member
3653 uint32_t ivars; /* const ivar_list_t * (32-bit pointer) */ member
3856 uint32_t ivars; /* struct objc_ivar_list * (32-bit pointer) */ member
3959 sys::swapByteOrder(cro.ivars); in swapStruct()
3972 sys::swapByteOrder(cro.ivars); in swapStruct()
4145 sys::swapByteOrder(objc_class.ivars); in swapStruct()
5561 sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, ivars), S, in print_class_ro64_t()
5562 info, n_value, cro.ivars); in print_class_ro64_t()
5568 if (cro.ivars != 0) in print_class_ro64_t()
5569 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDDeclPrinter.cpp1441 for (const auto *I : OID->ivars()) { in VisitObjCImplementationDecl()
1500 for (const auto *I : OID->ivars()) { in VisitObjCInterfaceDecl()
1565 for (const auto *I : PID->ivars()) in VisitObjCCategoryDecl()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDDeclObjC.h1450 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
2439 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
2746 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ExtractAPI/
HDExtractAPIVisitor.h1051 Decl->ivars()); in VisitObjCInterfaceDecl()
1194 Decl->ivars()); in VisitObjCCategoryDecl()

12