/titanic_44/usr/src/lib/fm/topo/modules/i86pc/hostbridge/ |
H A D | hb_i86pc.c | 83 di_node_t pnode, cnode; in pci_hostbridges_find() local 107 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in pci_hostbridges_find() 108 cnode = di_sibling_node(cnode)) { in pci_hostbridges_find() 109 if (di_driver_name(cnode) == NULL) in pci_hostbridges_find() 111 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0) { in pci_hostbridges_find() 112 if (hb_process(mod, ptn, hbcnt, cnode) < 0) { in pci_hostbridges_find() 121 if (strcmp(di_driver_name(cnode), PCIEB) == 0) { in pci_hostbridges_find() 122 if (rc_process(mod, ptn, hbcnt, cnode) < 0) { in pci_hostbridges_find()
|
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_hostbridge.c | 192 di_node_t devtree, pnode, cnode; in x86pi_gen_pci_pciexrc() local 210 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in x86pi_gen_pci_pciexrc() 211 cnode = di_sibling_node(cnode)) { in x86pi_gen_pci_pciexrc() 212 if (di_driver_name(cnode) == NULL || in x86pi_gen_pci_pciexrc() 213 x86pi_bdf(mod, cnode) != bdf) in x86pi_gen_pci_pciexrc() 216 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0) in x86pi_gen_pci_pciexrc() 217 return (pci_process(mod, tn_hbr, cnode)); in x86pi_gen_pci_pciexrc() 219 if (strcmp(di_driver_name(cnode), PCIEB) == 0) in x86pi_gen_pci_pciexrc() 221 cnode, (*rcip)++)); in x86pi_gen_pci_pciexrc()
|
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg_vols.c | 121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) in cfg_add_user() argument 147 if (cnode) { in cfg_add_user() 149 if (strcmp(cnode, ctag)) in cfg_add_user() 152 cfg_resource(cfg, cnode); in cfg_add_user() 154 cnode = ctag; in cfg_add_user() 167 (void) snprintf(search_key, CFG_MAX_KEY, "%s:%s", path, cnode); in cfg_add_user() 173 (void) snprintf(buf, CFG_MAX_BUF, "%s %s %s", path, cnode, in cfg_add_user() 281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user) in cfg_rem_user() argument 301 if (cnode) { in cfg_rem_user() 303 if (strcmp(cnode, ctag)) in cfg_rem_user() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | dr.c | 348 di_node_t cnode; in find_cpu() local 351 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; in find_cpu() 352 cnode = di_sibling_node(cnode)) { in find_cpu() 353 nodename = di_node_name(cnode); in find_cpu() 357 dcpuid = get_cpuid(cnode); in find_cpu() 489 di_node_t cnode; in add_cpus() local 498 for (cnode = di_child_node(di_node); cnode != DI_NODE_NIL; in add_cpus() 499 cnode = di_sibling_node(cnode)) { in add_cpus() 500 nodename = di_node_name(cnode); in add_cpus() 504 cpu_arg.di_node = cnode; in add_cpus() [all …]
|
/titanic_44/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 327 di_node_t cnode; in search_children_match_busaddr() local 342 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; in search_children_match_busaddr() 343 cnode = di_sibling_node(cnode)) { in search_children_match_busaddr() 344 busaddr = di_bus_addr(cnode); in search_children_match_busaddr() 348 return (cnode); in search_children_match_busaddr() 362 di_node_t node, cnode = DI_NODE_NIL; in match_edd() local 422 cnode = search_children_match_busaddr(node, busaddrbuf); in match_edd() 437 if ((cnode = search_children_match_busaddr(node, in match_edd() 442 cnode = search_children_match_busaddr(cnode, in match_edd() 445 if (cnode == DI_NODE_NIL) in match_edd() [all …]
|
/titanic_44/usr/src/cmd/avs/dscfg/etc/ |
H A D | dscfg_format | 43 ii.master.shadow.bitmap.mode.overflow.cnode.options.group 47 setid.value.cnode 52 sndr.phost.primary.pbitmap.shost.secondary.sbitmap.type.mode.group.cnode.options.diskq 56 ndr_ii.secondary.shadow.bitmap.state.cnode 60 bitmaps.bitmap.cnode 64 sv.vol.mode.cnode 68 ncallcore.nodeid.cnode 72 dsvol.path.cnode.users
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/dimm/ |
H A D | dimm_sun4v.c | 199 tnode_t *cnode; in create_one_dimm() local 218 cnode = mem_tnode_create(mod, pnode, "dimm", inst, in create_one_dimm() 221 if (cnode == NULL) in create_one_dimm() 226 if (topo_node_resource(cnode, &rsrc, &err) < 0 || in create_one_dimm() 227 topo_method_register(mod, cnode, pi_mem_methods) < 0 || in create_one_dimm() 228 topo_node_asru_set(cnode, rsrc, TOPO_ASRU_COMPUTE, &err) < 0) in create_one_dimm() 266 tnode_t *cnode; in mem_inst_create() local 280 cnode = mem_tnode_create(mod, pnode, nodename, inst, in mem_inst_create() 285 cnode = mem_tnode_create(mod, pnode, nodename, inst, in mem_inst_create() 290 nerr += mem_range_create(mod, cnode, pfnext+1, d); in mem_inst_create()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4u/chip/ |
H A D | chip_sun4u.c | 182 tnode_t *cnode; in cpu_create() local 210 if (fmri == NULL || (cnode = topo_node_bind(mod, in cpu_create() 219 (void) topo_node_asru_set(cnode, asru, 0, &err); in cpu_create() 242 (void) topo_node_fru_set(cnode, fru, 0, &err); in cpu_create() 248 (void) topo_node_label_set(cnode, NULL, &err); in cpu_create() 251 (void) topo_node_label_set(cnode, lp, &err); in cpu_create() 254 (void) topo_node_label_set(cnode, NULL, &err); in cpu_create()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 243 tnode_t *cnode; in cpu_create() local 284 cnode = chip_tnode_create(mod, rnode, name, in cpu_create() 286 if (cnode == NULL) { in cpu_create() 295 (void) topo_node_asru_set(cnode, asru, 0, &err); in cpu_create() 350 tnode_t *cnode; in chip_create() local 381 cnode = chip_tnode_create(mod, rnode, name, (topo_instance_t)i, in chip_create() 383 if (cnode == NULL) { in chip_create() 391 err = cpu_create(mod, cnode, CPU_NODE_NAME, chip, in chip_create() 398 if (dimm_instantiate(cnode, CHIP, mod) < 0) { in chip_create()
|
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | cachefs_fs.h | 898 struct cnode { struct 900 struct cnode *c_next; /* next cnode in fgp list */ argument 901 struct cnode *c_idleback; /* idle list back ptr */ argument 902 struct cnode *c_idlefront; /* idle list front ptr */ argument 934 typedef struct cnode cnode_t; argument 948 #define VTOC(VP) ((struct cnode *)((void *)((VP)->v_data))) 1096 struct cnode *cdb_cnode; /* relevant cnode */ 1127 void cachefs_cnode_listadd(struct cnode *cp); 1128 void cachefs_cnode_listrem(struct cnode *cp); 1129 void cachefs_cnode_free(struct cnode *cp); [all …]
|
H A D | cachefs_fscache.h | 123 struct cnode *fs_idlefront; /* front of idle list */ 133 struct cnode *fs_idleback; /* back of idle list */
|
H A D | cachefs_dir.h | 83 int cachefs_dir_read(struct cnode *dcp, struct uio *uiop, int *eofp);
|
H A D | cachefs_filegrp.h | 47 struct cnode *fg_cnodelist; /* list of cnodes */
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_noopc.c | 99 c_nop_check_cached_object(struct fscache *fscp, struct cnode *cp, in c_nop_check_cached_object() 153 c_nop_modify_cached_object(struct fscache *fscp, struct cnode *cp, cred_t *cr) in c_nop_modify_cached_object() 198 c_nop_invalidate_cached_object(struct fscache *fscp, struct cnode *cp, in c_nop_invalidate_cached_object() 210 c_nop_convert_cached_object(struct fscache *fscp, struct cnode *cp, in c_nop_convert_cached_object()
|
H A D | cachefs_strict.c | 67 struct cnode *cp, time_t mtime); 119 c_strict_check_cached_object(struct fscache *fscp, struct cnode *cp, in c_strict_check_cached_object() 287 c_strict_modify_cached_object(struct fscache *fscp, struct cnode *cp, in c_strict_modify_cached_object() 358 c_strict_invalidate_cached_object(struct fscache *fscp, struct cnode *cp, in c_strict_invalidate_cached_object() 371 c_strict_convert_cached_object(struct fscache *fscp, struct cnode *cp, in c_strict_convert_cached_object() 387 cachefs_gettime_cached_object(struct fscache *fscp, struct cnode *cp, in cachefs_gettime_cached_object()
|
H A D | cachefs_cod.c | 111 c_cod_check_cached_object(struct fscache *fscp, struct cnode *cp, in c_cod_check_cached_object() 257 c_cod_modify_cached_object(struct fscache *fscp, struct cnode *cp, cred_t *cr) in c_cod_modify_cached_object() 315 c_cod_invalidate_cached_object(struct fscache *fscp, struct cnode *cp, in c_cod_invalidate_cached_object() 328 c_cod_convert_cached_object(struct fscache *fscp, struct cnode *cp, in c_cod_convert_cached_object()
|
H A D | cachefs_cnode.c | 483 cachefs_cnode_listadd(struct cnode *cp) in cachefs_cnode_listadd() 498 cachefs_cnode_listrem(struct cnode *cp) in cachefs_cnode_listrem() 501 struct cnode **headpp; in cachefs_cnode_listrem() 531 cachefs_cnode_idleadd(struct cnode *cp) in cachefs_cnode_idleadd() 556 cachefs_cnode_idlerem(struct cnode *cp) in cachefs_cnode_idlerem() 603 struct cnode **cpp, struct vnode *backvp, vattr_t *vap) in cachefs_cnode_find() 605 struct cnode *cp; in cachefs_cnode_find() 891 struct cnode *cp; in cachefs_cnode_make() 1158 struct cnode *cp; in cachefs_cnode_create() 1702 cachefs_cnode_disable_caching(struct cnode *cp) in cachefs_cnode_disable_caching() [all …]
|
/titanic_44/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 849 tnode_t *cnode; in topo_node_child_walk() local 857 cnode = topo_child_first(pnode); in topo_node_child_walk() 860 if (cnode == NULL) { in topo_node_child_walk() 866 while (cnode != NULL) { in topo_node_child_walk() 872 topo_node_hold(cnode); in topo_node_child_walk() 873 iret = cb_f(thp, cnode, arg); in topo_node_child_walk() 874 topo_node_rele(cnode); in topo_node_child_walk() 884 cnode = topo_child_next(pnode, cnode); in topo_node_child_walk()
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cache.c | 491 smb_cache_node_t *cnode; in smb_cache_destroy_nodes() local 495 while ((cnode = avl_destroy_nodes(cache, &cookie)) != NULL) { in smb_cache_destroy_nodes() 497 chandle->ch_free(cnode->cn_data); in smb_cache_destroy_nodes() 498 free(cnode); in smb_cache_destroy_nodes()
|
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 1502 di_node_t cnode; in construct_openprom_tree() local 1510 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL; in construct_openprom_tree() 1511 cnode = di_sibling_node(cnode)) in construct_openprom_tree() 1512 (void) construct_openprom_tree(chdh, cnode); in construct_openprom_tree() 1537 di_node_t cnode; in construct_devinfo_tree() local 1544 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL; in construct_devinfo_tree() 1545 cnode = di_sibling_node(cnode)) { in construct_devinfo_tree() 1546 nodename = di_node_name(cnode); /* PICL_PROP_NAME */ in construct_devinfo_tree() 1550 err = get_node_class(nodeclass, cnode, nodename); in construct_devinfo_tree() 1554 nodeclass, cnode, &chdh); in construct_devinfo_tree() [all …]
|
/titanic_44/usr/src/cmd/avs/sv/ |
H A D | svadm.c | 1175 char buf[CFG_MAX_BUF], vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; in compare_tag() local 1206 if (sscanf(buf, "%s - %s", vol, cnode) != 2) { in compare_tag() 1224 if (strcmp(tag, cnode) == 0) { in compare_tag() 1245 if (strcmp(cnode, "-") == 0) in compare_tag() 1246 (void) strcpy(cnode, ""); in compare_tag() 1250 program, path, cnode, tag); in compare_tag() 1254 program, path, cnode, tag); in compare_tag() 1427 char vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; in create_cfg_hash() local 1439 if (sscanf(buf, "%s - %s", vol, cnode) != 2) { in create_cfg_hash()
|
/titanic_44/usr/src/cmd/avs/rdc/ |
H A D | sndrsubr.c | 279 char *cnode; in find_setnumber_in_libcfg() local 306 cnode = strtok(NULL, " "); in find_setnumber_in_libcfg() 308 if (ctag && strcmp(cnode, ctag) != 0) { in find_setnumber_in_libcfg()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_bay.c | 116 pi_bay_pgroups(topo_mod_t *mod, tnode_t *t_node, di_node_t cnode, in pi_bay_pgroups() argument 172 oc_path = pi_bay_ocpath(mod, cnode); in pi_bay_pgroups() 174 oc_path = di_devfs_path(cnode); in pi_bay_pgroups()
|
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 149 tnode_t *cnode; in create_node() local 184 cnode = topo_node_bind(mod, pnode, name, inst, fmri); in create_node() 187 if (cnode == NULL) { in create_node() 192 return (cnode); in create_node()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu.c | 449 tnode_t *cnode; in cpu_create() local 481 cnode = cpu_tnode_create(mod, rnode, name, in cpu_create() 483 if (cnode == NULL) { in cpu_create()
|