Home
last modified time | relevance | path

Searched refs:rnode (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c108 tnode_t *rnode; in topo_fmri_nvl2str() local
141 tnode_t *rnode; in topo_fmri_str2nvl() local
220 tnode_t *rnode; in topo_fmri_present() local
248 tnode_t *rnode; in topo_fmri_replaced() local
276 tnode_t *rnode; in topo_fmri_contains() local
312 tnode_t *rnode; in topo_fmri_unusable() local
338 tnode_t *rnode; in topo_fmri_retire() local
366 tnode_t *rnode; in topo_fmri_unretire() local
396 tnode_t *rnode; in topo_fmri_service_state() local
423 tnode_t *rnode; in topo_fmri_expand() local
[all …]
H A Dtopo_builtin.c109 tnode_t *rnode; in topo_builtin_create() local
139 rnode = tp->tt_root; in topo_builtin_create()
151 rnode = tdg->tdg_rootnode; in topo_builtin_create()
158 if (topo_mod_enumerate(mod, rnode, mod->tm_name, in topo_builtin_create()
159 rnode->tn_name, rnode->tn_instance, rnode->tn_instance, in topo_builtin_create()
H A Dcpu.c159 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, in cpu_create() argument
183 (void) topo_node_bind(mod, rnode, name, cpu_id, fmri); in cpu_create()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/chip/
H A Dchip_sun4u.c177 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, in cpu_create() argument
185 nvlist_t *auth = topo_mod_auth(mod, rnode); in cpu_create()
190 topo_node_range_destroy(rnode, name); in cpu_create()
191 if (topo_node_range_create(mod, rnode, name, 0, chip->chip_ncpustats) in cpu_create()
208 fmri = topo_mod_hcfmri(mod, rnode, FM_HC_SCHEME_VERSION, name, in cpu_create()
211 rnode, name, i, fmri)) == NULL) { in cpu_create()
268 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in chip_enum() argument
274 return (cpu_create(mod, rnode, name, min, max, chip)); in chip_enum()
/illumos-gate/usr/src/uts/common/nfs/
H A Drnode.h57 struct rnode *rnode; member
182 struct rnode *r_hashf;
183 struct rnode *r_hashb;
259 typedef struct rnode { struct
261 struct rnode *r_hashf; /* hash queue forward pointer */ argument
262 struct rnode *r_hashb; /* hash queue back pointer */ argument
263 struct rnode *r_freef; /* free list forward pointer */ argument
264 struct rnode *r_freeb; /* free list back pointer */ argument
H A DMakefile34 nfs4_attr.h nfs4_clnt.h rnode.h rnode4.h \
H A Drnode4.h68 struct rnode4 *rnode; member
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c233 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, md_info_t *chip, in cpu_create() argument
264 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) { in cpu_create()
284 cnode = chip_tnode_create(mod, rnode, name, in cpu_create()
343 chip_create(topo_mod_t *mod, tnode_t *rnode, const char *name, in chip_create() argument
381 cnode = chip_tnode_create(mod, rnode, name, (topo_instance_t)i, in chip_create()
413 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in chip_enum() argument
419 return (chip_create(mod, rnode, name, min, max, chip)); in chip_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c355 mem_create(topo_mod_t *mod, tnode_t *rnode, md_mem_info_t *cm) in mem_create() argument
362 if (strcmp(topo_node_name(rnode), "chip") == 0) { in mem_create()
365 topo_node_instance(rnode)); in mem_create()
374 } else if (strcmp(topo_node_name(rnode), "motherboard") == 0) { in mem_create()
387 nerrs = mem_range_create(mod, rnode, l, dp); in mem_create()
406 dimm_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in dimm_enum() argument
412 return (mem_create(mod, rnode, mem)); in dimm_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/
H A Dfac_prov_mptsas.c229 fac_prov_mptsas_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in fac_prov_mptsas_enum() argument
232 if (topo_node_flags(rnode) == TOPO_NODE_FACILITY) { in fac_prov_mptsas_enum()
233 if (topo_method_register(mod, rnode, mptsas_fac_methods) != 0) { in fac_prov_mptsas_enum()
242 topo_node_flags(rnode)); in fac_prov_mptsas_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ahci/
H A Dfac_prov_ahci.c270 fac_prov_ahci_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in fac_prov_ahci_enum() argument
274 if (topo_node_flags(rnode) == TOPO_NODE_FACILITY) { in fac_prov_ahci_enum()
275 if (topo_method_register(mod, rnode, ahci_fac_methods) != 0) { in fac_prov_ahci_enum()
284 topo_node_flags(rnode)); in fac_prov_ahci_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c441 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, md_info_t *chip) in cpu_create() argument
464 topo_node_range_destroy(rnode, name); in cpu_create()
465 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) { in cpu_create()
481 cnode = cpu_tnode_create(mod, rnode, name, in cpu_create()
501 cpu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in cpu_enum() argument
506 if (topo_method_register(mod, rnode, cpu_methods) < 0) { in cpu_enum()
513 return (cpu_create(mod, rnode, name, (md_info_t *)arg)); in cpu_enum()
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1965 if (rnode) in find_ap_common()
1983 di_fini(rnode); in find_ap_common()
1994 di_fini(rnode); in find_ap_common()
2002 if (rnode) in find_ap_common()
2030 di_fini(rnode); in find_ap_common()
2469 di_node_t rnode; in list_common() local
2498 di_fini(rnode); in list_common()
2511 di_fini(rnode); in list_common()
2575 di_node_t rnode; in do_list_common() local
2597 di_fini(rnode); in do_list_common()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c626 mem_create(topo_mod_t *mod, tnode_t *rnode, const char *name, in mem_create() argument
646 topo_node_range_destroy(rnode, name); in mem_create()
647 if (topo_node_range_create(mod, rnode, name, 0, ndimms+1) < 0) { in mem_create()
657 cnode = mem_tnode_create(mod, rnode, name, (topo_instance_t)i, in mem_create()
675 mem_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in mem_enum() argument
680 if (topo_method_register(mod, rnode, mem_methods) < 0) { in mem_enum()
687 return (mem_create(mod, rnode, name, (md_mem_info_t *)arg)); in mem_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c608 ipmi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in ipmi_enum() argument
619 if (strcmp(topo_node_name(rnode), CHASSIS) != 0) { in ipmi_enum()
620 if (ipmi_post_process(mod, rnode) != 0) { in ipmi_enum()
622 "failed!", topo_node_name(rnode), in ipmi_enum()
623 topo_node_instance(rnode)); in ipmi_enum()
647 data.ed_pnode = rnode; in ipmi_enum()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acache.c82 if (crcmp(ap->cred, cr) == 0 && ap->rnode == rp) { in nfs4_access_check()
129 nap->rnode = rp; in nfs4_access_cache()
140 if (crcmp(ap->cred, cr) == 0 && ap->rnode == rp) { in nfs4_access_cache()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c127 tnode_t *rnode; in mc_add_ranks() local
151 if ((rnode = topo_node_bind(mod, dnode, RANK, rank, in mc_add_ranks()
158 (void) topo_node_fru_set(rnode, NULL, 0, &err); in mc_add_ranks()
160 if (topo_method_register(mod, rnode, rank_methods) < 0) in mc_add_ranks()
164 if (! is_xpv() && topo_method_register(mod, rnode, in mc_add_ranks()
169 (void) topo_node_asru_set(rnode, fmri, TOPO_ASRU_COMPUTE, &err); in mc_add_ranks()
172 (void) topo_node_label_set(rnode, NULL, &err); in mc_add_ranks()
176 (void) topo_pgroup_create(rnode, &rank_pgroup, &err); in mc_add_ranks()
179 (void) nvprop_add(mod, nvp, PGNAME(RANK), rnode); in mc_add_ranks()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c333 di_node_t rnode = rp->rcm_node; in retire_supported() local
340 RIO_ASSERT(dp, rnode != DI_NODE_NIL); in retire_supported()
353 if (di_walk_node(rnode, DI_WALK_CLDFIRST, rp, node_select) != 0) { in retire_supported()
581 di_node_t rnode; in rcm_notify() local
591 rnode = rp->rcm_node; in rcm_notify()
592 if (rnode == DI_NODE_NIL) { in rcm_notify()
601 if (di_walk_node(rnode, DI_WALK_CLDFIRST, rp, offline_one) != 0) { in rcm_notify()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/
H A Dzambezi.c167 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in zambezi_enum() argument
183 if (zam_declare(rnode, name, i, data, mod) == NULL) in zambezi_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c204 xfp_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in xfp_enum() argument
213 if (xfp_declare(rnode, name, min, data, mod) == NULL) in xfp_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c349 niu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in niu_enum() argument
376 niun = niu_declare(rnode, name, 0, dnode, mod); in niu_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c510 xaui_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in xaui_enum() argument
530 if ((xauin = xaui_declare(rnode, name, min, priv, mod)) == NULL) in xaui_enum()
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl2door.h121 picl_nodehdl_t rnode; /* root handle */ member
/illumos-gate/usr/src/lib/fm/topo/modules/common/smbios/
H A Dsmbios_enum.c611 smbios_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in smbios_enum() argument
622 smed.sme_pnode = rnode; in smbios_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c2059 fac_prov_ipmi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in fac_prov_ipmi_enum() argument
2065 if (topo_node_flags(rnode) == TOPO_NODE_DEFAULT) { in fac_prov_ipmi_enum()
2070 if (topo_pgroup_create(rnode, &pgi, &err) != 0) { in fac_prov_ipmi_enum()
2078 if (topo_method_register(mod, rnode, ipmi_node_methods) != 0) { in fac_prov_ipmi_enum()
2085 if (topo_method_register(mod, rnode, ipmi_fac_methods) != 0) { in fac_prov_ipmi_enum()

12