Searched defs:root (Results 1 - 25 of 254) sorted by relevance

1234567891011

/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_unumtopa.c46 mcamd_unumtopa(struct mcamd_hdl *hdl, mcamd_node_t *root, mc_unum_t *unump, argument
66 for (mc = mcamd_mc_next(hdl, root, NULL); mc != NULL;
67 mc = mcamd_mc_next(hdl, root, mc)) {
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasLoadLibrary.c41 di_node_t root; local
67 if ((root = di_init("/", DINFOCACHE)) == DI_NODE_NIL) {
81 if (devtree_get_all_hbas(root) == HBA_STATUS_OK) {
87 di_fini(root);
H A DSun_sasRefreshAdapterConfiguration.c31 * The di_node_t argument should be the root of the device tree.
85 di_node_t root; local
100 if ((root = di_init("/", DINFOCACHE)) == DI_NODE_NIL) {
121 if (di_walk_node(root, DI_WALK_SIBFIRST, &wa,
127 di_fini(root);
148 if (devtree_get_all_hbas(root) != HBA_STATUS_OK) {
151 di_fini(root);
H A DSun_sasRefreshInformation.c31 * The di_node_t argument should be the root of the device tree.
90 di_node_t root; local
111 if ((root = di_init("/", DINFOCACHE)) == DI_NODE_NIL) {
132 if (di_walk_node(root, DI_WALK_SIBFIRST, &wa,
138 di_fini(root);
148 di_fini(root);
154 di_fini(root);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c57 decode_add(t_decode **root, const char *str, short code) argument
62 if (root == NULL)
71 if (*root == NULL) {
77 *root = saved = node;
84 for (node = *root; *str != '\0'; ++str, node = node->child) {
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_open.c214 PAGE *root; local
272 /* Create and initialize a root page. */
277 if ((ret = memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, &root)) != 0) {
281 P_INIT(root, dbp->pgsize, PGNO_ROOT, PGNO_INVALID,
283 ZERO_LSN(root->lsn);
285 /* Release the metadata and root pages. */
288 if ((ret = memp_fput(dbp->mpf, root, DB_MPOOL_DIRTY)) != 0)
292 * Flush the metadata and root pages to disk -- since the user can't
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dreplica.c77 char *root, *special2; local
85 root = special2 = strdup(special);
86 proot = root;
88 while (root) {
89 switch (*root) {
91 if ((root != special2) && (*(root -1) != ',')) {
92 root++;
95 y = strchr(root, ']');
97 root
[all...]
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashdump.c75 if (n = tab->root->namesize)
130 * dump hash table root info
134 dumproot(register Hash_root_t* root, register int flags) argument
138 sfprintf(sfstderr, " root\n");
139 sfprintf(sfstderr, " address: 0x%08lx\n", (unsigned long)root);
141 dumpflags(root->flags);
142 if (root->namesize) sfprintf(sfstderr, "namesize=%d ", root->namesize);
143 if (root->local->alloc) sfprintf(sfstderr, "alloc=0x%08lx ", (unsigned long)root
166 register Hash_root_t* root; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dlibzfs.h55 uint64_t root; member in struct:zfs_boot_args
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c61 NODE *root = (NODE *) r; local
62 if (root->llink == NULL && root->rlink == NULL)
63 (*action)(root, leaf, level, cookie);
65 (*action)(root, preorder, level, cookie);
66 if (root->llink != NULL)
67 slp_twalk(root->llink, action, level + 1, cookie);
68 (*action)(root, postorder, level, cookie);
69 if (root->rlink != NULL)
70 slp_twalk(root
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4u.c58 Prom_node *root,
88 get_prop_val(find_prop(root, "banner-name")), 0);
91 value = get_prop_val(find_prop(root, "clock-frequency"));
121 root, tree, kstats);
167 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, argument
172 root = root;
57 display(Sys_tree *tree, Prom_node *root, struct system_kstat_data *kstats, int syserrlog) argument
H A Dpdevinfo_sun4u.c84 Prom_node *root_node; /* root node of OBP device tree */
152 * Walk the PROM device tree and build the system tree and root tree.
162 walk(Sys_tree *tree, Prom_node *root, int id) argument
179 pnode->parent = root;
188 * is that all nodes that are children of root should have a
264 return (walk(tree, root, curnode));
266 pnode->sibling = walk(tree, root, curnode);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dtsearch.c48 * rootp: Address of the root of the tree
80 * rootp: Address of the root of tree
127 * root: Root of the tree to be walked
131 twalk(NODE *root, void (*action)(NODE *, VISIT, int)) argument
134 if (root != NULL && action != NULL)
135 _twalk(root, action, 0);
142 * root: Root of the tree to be walked
146 _twalk(NODE *root, void (*action)(NODE *, VISIT, int), int level) argument
148 if (root->llink == NULL && root
[all...]
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtstat.c30 static void dttstat(Dtstat_t* ds, Dtlink_t* root, int depth, int* level) argument
32 static void dttstat(ds,root,depth,level)
34 Dtlink_t* root;
39 if(root->left)
40 dttstat(ds,root->left,depth+1,level);
41 if(root->right)
42 dttstat(ds,root->right,depth+1,level);
H A Ddttree.c41 Dtlink_t *root, *t; local
53 root = dt->data->here;
55 { if(!root || !(type&(DT_CLEAR|DT_FIRST|DT_LAST)) )
61 { while((t = root->left) )
62 RROTATE(root,t);
63 t = root->right;
65 (*disc->freef)(dt,_DTOBJ(root,lk),disc);
67 (*dt->memoryf)(dt,(Void_t*)root,0,disc);
68 } while((root = t) );
77 { while((t = root
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dwhence.c141 Dt_t *root; local
187 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree;
188 if(np= nv_bfsearch(name, root, &nq, &notused))
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starfire/common/
H A Dstarfire.c66 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree,
153 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, argument
162 root = root;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c134 NODE *root = (NODE *)rt; local
136 if (root != NULL && action != NULL)
137 __twalk(root, action, 0);
143 __twalk(NODE *root, /* Root of the tree to be walked */ argument
147 if (root->llink == NULL && root->rlink == NULL)
148 (*action)(root, leaf, level);
150 (*action)(root, preorder, level);
151 if (root->llink != NULL)
152 __twalk(root
[all...]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm106 # If $root is not specified, use lgrp_root.
112 my $root = shift;
113 $root = lgrp_root($cookie) unless defined $root;
114 return unless defined $root;
115 my @children = lgrp_children($cookie, $root);
119 # Concatenate root with subtrees for every children. Every subtree is
124 ($root, map {lgrp_lgrps($cookie, $_)} @children) :
125 ($root);
139 my $root
201 sub root subroutine
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dlut.c68 * struct lut *root = NULL;
69 * root = lut_add(root, key, value, cmp_func);
78 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) argument
81 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root;
92 return (root);
105 *tmp_hdl = MALLOC(sizeof (*root));
112 return (root);
116 lut_lookup(struct lut *root, voi argument
139 lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func) argument
165 lut_walk(struct lut *root, lut_cb callback, void *arg) argument
205 lut_free(struct lut *root, lut_cb callback, void *arg) argument
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc2.c57 void **root = NULL; variable
113 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \
145 twalk((struct utab *)root, print_node);
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dmain.c235 * Use the command line to determine if there is an alternate root.
255 * Use the command line to determine if there is an alternate root.
264 char *root = NULL; local
271 * -R: Alternate root specification.
287 root = optarg;
297 if (!pkgsync_needed(root, dryrundir, quit))
300 set_PKGpaths(root);
305 (void) pkgsync(root, dryrundir, quit);
/illumos-gate/usr/src/uts/common/zmod/
H A Dinftrees.c30 requested root table index bits, and on return it is the actual root
45 unsigned root; /* number of index bits for root table */ local
53 unsigned low; /* low bits for current root entry */
54 unsigned mask; /* mask for low root bits */
114 /* bound code lengths, force root to be within code lengths */
115 root = *bits;
118 if (root > max) root
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c315 /* Create a root page if new tree. */
346 * NROOT -- Create the root of a new tree.
358 PAGE *meta, *root; local
361 if ((root = mpool_get(t->bt_mp, 1, 0)) != NULL) {
362 if (root->lower == 0 &&
363 root->pgno == 0 &&
364 root->linp[0] == 0) {
365 mpool_delete(t->bt_mp, root);
368 mpool_put(t->bt_mp, root, 0);
379 if ((root
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dtsearch.c158 ** node is always rotated to the root first. So this implementation always
159 ** returns the key of the new root.
220 ** Since our root is a dictionary structure, the search here will start
221 ** at whichever node happens to be current root.
225 void twalk(const Void_t* root, void(*action)(const Void_t*,VISIT,int) ) argument
227 void twalk(root, action)
228 Void_t* root;
234 if(root && (o = (Tree_t*)dtfinger((Dt_t*)root)) )

Completed in 93 milliseconds

1234567891011