/illumos-gate/usr/src/cmd/logadm/ |
H A D | lut.c | 72 if (root == NULL) { in lut_add() 74 root = MALLOC(sizeof (*root)); in lut_add() 76 root->lut_rhs = rhs; in lut_add() 77 root->lut_left = root->lut_right = NULL; 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() 85 return (root); in lut_add() 138 if (root) { in lut_walk() 140 (*callback)(root->lut_lhs, root->lut_rhs, arg); in lut_walk() 155 if (root != NULL) { in lut_free() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dttree.c | 98 if(!(root = tree->root) ) 109 tree->root = root; 126 root = tree->root; 339 root = t; in troot() 444 if((root = tree->root) && _DTOBJ(disc,root) != obj) /* splay-search for a matching object */ 505 l->_rght = root ? root->_left : NIL(Dtlink_t*); 506 r->_left = root ? root->_rght : NIL(Dtlink_t*); 508 if(root) 512 root = troot(dt, root, &link, obj, type); 519 tree->root = root; [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | replica.c | 84 proot = root; in parse_replica() 86 while (root) { in parse_replica() 89 if ((root != special2) && (*(root -1) != ',')) { in parse_replica() 90 root++; in parse_replica() 95 root++; in parse_replica() 108 root = y + 1; in parse_replica() 120 *root = '\0'; in parse_replica() 121 x = root + 1; in parse_replica() 133 root = NULL; in parse_replica() 175 root++; in parse_replica() [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-test-cryptotest.p5m | 50 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 \ 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 \ 77 path=opt/crypto-tests/tests/aes/kcf/aes_ecb_32 owner=root group=root \ 80 path=opt/crypto-tests/tests/aes/kcf/aes_ecb_64 owner=root group=root \ [all …]
|
H A D | system-data-console-fonts.p5m | 30 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 36 file path=boot/fonts/12x24.fnt owner=root group=bin mode=0444 38 file path=boot/fonts/14x28.fnt owner=root group=bin mode=0444 40 file path=boot/fonts/16x32.fnt owner=root group=bin mode=0444 42 file path=boot/fonts/6x12.fnt owner=root group=bin mode=0444 44 file path=boot/fonts/8x14.fnt owner=root group=bin mode=0444 [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | lut.c | 79 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; in lut_add() 90 return (root); in lut_add() 110 return (root); in lut_add() 120 while (root) { in lut_lookup() 129 root = root->lut_left; in lut_lookup() 131 root = root->lut_right; in lut_lookup() 143 while (root) { in lut_lookup_lhs() 152 root = root->lut_left; in lut_lookup_lhs() 154 root = root->lut_right; in lut_lookup_lhs() 168 if (root == NULL) in lut_walk() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashdump.c | 75 if (n = tab->root->namesize) in dumpbucket() 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() 166 register Hash_root_t* root; in hashdump() local 170 else for (root = hash_info.list; root; root = root->next) in hashdump() [all …]
|
H A D | hashlook.c | 75 tab->root->accesses++; in hashlook() 77 last = &tab->root->last; in hashlook() 109 if (tab->root->namesize) in hashlook() 125 tab->root->collisions++; in hashlook() 189 …if (tab->root->local->free && (tab->root->flags & HASH_BUCKET)) (*tab->root->local->free)((char*)b… in hashlook() 192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0); in hashlook() 197 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 231 …if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, … in hashlook() 239 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 306 m = tab->root->namesize ? tab->root->namesize : strlen(name) + 1; in hashlook() [all …]
|
H A D | hashfree.c | 58 if (tab->root->local->free) in hashfree() 60 if (tab->root->flags & HASH_BUCKET) freebucket = 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() 123 if (rp->next == tab->root) in hashfree() 125 rp->next = tab->root->next; in hashfree() 132 if (!(tab->root->references)) in hashfree() 134 if (tab->root->local) in hashfree() 135 free(tab->root->local); in hashfree() [all …]
|
H A D | hashalloc.c | 75 tab->root = ref->root; in hashalloc() 84 memset(tab->root, 0, sizeof(Hash_root_t)); 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() 126 tab->root->meanchain = va_arg(ap, int); in hashalloc() 133 tab->root->namesize = va_arg(ap, int); in hashalloc() 181 tab->root->next = hash_info.list; in hashalloc() 182 hash_info.list = tab->root; in hashalloc() 186 tab->next = tab->root->references; in hashalloc() [all …]
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | s10_boot.ksh | 35 ZONEROOT=$ZONEPATH/root 182 chown root:bin $ZONEROOT/lib/inet 195 replace_with_native /sbin/dhcpinfo 0555 root:bin 200 replace_with_native /usr/sbin/ndd 0555 root:bin 208 replace_with_native /usr/sbin/ipf 0555 root:bin 220 /lib/inet/in.mpathd 0555 root:bin remove 230 wrap_with_native /sbin/ipmpstat 0555 root:bin 258 replace_with_native /usr/sbin/ndd 0555 root:bin 268 replace_with_native /sbin/zfs 0555 root:bin 269 replace_with_native /sbin/zpool 0555 root:bin [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 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() 505 find_failed_node(Prom_node * root) in find_failed_node() argument 509 if (root == NULL) in find_failed_node() 512 if (node_failed(root)) { in find_failed_node() 513 return (root); in find_failed_node() 537 if (root == NULL) in next_failed_node() 551 parent = root->parent; in next_failed_node() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp.t | 116 my $root = lgrp_root($c); 117 ok($root, 0, 'root should have id zero'); 134 my @children = lgrp_children($c, $root); 150 $fail++ if $parent != $root; 169 @parents = lgrp_parents($c, $root); 172 ok(lgrp_parents($c, $root), 0); 191 my @ncpus_bad = lgrp_cpus($c, $root, -1); 209 my $latency = lgrp_latency($root, $root); 212 my $latency1 = lgrp_latency_cookie($c, $root, $root); 245 ok($root, $c->root); [all …]
|
H A D | Lgrp_api.t | 73 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); 184 my $memsize = $c->mem_size($root, 201 my $latency = lgrp_latency($root, $root); 205 my $latency1 = $c->latency($root, $root); [all …]
|
/illumos-gate/usr/src/cmd/Adm/ |
H A D | group | 1 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/uts/sparc/os/ |
H A D | minor_perm | 1 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 14 se:ssp 0600 root sys [all …]
|
/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 245 hp_node_t root; in cmd_list() local 283 hp_fini(root); in cmd_list() 296 hp_node_t root; in cmd_online() local 323 hp_fini(root); in cmd_online() 343 hp_fini(root); in cmd_online() 400 hp_fini(root); in cmd_offline() 455 hp_fini(root); in cmd_enable() 521 hp_fini(root); in cmd_disable() 585 hp_fini(root); in cmd_poweron() 642 hp_fini(root); in cmd_poweroff() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tsearch.c | 132 NODE *root = (NODE *)rt; in twalk() local 134 if (root != NULL && action != NULL) in twalk() 135 __twalk(root, action, 0); in twalk() 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() 152 if (root->rlink != NULL) in __twalk() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 112 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 D | slp_search.c | 59 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 D | mdb.sh | 37 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 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" 145 LD_LIBRARY_PATH_64="$LD_LIBRARY_PATH_64$root/usr/lib/sparcv9" [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | menu.lst | 16 root (hd0,0) 22 root (hd1,0) 23 kernel /vmlinuz root=/dev/hdb1 28 root (hd0,2,a) 33 root (hd0,2,a) 38 root (hd0,2) 45 root (hd0,2,a) 50 root (hd0,2,a) 55 root (hd0,2,a) 60 root (hd0,1) [all …]
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 65 hp_node_t root = NULL; in hp_init() local 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() 132 if (root == NULL) { in hp_fini() 146 node = root; in hp_fini() 472 root = parent; in hp_path() 575 *resultsp = root; in hp_set_state() 775 hp_node_t root; in hp_unpack() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/chown/files/ |
H A D | cout0 | 1 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 D | cout1 | 1 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
|