Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dutil.h19 struct dirent;
25 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
26 bool lsdir_no_dot_filter(const char *name, struct dirent *d);
Dpath.h8 struct dirent;
14 bool is_directory(const char *base_path, const struct dirent *dent);
Dthread_map.c23 static int filter(const struct dirent *dir) in filter()
38 struct dirent **namelist = NULL; in thread_map__new_by_pid()
79 struct dirent *dirent, **namelist = NULL; in __thread_map__new_all_cpus() local
92 while ((dirent = readdir(proc)) != NULL) { in __thread_map__new_all_cpus()
95 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus()
100 snprintf(path, sizeof(path), "/proc/%s", dirent->d_name); in __thread_map__new_all_cpus()
186 struct dirent **namelist = NULL; in thread_map__new_by_pid_str()
Dutil.c134 struct dirent *d; in rm_rf_depth_pat()
202 bool lsdir_no_dot_filter(const char *name __maybe_unused, struct dirent *d) in lsdir_no_dot_filter()
209 bool (*filter)(const char *, struct dirent *)) in lsdir() argument
213 struct dirent *d; in lsdir()
Dsynthetic-events.c478 struct dirent *dirent; in __event__synthesize_thread() local
518 while ((dirent = readdir(tasks)) != NULL) { in __event__synthesize_thread()
522 _pid = strtol(dirent->d_name, &end, 10); in __event__synthesize_thread()
640 struct dirent **dirent, in __perf_event__synthesize_threads() argument
670 if (!isdigit(dirent[i]->d_name[0])) in __perf_event__synthesize_threads()
673 pid = (pid_t)strtol(dirent[i]->d_name, &end, 10); in __perf_event__synthesize_threads()
703 struct dirent **dirent; member
714 args->dirent, in synthesize_threads_worker()
728 struct dirent **dirent; in perf_event__synthesize_threads() local
740 n = scandir(proc_path, &dirent, 0, alphasort); in perf_event__synthesize_threads()
[all …]
Dpath.c84 bool is_directory(const char *base_path, const struct dirent *dent) in is_directory()
Dtrace-event-info.c163 struct dirent *dent; in copy_event_system()
255 struct dirent *dent; in record_event_files()
/tools/testing/selftests/proc/
Dproc.h43 static struct dirent *xreaddir(DIR *d) in xreaddir()
45 struct dirent *de; in xreaddir()
Dread.c77 struct dirent *de; in f()
Dfd-003-kthread.c99 struct dirent *de; in test_readdir()
Dfd-001-lookup.c101 struct dirent *de; in main()
/tools/iio/
Dlsiio.c43 const struct dirent *ent; in dump_channels()
103 const struct dirent *ent; in dump_devices()
Diio_utils.c96 const struct dirent *ent; in iioutils_get_type()
225 const struct dirent *ent; in iioutils_get_param_float()
320 const struct dirent *ent; in build_channel_array()
558 const struct dirent *ent; in find_type_by_name()
/tools/usb/usbip/libsrc/
Dvhci_driver.c151 static int vhci_hcd_filter(const struct dirent *dirent) in vhci_hcd_filter() argument
153 return !strncmp(dirent->d_name, "vhci_hcd.", 9); in vhci_hcd_filter()
158 struct dirent **namelist; in get_ncontrollers()
/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c44 struct dirent *dp; in check_all_cpu_dscr_defaults()
/tools/testing/selftests/ia64/
Daliasing-test.c64 struct dirent **namelist; in scan_tree()
149 struct dirent **namelist; in scan_rom()
/tools/thermal/tmon/
Dsysfs.c198 static int find_tzone_cdev(struct dirent *nl, char *tz_name, in find_tzone_cdev()
283 struct dirent **namelist; in scan_tzones()
341 struct dirent **namelist; in scan_cdevs()
386 struct dirent **namelist; in probe_thermal_sysfs()
/tools/power/acpi/os_specific/service_layers/
Dosunixdir.c93 struct dirent *dir_entry; in acpi_os_get_next_filename()
/tools/gpio/
Dlsgpio.c165 const struct dirent *ent; in main()
/tools/perf/tests/
Dbuiltin-test.c476 struct dirent *ent; in shell_tests__max_desc_width()
527 struct dirent *ent; in run_shell_tests()
639 struct dirent *ent; in perf_test__list_shell()
Ddso-data.c180 struct dirent *dent; in open_files_cnt()
/tools/testing/selftests/ir/
Dir_loopback.c64 struct dirent *dent; in lirc_open()
/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c131 const struct dirent *ent; in list_gpiochip()
/tools/hv/
Dhv_vss_daemon.c66 struct dirent *entry; in is_dev_loop()
/tools/testing/selftests/filesystems/incfs/
Dutils.c248 struct dirent *dp; in delete_dir_tree()

12