Home
last modified time | relevance | path

Searched refs:ftwbuf (Results 1 – 25 of 169) sorted by relevance

1234567

/dports/sysutils/bfs/bfs-2.3.1/
H A Dprintf.c92 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_ctime()
122 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_strftime()
190 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_b()
207 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_D()
227 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_F()
238 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_G()
249 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_g()
311 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_i()
322 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_k()
345 target = buf = xreadlinkat(ftwbuf->at_fd, ftwbuf->at_path, len); in bfs_printf_l()
[all …]
H A Dfsade.c77 return ftwbuf->path; in fake_at()
81 if (path != ftwbuf->path) { in free_fake_at()
210 if (ftwbuf->type == BFS_LNK) { in bfs_check_acl()
214 const char *path = fake_at(ftwbuf); in bfs_check_acl()
240 free_fake_at(ftwbuf, path); in bfs_check_acl()
257 if (ftwbuf->type == BFS_LNK) { in bfs_check_capabilities()
286 free_fake_at(ftwbuf, path); in bfs_check_capabilities()
318 if (ftwbuf->type == BFS_LNK) { in bfs_check_xattrs()
327 free_fake_at(ftwbuf, path); in bfs_check_xattrs()
357 if (ftwbuf->type == BFS_LNK) { in bfs_check_xattr_named()
[all …]
H A Deval.c114 const struct BFTW *ftwbuf = state->ftwbuf; in eval_stat() local
164 const struct BFTW *ftwbuf = state->ftwbuf; in eval_access() local
341 const struct BFTW *ftwbuf = state->ftwbuf; in eval_delete() local
418 const struct BFTW *ftwbuf = state->ftwbuf; in eval_empty() local
502 const struct BFTW *ftwbuf = state->ftwbuf; in eval_hidden() local
544 const struct BFTW *ftwbuf = state->ftwbuf; in eval_lname() local
569 const struct BFTW *ftwbuf = state->ftwbuf; in eval_name() local
596 const struct BFTW *ftwbuf = state->ftwbuf; in eval_path() local
640 const struct BFTW *ftwbuf = state->ftwbuf; in eval_fls() local
945 const struct BFTW *ftwbuf = state->ftwbuf; in eval_xtype() local
[all …]
H A Dbftw.c610 struct BFTW ftwbuf; member
752 const struct BFTW *ftwbuf = &state->ftwbuf; in bftw_need_stat() local
820 struct BFTW *ftwbuf = &state->ftwbuf; in bftw_init_ftwbuf() local
822 ftwbuf->root = file ? file->root->name : ftwbuf->path; in bftw_init_ftwbuf()
823 ftwbuf->depth = 0; in bftw_init_ftwbuf()
828 ftwbuf->at_path = ftwbuf->path; in bftw_init_ftwbuf()
850 ftwbuf->at_path += ftwbuf->nameoff; in bftw_init_ftwbuf()
858 ftwbuf->nameoff = xbasename(ftwbuf->path) - ftwbuf->path; in bftw_init_ftwbuf()
877 statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bftw_init_ftwbuf()
910 const struct BFTW *ftwbuf = &state->ftwbuf; in bftw_is_mount() local
[all …]
H A Dcolor.c547 return xfaccessat(ftwbuf->at_fd, ftwbuf->at_path, F_OK) != 0; in is_link_broken()
566 statbuf = bftw_stat(ftwbuf, flags); in file_color()
714 if (path == ftwbuf->path) { in first_broken_offset()
715 if (ftwbuf->depth == 0) { in first_broken_offset()
724 at_fd = ftwbuf->at_fd; in first_broken_offset()
726 at_path = dstrndup(ftwbuf->path, ftwbuf->nameoff); in first_broken_offset()
800 if (path == ftwbuf->path) { in print_path_colored()
801 nameoff = ftwbuf->nameoff; in print_path_colored()
815 const char *name = ftwbuf->path + ftwbuf->nameoff; in print_name()
842 return print_path_colored(cfile, ftwbuf->path, ftwbuf, flags); in print_path()
[all …]
H A Dexec.c199 return strdup(ftwbuf->path); in bfs_exec_format_path()
202 const char *name = ftwbuf->path + ftwbuf->nameoff; in bfs_exec_format_path()
269 if (ftwbuf->at_fd != AT_FDCWD) { in bfs_exec_openwd()
271 assert(ftwbuf->at_path == xbasename(ftwbuf->at_path)); in bfs_exec_openwd()
273 execbuf->wd_fd = ftwbuf->at_fd; in bfs_exec_openwd()
284 execbuf->wd_len = ftwbuf->nameoff; in bfs_exec_openwd()
286 if (ftwbuf->path[0] == '/') { in bfs_exec_openwd()
313 if (!ftwbuf || execbuf->wd_fd != ftwbuf->at_fd) { in bfs_exec_closewd()
442 bfs_exec_closewd(execbuf, ftwbuf); in bfs_exec_single()
567 if (ftwbuf->nameoff > execbuf->wd_len in bfs_exec_changed_dirs()
[all …]
H A Dfsade.h49 int bfs_check_acl(const struct BFTW *ftwbuf);
59 int bfs_check_capabilities(const struct BFTW *ftwbuf);
69 int bfs_check_xattrs(const struct BFTW *ftwbuf);
81 int bfs_check_xattr_named(const struct BFTW *ftwbuf, const char *name);
H A Dbftw.h95 const struct bfs_stat *bftw_stat(const struct BFTW *ftwbuf, enum bfs_stat_flags flags);
108 const struct bfs_stat *bftw_cached_stat(const struct BFTW *ftwbuf, enum bfs_stat_flags flags);
122 enum bfs_type bftw_type(const struct BFTW *ftwbuf, enum bfs_stat_flags flags);
146 typedef enum bftw_action bftw_callback(const struct BFTW *ftwbuf, void *ptr);
H A Dprintf.h58 int bfs_printf(CFILE *cfile, const struct bfs_printf *format, const struct BFTW *ftwbuf);
/dports/benchmarks/netperf/netperf-d566775bf/src/
H A Dnetslot_linux.c13 int tflag, struct FTW *ftwbuf) in find_slot() argument
24 if (strcmp("address",fpath + ftwbuf->base) == 0) { in find_slot()
69 int tflag, struct FTW *ftwbuf) in find_interface() argument
75 if (strcmp(interface_match,fpath + ftwbuf->base) == 0) { in find_interface()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/lang/clover/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-libs/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/libosmesa/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/graphics/mesa-dri/mesa-21.3.6/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c76 struct FTW *ftwbuf) in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
141 struct FTW *ftwbuf) in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
/dports/biology/star/STAR-2.7.9a/source/
H A DsysRemoveDir.cpp7 int removeFileOrDir(const char *fpath,const struct stat *sb, int typeflag, struct FTW *ftwbuf) { in removeFileOrDir() argument
11 (void) ftwbuf; in removeFileOrDir()
/dports/www/kannel/gateway-1.4.4/gw/
H A Ddlr_spool.c163 static int verified_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument
172 static int verified_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf)
205 …c int non_verified_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument
211 static int non_verified_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf)
225 static int unlink_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument
231 static int unlink_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf)
/dports/sysutils/consolekit2/ConsoleKit2-520b862/tools/
H A Dck-remove-directory.c82 struct FTW *ftwbuf) in unlink_cb() argument
84 int ret = ftwbuf->level > 0 ? remove (fpath) : 0; in unlink_cb()
/dports/www/kannel/gateway-1.4.4/test/
H A Dtest_file_traversal.c83 static int count_file2(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) in count_file2() argument
96 static int count_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf) in count_file() argument
/dports/databases/postgresql-repmgr/repmgr-5.2.0/
H A Ddirutil.c40 …nt unlink_dir_callback(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf);
392 unlink_dir_callback(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) in unlink_dir_callback() argument

1234567