/linux-master/tools/build/feature/ |
H A D | test-scandirat.c | 5 #include <dirent.h>
|
/linux-master/tools/perf/util/ |
H A D | path.h | 8 struct dirent; 14 bool is_directory(const char *base_path, const struct dirent *dent); 15 bool is_executable_file(const char *base_path, const struct dirent *dent);
|
H A D | tracepoint.h | 5 #include <dirent.h> 8 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);
|
H A D | util.h | 9 #include <dirent.h> 31 struct dirent; 37 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *)); 38 bool lsdir_no_dot_filter(const char *name, struct dirent *d); 62 struct dirent ***namelist, 63 int (*filter)(const struct dirent *), 64 int (*compar)(const struct dirent **, const struct dirent **));
|
H A D | path.c | 10 #include <dirent.h> 59 bool is_directory(const char *base_path, const struct dirent *dent) 71 bool is_executable_file(const char *base_path, const struct dirent *dent)
|
H A D | tracepoint.c | 12 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) 32 struct dirent *sys_dirent, *evt_dirent;
|
H A D | util.c | 8 #include <dirent.h> 155 struct dirent *d; 221 static bool kcore_dir_filter(const char *name __maybe_unused, struct dirent *d) 273 bool lsdir_no_dot_filter(const char *name __maybe_unused, struct dirent *d) 280 bool (*filter)(const char *, struct dirent *)) 284 struct dirent *d; 558 struct dirent ***namelist, 559 int (*filter)(const struct dirent *), 560 int (*compar)(const struct dirent **, const struct dirent **)) [all...] |
H A D | thread_map.c | 2 #include <dirent.h> 24 static int filter(const struct dirent *dir) 39 struct dirent **namelist = NULL; 80 struct dirent *dirent, **namelist = NULL; local 93 while ((dirent = readdir(proc)) != NULL) { 96 pid_t pid = strtol(dirent->d_name, &end, 10); 101 snprintf(path, sizeof(path), "/proc/%s", dirent->d_name); 186 struct dirent **namelist = NULL;
|
/linux-master/tools/lib/api/fs/ |
H A D | tracing_path.h | 6 #include <dirent.h> 9 int tracing_events__scandir_alphasort(struct dirent ***namelist);
|
/linux-master/fs/ |
H A D | readdir.c | 18 #include <linux/dirent.h> 122 * POSIX says that a dirent name cannot contain NULL or a '/'. 163 * dirent-structure in size and that the code can't handle more 179 struct old_linux_dirent __user * dirent; member in struct:readdir_callback 188 struct old_linux_dirent __user * dirent; local 202 dirent = buf->dirent; 203 if (!user_write_access_begin(dirent, 204 (unsigned long)(dirent->d_name + namlen + 1) - 205 (unsigned long)dirent)) 265 struct linux_dirent __user *dirent, *prev; local 353 struct linux_dirent64 __user *dirent, *prev; local 436 struct compat_old_linux_dirent __user *dirent; member in struct:compat_readdir_callback 446 struct compat_old_linux_dirent __user *dirent; local 517 struct compat_linux_dirent __user *dirent, *prev; local [all...] |
/linux-master/tools/testing/selftests/proc/ |
H A D | proc.h | 4 #include <dirent.h> 43 static struct dirent *xreaddir(DIR *d) 45 struct dirent *de;
|
H A D | proc-tid0.c | 18 #include <dirent.h> 67 struct dirent *de;
|
H A D | proc-subset-pid.c | 31 #include <dirent.h> 80 struct dirent *de;
|
H A D | read.c | 26 #include <dirent.h> 79 struct dirent *de;
|
/linux-master/fs/fuse/ |
H A D | readdir.c | 33 struct fuse_dirent *dirent, loff_t pos) 36 size_t reclen = FUSE_DIRENT_SIZE(dirent); 84 memcpy(addr + offset, dirent, reclen); 87 fi->rdc.pos = dirent->off; 115 struct fuse_dirent *dirent) 120 fuse_add_dirent_to_cache(file, dirent, ctx->pos); 122 return dir_emit(ctx, dirent->name, dirent->namelen, dirent->ino, 123 dirent 32 fuse_add_dirent_to_cache(struct file *file, struct fuse_dirent *dirent, loff_t pos) argument 114 fuse_emit(struct file *file, struct dir_context *ctx, struct fuse_dirent *dirent) argument 130 struct fuse_dirent *dirent = (struct fuse_dirent *) buf; local 155 struct fuse_dirent *dirent = &direntplus->dirent; local 290 struct fuse_dirent *dirent; local 400 struct fuse_dirent *dirent = addr + offset; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | dirent.c | 8 #include "dirent.h" 123 "dirent name too big (%u > %u)", 128 "dirent has stray data after name's NUL"); 142 "dirent points to own directory"); 168 struct bkey_i_dirent *dirent; local 176 dirent = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); 177 if (IS_ERR(dirent)) 178 return dirent; 180 bkey_dirent_init(&dirent->k_i); 181 dirent 211 struct bkey_i_dirent *dirent; local 237 struct bkey_i_dirent *dirent; local 549 struct bkey_s_c_dirent dirent; local [all...] |
/linux-master/scripts/dtc/ |
H A D | fstree.c | 8 #include <dirent.h> 14 struct dirent *de;
|
/linux-master/include/linux/ |
H A D | nubus.h | 155 void nubus_get_rsrc_mem(void *dest, const struct nubus_dirent *dirent, 157 unsigned int nubus_get_rsrc_str(char *dest, const struct nubus_dirent *dirent, 160 const struct nubus_dirent *dirent,
|
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr.h | 19 #include <dirent.h>
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | pmu.c | 5 #include <dirent.h>
|
/linux-master/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 13 #include <dirent.h> 61 struct dirent *entry;
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixdir.c | 15 #include <dirent.h> 93 struct dirent *dir_entry;
|
/linux-master/tools/iio/ |
H A D | lsiio.c | 9 #include <dirent.h> 43 const struct dirent *ent; 103 const struct dirent *ent;
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | conf.c | 13 #include <dirent.h> 252 static int filename_filter(const struct dirent *dirent) argument 256 if (dirent == NULL) 258 if (dirent->d_type == DT_DIR) 260 flen = strlen(dirent->d_name); 263 if (strncmp(&dirent->d_name[flen-5], ".conf", 5) == 0) 306 struct dirent **namelist;
|
/linux-master/tools/thermal/tmon/ |
H A D | pid.c | 16 #include <dirent.h>
|