Searched defs:rnode (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_builtin.c107 tnode_t *rnode; local
140 rnode = tp->tt_root;
141 if (topo_mod_enumerate(mod, rnode, mod->tm_name, rnode->tn_name,
142 rnode->tn_instance, rnode->tn_instance, NULL) < 0) {
H A Dcpu.c159 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
183 (void) topo_node_bind(mod, rnode, name, cpu_id, fmri);
H A Dtopo_fmri.c104 tnode_t *rnode; local
110 if ((rnode = topo_hdl_root(thp, scheme)) == NULL)
114 if (topo_method_invoke(rnode, TOPO_METH_NVL2STR,
137 tnode_t *rnode; local
146 if ((rnode = topo_hdl_root(thp, buf)) == NULL)
158 if (topo_method_invoke(rnode, TOPO_METH_STR2NVL,
180 tnode_t *rnode; local
186 if ((rnode = topo_hdl_root(thp, scheme)) == NULL)
190 if (topo_method_invoke(rnode, TOPO_METH_PRESENT,
208 tnode_t *rnode; local
236 tnode_t *rnode; local
272 tnode_t *rnode; local
298 tnode_t *rnode; local
326 tnode_t *rnode; local
356 tnode_t *rnode; local
383 tnode_t *rnode; local
407 tnode_t *rnode; local
563 tnode_t *rnode; local
609 tnode_t *rnode; local
652 tnode_t *rnode; local
701 tnode_t *rnode; local
1021 tnode_t *rnode; local
[all...]
/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, argument
183 if (zam_declare(rnode, name, i, data, mod) == NULL)
/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, argument
232 if (topo_node_flags(rnode) == TOPO_NODE_FACILITY) {
233 if (topo_method_register(mod, rnode, mptsas_fac_methods) != 0) {
242 topo_node_flags(rnode));
/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, argument
213 if (xfp_declare(rnode, name, min, data, mod) == NULL)
/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, argument
185 nvlist_t *auth = topo_mod_auth(mod, rnode);
190 topo_node_range_destroy(rnode, name);
191 if (topo_node_range_create(mod, rnode, name, 0, chip->chip_ncpustats)
208 fmri = topo_mod_hcfmri(mod, rnode, FM_HC_SCHEME_VERSION, name,
211 rnode, name, i, fmri)) == NULL) {
268 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
274 return (cpu_create(mod, rnode, name, min, max, chip));
/illumos-gate/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, argument
414 if (strcmp(topo_node_name(rnode), CHASSIS) != 0) {
415 if (ipmi_post_process(mod, rnode) != 0) {
417 "failed!", topo_node_name(rnode),
418 topo_node_instance(rnode));
442 data.ed_pnode = rnode;
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c103 tnode_t *rnode; local
127 if ((rnode = topo_node_bind(mod, dnode, RANK, rank,
134 (void) topo_node_fru_set(rnode, NULL, 0, &err);
136 if (topo_method_register(mod, rnode, rank_methods) < 0)
140 if (! is_xpv() && topo_method_register(mod, rnode,
145 (void) topo_node_asru_set(rnode, fmri, TOPO_ASRU_COMPUTE, &err);
148 (void) topo_node_label_set(rnode, NULL, &err);
152 (void) topo_pgroup_create(rnode, &rank_pgroup, &err);
155 (void) nvprop_add(mod, nvp, PGNAME(RANK), rnode);
/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, argument
264 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) {
284 cnode = chip_tnode_create(mod, rnode, name,
343 chip_create(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
381 cnode = chip_tnode_create(mod, rnode, name, (topo_instance_t)i,
413 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
419 return (chip_create(mod, rnode, name, min, max, chip));
/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) argument
362 if (strcmp(topo_node_name(rnode), "chip") == 0) {
365 topo_node_instance(rnode));
374 } else if (strcmp(topo_node_name(rnode), "motherboard") == 0) {
387 nerrs = mem_range_create(mod, rnode, l, dp);
397 * 1) a child of the chip enumerator, which will cause the argument "rnode"
406 dimm_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
412 return (mem_create(mod, rnode, mem));
/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, argument
376 niun = niu_declare(rnode, name, 0, dnode, mod);
/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) argument
464 topo_node_range_destroy(rnode, name);
465 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) {
481 cnode = cpu_tnode_create(mod, rnode, name,
501 cpu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
506 if (topo_method_register(mod, rnode, cpu_methods) < 0) {
513 return (cpu_create(mod, rnode, name, (md_info_t *)arg));
/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, argument
530 if ((xauin = xaui_declare(rnode, name, min, priv, mod)) == NULL)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c333 di_node_t rnode = rp->rcm_node; local
340 RIO_ASSERT(dp, rnode != DI_NODE_NIL);
353 if (di_walk_node(rnode, DI_WALK_CLDFIRST, rp, node_select) != 0) {
581 di_node_t rnode; local
591 rnode = rp->rcm_node;
592 if (rnode == DI_NODE_NIL) {
601 if (di_walk_node(rnode, DI_WALK_CLDFIRST, rp, offline_one) != 0) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c53 di_node_t rnode; member in struct:__anon1208
290 di_node_t rnode; local
295 rnode = di_init(path, DINFOSUBTREE|DINFOMINOR);
296 if (rnode == DI_NODE_NIL) {
300 if (di_walk_node(rnode, DI_WALK_CLDFIRST, NULL, load_driver) != 0) {
301 di_fini(rnode);
305 di_fini(rnode);
413 di_node_t rnode; local
429 rnode = di_init(frup->fru_path, DINFOSUBTREE|DINFOMINOR);
430 if (rnode
590 di_node_t rnode; local
729 di_node_t rnode; local
785 di_node_t rnode, curr, peer; local
[all...]
H A Dpiclscsi.c802 di_node_t rnode; local
809 rnode = di_init(frup->fru_path, DINFOCPYALL);
810 if (rnode == DI_NODE_NIL) {
816 di_fini(rnode);
826 if (di_walk_node(rnode, DI_WALK_CLDFIRST, &scsi_data,
829 di_fini(rnode);
834 di_fini(rnode);
/illumos-gate/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, argument
655 topo_node_range_destroy(rnode, name);
656 if (topo_node_range_create(mod, rnode, name, 0, ndimms+1) < 0) {
666 cnode = mem_tnode_create(mod, rnode, name, (topo_instance_t)i,
684 mem_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
689 if (topo_method_register(mod, rnode, mem_methods) < 0) {
696 return (mem_create(mod, rnode, name, (md_mem_info_t *)arg));
/illumos-gate/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, argument
1764 if (topo_node_flags(rnode) == TOPO_NODE_DEFAULT) {
1769 if (topo_pgroup_create(rnode, &pgi, &err) != 0) {
1777 if (topo_method_register(mod, rnode, ipmi_node_methods) != 0) {
1784 if (topo_method_register(mod, rnode, ipmi_fac_methods) != 0) {
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl2door.h121 picl_nodehdl_t rnode; /* root handle */ member in struct:__anon3723
/illumos-gate/usr/src/uts/common/nfs/
H A Drnode.h57 struct rnode *rnode; member in struct:acache
134 * not sure if the server holds a lock is attached to the rnode.
135 * When such a process closes the rnode, an unlock request is sent
181 struct rnode *r_hashf;
182 struct rnode *r_hashb;
189 * The rnode is the "inode" for remote files. It contains all the
192 * Note on file sizes: we keep two file sizes in the rnode: the size
202 * Each rnode has 3 locks associated with it (not including the rnode
258 typedef struct rnode { struct
[all...]
H A Drnode4.h36 #include <nfs/rnode.h> /* for symlink_cache, nfs_rwlock_t, etc. */
68 struct rnode4 *rnode; member in struct:acache4
147 * The rnode is the "inode" for remote files. It contains all the
150 * Note on file sizes: we keep two file sizes in the rnode: the size
160 * Each rnode has 5 locks associated with it (not including the rnode
170 * r_statelock: Protects all fields in the rnode except for
190 * r_fh is read-only except when an rnode is created (or recycled from the
209 * r_mapcnt tells that the rnode has mapped pages. r_inmap can be 0
210 * while the rnode ha
[all...]
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1924 di_node_t rnode, wnode; local
1964 rnode = di_init("/", DINFOSUBTREE | DINFOHP);
1965 if (rnode)
1966 wnode = di_lookup_node(rnode, rpath);
1971 if (rnode == DI_NODE_NIL) {
1983 di_fini(rnode);
1994 di_fini(rnode);
2001 rnode = di_init("/", DINFOCACHE);
2002 if (rnode)
2003 wnode = di_lookup_node(rnode, rpat
2469 di_node_t rnode; local
2578 di_node_t rnode; local
[all...]
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c2764 rsmsegacl_validate(rsmipc_request_t *req, rsm_node_id_t rnode, argument
2797 * This routine only validates the rnode access_list
2805 if (seg->s_acl[i].ae_node == rnode) {
2810 /* rnode is not found in the list */
2837 importer_list_add(rnode, key, req->rsmipc_adapter_hwaddr,
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c3520 ses_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument
3566 if (ses_create_chassis(data, rnode, cp) != 0)
3574 if (ses_create_bays(data, rnode) != 0)

Completed in 262 milliseconds

12