/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | evnv.c | 42 outindent(int depth) in outindent() argument 44 while (depth-- > 0) in outindent() 52 evnv_cmpnvl(nvlist_t *nvl1, nvlist_t *nvl2, int depth) in evnv_cmpnvl() argument 75 outindent(depth); in evnv_cmpnvl() 85 outindent(depth); in evnv_cmpnvl() 102 if ((ret = evnv_cmpnvl(l1, l2, depth + 1)) != 0) in evnv_cmpnvl() 111 evnv_cmpnvl(*la1, *la2, depth + 1)) != 0) in evnv_cmpnvl() 125 outindent(depth); in evnv_cmpnvl() 139 outindent(depth); in evnv_cmpnvl() 150 outindent(depth); in evnv_cmpnvl() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_006_pos.ksh | 83 typeset -i depth=0 86 while (( depth < MAXDEPTH )); do 87 mtpt=$mtpt/$depth 88 (( depth = depth + 1)) 103 (( depth == MAXDEPTH )) && \ 116 (( depth == MAXDEPTH )) && \ 120 (( depth = depth - 1 ))
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Flow.java | 111 private final int depth; field in Flow 130 depth = flowDepth; in Flow() 131 if (depth < 0) { in Flow() 161 return depth; in getDepth() 179 return ((kind == f.kind) && (depth == f.depth)); in equals() 193 hash = (37 * hash) + depth; in hashCode() 206 if (depth < 0) { in readObject() 228 buf.append(depth); in toString()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 114 int depth) in lf_lftw() argument 121 rc = (lf_xftw(path, fn, depth, lstat64)); in lf_lftw() 132 int depth, in lf_xftw() argument 135 lf_xftw(char *path, int (*fn)(), int depth, int (*statfn)()) in lf_xftw() 179 rc = lf_xftw(".", fn, depth-1, statfn); in lf_xftw() 208 rc = lf_xftw(".", fn, depth-1, statfn); in lf_xftw() 253 if (depth <= 1) { in lf_xftw() 262 rc = lf_xftw(subpath, fn, depth-1, statfn); in lf_xftw() 265 if (depth > 1) in lf_xftw() 273 if (depth <= 1) { in lf_xftw()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_reiserfs.c | 693 read_tree_node (unsigned int blockNr, int depth) in read_tree_node() argument 695 char* cache = CACHE(depth); in read_tree_node() 697 if (depth < num_cached) in read_tree_node() 702 if (blockNr == INFO->blocks[depth]) in read_tree_node() 710 blockNr, depth); in read_tree_node() 715 if (BLOCKHEAD (cache)->blk_level != depth) in read_tree_node() 721 INFO->blocks[depth] = blockNr; in read_tree_node() 731 int depth; in next_key() local 746 depth = DISK_LEAF_NODE_LEVEL; in next_key() 752 if (depth == INFO->tree_depth) in next_key() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 108 int depth, old_depth = 0; in i_devi_to_promname() local 129 for (depth = 0; ndi_dev_is_prom_node(pdip) == 0; depth++) { in i_devi_to_promname() 130 if (depth == OBP_STACKDEPTH) { in i_devi_to_promname() 135 pdip = get_parent(pdip, &parinfo[depth]); in i_devi_to_promname() 137 old_depth = depth; in i_devi_to_promname() 144 for (depth = old_depth; depth > 0; depth--) { in i_devi_to_promname() 145 info = &parinfo[depth - 1]; in i_devi_to_promname() 182 for (depth = old_depth; depth > 0; depth--) { in i_devi_to_promname() 183 info = &parinfo[depth - 1]; in i_devi_to_promname()
|
H A D | archdep.c | 83 int depth; in getpcstack() local 110 for (depth = 0; depth < npcwin; depth++) { in getpcstack() 111 pcstack[depth] = pcswin[depth]; in getpcstack() 116 while (depth < pcstack_limit) { in getpcstack() 130 pcstack[depth++] = nextpc; in getpcstack() 137 return (depth); in getpcstack()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 135 int ndx, int l, int r, int depth) in cyclic_dump_node() argument 150 (void) mdb_snprintf(&c[depth][x - 1], n, " %d", me); in cyclic_dump_node() 152 (void) mdb_snprintf(&c[depth][x - 1], n, "%3d", me); in cyclic_dump_node() 154 (void) mdb_snprintf(&c[depth][x - 1], n, "%s%2d%s", in cyclic_dump_node() 160 c[++depth][x] = '|'; in cyclic_dump_node() 161 depth++; in cyclic_dump_node() 164 c[depth][i] = '-'; in cyclic_dump_node() 165 c[depth][l + (r - l) / 4] = '+'; in cyclic_dump_node() 166 c[depth][r - (r - l) / 4 - 1] = '+'; in cyclic_dump_node() 167 c[depth][x] = '+'; in cyclic_dump_node() [all …]
|
H A D | leaky.c | 242 int dups = 0, misses = 0, depth = 0, deepest = 0; in leaky_grep() local 363 if (++depth > deepest) in leaky_grep() 364 deepest = depth; in leaky_grep() 382 if (depth > 0) { in leaky_grep() 387 depth--; in leaky_grep() 467 leak_pc_t *stack, uint_t depth, uintptr_t cid, uintptr_t data) in leaky_add_leak() argument 474 if (type < 0 || type >= LK_NUM_TYPES || depth != (uint8_t)depth) { in leaky_add_leak() 479 nlkb = leaky_zalloc(LEAK_BUFCTL_SIZE(depth), UM_SLEEP); in leaky_add_leak() 485 nlkb->lkb_depth = depth; in leaky_add_leak() 489 for (i = 0; i < depth; i++) { in leaky_add_leak() [all …]
|
H A D | leaky_subr.c | 497 size_t depth; in leaky_subr_add_leak() local 508 depth = MIN(vs.vs_depth, VMEM_STACK_DEPTH); in leaky_subr_add_leak() 511 vs.vs_stack, depth, 0, (vs.vs_end - vs.vs_start)); in leaky_subr_add_leak() 523 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH); in leaky_subr_add_leak() 533 if (depth > 0) in leaky_subr_add_leak() 534 depth--; in leaky_subr_add_leak() 536 bc.bc_timestamp, bc.bc_stack + 1, depth, in leaky_subr_add_leak() 544 int depth = 0; in leaky_subr_add_leak() local 557 depth = 1; in leaky_subr_add_leak() 560 &caller, depth, addr, addr); in leaky_subr_add_leak() [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_match.c | 45 int depth; member 107 priv.depth = 0; in smb_match() 148 if (priv->depth >= SMB_MATCH_DEPTH_MAX) in smb_match_private() 188 priv->depth++; in smb_match_private() 190 priv->depth--; in smb_match_private() 202 priv->depth++; in smb_match_private() 204 priv->depth--; in smb_match_private()
|
/illumos-gate/usr/src/cmd/sgs/unifdef/common/ |
H A D | unifdef.c | 71 static int doif(int thissym, int inif, int prevreject, int depth); 77 static int error(int err, int line, int depth); 214 int depth /* depth of ifdef's */ in doif() argument 248 thisreject, depth + 1)) != NO_ERR) in doif() 249 return (error(doret, stline, depth)); in doif() 255 reject, depth + 1)) != NO_ERR) in doif() 256 return (error(doret, stline, depth)); in doif() 261 return (error(ELSE_ERR, linenum, depth)); in doif() 278 return (error(ENDIF_ERR, linenum, depth)); in doif() 300 (void) error(err, stqcline, depth); in doif() [all …]
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | internal.c | 50 ssize_t depth, flag_t coll_flags) in offset_is_algorithm() argument 60 if (collate_fcn(X[0], X[i], depth, coll_flags) > 0) { in offset_is_algorithm() 62 ASSERT(collate_fcn(X[0], X[i], depth, coll_flags) <= 0); in offset_is_algorithm() 72 while (collate_fcn(t, X[j - 1], depth, coll_flags) < 0) { in offset_is_algorithm() 183 rqs_algorithm(line_rec_t **X, ssize_t n, ssize_t depth, in rqs_algorithm() argument 206 offset_is_algorithm(X, n, collate_fcn, depth, coll_flags); in rqs_algorithm() 215 v = X[0]->l_collate.usp[depth]; in rqs_algorithm() 222 (p = *(X[l]->l_collate.usp + depth) - v) <= 0) { in rqs_algorithm() 233 (p = *(X[r]->l_collate.usp + depth) - v) >= 0) { in rqs_algorithm() 266 rqs_algorithm(&X[n - p], p, depth, collate_fcn, coll_flags); in rqs_algorithm() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | getcomment.c | 43 int depth = 0; in getcomment() local 54 depth--; in getcomment() 55 if (depth == 0) { in getcomment() 59 depth++; in getcomment()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | framebuffer.c | 74 uint_t depth; in efifb_color_depth() local 80 for (depth = 1; mask != 1; depth++) in efifb_color_depth() 82 return (depth); in efifb_color_depth() 297 uint32_t np, depth, refresh; in efifb_from_uga() local 299 status = uga->GetMode(uga, &horiz, &vert, &depth, &refresh); in efifb_from_uga() 586 uint_t depth; in print_efifb() local 610 depth = efifb_color_depth(efifb); in print_efifb() 611 printf("%ux%ux%u", efifb->fb_width, efifb->fb_height, depth); in print_efifb() 650 efifb_find_mode_xydm(UINT32 x, UINT32 y, int depth, int m) in efifb_find_mode_xydm() argument 662 else if (depth == -1) in efifb_find_mode_xydm() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 119 int (*fn)(const char *, const struct stat *, int), int depth) in _xftw() argument 125 var.odepth = depth; in _xftw() 126 rc = fwalk(path, fn, depth, &var); in _xftw() 135 int depth, struct Var *vp) in fwalk() argument 229 if (depth <= 1) { in fwalk() 241 rc = fwalk(subpath, fn, depth-1, vp); in fwalk() 244 if (depth > 1) in fwalk() 252 if (depth <= 1) { in fwalk()
|
/illumos-gate/usr/src/head/ |
H A D | ftw.h | 153 #define ftw(path, fn, depth) _xftw(_XFTWVER, (path), (fn), (depth)) argument 157 #define ftw64(path, fn, depth) _xftw64(_XFTWVER, (path), (fn), (depth)) argument
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | dtrace_isa.c | 49 int depth = 0; in dtrace_getpcstack() local 62 if (intrpc != NULL && depth < pcstack_limit) in dtrace_getpcstack() 63 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack() 65 while (depth < pcstack_limit) { in dtrace_getpcstack() 94 ASSERT(depth < pcstack_limit); in dtrace_getpcstack() 95 pcstack[depth++] = (pc_t)caller; in dtrace_getpcstack() 99 if (depth < pcstack_limit) in dtrace_getpcstack() 100 pcstack[depth++] = (pc_t)pc; in dtrace_getpcstack() 104 while (depth < pcstack_limit) in dtrace_getpcstack() 105 pcstack[depth++] = 0; in dtrace_getpcstack() [all …]
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | dtrace_isa.c | 106 int depth = 0; in dtrace_getpcstack() local 146 if (depth < pcstack_limit) in dtrace_getpcstack() 147 pcstack[depth++] = (pc_t)(uintptr_t)pc; in dtrace_getpcstack() 287 while (depth < pcstack_limit) { in dtrace_getpcstack() 300 ASSERT(depth == 0); in dtrace_getpcstack() 302 while (depth < pcstack_limit) in dtrace_getpcstack() 303 pcstack[depth++] = 0; in dtrace_getpcstack() 342 pcstack[depth++] = (pc_t)fp->fr_savpc; in dtrace_getpcstack() 345 while (depth < pcstack_limit) in dtrace_getpcstack() 346 pcstack[depth++] = 0; in dtrace_getpcstack() [all …]
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 248 int depth = 0; in add_elem() local 253 depth++; in add_elem() 260 if (depth > max_list_depth) in add_elem() 261 max_list_depth = depth; in add_elem() 273 if (depth > max_list_depth) in add_elem() 274 max_list_depth = depth; in add_elem()
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 134 srch_dir(dev_t device, char *path, int depth, char *skip_dirs[]) in srch_dir() argument 146 if ((skip_dirs != NULL) && (depth != 0)) in srch_dir() 190 } else if ((depth < MAX_SRCH_DEPTH) && in srch_dir() 195 found = srch_dir(device, file_name, depth+1, in srch_dir()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | getpcstack.c | 59 int depth = 0; in getpcstack() local 133 while (depth < pcstack_limit) { in getpcstack() 182 pcstack[depth++] = fp->fr_savpc; in getpcstack() 186 return (depth); in getpcstack()
|
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | smq.c | 47 smq_init(smq_t *smq, smq_msg_t *msgbuffer, int depth) in smq_init() argument 58 smq->smq_depth = depth; in smq_init() 141 smq_depth(smq_t *smq, int *depth) in smq_depth() argument 146 *depth = smq->smq_depth; in smq_depth()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | dir.c | 298 storeInfoAboutEntry(int fd, struct pcdir *dp, struct pcdir *ldp, int depth, in storeInfoAboutEntry() argument 333 for (i = 0; i < depth; i++) in storeInfoAboutEntry() 417 int32_t currentCluster, int depth, char *recordPath, int *pathLen) in catalogEntry() argument 422 storeInfoAboutEntry(fd, dp, longdp, depth, currentCluster, in catalogEntry() 489 int32_t dirDataLen, int depth, int descend, int operation, in visitNodes() argument 543 catalogEntry(fd, dp, longdp, longStart, depth, in visitNodes() 548 traverseDir(fd, extractStartCluster(dp), depth + 1, in visitNodes() 580 depth, descend, operation, matchRequired, in visitNodes() 597 traverseFromRoot(int fd, int depth, int descend, int operation, in traverseFromRoot() argument 601 visitNodes(fd, FAKE_ROOTDIR_CLUST, &TheRootDir, RootDirSize, depth, in traverseFromRoot() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 217 int depth; in i_ddi_drv_ereport_post() local 234 depth = getpcstack(stack, DDI_FM_STKDEPTH); in i_ddi_drv_ereport_post() 237 stkpp = (char **)kmem_alloc(depth * sizeof (char *), KM_SLEEP); in i_ddi_drv_ereport_post() 243 buf = kmem_alloc(depth * DDI_FM_SYM_SZ, KM_SLEEP); in i_ddi_drv_ereport_post() 246 for (i = 0; i < depth; ++i) { in i_ddi_drv_ereport_post() 259 DVR_STACK_DEPTH, DATA_TYPE_UINT32, depth, in i_ddi_drv_ereport_post() 260 DVR_STACK, DATA_TYPE_STRING_ARRAY, depth, stkpp, in i_ddi_drv_ereport_post() 267 DVR_STACK_DEPTH, DATA_TYPE_UINT32, depth, in i_ddi_drv_ereport_post() 268 DVR_STACK, DATA_TYPE_STRING_ARRAY, depth, stkpp, in i_ddi_drv_ereport_post() 271 kmem_free(stkpp, depth * sizeof (char *)); in i_ddi_drv_ereport_post() [all …]
|