/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | freelist.c | 43 char *nodes; /* The array of free-list nodes */ member in struct:FreeListBlock 48 unsigned blocking_factor; /* The number of nodes per block */ 49 long nbusy; /* The number of nodes that are in use */ 50 long ntotal; /* The total number of nodes in the free list */ 52 void *free_list; /* The free-list of nodes */ 64 * node_size size_t The size of the free-list nodes to be returned 78 * pointer. This, plus the fact that the array of nodes is obtained via 118 * Add the new list of nodes to the free-list. 120 fl->free_list = fl->block->nodes; [all...] |
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | machdep.c | 44 * Internal routine to fetch all the current nodes that are 246 ncall_node_t *nodes; local 253 nodecnt = nsc_getcurrentnodes(&nodes); 258 if (strcmp(name, nodes[slot].nc_nodename) == 0) { 259 *id = nodes[slot].nc_nodeid; 267 free(nodes); 282 ncall_node_t *nodes; local 291 nodecnt = nsc_getcurrentnodes(&nodes); 296 if (nodes[slot].nc_nodeid == id) { 297 foundname = strdup(nodes[slo [all...] |
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_compound_misc.sh | 80 # ksh93 <= ast-ksh.2010-03-09 prints garbage for compound x=( compound -a nodes=( [4]=( ) ) );typeset -p x 83 compound vx=( compound -a nodes=( [4]=( ) ) ) 85 compound -a vy.nodes=( [4]=( ) ) 87 compound -a vz.nodes 88 vz.nodes[4]=( ) 107 cx="$(typeset +p vx.nodes)" ; [[ "$cx" == *-C* && "$cx" == *-a* ]] || err_exit "'$cx' lacks -C/-a attribute" 108 cy="$(typeset +p vy.nodes)" ; [[ "$cy" == *-C* && "$cy" == *-a* ]] || err_exit "'$cy' lacks -C/-a attribute" 109 cz="$(typeset +p vz.nodes)" ; [[ "$cz" == *-C* && "$cz" == *-a* ]] || err_exit "'$cz' lacks -C/-a attribute" 110 cx="$(typeset +p vx.nodes[4])" ; [[ "$cx" == *-C* ]] || err_exit "'$cx' lacks -C attribute" 111 cy="$(typeset +p vy.nodes[ [all...] |
H A D | sun_solaris_compound_nameref.sh | 86 # were removing the compound variable members nodes+nodesnum (caused 92 compound -A xdoc.nodes 98 nameref nodepath="doc.nodes" 108 (set -o errexit ; read -C tmp <<<"${out}" ; [[ "$(typeset +p tmp.nodes)" == *-A* ]]) || err_exit "missing variable tmp.nodes"
|
/illumos-gate/usr/src/cmd/avs/ncall/ |
H A D | ncalladm.c | 222 ncall_node_t nodeinfo, *nodes; local 368 nodes = getnodelist(fd, &nsize, &mnode); 370 if (nodes == NULL) { 383 nodes[0].nc_nodename); 385 nodes[0].nc_nodeid); 391 if (nodes[i].nc_nodeid == mnode) { 392 mname = nodes[i].nc_nodename; 413 if (nodes[i].nc_nodeid != mnode) { 415 nodes[i].nc_nodename, 416 nodes[ [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs.conf | 233 # num-nodes: Number of fibre channel nodes (NPorts) the driver will support. 239 num-nodes=0;
|
/illumos-gate/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 203 mde_cookie_t *nodes, rootnode; local 213 nodes = malloc(nnodes * sizeof (mde_cookie_t)); 214 if (nodes == NULL) { 222 md_find_name(mdp, "fwd"), nodes); 225 (void) md_get_prop_val(mdp, nodes[0], "domaining-enabled", 230 free(nodes); 277 mde_cookie_t *nodes, rootnode; local 282 nodes = malloc(nnodes * sizeof (mde_cookie_t)); 283 if (nodes == NULL) { 290 md_find_name(mdp, "fwd"), nodes); [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.c | 144 if (e->nodes[2]) 145 freeexpr(e->nodes[2]); 148 if (e->nodes[1]) 149 freeexpr(e->nodes[1]); 152 if (e->nodes[0]) 153 freeexpr(e->nodes[0]); 231 newitem->nodes[2] = exp3; 234 newitem->nodes[1] = exp2; 237 newitem->nodes[0] = exp1; 874 e1 = plural_eval(exp->nodes[ [all...] |
H A D | plural_parser.h | 79 struct expr *nodes[3]; /* operands */ member in struct:expr
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | radix.h | 124 struct radix_node nodes[]); 127 struct radix_node nodes[]);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 146 * the status property in all PROM nodes. On systems where 163 pnode = find_failed_node(bnode->nodes); 308 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,psycho"); 314 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,sabre"); 361 for (pnode = dev_find_node(bnode->nodes, "sbus"); pnode != NULL; 373 for (pnode = dev_find_node(bnode->nodes, "pci"); pnode != NULL; 384 for (pnode = dev_find_node(bnode->nodes, "ebus"); pnode != NULL; 395 for (pnode = dev_find_node(bnode->nodes, "SUNW,hme"); pnode != NULL; 433 display_dev_node(board->nodes, 0); 514 for (sbus = dev_find_node(board->nodes, SBUS_NAM [all...] |
/illumos-gate/usr/src/cmd/device_remap/ |
H A D | device_remap.pl | 224 # return list of nodes named 'nodename' 388 my ($md, @nodes, $nodeid, @aliases, $alias); 397 @nodes = $md->scan(0, "ioaliases", "fwd"); 398 $#nodes == 0 or die "missing ioaliases node\n"; 411 @nodes = $md->scan(@nodes[0], "ioalias", "fwd"); 412 foreach $nodeid (@nodes) {
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 233 xmlNodeSetPtr nodes; local 246 nodes = xpathObj->nodesetval; 248 if (nodes) { 249 temp = (char *)xmlNodeGetContent(nodes->nodeTab[0]); 370 * Line 1: Look at all nodes with the node name "propval" 395 xmlNodeSetPtr nodes; local 418 * Line 1: Look at all nodes with the node name "propval" 444 nodes = xpathObj->nodesetval; 445 size = (nodes) ? nodes 627 xmlNodeSetPtr nodes; local 890 xmlNodeSetPtr nodes; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 86 char *nodes; member in struct:Namtype 270 static Namval_t *findref(void *nodes, int n) argument 272 Namval_t *tp,*np = nv_namptr(nodes,n); 278 np = nv_namptr(nodes,i); 283 return(nv_namptr(pp->nodes,n-i-1)); 291 Namval_t *nq = nv_namptr(dp->nodes,i); 300 nq->nvalue.nrp->np = findref(dp->nodes,i); 302 nq->nvalue.nrp->np = nv_namptr(pp->childfun.ttype->nodes,i); 313 Namval_t *np = nv_namptr(pp->nodes,i); 333 Namval_t *nr = nv_namptr( pp->childfun.ttype->nodes, 822 nv_mktype(Namval_t **nodes, int numnodes) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.conf | 76 # search string template for disk-led nodes in PICL platform tree 77 disk-led-nodes: name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74/disk-led@
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 163 memory = dev_find_node(bnode->nodes, "memory"); 173 dimm = bnode->nodes; 174 for (bank = dev_find_node(bnode->nodes, "bank"); bank != NULL; 232 * the status property in all PROM nodes. On systems where 252 pnode = find_failed_node(bnode->nodes); 312 dev_find_node(bnode->nodes, "slot2dev"), 435 for (pci = dev_find_node(board->nodes, PCI_NAME); pci != NULL; 444 * we are one level below the 'pci' nodes level 462 /* Skip all failed nodes for now */ 499 dev_find_node(board->nodes, "slot2de [all...] |
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | simplefiletree1.sh | 65 # walk path described via the "pe" array and build nodes if 66 # there aren't any nodes yet 73 # use the output of typeset +p x.nodes 74 [[ "${ typeset +p x.nodes ; }" == "" ]] && compound -A x.nodes 76 nodepath+=".nodes[${pe[i]}]"
|
H A D | xmldocumenttree1.sh | 109 compound -A nodes 119 stack.items[stack.pos]="${stack.items[stack.pos-1]}[${nodesnum}].nodes" 303 compound -A xdoc.nodes 307 typeset -a stack.items=( [0]="doc.nodes" )
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | prom.c | 105 pnode = find_pci_bus(bnode->nodes, 0x1F, 1);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 160 memory = dev_find_node(bnode->nodes, "memory"); 170 dimm = bnode->nodes; 171 for (bank = dev_find_node(bnode->nodes, "bank"); bank != NULL; 229 * the status property in all PROM nodes. On systems where 249 pnode = find_failed_node(bnode->nodes); 307 dev_find_node(bnode->nodes, "slot2dev"), 430 for (pci = dev_find_node(board->nodes, PCI_NAME); pci != NULL; 439 * we are one level below the 'pci' nodes level 457 /* Skip all failed nodes for now */ 494 dev_find_node(board->nodes, "slot2de [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | dockspace.c | 65 #define WRN_NOFILES "The %s filesystem has %llu free file nodes. The " \ 66 "current installation requires %llu file nodes, " \ 68 "for temporary files. %llu more file nodes " \ 357 long blocks, nodes; local 372 blocks = nodes = 0; 378 (void) sscanf(line, "%s %ld %ld", path, &blocks, &nodes); 401 fs_tab->fused += nodes;
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 66 * Search the PRI for MDE nodes using md_scan_dag. Using this routine 70 * The routine returns the number of nodes found, or -1. If the node array 72 * topo_mod_free(mod, nodes, nsize); 77 char *type_str, char *arc_str, mde_cookie_t **nodes, size_t *nsize) 92 *nodes = topo_mod_zalloc(mod, *nsize); 93 if (*nodes == NULL) { 100 result = md_scan_dag(mdp, mde_start, start_cookie, arc_cookie, *nodes); 102 /* No nodes found. Free the node array before returning */ 103 topo_mod_free(mod, *nodes, *nsize); 104 *nodes 76 pi_find_mdenodes(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_start, char *type_str, char *arc_str, mde_cookie_t **nodes, size_t *nsize) argument 236 mde_cookie_t *nodes = NULL; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 124 pnode = dev_find_node(bnode->nodes, "mem-unit"); 214 pnode = dev_find_node(board->nodes, name);
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | radix.h | 120 struct radix_node_head *head, struct radix_node nodes[]); 123 struct radix_node_head *head, struct radix_node nodes[]);
|
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 138 Prom_node *nodes; member in struct:board_node 161 /* functions for searching for Prom nodes */
|