Lines Matching +defs:val +defs:depth
32 * int nftw(char *path, int (*fn)(), int depth, int flags);
80 * The fourth argument is a struct FTW* which contains the depth
84 * depth limits the number of open directories that ftw uses
89 * the depth argument is less than 2 nftw will not use openat(), and
179 int val;
189 int depth;
196 v->val = val; \
204 v->depth = depth; \
209 val = v->val; \
217 depth = v->depth; \
224 depth = dpth; \
228 val = -1; \
284 int val = -1;
298 int depth = a_depth;
317 if (((vp->curflags & FTW_CHDIR) == 0) && (depth >= 2)) {
335 if (depth <= 1)
345 * fail, depth is set to 1.
347 depth = 1;
423 val = rc;
535 WALK_ENTER(p, depth-1, this);
559 val = rc;
605 if (val > rc) {
606 WALK_RETURN(val);
617 int depth, int flags)
672 * If not doing chdir()'s and if nftw()'s depth arg >= 2,
675 * requires a depth arg >= 2 so that nocdopendir() can use openat()
677 * chdir()'s if nftw()'s depth arg <= 1, set var.opendirf to
683 if (((flags & FTW_CHDIR) == 0) && (depth >= 2)) {
717 rc = walk(dp, fn, depth, (struct Save *)0, &var);