Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c53 di_node_t rnode; member
290 di_node_t rnode; in load_drivers() local
295 rnode = di_init(path, DINFOSUBTREE|DINFOMINOR); in load_drivers()
296 if (rnode == DI_NODE_NIL) { in load_drivers()
300 if (di_walk_node(rnode, DI_WALK_CLDFIRST, NULL, load_driver) != 0) { in load_drivers()
301 di_fini(rnode); in load_drivers()
305 di_fini(rnode); in load_drivers()
413 di_node_t rnode; in probe_libdevinfo() local
429 rnode = di_init(frup->fru_path, DINFOSUBTREE|DINFOMINOR); in probe_libdevinfo()
430 if (rnode == DI_NODE_NIL) { in probe_libdevinfo()
[all …]
H A Dpiclscsi.c802 di_node_t rnode; in probe_scsi_in_libdevinfo() local
809 rnode = di_init(frup->fru_path, DINFOCPYALL); in probe_scsi_in_libdevinfo()
810 if (rnode == DI_NODE_NIL) { in probe_scsi_in_libdevinfo()
816 di_fini(rnode); in probe_scsi_in_libdevinfo()
826 if (di_walk_node(rnode, DI_WALK_CLDFIRST, &scsi_data, in probe_scsi_in_libdevinfo()
829 di_fini(rnode); in probe_scsi_in_libdevinfo()
834 di_fini(rnode); in probe_scsi_in_libdevinfo()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c106 tnode_t *rnode; in topo_fmri_nvl2str() local
112 if ((rnode = topo_hdl_root(thp, scheme)) == NULL) in topo_fmri_nvl2str()
116 if (topo_method_invoke(rnode, TOPO_METH_NVL2STR, in topo_fmri_nvl2str()
139 tnode_t *rnode; in topo_fmri_str2nvl() local
148 if ((rnode = topo_hdl_root(thp, buf)) == NULL) in topo_fmri_str2nvl()
160 if (topo_method_invoke(rnode, TOPO_METH_STR2NVL, in topo_fmri_str2nvl()
182 tnode_t *rnode; in topo_fmri_present() local
188 if ((rnode = topo_hdl_root(thp, scheme)) == NULL) in topo_fmri_present()
192 if (topo_method_invoke(rnode, TOPO_METH_PRESENT, in topo_fmri_present()
210 tnode_t *rnode; in topo_fmri_replaced() local
[all …]
H A Dtopo_builtin.c107 tnode_t *rnode; in topo_builtin_create() local
140 rnode = tp->tt_root; in topo_builtin_create()
141 if (topo_mod_enumerate(mod, rnode, mod->tm_name, rnode->tn_name, in topo_builtin_create()
142 rnode->tn_instance, rnode->tn_instance, NULL) < 0) { 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()
/titanic_41/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()
/titanic_41/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
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c103 tnode_t *rnode; in mc_add_ranks() local
127 if ((rnode = topo_node_bind(mod, dnode, RANK, rank, in mc_add_ranks()
134 (void) topo_node_fru_set(rnode, NULL, 0, &err); in mc_add_ranks()
136 if (topo_method_register(mod, rnode, rank_methods) < 0) in mc_add_ranks()
140 if (! is_xpv() && topo_method_register(mod, rnode, in mc_add_ranks()
145 (void) topo_node_asru_set(rnode, fmri, TOPO_ASRU_COMPUTE, &err); in mc_add_ranks()
148 (void) topo_node_label_set(rnode, NULL, &err); in mc_add_ranks()
152 (void) topo_pgroup_create(rnode, &rank_pgroup, &err); in mc_add_ranks()
155 (void) nvprop_add(mod, nvp, PGNAME(RANK), rnode); in mc_add_ranks()
/titanic_41/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c403 ipmi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in ipmi_enum() argument
414 if (strcmp(topo_node_name(rnode), CHASSIS) != 0) { in ipmi_enum()
415 if (ipmi_post_process(mod, rnode) != 0) { in ipmi_enum()
417 "failed!", topo_node_name(rnode), in ipmi_enum()
418 topo_node_instance(rnode)); in ipmi_enum()
442 data.ed_pnode = rnode; in ipmi_enum()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c635 mem_create(topo_mod_t *mod, tnode_t *rnode, const char *name, in mem_create() argument
655 topo_node_range_destroy(rnode, name); in mem_create()
656 if (topo_node_range_create(mod, rnode, name, 0, ndimms+1) < 0) { in mem_create()
666 cnode = mem_tnode_create(mod, rnode, name, (topo_instance_t)i, in mem_create()
684 mem_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in mem_enum() argument
689 if (topo_method_register(mod, rnode, mem_methods) < 0) { in mem_enum()
696 return (mem_create(mod, rnode, name, (md_mem_info_t *)arg)); in mem_enum()
/titanic_41/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1924 di_node_t rnode, wnode; in find_ap_common() local
1964 rnode = di_init("/", DINFOSUBTREE | DINFOHP); in find_ap_common()
1965 if (rnode) in find_ap_common()
1966 wnode = di_lookup_node(rnode, rpath); in find_ap_common()
1971 if (rnode == DI_NODE_NIL) { in find_ap_common()
1983 di_fini(rnode); in find_ap_common()
1994 di_fini(rnode); in find_ap_common()
2001 rnode = di_init("/", DINFOCACHE); in find_ap_common()
2002 if (rnode) in find_ap_common()
2003 wnode = di_lookup_node(rnode, rpath); in find_ap_common()
[all …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/lib/libpicl/
H A Dpicl2door.h121 picl_nodehdl_t rnode; /* root handle */ member
/titanic_41/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c1758 fac_prov_ipmi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, in fac_prov_ipmi_enum() argument
1764 if (topo_node_flags(rnode) == TOPO_NODE_DEFAULT) { in fac_prov_ipmi_enum()
1769 if (topo_pgroup_create(rnode, &pgi, &err) != 0) { in fac_prov_ipmi_enum()
1777 if (topo_method_register(mod, rnode, ipmi_node_methods) != 0) { in fac_prov_ipmi_enum()
1784 if (topo_method_register(mod, rnode, ipmi_fac_methods) != 0) { in fac_prov_ipmi_enum()

12