Searched refs:cnode (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/hostbridge/
H A Dhb_i86pc.c83 di_node_t pnode, cnode; local
107 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL;
108 cnode = di_sibling_node(cnode)) {
109 if (di_driver_name(cnode) == NULL)
111 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0) {
112 if (hb_process(mod, ptn, hbcnt, cnode) < 0) {
121 if (strcmp(di_driver_name(cnode), PCIEB) == 0) {
122 if (rc_process(mod, ptn, hbcnt, cnode) <
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_hostbridge.c192 di_node_t devtree, pnode, cnode; local
210 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL;
211 cnode = di_sibling_node(cnode)) {
212 if (di_driver_name(cnode) == NULL ||
213 x86pi_bdf(mod, cnode) != bdf)
216 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0)
217 return (pci_process(mod, tn_hbr, cnode));
219 if (strcmp(di_driver_name(cnode), PCIE
[all...]
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c327 di_node_t cnode; local
342 for (cnode = di_child_node(node); cnode != DI_NODE_NIL;
343 cnode = di_sibling_node(cnode)) {
344 busaddr = di_bus_addr(cnode);
348 return (cnode);
362 di_node_t node, cnode = DI_NODE_NIL; local
422 cnode = search_children_match_busaddr(node, busaddrbuf);
437 if ((cnode
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c348 di_node_t cnode; local
351 for (cnode = di_child_node(node); cnode != DI_NODE_NIL;
352 cnode = di_sibling_node(cnode)) {
353 nodename = di_node_name(cnode);
357 dcpuid = get_cpuid(cnode);
489 di_node_t cnode; local
498 for (cnode = di_child_node(di_node); cnode !
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c199 tnode_t *cnode; local
218 cnode = mem_tnode_create(mod, pnode, "dimm", inst,
221 if (cnode == NULL)
226 if (topo_node_resource(cnode, &rsrc, &err) < 0 ||
227 topo_method_register(mod, cnode, pi_mem_methods) < 0 ||
228 topo_node_asru_set(cnode, rsrc, TOPO_ASRU_COMPUTE, &err) < 0)
266 tnode_t *cnode; local
280 cnode = mem_tnode_create(mod, pnode, nodename, inst,
285 cnode = mem_tnode_create(mod, pnode, nodename, inst,
290 nerr += mem_range_create(mod, cnode, pfnex
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/chip/
H A Dchip_sun4u.c182 tnode_t *cnode; local
210 if (fmri == NULL || (cnode = topo_node_bind(mod,
219 (void) topo_node_asru_set(cnode, asru, 0, &err);
242 (void) topo_node_fru_set(cnode, fru, 0, &err);
248 (void) topo_node_label_set(cnode, NULL, &err);
251 (void) topo_node_label_set(cnode, lp, &err);
254 (void) topo_node_label_set(cnode, NULL, &err);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c243 tnode_t *cnode; local
284 cnode = chip_tnode_create(mod, rnode, name,
286 if (cnode == NULL) {
295 (void) topo_node_asru_set(cnode, asru, 0, &err);
350 tnode_t *cnode; local
381 cnode = chip_tnode_create(mod, rnode, name, (topo_instance_t)i,
383 if (cnode == NULL) {
391 err = cpu_create(mod, cnode, CPU_NODE_NAME, chip,
398 if (dimm_instantiate(cnode, CHIP, mod) < 0) {
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c106 * char *cnode: The device group name, or NULL if -C local or not cluster
121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) argument
145 /* Check cnode */
147 if (cnode) {
149 if (strcmp(cnode, ctag))
152 cfg_resource(cfg, cnode);
154 cnode = ctag;
167 (void) snprintf(search_key, CFG_MAX_KEY, "%s:%s", path, cnode);
173 (void) snprintf(buf, CFG_MAX_BUF, "%s %s %s", path, cnode,
267 * char *cnode
281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user) argument
589 char **entry, *path, *cnode, *users; local
703 char *path, *mode, *cnode; local
921 make_dsvol_data(char *path, char *cnode, char *users, int set) argument
950 make_svol_data(char *path, char *mode, char *cnode, int set) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c491 smb_cache_node_t *cnode; local
495 while ((cnode = avl_destroy_nodes(cache, &cookie)) != NULL) {
497 chandle->ch_free(cnode->cn_data);
498 free(cnode);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c849 tnode_t *cnode; local
857 cnode = topo_child_first(pnode);
860 if (cnode == NULL) {
866 while (cnode != NULL) {
872 topo_node_hold(cnode);
873 iret = cb_f(thp, cnode, arg);
874 topo_node_rele(cnode);
884 cnode = topo_child_next(pnode, cnode);
H A Dtopo_snap.c409 tnode_t *cnode; local
411 cnode = topo_child_first(node);
413 if (cnode != NULL)
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.h114 struct node *cnode; member in struct:event::bubble::arrowlist::arrow::constraintlist
H A Ditree.c1677 ptree(flags, cp->cnode, 1, 0);
2101 newc->cnode = c;
2131 ASSERT(cl->cnode != NULL);
2132 if (!iexpr_cached(cl->cnode))
2133 tree_free(cl->cnode);
2135 iexpr_free(cl->cnode);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_bay.c116 pi_bay_pgroups(topo_mod_t *mod, tnode_t *t_node, di_node_t cnode, argument
172 oc_path = pi_bay_ocpath(mod, cnode);
174 oc_path = di_devfs_path(cnode);
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c279 char *cnode; local
306 cnode = strtok(NULL, " ");
308 if (ctag && strcmp(cnode, ctag) != 0) {
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvadm.c959 (void) snprintf(key, sizeof (key), "sv.set%d.cnode", setnumber);
1175 char buf[CFG_MAX_BUF], vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; local
1206 if (sscanf(buf, "%s - %s", vol, cnode) != 2) {
1222 /* have name match, compare cnode to new tag */
1224 if (strcmp(tag, cnode) == 0) {
1231 (void) snprintf(key, sizeof (key), "sv.set%d.cnode", setnumber);
1245 if (strcmp(cnode, "-") == 0)
1246 (void) strcpy(cnode, "");
1250 program, path, cnode, tag);
1254 program, path, cnode, ta
1427 char vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c1502 di_node_t cnode; local
1510 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL;
1511 cnode = di_sibling_node(cnode))
1512 (void) construct_openprom_tree(chdh, cnode);
1537 di_node_t cnode; local
1544 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL;
1545 cnode
1588 di_node_t cnode; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c449 tnode_t *cnode; local
481 cnode = cpu_tnode_create(mod, rnode, name,
483 if (cnode == NULL) {
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip.c149 tnode_t *cnode; local
184 cnode = topo_node_bind(mod, pnode, name, inst, fmri);
187 if (cnode == NULL) {
192 return (cnode);
H A Dchip_amd.c130 * bound as mcnode, and the parent of that is cnode.
139 amd_generic_mc_create(topo_mod_t *mod, uint16_t smbid, tnode_t *cnode, argument
697 amd_htconfig(topo_mod_t *mod, tnode_t *cnode, nvlist_t *htnvl) argument
702 if (strcmp(topo_node_name(cnode), CHIP_NODE_NAME) != 0) {
709 if (nvprop_add(mod, nvp, PGNAME(CHIP), cnode) != 0)
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c642 tnode_t *cnode; local
666 cnode = mem_tnode_create(mod, rnode, name, (topo_instance_t)i,
668 if (cnode == NULL) {
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c324 char *mst, *shd, *bmp, *mode, *ovr, *cnode, *opt, *grp; local
389 cnode = strtok(NULL, " ");
413 mst, shd, bmp, mode, ovr, cnode, newflags, grp);
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c109 static char *find_link(di_node_t cnode);
1172 find_link(di_node_t cnode) argument
1181 devfspath = di_devfs_path(cnode);
1182 if (cnode == DI_NODE_NIL) {
1197 devminor = di_minor_next(cnode, devminor);
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh2593 cnode=$(hg parent -R $codemgr_ws --template '{node|short}' \
2595 PRETTY_CWS="${CWS} (at ${cnode})"}
2694 cnode=$($GIT --git-dir=${codemgr_ws}/.git rev-parse --short=12 \
2698 PRETTY_CWS="${CWS} (explicit head at ${cnode})"
2700 PRETTY_CWS="${CWS} (at ${cnode})"
/illumos-gate/usr/src/tools/onbld/Scm/
H A DBackup.py467 cnode = self.wctx.parents()[0].node()
468 if self._dirstate() != node.hex(cnode):

Completed in 132 milliseconds

12