Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 163) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Devnv.c42 outindent(int depth) in outindent() argument
44 while (depth-- > 0) in outindent()
75 outindent(depth); in evnv_cmpnvl()
85 outindent(depth); in evnv_cmpnvl()
139 outindent(depth); in evnv_cmpnvl()
150 outindent(depth); in evnv_cmpnvl()
161 outindent(depth); in evnv_cmpnvl()
173 outindent(depth); in evnv_cmpnvl()
185 outindent(depth); in evnv_cmpnvl()
197 outindent(depth); in evnv_cmpnvl()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_006_pos.ksh83 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 DFlow.java111 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 Dlftw.c114 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 Dfsys_reiserfs.c695 char* cache = CACHE(depth); in read_tree_node()
697 if (depth < num_cached) in read_tree_node()
710 blockNr, depth); in read_tree_node()
721 INFO->blocks[depth] = blockNr; in read_tree_node()
731 int depth; in next_key() local
759 depth++; in next_key()
761 printf (" depth=%d, i=%d\n", depth, INFO->next_key_nr[depth]); in next_key()
769 cache = CACHE (depth); in next_key()
772 cache = read_tree_node (INFO->blocks[depth], depth); in next_key()
824 int depth; in search_stat() local
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootdev.c108 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 Darchdep.c83 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/common/smbsrv/
H A Dsmb_match.c45 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/mdb/common/modules/genunix/
H A Dcyclic.c160 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()
167 c[depth][x] = '+'; in cyclic_dump_node()
199 int depth; in cyclic_pretty_dump() local
210 for (depth = 0; (1 << depth) < cpu->cyp_nelems; depth++) in cyclic_pretty_dump()
212 depth++; in cyclic_pretty_dump()
213 depth = (depth + 1) * LINES_PER_LEVEL; in cyclic_pretty_dump()
217 for (i = 0; i < depth; i++) in cyclic_pretty_dump()
[all …]
H A Dleaky.c242 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()
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()
507 for (i = 0; i < depth; i++) in leaky_add_leak()
[all …]
H A Dleaky_subr.c497 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/cmd/sgs/unifdef/common/
H A Dunifdef.c77 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()
300 (void) error(err, stqcline, depth); in doif()
301 return (error(IEOF_ERR, stline, depth)); in doif()
303 return (error(err, stqcline, depth)); in doif()
583 error(int err, int line, int depth) in error() argument
[all …]
/illumos-gate/usr/src/cmd/sort/
H A Dinternal.c50 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
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()
270 rqs_algorithm(X, p, depth, collate_fcn, coll_flags); in rqs_algorithm()
278 if (X[p]->l_collate_length - 1 > depth) { in rqs_algorithm()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dgetcomment.c43 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 Dframebuffer.c74 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
573 uint_t depth; in print_efifb() local
649 else if (depth == -1) in efifb_find_mode_xydm()
652 i = depth; in efifb_find_mode_xydm()
673 if (depth != -1) in efifb_find_mode_xydm()
686 int x, y, depth; in efifb_find_mode() local
817 int depth, d = -1; in command_gop() local
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c119 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 Dftw.h153 #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/sparc/dtrace/
H A Ddtrace_isa.c106 int depth = 0; in dtrace_getpcstack() local
146 if (depth < pcstack_limit) 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()
345 while (depth < pcstack_limit) in dtrace_getpcstack()
346 pcstack[depth++] = 0; in dtrace_getpcstack()
704 int depth = 0; in dtrace_getstackdepth() local
729 return (++depth); in dtrace_getstackdepth()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Ddtrace_isa.c49 int depth = 0; in dtrace_getpcstack() local
63 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack()
65 while (depth < pcstack_limit) { 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()
495 int depth = 0; in dtrace_getstackdepth() local
507 depth++; in dtrace_getstackdepth()
528 if (depth <= aframes) in dtrace_getstackdepth()
[all …]
/illumos-gate/usr/src/tools/protocmp/
H A Dlist.c248 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 Ddevtolin.c134 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/cmd/scadm/sparc/mpxu/common/
H A Dsmq.c47 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/lib/libumem/common/
H A Dgetpcstack.c59 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/fs.d/pcfs/fsck/
H A Ddir.c298 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 Dddifm.c217 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 …]

1234567