Home
last modified time | relevance | path

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

12

/freebsd/sys/xen/xenbus/
H A Dxenbusb.c82 xenbusb_free_child_ivars(struct xenbus_device_ivars *ivars) in xenbusb_free_child_ivars() argument
84 if (ivars->xd_otherend_watch.node != NULL) { in xenbusb_free_child_ivars()
85 xs_unregister_watch(&ivars->xd_otherend_watch); in xenbusb_free_child_ivars()
86 free(ivars->xd_otherend_watch.node, M_XENBUS); in xenbusb_free_child_ivars()
87 ivars->xd_otherend_watch.node = NULL; in xenbusb_free_child_ivars()
90 if (ivars->xd_local_watch.node != NULL) { in xenbusb_free_child_ivars()
91 xs_unregister_watch(&ivars->xd_local_watch); in xenbusb_free_child_ivars()
92 ivars->xd_local_watch.node = NULL; in xenbusb_free_child_ivars()
95 if (ivars->xd_node != NULL) { in xenbusb_free_child_ivars()
96 free(ivars->xd_node, M_XENBUS); in xenbusb_free_child_ivars()
[all …]
H A Dxenbusb_front.c138 xenbusb_front_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_front_get_otherend_node() argument
143 if (ivars->xd_otherend_path != NULL) { in xenbusb_front_get_otherend_node()
144 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
145 ivars->xd_otherend_path = NULL; in xenbusb_front_get_otherend_node()
148 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_front_get_otherend_node()
149 "backend-id", "%i", &ivars->xd_otherend_id, in xenbusb_front_get_otherend_node()
154 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_front_get_otherend_node()
155 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_front_get_otherend_node()
H A Dxenbusb_back.c190 xenbusb_back_get_otherend_node(device_t dev, struct xenbus_device_ivars *ivars) in xenbusb_back_get_otherend_node() argument
195 if (ivars->xd_otherend_path != NULL) { in xenbusb_back_get_otherend_node()
196 free(ivars->xd_otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
197 ivars->xd_otherend_path = NULL; in xenbusb_back_get_otherend_node()
200 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_back_get_otherend_node()
201 "frontend-id", "%i", &ivars->xd_otherend_id, in xenbusb_back_get_otherend_node()
206 ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS); in xenbusb_back_get_otherend_node()
207 ivars->xd_otherend_path_len = strlen(otherend_path); in xenbusb_back_get_otherend_node()
H A Dxenbusb_if.m64 * a split device whose local end is represented by ivars.
/freebsd/sys/dev/pwm/
H A Dofw_pwmbus.c60 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_add_child() local
62 if ((ivars = malloc(sizeof(struct ofw_pwmbus_ivars), M_DEVBUF, in ofw_pwmbus_add_child()
68 free(ivars, M_DEVBUF); in ofw_pwmbus_add_child()
72 ivars->devinfo.obd_node = -1; in ofw_pwmbus_add_child()
73 device_set_ivars(child, ivars); in ofw_pwmbus_add_child()
81 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_child_deleted() local
83 ivars = device_get_ivars(child); in ofw_pwmbus_child_deleted()
84 if (ivars != NULL) { in ofw_pwmbus_child_deleted()
85 ofw_bus_gen_destroy_devinfo(&ivars->devinfo); in ofw_pwmbus_child_deleted()
86 free(ivars, M_DEVBUF); in ofw_pwmbus_child_deleted()
[all …]
H A Dpwmbus.c53 struct pwmbus_ivars *ivars; in pwmbus_add_child() local
59 ivars = malloc(sizeof(struct pwmbus_ivars), M_DEVBUF, M_NOWAIT | M_ZERO); in pwmbus_add_child()
60 if (ivars == NULL) { in pwmbus_add_child()
64 device_set_ivars(child, ivars); in pwmbus_add_child()
72 struct pwmbus_ivars *ivars; in pwmbus_child_location() local
74 ivars = device_get_ivars(child); in pwmbus_child_location()
76 device_get_nameunit(device_get_parent(dev)), ivars->pi_channel); in pwmbus_child_location()
84 struct pwmbus_ivars *ivars; in pwmbus_hinted_child() local
93 ivars = device_get_ivars(child); in pwmbus_hinted_child()
94 resource_int_value(dname, dunit, "channel", &ivars->pi_channel); in pwmbus_hinted_child()
[all …]
/freebsd/sys/dev/mii/
H A Dmii.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()
158 struct miibus_ivars *ivars; in miibus_detach() local
160 ivars = device_get_ivars(dev); in miibus_detach()
164 free(ivars, M_DEVBUF); in miibus_detach()
197 struct miibus_ivars *ivars; in miibus_read_ivar() local
203 ivars = device_get_ivars(dev); in miibus_read_ivar()
[all …]
/freebsd/sys/dev/nvdimm/
H A Dnvdimm_acpi.c102 uintptr_t *ivars; in nvdimm_root_create_devs() local
117 ivars = mallocarray(NVDIMM_ROOT_IVAR_MAX, sizeof(uintptr_t), in nvdimm_root_create_devs()
119 device_set_ivars(child, ivars); in nvdimm_root_create_devs()
/freebsd/contrib/llvm-project/lldb/docs/design/
H A Dsbapi.rst
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp138 for (auto *Ivar : ID->ivars()) in visitObjCDecl()
145 for (auto *Ivar : ID->ivars()) in visitObjCDecl()
/freebsd/sys/dev/fdc/
H A Dfdc.c1620 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_read_ivar() local
1624 *result = ivars->fdunit; in fdc_read_ivar()
1627 *result = ivars->fdtype; in fdc_read_ivar()
1638 struct fdc_ivars *ivars = device_get_ivars(child); in fdc_write_ivar() local
1642 ivars->fdunit = value; in fdc_write_ivar()
1645 ivars->fdtype = value; in fdc_write_ivar()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp112 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar()
/freebsd/sys/dev/igc/
H A Dif_igc.h322 u32 ivars; member
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2146 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars() argument
2160 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2166 IDecl->makeDeclVisibleInContext(ivars[i]); in CheckImplementationIvars()
2167 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2176 assert(ivars && "missing @implementation ivars"); in CheckImplementationIvars()
2181 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2211 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2240 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
3774 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars()
3857 Ivars = IntfDecl->ivars(); in DiagnoseVariableSizedIvars()
[all …]
/freebsd/sys/dev/e1000/
H A Dif_em.h497 u32 ivars; member
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCMac.cpp3677 auto ivars = ivarList.beginArray(ObjCTypes.IvarTy); in EmitIvarList() local
3685 auto ivar = ivars.beginStruct(ObjCTypes.IvarTy); in EmitIvarList()
3689 ivar.finishAndAddTo(ivars); in EmitIvarList()
3693 auto count = ivars.size(); in EmitIvarList()
3695 ivars.abandon(); in EmitIvarList()
3700 ivars.finishAndAddTo(ivarList); in EmitIvarList()
5457 SmallVector<const ObjCIvarDecl *, 32> ivars; in BuildIvarLayout() local
5473 ivars.push_back(IVD); in BuildIvarLayout()
5477 } else if (!ivars.empty()) { in BuildIvarLayout()
5479 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp193 D->ivars()); in VisitObjCInterfaceDecl()
211 D->ivars()); in VisitObjCCategoryDecl()
/freebsd/sys/dev/ahci/
H A Dahci.c692 intptr_t ivars; in ahci_print_child() local
696 ivars = (intptr_t)device_get_ivars(child); in ahci_print_child()
697 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_print_child()
698 retval += printf(" at channel %d", (int)ivars & AHCI_UNIT); in ahci_print_child()
706 intptr_t ivars; in ahci_child_location() local
708 ivars = (intptr_t)device_get_ivars(child); in ahci_child_location()
709 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_child_location()
710 sbuf_printf(sb, "channel=%d", (int)ivars & AHCI_UNIT); in ahci_child_location()
/freebsd/sys/kern/
H A Dsubr_bus.c162 void *ivars; /**< instance variables */ member
1415 dev->ivars = NULL; in make_device()
2220 return (dev->ivars); in device_get_ivars()
2227 device_set_ivars(device_t dev, void * ivars) in device_set_ivars() argument
2230 dev->ivars = ivars; in device_set_ivars()
5376 (dev->ivars? "":"no "), in print_device_short()
6361 db_printf(" ivars: %p\n", dev->ivars); in DB_SHOW_COMMAND()
/freebsd/stand/kshim/
H A Dbsd_kernel.c628 device_set_ivars(device_t dev, void *ivars) in device_set_ivars() argument
630 dev->dev_aux = ivars; in device_set_ivars()
H A Dbsd_kernel.h466 void device_set_ivars(device_t dev, void *ivars);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1477 for (const auto *I : OID->ivars()) { in VisitObjCImplementationDecl()
1536 for (const auto *I : OID->ivars()) { in VisitObjCInterfaceDecl()
1601 for (const auto *I : PID->ivars()) in VisitObjCCategoryDecl()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp3644 uint64_t ivars; // const ivar_list_t * (64-bit pointer) member
3657 uint32_t ivars; /* const ivar_list_t * (32-bit pointer) */ member
3860 uint32_t ivars; /* struct objc_ivar_list * (32-bit pointer) */ member
3963 sys::swapByteOrder(cro.ivars); in swapStruct()
3976 sys::swapByteOrder(cro.ivars); in swapStruct()
4149 sys::swapByteOrder(objc_class.ivars); in swapStruct()
5565 sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, ivars), S, in print_class_ro64_t()
5566 info, n_value, cro.ivars); in print_class_ro64_t()
5572 if (cro.ivars != 0) in print_class_ro64_t()
5573 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1448 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/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h1093 Decl->ivars()); in VisitObjCInterfaceDecl()
1259 Decl->ivars()); in VisitObjCCategoryDecl()

12