Home
last modified time | relevance | path

Searched refs:fts_level (Results 1 – 16 of 16) sorted by relevance

/openbsd/lib/libc/gen/
H A Dfts.c111 parent->fts_level = FTS_ROOTPARENTLEVEL; in fts_open()
117 p->fts_level = FTS_ROOTLEVEL; in fts_open()
215 for (p = sp->fts_cur; p->fts_level >= FTS_ROOTLEVEL;) { in fts_close()
360 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
399 if (p->fts_level == FTS_ROOTPARENTLEVEL) { in fts_read()
417 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
516 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' || in fts_children()
646 level = cur->fts_level; in fts_build()
684 p->fts_level = level; in fts_build()
855 t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent) in fts_stat()
[all …]
H A Dnftw.c95 ftw.level = cur->fts_level; in nftw()
/openbsd/usr.bin/du/
H A Ddu.c178 if (p->fts_level <= maxdepth) in main()
198 if ((listfiles && p->fts_level <= maxdepth) || in main()
199 p->fts_level == FTS_ROOTLEVEL) in main()
/openbsd/bin/ls/
H A Dprint.c90 if ((dp->list == NULL || dp->list->fts_level != FTS_ROOTLEVEL) && in printlong()
199 if ((dp->list == NULL || dp->list->fts_level != FTS_ROOTLEVEL) && in printcol()
279 if ((dp->list == NULL || dp->list->fts_level != FTS_ROOTLEVEL) && in printacol()
361 if (p->fts_level == FTS_ROOTLEVEL) in printlink()
H A Dls.c378 p->fts_level != FTS_ROOTLEVEL && !f_listdot) { in traverse()
621 (*a)->fts_level == FTS_ROOTLEVEL && !f_listdir) { in mastercmp()
/openbsd/usr.sbin/mtree/
H A Dverify.c86 if (specdepth > p->fts_level) { in vwalk()
103 if (specdepth != p->fts_level) in vwalk()
H A Dcreate.c92 indent = p->fts_level * 4; in cwalk()
103 if (!nflag && (p->fts_level > 0)) in cwalk()
/openbsd/usr.sbin/rpki-client/
H A Drepo.c1723 if (e->fts_level == 3 && in repo_cleanup_entry()
1783 if (e->fts_level == FTS_ROOTLEVEL) in repo_cleanup_entry()
1785 if (e->fts_level == 1) { in repo_cleanup_entry()
1795 if (e->fts_level == 2) { in repo_cleanup_entry()
1808 if (e->fts_level == 3 && fts_state.type == RSYNC_DIR) { in repo_cleanup_entry()
1814 if (e->fts_level == FTS_ROOTLEVEL) in repo_cleanup_entry()
1816 if (e->fts_level == 1) { in repo_cleanup_entry()
1844 if (e->fts_errno == ENOENT && e->fts_level == FTS_ROOTLEVEL) in repo_cleanup_entry()
1916 if (e->fts_level == 1 && in remove_contents()
1926 if (e->fts_level == FTS_ROOTLEVEL) in remove_contents()
/openbsd/include/
H A Dfts.h83 int fts_level; /* depth (-1 to N) */ member
/openbsd/usr.bin/find/
H A Dfunction.c320 if (entry->fts_level > FTS_ROOTLEVEL && in f_delete()
683 if (entry->fts_level == FTS_ROOTLEVEL) { in f_execdir()
717 if (entry->fts_level == FTS_ROOTLEVEL) { in f_execdir()
1054 if (entry->fts_level >= plan->max_data) in f_maxdepth()
1056 return (entry->fts_level <= plan->max_data); in f_maxdepth()
1082 return (entry->fts_level >= plan->min_data); in f_mindepth()
/openbsd/regress/lib/libc/sys/
H A Dt_stat.c113 if (ftse->fts_level < 1) in ATF_TC_BODY()
116 if (ftse->fts_level > depth) { in ATF_TC_BODY()
/openbsd/bin/chmod/
H A Dchmod.c259 atflags = p->fts_level == FTS_ROOTLEVEL ? 0 : in main()
/openbsd/bin/cp/
H A Dcp.c318 if (curr->fts_level == FTS_ROOTLEVEL) { in copy()
/openbsd/bin/mv/
H A Dcp.c259 if (curr->fts_level == FTS_ROOTLEVEL) { in copy()
/openbsd/usr.bin/mandoc/
H A Dmandocdb.c606 if ( ! use_all && ff->fts_level < 2) { in treescan()
677 switch (ff->fts_level) { in treescan()
/openbsd/usr.sbin/smtpd/
H A Dsmtpd.c1562 if (e->fts_level != 1) in offline_scan()