Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 25 of 185) sorted by relevance

12345678

/openbmc/linux/fs/
H A Dreaddir.c198 dirent = buf->dirent; in fillonedir()
201 (unsigned long)dirent)) in fillonedir()
223 .dirent = dirent in SYSCALL_DEFINE3()
283 dirent = buf->current_dir; in filldir()
314 .current_dir = dirent in SYSCALL_DEFINE3()
365 dirent = buf->current_dir; in filldir64()
397 .current_dir = dirent in SYSCALL_DEFINE3()
456 dirent = buf->dirent; in compat_fillonedir()
459 (unsigned long)dirent)) in compat_fillonedir()
481 .dirent = dirent in COMPAT_SYSCALL_DEFINE3()
[all …]
/openbmc/linux/fs/fuse/
H A Dreaddir.c122 return dir_emit(ctx, dirent->name, dirent->namelen, dirent->ino, in fuse_emit()
123 dirent->type); in fuse_emit()
132 if (!dirent->namelen || dirent->namelen > FUSE_NAME_MAX) in parse_dirfile()
136 if (memchr(dirent->name, '/', dirent->namelen) != NULL) in parse_dirfile()
155 struct fuse_dirent *dirent = &direntplus->dirent; in fuse_direntplus_link() local
157 struct qstr name = QSTR_INIT(dirent->name, dirent->namelen); in fuse_direntplus_link()
297 dirent = &direntplus->dirent; in parse_dirplusfile()
300 if (!dirent->namelen || dirent->namelen > FUSE_NAME_MAX) in parse_dirplusfile()
304 if (memchr(dirent->name, '/', dirent->namelen) != NULL) in parse_dirplusfile()
418 if (!dir_emit(ctx, dirent->name, dirent->namelen, in fuse_parse_cache()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvdial/
H A Dmusl-support.patch14 static int filesort(const dirent **e1, const dirent **e2)
20 - dirent const * const *e1 = (dirent const * const *)_e1;
21 - dirent const * const *e2 = (dirent const * const *)_e2;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A D0001-Fix-Wincompatible-function-pointer-types.patch8 …e function pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struc…
12 int (*__selector) (const struct dirent *),
14 …*, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' […
37 +int mh_numsort (const struct dirent **d1,const struct dirent **d2);
55 +int mh_numsort (const struct dirent **d1,const struct dirent **d2)
79 +int mix_msgfsort (const struct dirent **d1,const struct dirent **d2);
106 +int mix_msgfsort (const struct dirent **d1,const struct dirent **d2)
121 +int mx_numsort (const struct dirent **d1,const struct dirent **d2);
139 +int mx_numsort (const struct dirent **d1,const struct dirent **d2)
154 +int news_numsort (const struct dirent ** d1,const struct dirent ** d2);
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/breakpad/breakpad/
H A D0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch4 Subject: [PATCH 3/3] Fix conflict between musl libc <dirent.h> and lss
6 Include <dirent.h> late to avoid the macro getdents64 in musl
7 libc's <dirent.h> to conflict with linux_sycall_support.h.
20 -#include <dirent.h>
28 +#include <dirent.h>
/openbmc/linux/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 Dthread_map.c24 static int filter(const struct dirent *dir) in filter()
39 struct dirent **namelist = NULL; in thread_map__new_by_pid()
80 struct dirent *dirent, **namelist = NULL; in __thread_map__new_all_cpus() local
93 while ((dirent = readdir(proc)) != NULL) { in __thread_map__new_all_cpus()
96 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus()
101 snprintf(path, sizeof(path), "/proc/%s", dirent->d_name); in __thread_map__new_all_cpus()
187 struct dirent **namelist = NULL; in thread_map__new_by_pid_str()
H A Dutil.h30 struct dirent;
36 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
37 bool lsdir_no_dot_filter(const char *name, struct dirent *d);
H A Dtracepoint.c12 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id()
32 struct dirent *sys_dirent, *evt_dirent; in is_valid_tracepoint()
H A Dutil.c155 struct dirent *d; in rm_rf_depth_pat()
221 static bool kcore_dir_filter(const char *name __maybe_unused, struct dirent *d) in kcore_dir_filter()
273 bool lsdir_no_dot_filter(const char *name __maybe_unused, struct dirent *d) in lsdir_no_dot_filter()
280 bool (*filter)(const char *, struct dirent *)) in lsdir() argument
284 struct dirent *d; in lsdir()
H A Dpath.c59 bool is_directory(const char *base_path, const struct dirent *dent) in is_directory()
71 bool is_executable_file(const char *base_path, const struct dirent *dent) in is_executable_file()
/openbmc/openbmc/poky/meta/recipes-extended/zip/zip-3.0/
H A D0002-unix.c-Do-not-redefine-DIR-as-FILE.patch7 /usr/include/dirent.h system header
26 #ifndef dirent
27 # define dirent direct
/openbmc/qemu/hw/9pfs/
H A D9p-util.h212 static inline off_t qemu_dirent_off(struct dirent *dent) in qemu_dirent_off()
232 static inline struct dirent *qemu_dirent_dup(struct dirent *dent) in qemu_dirent_dup()
245 sz = offsetof(struct dirent, d_name) + in qemu_dirent_dup()
H A Dcodir.c31 static int do_readdir(V9fsPDU *pdu, V9fsFidState *fidp, struct dirent **dent) in do_readdir()
35 struct dirent *entry; in do_readdir()
53 struct dirent **dent) in v9fs_co_readdir()
80 struct dirent *dent; in do_readdir_many()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0002-Drop-using-_LARGEFILE64_SOURCE.patch44 #include <dirent.h>
68 #include <dirent.h>
80 #include <dirent.h>
92 #include <dirent.h>
116 #include <dirent.h>
128 #include <dirent.h>
140 #include <dirent.h>
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc.h43 static struct dirent *xreaddir(DIR *d) in xreaddir()
45 struct dirent *de; in xreaddir()
/openbmc/linux/arch/alpha/kernel/
H A Dosf_sys.c105 struct osf_dirent __user *dirent; member
115 struct osf_dirent __user *dirent; in osf_filldir() local
134 dirent = buf->dirent; in osf_filldir()
135 if (put_user(d_ino, &dirent->d_ino) || in osf_filldir()
136 put_user(namlen, &dirent->d_namlen) || in osf_filldir()
137 put_user(reclen, &dirent->d_reclen) || in osf_filldir()
138 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir()
139 put_user(0, dirent->d_name + namlen)) in osf_filldir()
141 dirent = (void __user *)dirent + reclen; in osf_filldir()
142 buf->dirent = dirent; in osf_filldir()
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dconf.c283 static int filename_filter(const struct dirent *dirent) in filename_filter() argument
287 if (dirent == NULL) in filename_filter()
289 if (dirent->d_type == DT_DIR) in filename_filter()
291 flen = strlen(dirent->d_name); in filename_filter()
294 if (strncmp(&dirent->d_name[flen-5], ".conf", 5) == 0) in filename_filter()
302 struct dirent **namelist; in conf_load()
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0016-pass-correct-parameters-to-getdents64.patch7 …passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'struct dirent *' [-Werror,-Winco…
11 …on at ../git/src/basic/stat-util.c:78:9) *' to parameter of type 'struct dirent *' [-Werror,-Winco…
31 + n = getdents64(dir_fd, (struct dirent*)((uint8_t*) de->buffer + de->buffer_size), …
/openbmc/linux/include/linux/
H A Dnubus.h157 void nubus_get_rsrc_mem(void *dest, const struct nubus_dirent *dirent,
159 unsigned int nubus_get_rsrc_str(char *dest, const struct nubus_dirent *dirent,
162 const struct nubus_dirent *dirent,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0016-pass-correct-parameters-to-getdents64.patch7 …passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'struct dirent *' [-Werror,-Winco…
11 …on at ../git/src/basic/stat-util.c:78:9) *' to parameter of type 'struct dirent *' [-Werror,-Winco…
31 + n = getdents64(dir_fd, (struct dirent*)((uint8_t*) de->buffer + de->buffer_size), …
/openbmc/linux/drivers/nubus/
H A Dnubus.c170 void nubus_get_rsrc_mem(void *dest, const struct nubus_dirent *dirent, in nubus_get_rsrc_mem() argument
174 unsigned char *p = nubus_dirptr(dirent); in nubus_get_rsrc_mem()
177 *t++ = nubus_get_rom(&p, 1, dirent->mask); in nubus_get_rsrc_mem()
183 unsigned int nubus_get_rsrc_str(char *dest, const struct nubus_dirent *dirent, in nubus_get_rsrc_str() argument
187 unsigned char *p = nubus_dirptr(dirent); in nubus_get_rsrc_str()
190 unsigned char c = nubus_get_rom(&p, 1, dirent->mask); in nubus_get_rsrc_str()
204 const struct nubus_dirent *dirent, in nubus_seq_write_rsrc_mem() argument
209 unsigned char *p = nubus_dirptr(dirent); in nubus_seq_write_rsrc_mem()
217 dirent->mask); in nubus_seq_write_rsrc_mem()
223 seq_putc(m, nubus_get_rom(&p, 1, dirent->mask)); in nubus_seq_write_rsrc_mem()
/openbmc/linux/tools/thermal/thermometer/
H A Dthermometer.c292 struct dirent *dirent; in thermometer_init() local
307 while ((dirent = readdir(dir))) { in thermometer_init()
312 if (strncmp(dirent->d_name, tz_dirname, strlen(tz_dirname))) in thermometer_init()
315 sprintf(tz_path, CLASS_THERMAL"/%s/type", dirent->d_name); in thermometer_init()
331 if (thermometer_add_tz(dirent->d_name, tz_type, in thermometer_init()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/
H A D0005-Include-dirent.h-for-ino_t.patch4 Subject: [PATCH] Include dirent.h for ino_t
27 +#include <dirent.h>
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-replace-readdir_r-with-readdir.patch25 - struct dirent entry;
26 struct dirent *result;

12345678