/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 177 node(FTS* fts, FTSENT* parent, register char* name, register size_t namelen) in node() argument 182 if (fts->free && namelen < MINNAME) in node() 184 f = fts->free; in node() 185 fts->free = f->fts_link; in node() 192 fts->fts_errno = errno; in node() 193 fts->state = FTS_error; in node() 196 f->fts = fts; in node() 460 popdirs(FTS* fts) in popdirs() argument 471 if (!(f = fts->curdir) || f->fts_level < 0) in popdirs() 477 while (fts->nd > 0) in popdirs() [all …]
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_time.c | 226 fmd_timesim_t *fts = fmd_alloc(sizeof (fmd_timesim_t), FMD_SLEEP); in fmd_simulator_init() local 229 (void) pthread_mutex_init(&fts->fts_lock, NULL); in fmd_simulator_init() 230 (void) pthread_cond_init(&fts->fts_cv, NULL); in fmd_simulator_init() 233 fts->fts_tod = (hrtime_t)tv.tv_sec * NANOSEC + in fmd_simulator_init() 236 fts->fts_hrt = 0; in fmd_simulator_init() 237 fts->fts_cancel = 0; in fmd_simulator_init() 240 tv.tv_sec, fts->fts_tod); in fmd_simulator_init() 242 return (fts); in fmd_simulator_init() 246 fmd_simulator_fini(void *fts) in fmd_simulator_fini() argument 248 if (fts != NULL) in fmd_simulator_fini() [all …]
|
/titanic_50/usr/src/lib/libcmd/common/ |
H A D | chmod.c | 157 register FTS* fts; in b_chmod() local 256 if (!(fts = fts_open(argv, flags, NiL))) in b_chmod() 262 while (!sh_checksig(context) && (ent = fts_read(fts))) in b_chmod() 304 fts_close(fts); in b_chmod()
|
H A D | fts_fix.c | 41 _fts_read(FTS* fts) in _fts_read() argument 47 if ((oe = _ast_fts_read(fts)) && ast.version < 20100102L && (ne || (ne = newof(0, FTSENT, 1, 0)))) in _fts_read()
|
H A D | rm.c | 342 FTS* fts; in b_rm() local 414 if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) in b_rm() 416 while (!sh_checksig(context) && (ent = fts_read(fts)) && !rm(&state, ent)); in b_rm() 417 fts_close(fts); in b_rm()
|
H A D | chgrp.c | 220 register FTS* fts; in b_chgrp() local 381 if (!(fts = fts_open(argv + 1, flags, NiL))) in b_chgrp() 383 while (!sh_checksig(context) && (ent = fts_read(fts))) in b_chgrp() 475 fts_close(fts); in b_chgrp()
|
H A D | cp.c | 233 FTS* fts; in visit() local 490 …if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_… in visit() 492 while (sub = fts_read(fts)) in visit() 499 fts_close(fts); in visit() 662 FTS* fts; in b_cp() local 923 if (fts = fts_open(argv, state->flags, NiL)) in b_cp() 925 while (!sh_checksig(context) && (ent = fts_read(fts)) && !visit(state, ent)); in b_cp() 926 fts_close(fts); in b_cp()
|
H A D | cksum.c | 448 FTS* fts; in b_cksum() local 592 else if (!(fts = fts_open(argv, flags, state.sort))) in b_cksum() 596 while (!sh_checksig(context) && (ent = fts_read(fts))) in b_cksum() 623 fts_close(fts); in b_cksum()
|
H A D | RELEASE | 5 10-01-20 fts_fix.[ch]: use <fts_fix.h> instead of <fts.h> (see fts_fix.c) 89 07-02-07 cksum.c: move from src/cmd/std with ftwalk => fts 105 06-10-31 cp.c,rm.c: update to <fts.h> to accomodate non-static data 186 03-05-18 rm.c: check st_nlink to verify progress w.r.t. ftwalk/fts 262 98-01-07 chown,chgrp,chmod: use fts for -R
|
/titanic_50/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 38 FTS* fts; \ 343 if (scan->fts) in dllsclose() 344 fts_close(scan->fts); in dllsclose() 375 if (scan->fts) in dllsread() 377 fts_close(scan->fts); in dllsread() 378 scan->fts = 0; in dllsread() 416 …>fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_r… in dllsread()
|
/titanic_50/usr/src/lib/libast/common/include/ |
H A D | fts.h | 125 FTS* fts; /* fts_open() handle */ member
|
/titanic_50/usr/src/lib/libast/amd64/include/ast/ |
H A D | fts.h | 134 FTS* fts; /* fts_open() handle */ member
|
/titanic_50/usr/src/lib/libast/sparc/include/ast/ |
H A D | fts.h | 134 FTS* fts; /* fts_open() handle */ member
|
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | fts.h | 134 FTS* fts; /* fts_open() handle */ member
|
/titanic_50/usr/src/lib/libast/i386/include/ast/ |
H A D | fts.h | 134 FTS* fts; /* fts_open() handle */ member
|
/titanic_50/usr/src/lib/libast/common/ |
H A D | RELEASE | 44 09-09-28 fts.h,ftwalk.h,fts.c: promote { namelen pathlen level } to (s)size_t 109 08-08-20 misc/fts.c: fix st_nlink stat() optimization logic 171 07-10-12 misc/fts.c: fix fts_close() to free the handle -- doh 300 06-08-02 misc/fts.c: fix FTS_NOSTAT optimization to check for .. 502 misc/fts.c: increase MINNAME to 32 589 03-05-18 misc/fts.c: re-stat FTS_DP to update nlink/times 590 misc/fts.c: add FTSENT.stack to eliminate getlist() recursion 616 misc/fts.c|getcwd.c|glob.c,preroot/getpreroot.c: add D_FILENO #ifdef's 657 03-02-21 misc/fts.c: verify chdir(..) to avoid malicious dir rename() 778 misc/fts.c: fix symlink chdir() optimzation bug [all …]
|
H A D | llib-last | 76 #include <fts.h>
|
/titanic_50/usr/src/lib/libast/ |
H A D | Makefile | 92 fts.h \
|
H A D | Makefile.com | 191 common/misc/fts.o \
|
/titanic_50/usr/src/lib/libc/port/ |
H A D | mapfile-vers | 128 SYMBOL_VERSION ILLUMOS_0.26 { # fts(3) LFS
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | system-header.mf | 267 file path=usr/include/ast/fts.h
|