Searched refs:dirent (Results 1 - 25 of 117) sorted by relevance

12345

/linux-master/tools/build/feature/
H A Dtest-scandirat.c5 #include <dirent.h>
/linux-master/tools/perf/util/
H A Dpath.h8 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 Dtracepoint.h5 #include <dirent.h>
8 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);
H A Dutil.h9 #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 Dpath.c10 #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 Dtracepoint.c12 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir)
32 struct dirent *sys_dirent, *evt_dirent;
H A Dutil.c8 #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 Dthread_map.c2 #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 Dtracing_path.h6 #include <dirent.h>
9 int tracing_events__scandir_alphasort(struct dirent ***namelist);
/linux-master/fs/
H A Dreaddir.c18 #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 Dproc.h4 #include <dirent.h>
43 static struct dirent *xreaddir(DIR *d)
45 struct dirent *de;
H A Dproc-tid0.c18 #include <dirent.h>
67 struct dirent *de;
H A Dproc-subset-pid.c31 #include <dirent.h>
80 struct dirent *de;
H A Dread.c26 #include <dirent.h>
79 struct dirent *de;
/linux-master/fs/fuse/
H A Dreaddir.c33 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 Ddirent.c8 #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 Dfstree.c8 #include <dirent.h>
14 struct dirent *de;
/linux-master/include/linux/
H A Dnubus.h155 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 Ddscr.h19 #include <dirent.h>
/linux-master/tools/perf/arch/x86/util/
H A Dpmu.c5 #include <dirent.h>
/linux-master/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c13 #include <dirent.h>
61 struct dirent *entry;
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixdir.c15 #include <dirent.h>
93 struct dirent *dir_entry;
/linux-master/tools/iio/
H A Dlsiio.c9 #include <dirent.h>
43 const struct dirent *ent;
103 const struct dirent *ent;
/linux-master/tools/testing/selftests/alsa/
H A Dconf.c13 #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 Dpid.c16 #include <dirent.h>

Completed in 210 milliseconds

12345