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

12345

/osnet-11/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);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/amiga/
H A Dasfs.c37 _asfs_probe_root (PedGeometry *geom, uint32_t *block, int blocksize, PedSector root) { argument
44 if (PED_BE32_TO_CPU (block[2]) * blocksize + geom->start != root) {
61 PedSector root; local
85 root = geom->start;
86 if (!ped_device_read (geom->dev, block, root, blocksize)) {
88 _("%s : Couldn't read root block %llu\n"), __func__, root);
95 /* Find and test the root blocks */
96 if (_asfs_probe_root(geom, block, blocksize, root)) {
99 root
[all...]
H A Dapfs.c46 PedSector root; local
81 /* Find and test the root block */
82 root = geom->start+reserved*blocksize;
83 if (!ped_device_read (geom->dev, block, root, blocksize)) {
85 _("%s : Couldn't read root block %llu\n"), __func__, root);
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dmmap.c26 grub_ieee1275_phandle_t root; local
35 grub_ieee1275_finddevice ("/", &root);
36 grub_ieee1275_get_integer_property (root, "#address-cells", &address_cells,
38 grub_ieee1275_get_integer_property (root, "#size-cells", &size_cells,
H A Dcmain.c53 grub_ieee1275_phandle_t root;
68 grub_ieee1275_finddevice ("/", &root);
82 rc = grub_ieee1275_get_property (root, "architecture",
87 rc = grub_ieee1275_get_property (root, "model",
52 grub_ieee1275_phandle_t root; local
/osnet-11/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
/osnet-11/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...]
/osnet-11/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) {
/osnet-11/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);
H A Ddisplay_funcs.c113 disp_powerfail(Prom_node *root) argument
121 pnode = dev_find_node(root, option_str);
H A Dlibdevinfo_sun4u.c55 static Prom_node *walk_di_tree(Sys_tree *tree, Prom_node *root,
73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node) argument
91 pnode->parent = root;
177 return (walk_di_tree(tree, root, curnode));
179 pnode->sibling = walk_di_tree(tree, root, curnode);
414 Prom_node *root_node; /* root node of OBP device tree */
415 di_node_t di_root_node; /* root of the devinfo tree */
H A Dpdevinfo_sun4v.c84 Prom_node *root_node; /* root node of OBP device tree */
85 picl_nodehdl_t rooth; /* root PICL node for IO display */
142 * sun4v_Walk the PROM device tree and build the system tree and root tree.
148 sun4v_walk(Sys_tree *tree, Prom_node *root, int id) argument
165 pnode->parent = root;
174 * is that all nodes that are children of root should have a
224 return (sun4v_walk(tree, root, curnode));
226 pnode->sibling = sun4v_walk(tree, root, curnode);
/osnet-11/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...]
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgui_util.c55 grub_gui_find_by_id (grub_gui_component_t root, argument
64 find_by_id_recursively (root, &state);
93 grub_gui_iterate_recursively (grub_gui_component_t root, argument
100 iterate_recursively_cb (root, &state);
/osnet-11/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...]
/osnet-11/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))
/osnet-11/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...]
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm104 # If $root is not specified, use lgrp_root.
110 my $root = shift;
111 $root = lgrp_root($cookie) unless defined $root;
112 return unless defined $root;
113 my @children = lgrp_children($cookie, $root);
117 # Concatenate root with subtrees for every children. Every subtree is
122 ($root, map {lgrp_lgrps($cookie, $_)} @children) :
123 ($root);
137 my $root
199 sub root subroutine
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/
H A DSafe.pm21 # Create anon sub ref in root of compartment.
142 my($class, $root, $mask) = @_;
146 if (defined($root)) {
147 croak "Can't use \"$root\" as root name"
148 if $root =~ /^main\b/ or $root !~ /^\w[:\w]*$/;
149 $obj->{Root} = $root;
182 my $pkg = $obj->root();
223 sub root { subroutine
[all...]
/osnet-11/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)) )
/osnet-11/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...]

Completed in 40 milliseconds

12345