Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 818) sorted by relevance

12345678910>>...33

/illumos-gate/usr/src/cmd/logadm/
H A Dlut.c68 lut_add(struct lut *root, const char *lhs, void *rhs) in lut_add() argument
72 if (root == NULL) { in lut_add()
74 root = MALLOC(sizeof (*root)); in lut_add()
75 root->lut_lhs = STRDUP(lhs); in lut_add()
76 root->lut_rhs = rhs; in lut_add()
77 root->lut_left = root->lut_right = NULL; in lut_add()
78 } else if (lhs != NULL && (diff = strcmp(root->lut_lhs, lhs)) == 0) { in lut_add()
80 root->lut_rhs = rhs; in lut_add()
82 root->lut_left = lut_add(root->lut_left, lhs, rhs); in lut_add()
84 root->lut_right = lut_add(root->lut_right, lhs, rhs); in lut_add()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddttree.c34 Dtlink_t* root; /* tree root */ member
45 if(!here && !(here = tree->root) ) in dttreeprint()
94 Dtlink_t *t, *root; local
98 if(!(root = tree->root) )
102 { while((t = root->_rght) )
103 LROTATE(root,t);
106 { while((t = root->_left) )
107 RROTATE(root,t);
109 tree->root = root;
111 return _DTOBJ(disc, root);
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-cryptotest.p5m50 dir path=opt/crypto-tests/tests/aes owner=root group=root mode=0755
51 dir path=opt/crypto-tests/tests/aes/kcf owner=root group=root mode=0755
53 path=opt/crypto-tests/tests/aes/kcf/aes_cbc_32 owner=root group=root \
56 path=opt/crypto-tests/tests/aes/kcf/aes_cbc_64 owner=root group=root \
59 path=opt/crypto-tests/tests/aes/kcf/aes_ccm_32 owner=root group=root \
62 path=opt/crypto-tests/tests/aes/kcf/aes_ccm_64 owner=root group=root \
65 path=opt/crypto-tests/tests/aes/kcf/aes_cmac_32 owner=root group=root \
68 path=opt/crypto-tests/tests/aes/kcf/aes_cmac_64 owner=root group=root \
71 path=opt/crypto-tests/tests/aes/kcf/aes_ctr_32 owner=root group=root \
74 path=opt/crypto-tests/tests/aes/kcf/aes_ctr_64 owner=root group=root \
[all …]
H A Dsystem-data-console-fonts.p5m30 file path=boot/fonts/10x18.fnt owner=root group=bin mode=0444
31 file path=boot/fonts/10x18b.fnt owner=root group=bin mode=0444
32 file path=boot/fonts/10x20.fnt owner=root group=bin mode=0444
33 file path=boot/fonts/10x20b.fnt owner=root group=bin mode=0444
34 file path=boot/fonts/11x22.fnt owner=root group=bin mode=0444
35 file path=boot/fonts/11x22b.fnt owner=root group=bin mode=0444
36 file path=boot/fonts/12x24.fnt owner=root group=bin mode=0444
37 file path=boot/fonts/12x24b.fnt owner=root group=bin mode=0444
38 file path=boot/fonts/14x28.fnt owner=root group=bin mode=0444
39 file path=boot/fonts/14x28b.fnt owner=root group=bin mode=0444
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dreplica.c75 char *root, *special2; in parse_replica() local
83 root = special2 = strdup(special); in parse_replica()
84 proot = root; in parse_replica()
86 while (root) { in parse_replica()
87 switch (*root) { in parse_replica()
89 if ((root != special2) && (*(root -1) != ',')) { in parse_replica()
90 root++; in parse_replica()
93 y = strchr(root, ']'); in parse_replica()
95 root++; in parse_replica()
99 root = y + 1; in parse_replica()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dlut.c76 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) in lut_add() argument
79 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; in lut_add()
90 return (root); in lut_add()
103 *tmp_hdl = MALLOC(sizeof (*root)); in lut_add()
110 return (root); in lut_add()
114 lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func) in lut_lookup() argument
120 while (root) { in lut_lookup()
122 diff = (*cmp_func)(root->lut_lhs, lhs); in lut_lookup()
124 diff = (const char *)lhs - (const char *)root->lut_lhs; in lut_lookup()
127 return (root->lut_rhs); in lut_lookup()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashdump.c75 if (n = tab->root->namesize) in dumpbucket()
134 dumproot(register Hash_root_t* root, register int flags) in dumproot() argument
139 sfprintf(sfstderr, " address: 0x%08lx\n", (unsigned long)root); in dumproot()
141 dumpflags(root->flags); in dumproot()
142 if (root->namesize) sfprintf(sfstderr, "namesize=%d ", root->namesize); in dumproot()
143 if (root->local->alloc) sfprintf(sfstderr, "alloc=0x%08lx ", (unsigned long)root->local->alloc); in dumproot()
144 …if (root->local->compare) sfprintf(sfstderr, "compare=0x%08lx ", (unsigned long)root->local->compa… in dumproot()
145 if (root->local->free) sfprintf(sfstderr, "free=0x%08lx ", (unsigned long)root->local->free); in dumproot()
146 if (root->local->hash) sfprintf(sfstderr, "hash=0x%08lx ", (unsigned long)root->local->hash); in dumproot()
147 …if (root->local->region) sfprintf(sfstderr, "region=0x%08lx handle=0x%08lx ", (unsigned long)root-… in dumproot()
[all …]
H A Dhashlook.c75 tab->root->accesses++; in hashlook()
77 last = &tab->root->last; in hashlook()
95 else HASH(tab->root, name, n); in hashlook()
104 if (!tab->root->local->compare) in hashlook()
109 if (tab->root->namesize) in hashlook()
111 register char* s3 = s1 + tab->root->namesize; in hashlook()
119 else if (tab->root->namesize) in hashlook()
121 if (!(*tab->root->local->compare)(hashname(b), name, tab->root->namesize)) goto found; in hashlook()
123 else if (!(*tab->root->local->compare)(hashname(b), name)) goto found; in hashlook()
125 tab->root->collisions++; in hashlook()
[all …]
H A Dhashfree.c58 if (tab->root->local->free) in hashfree()
60 if (tab->root->flags & HASH_BUCKET) freebucket = tab->root->local->free; in hashfree()
61 else freevalue = tab->root->local->free; in hashfree()
63 if (region = tab->root->local->region) in hashfree()
64 handle = tab->root->local->handle; in hashfree()
101 if (tab->root) in hashfree()
109 if ((tp = tab->root->references) != tab) in hashfree()
118 else if (!(tab->root->references = tp->next)) in hashfree()
120 if ((rp = hash_info.list) != tab->root) in hashfree()
123 if (rp->next == tab->root) in hashfree()
[all …]
H A Dhashalloc.c75 tab->root = ref->root; in hashalloc()
82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0))) in hashalloc()
84 memset(tab->root, 0, sizeof(Hash_root_t)); in hashalloc()
86 else if (!(tab->root = newof(0, Hash_root_t, 1, 0))) in hashalloc()
88 if (!(tab->root->local = newof(0, Hash_local_t, 1, 0))) in hashalloc()
90 if (tab->root->local->region = region) in hashalloc()
91 tab->root->local->handle = handle; in hashalloc()
92 tab->root->meanchain = HASHMEANCHAIN; in hashalloc()
102 tab->root->local->alloc = va_arg(ap, Hash_alloc_f); in hashalloc()
114 tab->root->local->compare = va_arg(ap, Hash_compare_f); in hashalloc()
[all …]
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Ds10_boot.ksh35 ZONEROOT=$ZONEPATH/root
182 chown root:bin $ZONEROOT/lib/inet
194 replace_with_native /sbin/dhcpagent 0555 root:bin
195 replace_with_native /sbin/dhcpinfo 0555 root:bin
196 replace_with_native /sbin/ifconfig 0555 root:bin
197 replace_with_native /usr/bin/netstat 0555 root:bin
198 replace_with_native /usr/lib/inet/in.ndpd 0555 root:bin
199 replace_with_native /usr/sbin/in.routed 0555 root:bin
200 replace_with_native /usr/sbin/ndd 0555 root:bin
201 replace_with_native /usr/sbin/snoop 0555 root:bin
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c359 find_board(Sys_tree *root, int board) in find_board() argument
361 Board_node *bnode = root->bd_list; in find_board()
374 insert_board(Sys_tree *root, int board) in insert_board() argument
377 Board_node *temp = root->bd_list; in insert_board()
388 root->bd_list = bnode; in insert_board()
391 root->bd_list = bnode; in insert_board()
398 root->board_cnt++; in insert_board()
453 dev_find_node(Prom_node *root, char *name) in dev_find_node() argument
457 node = dev_find_node_by_type(root, "name", name); in dev_find_node()
463 dev_next_node(Prom_node *root, char *name) in dev_next_node() argument
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp.t116 my $root = lgrp_root($c);
117 ok($root, 0, 'root should have id zero');
134 my @children = lgrp_children($c, $root);
135 ok(scalar @children, lgrp_children($c, $root), 'lgrp_children as scalar');
150 $fail++ if $parent != $root;
169 @parents = lgrp_parents($c, $root);
172 ok(lgrp_parents($c, $root), 0);
186 my @cpus = lgrp_cpus($c, $root, LGRP_CONTENT_HIERARCHY);
187 my $ncpus = lgrp_cpus($c, $root, LGRP_CONTENT_HIERARCHY);
190 ok(lgrp_mem_size($c, $root, LGRP_MEM_SZ_INSTALLED, LGRP_CONTENT_HIERARCHY));
[all …]
H A DLgrp_api.t73 my $root = $c->root;
74 is($root, 0, 'root should have id zero');
96 my (@children) = $c->children($root);
108 $fail++ if $parent != $root;
120 next if $l == $root;
128 @parents = $c->parents($root);
146 my $lgrp = ($home == $root ? $leaf : $root);
165 $c->affinity_set(P_PID, P_MYID, $root, $aff) or
167 my $affinity = $c->affinity_get(P_PID, $$, $root);
179 my @rcpus = $c->cpus($root, LGRP_CONTENT_HIERARCHY) or
[all …]
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c245 hp_node_t root; in cmd_list() local
274 if ((root = hp_init(path, connection, flags)) == NULL) { in cmd_list()
280 (void) hp_traverse(root, NULL, long_flag ? list_long_cb : list_cb); in cmd_list()
283 hp_fini(root); in cmd_list()
296 hp_node_t root; in cmd_online() local
314 if ((root = hp_init(path, connection, 0)) == NULL) { in cmd_online()
320 if (hp_type(root) != HP_NODE_PORT) { in cmd_online()
323 hp_fini(root); in cmd_online()
328 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_ONLINE, &results); in cmd_online()
343 hp_fini(root); in cmd_online()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dminor_perm1 devinfo:devinfo 0640 root sys
2 devinfo:devinfo,ro 0444 root sys
3 md:* 0640 root sys
4 md:admin 0644 root sys
5 su:[a-z] 0666 root sys
7 su:ssp 0600 root sys
8 su:sspctl 0600 root sys
9 zs:[a-z] 0666 root sys
11 se:[a-h] 0666 root sys
13 se:[0-7],hdlc 0666 root sys
[all …]
/illumos-gate/usr/src/cmd/Adm/
H A Dgroup1 root::0:
2 other::1:root
3 bin::2:root,daemon
4 sys::3:root,bin,adm
5 adm::4:root,daemon
6 uucp::5:root
7 mail::6:root
8 tty::7:root,adm
9 lp::8:root,adm
10 nuucp::9:root
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c132 NODE *root = (NODE *)rt; in twalk() local
134 if (root != NULL && action != NULL) in twalk()
135 __twalk(root, action, 0); in twalk()
141 __twalk(NODE *root, /* Root of the tree to be walked */ in __twalk() argument
145 if (root->llink == NULL && root->rlink == NULL) in __twalk()
146 (*action)(root, leaf, level); in __twalk()
148 (*action)(root, preorder, level); in __twalk()
149 if (root->llink != NULL) in __twalk()
150 __twalk(root->llink, action, level + 1); in __twalk()
151 (*action)(root, postorder, level); in __twalk()
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm112 my $root = shift;
113 $root = lgrp_root($cookie) unless defined $root;
114 return unless defined $root;
115 my @children = lgrp_children($cookie, $root);
124 ($root, map {lgrp_lgrps($cookie, $_)} @children) :
125 ($root);
139 my $root = shift;
140 $root = lgrp_root($cookie) unless defined $root;
141 return unless defined $root;
144 } lgrp_lgrps($cookie, $root);
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c59 NODE *root = (NODE *) r; in slp_twalk() local
60 if (root->llink == NULL && root->rlink == NULL) in slp_twalk()
61 (*action)(root, leaf, level, cookie); in slp_twalk()
63 (*action)(root, preorder, level, cookie); in slp_twalk()
64 if (root->llink != NULL) in slp_twalk()
65 slp_twalk(root->llink, action, level + 1, cookie); in slp_twalk()
66 (*action)(root, postorder, level, cookie); in slp_twalk()
67 if (root->rlink != NULL) in slp_twalk()
68 slp_twalk(root->rlink, action, level + 1, cookie); in slp_twalk()
69 (*action)(root, endorder, level, cookie); in slp_twalk()
/illumos-gate/usr/src/cmd/mdb/tools/scripts/
H A Dmdb.sh37 unset mdb_exec build root # Local variables
47 root=$CODEMGR_WS/proto/root_$mach
50 root=$mdb_lib/$mach/%R/%V
62 root=$mdb_lib/$mach/%R/%V
65 root=$mdb_lib/$mach/%R/%V
126 [ -n "$build" ] && root=$mdb_lib/$mach/$build
135 if [ -n "$build" -o "$root" = "$CODEMGR_WS/proto/root_$mach" ]; then
136 if [ -n "$build" -a ! -d $root ]; then
137 echo "mdb: $root is missing or not a directory" >& 2
142 LD_LIBRARY_PATH="$LD_LIBRARY_PATH$root/usr/lib"
[all …]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dmenu.lst16 root (hd0,0)
17 kernel /boot/gnumach.gz root=hd0s1
22 root (hd1,0)
23 kernel /vmlinuz root=/dev/hdb1
28 root (hd0,2,a)
33 root (hd0,2,a)
38 root (hd0,2)
40 kernel (fd0)/boot/kernel root=hd0s3
45 root (hd0,2,a)
50 root (hd0,2,a)
[all …]
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c65 hp_node_t root = NULL; in hp_init() local
94 rv = i_hp_parse_results(results, &root, NULL); in hp_init()
101 if (root) in hp_init()
102 hp_fini(root); in hp_init()
108 if (root == NULL) { in hp_init()
115 return (root); in hp_init()
124 hp_fini(hp_node_t root) in hp_fini() argument
130 i_hp_dprintf("hp_fini: root=%p\n", (void *)root); in hp_fini()
132 if (root == NULL) { in hp_fini()
138 if (root->hp_basepath) { in hp_fini()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/chown/files/
H A Dcout01 drwx------ root .
2 drwxr-xr-x root ./dst
3 -rw-r--r-- root ./dst/file1
6 lrwxrwxrwx root ./src/dstlink
7 -rw-r--r-- root ./src/file2
8 lrwxrwxrwx root ./src/tlink
10 lrwxrwxrwx root ./tlink
H A Dcout11 drwx------ root .
2 drwxr-xr-x root ./dst
3 -rw-r--r-- root ./dst/file1
6 lrwxrwxrwx root ./src/dstlink
7 -rw-r--r-- root ./src/file2
8 lrwxrwxrwx root ./src/tlink
10 lrwxrwxrwx root ./tlink

12345678910>>...33