Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/xen/xenbus/
Dxenbusb.c85 xenbusb_free_child_ivars(struct xenbus_device_ivars *ivars) in xenbusb_free_child_ivars() argument
87 if (ivars->xd_otherend_watch.node != NULL) { in xenbusb_free_child_ivars()
88 xs_unregister_watch(&ivars->xd_otherend_watch); in xenbusb_free_child_ivars()
89 free(ivars->xd_otherend_watch.node, M_XENBUS); in xenbusb_free_child_ivars()
90 ivars->xd_otherend_watch.node = NULL; in xenbusb_free_child_ivars()
93 if (ivars->xd_local_watch.node != NULL) { in xenbusb_free_child_ivars()
94 xs_unregister_watch(&ivars->xd_local_watch); in xenbusb_free_child_ivars()
95 ivars->xd_local_watch.node = NULL; in xenbusb_free_child_ivars()
98 if (ivars->xd_node != NULL) { in xenbusb_free_child_ivars()
99 free(ivars->xd_node, M_XENBUS); in xenbusb_free_child_ivars()
[all …]
Dxenbusb_front.c142 xenbusb_front_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_front_get_otherend_node() argument
147 if (ivars->xd_otherend_path != NULL) { in xenbusb_front_get_otherend_node()
148 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
149 ivars->xd_otherend_path = NULL; in xenbusb_front_get_otherend_node()
152 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_front_get_otherend_node()
153 "backend-id", "%i", &ivars->xd_otherend_id, in xenbusb_front_get_otherend_node()
158 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
159 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_front_get_otherend_node()
Dxenbusb_back.c194 xenbusb_back_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_back_get_otherend_node() argument
199 if (ivars->xd_otherend_path != NULL) { in xenbusb_back_get_otherend_node()
200 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
201 ivars->xd_otherend_path = NULL; in xenbusb_back_get_otherend_node()
204 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_back_get_otherend_node()
205 "frontend-id", "%i", &ivars->xd_otherend_id, in xenbusb_back_get_otherend_node()
210 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
211 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_back_get_otherend_node()
Dxenbusb_if.m65 * a split device whose local end is represented by ivars.
/freebsd-12-stable/sys/dev/pwm/
Dofw_pwmbus.c63 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_add_child() local
65 if ((ivars = malloc(sizeof(struct ofw_pwmbus_ivars), M_DEVBUF, in ofw_pwmbus_add_child()
71 free(ivars, M_DEVBUF); in ofw_pwmbus_add_child()
75 ivars->devinfo.obd_node = -1; in ofw_pwmbus_add_child()
76 device_set_ivars(child, ivars); in ofw_pwmbus_add_child()
84 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_child_deleted() local
86 ivars = device_get_ivars(child); in ofw_pwmbus_child_deleted()
87 if (ivars != NULL) { in ofw_pwmbus_child_deleted()
88 ofw_bus_gen_destroy_devinfo(&ivars->devinfo); in ofw_pwmbus_child_deleted()
89 free(ivars, M_DEVBUF); in ofw_pwmbus_child_deleted()
[all …]
Dpwmbus.c55 struct pwmbus_ivars *ivars; in pwmbus_add_child() local
61 ivars = malloc(sizeof(struct pwmbus_ivars), M_DEVBUF, M_NOWAIT | M_ZERO); in pwmbus_add_child()
62 if (ivars == NULL) { in pwmbus_add_child()
66 device_set_ivars(child, ivars); in pwmbus_add_child()
74 struct pwmbus_ivars *ivars; in pwmbus_child_location_str() local
76 ivars = device_get_ivars(child); in pwmbus_child_location_str()
78 device_get_nameunit(device_get_parent(dev)), ivars->pi_channel); in pwmbus_child_location_str()
94 struct pwmbus_ivars *ivars; in pwmbus_hinted_child() local
103 ivars = device_get_ivars(child); in pwmbus_hinted_child()
104 resource_int_value(dname, dunit, "channel", &ivars->pi_channel); in pwmbus_hinted_child()
[all …]
/freebsd-12-stable/sys/dev/mii/
Dmii.c132 struct miibus_ivars *ivars; in miibus_attach() local
150 ivars = device_get_ivars(dev); in miibus_attach()
151 ifmedia_init(&mii->mii_media, IFM_IMASK, ivars->ifmedia_upd, in miibus_attach()
152 ivars->ifmedia_sts); in miibus_attach()
153 mii->mii_ifp = ivars->ifp; in miibus_attach()
165 struct miibus_ivars *ivars; in miibus_detach() local
167 ivars = device_get_ivars(dev); in miibus_detach()
171 free(ivars, M_DEVBUF); in miibus_detach()
204 struct miibus_ivars *ivars; in miibus_read_ivar() local
210 ivars = device_get_ivars(dev); in miibus_read_ivar()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/docs/design/
Dsbapi.rst19 You also need to choose the ivars for the class with care, since you can't add
20 or remove ivars without breaking binary compatibility. In some cases, the SB
40 all the SB objects. Since the ivars of the classes are all pointers of one sort
/freebsd-12-stable/sys/dev/nvdimm/
Dnvdimm.c484 uintptr_t *ivars; in nvdimm_root_create_devs() local
496 ivars = mallocarray(NVDIMM_ROOT_IVAR_MAX, sizeof(uintptr_t), in nvdimm_root_create_devs()
498 device_set_ivars(child, ivars); in nvdimm_root_create_devs()
/freebsd-12-stable/sys/dev/fdc/
Dfdc.c1639 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_read_ivar() local
1643 *result = ivars->fdunit; in fdc_read_ivar()
1646 *result = ivars->fdtype; in fdc_read_ivar()
1657 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_write_ivar() local
1661 ivars->fdunit = value; in fdc_write_ivar()
1664 ivars->fdtype = value; in fdc_write_ivar()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp114 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar()
/freebsd-12-stable/sys/dev/igc/
Dif_igc.h363 u32 ivars; member
/freebsd-12-stable/sys/dev/e1000/
Dif_em.h467 u32 ivars; member
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGObjCMac.cpp3845 auto ivars = ivarList.beginArray(ObjCTypes.IvarTy); in EmitIvarList() local
3853 auto ivar = ivars.beginStruct(ObjCTypes.IvarTy); in EmitIvarList()
3857 ivar.finishAndAddTo(ivars); in EmitIvarList()
3861 auto count = ivars.size(); in EmitIvarList()
3863 ivars.abandon(); in EmitIvarList()
3868 ivars.finishAndAddTo(ivarList); in EmitIvarList()
5623 SmallVector<const ObjCIvarDecl*, 32> ivars; in BuildIvarLayout() local
5639 ivars.push_back(IVD); in BuildIvarLayout()
5643 } else if (!ivars.empty()) { in BuildIvarLayout()
5645 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp2116 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars() argument
2129 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2135 IDecl->makeDeclVisibleInContext(ivars[i]); in CheckImplementationIvars()
2136 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2145 assert(ivars && "missing @implementation ivars"); in CheckImplementationIvars()
2150 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2180 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2210 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
3754 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars()
3837 Ivars = IntfDecl->ivars(); in DiagnoseVariableSizedIvars()
[all …]
/freebsd-12-stable/sys/dev/ahci/
Dahci.c690 intptr_t ivars; in ahci_print_child() local
694 ivars = (intptr_t)device_get_ivars(child); in ahci_print_child()
695 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_print_child()
696 retval += printf(" at channel %d", (int)ivars & AHCI_UNIT); in ahci_print_child()
705 intptr_t ivars; in ahci_child_location_str() local
707 ivars = (intptr_t)device_get_ivars(child); in ahci_child_location_str()
708 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_child_location_str()
709 snprintf(buf, buflen, "channel=%d", (int)ivars & AHCI_UNIT); in ahci_child_location_str()
/freebsd-12-stable/sys/kern/
Dsubr_bus.c143 void *ivars; /**< instance variables */ member
1840 dev->ivars = NULL; in make_device()
2576 return (dev->ivars); in device_get_ivars()
2583 device_set_ivars(device_t dev, void * ivars) in device_set_ivars() argument
2587 dev->ivars = ivars; in device_set_ivars()
5279 (dev->ivars? "":"no "), in print_device_short()
5986 db_printf(" ivars: %p\n", dev->ivars); in DB_SHOW_COMMAND()
/freebsd-12-stable/stand/kshim/
Dbsd_kernel.c635 device_set_ivars(device_t dev, void *ivars) in device_set_ivars() argument
637 dev->dev_aux = ivars; in device_set_ivars()
Dbsd_kernel.h437 void device_set_ivars(device_t dev, void *ivars);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DDeclPrinter.cpp1328 for (const auto *I : OID->ivars()) { in VisitObjCImplementationDecl()
1382 for (const auto *I : OID->ivars()) { in VisitObjCInterfaceDecl()
1447 for (const auto *I : PID->ivars()) in VisitObjCCategoryDecl()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp3421 uint64_t ivars; // const ivar_list_t * (64-bit pointer) member
3434 uint32_t ivars; /* const ivar_list_t * (32-bit pointer) */ member
3627 uint32_t ivars; /* struct objc_ivar_list * (32-bit pointer) */ member
3730 sys::swapByteOrder(cro.ivars); in swapStruct()
3743 sys::swapByteOrder(cro.ivars); in swapStruct()
3910 sys::swapByteOrder(objc_class.ivars); in swapStruct()
5230 sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, ivars), S, in print_class_ro64_t()
5231 info, n_value, cro.ivars); in print_class_ro64_t()
5237 if (cro.ivars != 0) in print_class_ro64_t()
5238 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
[all …]
/freebsd-12-stable/contrib/gdb/gdb/
Dobjc-lang.c62 CORE_ADDR ivars; member
1774 class->ivars = read_memory_unsigned_integer (addr + 24, 4); in read_objc_class()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DDeclObjC.h1434 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
2379 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
2685 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function
/freebsd-12-stable/contrib/llvm-project/lld/docs/
Ddesign.rst154 line options, or it can be subclassed and the ivars programmatically set.
269 and the ivars programmatically set.
DReaders.rst74 object. Any parsing state should be in ivars of your File subclass or in

12