/freebsd/sys/xen/xenbus/ |
H A D | xenbusb.c | 113 free(ivars, M_XENBUS); in xenbusb_free_child_ivars() 141 child = ivars->xd_dev; in xenbusb_otherend_watch_cb() 146 || strncmp(ivars->xd_otherend_path, path, ivars->xd_otherend_path_len)) in xenbusb_otherend_watch_cb() 178 child = ivars->xd_dev; in xenbusb_local_watch_cb() 183 || strncmp(ivars->xd_node, path, ivars->xd_node_len)) in xenbusb_local_watch_cb() 649 ivars = malloc(sizeof(*ivars), M_XENBUS, M_ZERO|M_WAITOK); in xenbusb_add_device() 698 ivars->xd_otherend_watch.callback_data = (uintptr_t)ivars; in xenbusb_add_device() 706 ivars->xd_local_watch.node = ivars->xd_node; in xenbusb_add_device() 708 ivars->xd_local_watch.callback_data = (uintptr_t)ivars; in xenbusb_add_device() 843 sx_sleep(&ivars->xd_state, &ivars->xd_lock, in xenbusb_resume() [all …]
|
H A D | xenbusb_front.c | 139 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()
|
H A D | xenbusb_back.c | 191 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()
|
H A D | xenbusb_if.m | 64 * a split device whose local end is represented by ivars.
|
/freebsd/sys/dev/pwm/ |
H A D | ofw_pwmbus.c | 60 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_add_child() local 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 84 if (ivars != NULL) { in ofw_pwmbus_child_deleted() 86 free(ivars, M_DEVBUF); in ofw_pwmbus_child_deleted() 93 struct ofw_pwmbus_ivars *ivars; in ofw_pwmbus_get_devinfo() local 95 ivars = device_get_ivars(dev); in ofw_pwmbus_get_devinfo() 96 return (&ivars->devinfo); in ofw_pwmbus_get_devinfo() [all …]
|
H A D | pwmbus.c | 53 struct pwmbus_ivars *ivars; in pwmbus_add_child() local 60 if (ivars == NULL) { in pwmbus_add_child() 72 struct pwmbus_ivars *ivars; in pwmbus_child_location() local 84 struct pwmbus_ivars *ivars; in pwmbus_hinted_child() local 100 struct pwmbus_ivars *ivars; in pwmbus_print_child() local 115 struct pwmbus_ivars *ivars; in pwmbus_probe_nomatch() local 118 if (ivars != NULL) in pwmbus_probe_nomatch() 120 ivars->pi_channel); in pwmbus_probe_nomatch() 128 struct pwmbus_ivars *ivars; in pwmbus_read_ivar() local 158 struct pwmbus_ivars *ivars; in pwmbus_attach() local [all …]
|
/freebsd/sys/dev/mii/ |
H A D | mii.c | 124 struct miibus_ivars *ivars; in miibus_attach() local 144 ivars->ifmedia_sts); in miibus_attach() 145 mii->mii_ifp = ivars->ifp; in miibus_attach() 163 free(ivars, M_DEVBUF); in miibus_detach() 403 ivars = malloc(sizeof(*ivars), M_DEVBUF, M_NOWAIT); in mii_attach() 404 if (ivars == NULL) in mii_attach() 406 ivars->ifp = ifp; in mii_attach() 418 if (ivars->ifp != ifp || ivars->ifmedia_upd != ifmedia_upd || in mii_attach() 442 ivars->mii_offset = 0; in mii_attach() 506 ivars->mii_offset++; in mii_attach() [all …]
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf.c | 196 memset(ivars, 0, sizeof(*ivars)); in nvmf_init_ivars() 201 ivars->cdata = malloc(sizeof(*ivars->cdata), M_NVMF, M_WAITOK); in nvmf_init_ivars() 202 error = copyin(hh->cdata, ivars->cdata, sizeof(*ivars->cdata)); in nvmf_init_ivars() 219 if (ivars->io_params[i].qsize != ivars->io_params[0].qsize) { in nvmf_init_ivars() 225 ivars->hh = hh; in nvmf_init_ivars() 247 if (ivars == NULL) in nvmf_probe() 261 sc->admin = nvmf_init_qp(sc, ivars->hh->trtype, &ivars->hh->admin, in nvmf_establish_connection() 433 if (ivars == NULL) in nvmf_attach() 445 ivars->cdata = NULL; in nvmf_attach() 609 struct nvmf_ivars ivars; in nvmf_reconnect_host() local [all …]
|
H A D | nvmf_ctldev.c | 22 struct nvmf_ivars ivars; in nvmf_handoff_host() local 26 error = nvmf_init_ivars(&ivars, hh); in nvmf_handoff_host() 38 device_set_ivars(dev, &ivars); in nvmf_handoff_host() 46 nvmf_free_ivars(&ivars); in nvmf_handoff_host()
|
H A D | nvmf_var.h | 147 int nvmf_init_ivars(struct nvmf_ivars *ivars, struct nvmf_handoff_host *hh); 148 void nvmf_free_ivars(struct nvmf_ivars *ivars);
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_acpi.c | 102 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/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCUnusedIVarsChecker.cpp | 113 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar()
|
/freebsd/sys/dev/fdc/ |
H A D | fdc.c | 1620 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/sys/dev/igc/ |
H A D | if_igc.h | 361 u32 ivars; member
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.h | 467 u32 ivars; member
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCMac.cpp | 3785 ivar.finishAndAddTo(ivars); in EmitIvarList() 3789 auto count = ivars.size(); in EmitIvarList() 3791 ivars.abandon(); in EmitIvarList() 5555 ivars.push_back(IVD); in BuildIvarLayout() 5559 } else if (!ivars.empty()) { in BuildIvarLayout() 5574 if (ivars.empty()) in BuildIvarLayout() 5579 builder.visitAggregate(ivars.begin(), ivars.end(), CharUnits::Zero(), in BuildIvarLayout() 6941 ivar.finishAndAddTo(ivars); in EmitIvarList() 6944 if (ivars.empty()) { in EmitIvarList() 6945 ivars.abandon(); in EmitIvarList() [all …]
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | ObjC.cpp | 106 DO(Ptr, ivars) \
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 2148 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars() 2154 IDecl->makeDeclVisibleInContext(ivars[i]); in CheckImplementationIvars() 2155 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars() 2164 assert(ivars && "missing @implementation ivars"); in CheckImplementationIvars() 2169 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars() 2199 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars() 2229 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars() 3769 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars() 3852 Ivars = IntfDecl->ivars(); in DiagnoseVariableSizedIvars() 3855 Ivars = ImplDecl->ivars(); in DiagnoseVariableSizedIvars() [all …]
|
/freebsd/sys/dev/ahci/ |
H A D | ahci.c | 690 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() 704 intptr_t ivars; in ahci_child_location() local 706 ivars = (intptr_t)device_get_ivars(child); in ahci_child_location() 707 if ((ivars & AHCI_EM_UNIT) == 0) in ahci_child_location() 708 sbuf_printf(sb, "channel=%d", (int)ivars & AHCI_UNIT); in ahci_child_location()
|
/freebsd/sys/kern/ |
H A D | subr_bus.c | 142 void *ivars; /**< instance variables */ member 1351 dev->ivars = NULL; in make_device() 2139 return (dev->ivars); in device_get_ivars() 2146 device_set_ivars(device_t dev, void * ivars) in device_set_ivars() argument 2149 dev->ivars = ivars; in device_set_ivars() 5231 (dev->ivars? "":"no "), in print_device_short() 6086 db_printf(" ivars: %p\n", dev->ivars); in DB_SHOW_COMMAND()
|
/freebsd/stand/kshim/ |
H A D | bsd_kernel.c | 649 device_set_ivars(device_t dev, void *ivars) in device_set_ivars() argument 651 dev->dev_aux = ivars; in device_set_ivars()
|
H A D | bsd_kernel.h | 463 void device_set_ivars(device_t dev, void *ivars);
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 3949 sys::swapByteOrder(cro.ivars); in swapStruct() 3962 sys::swapByteOrder(cro.ivars); in swapStruct() 4129 sys::swapByteOrder(objc_class.ivars); in swapStruct() 5450 info, n_value, cro.ivars); in print_class_ro64_t() 5456 if (cro.ivars != 0) in print_class_ro64_t() 5457 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t() 5459 outs() << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t() 5461 if (cro.ivars + n_value != 0) in print_class_ro64_t() 5462 print_ivar_list64_t(cro.ivars + n_value, info); in print_class_ro64_t() 5552 if (cro.ivars != 0) in print_class_ro32_t() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1484 for (const auto *I : OID->ivars()) { in VisitObjCImplementationDecl() 1538 for (const auto *I : OID->ivars()) { in VisitObjCInterfaceDecl() 1603 for (const auto *I : PID->ivars()) in VisitObjCCategoryDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclObjC.h | 1447 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } in ivars() function 2438 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
|