/tools/perf/util/ |
D | util.h | 19 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);
|
D | path.h | 8 struct dirent; 14 bool is_directory(const char *base_path, const struct dirent *dent);
|
D | thread_map.c | 23 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()
|
D | util.c | 134 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()
|
D | synthetic-events.c | 478 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 …]
|
D | path.c | 84 bool is_directory(const char *base_path, const struct dirent *dent) in is_directory()
|
D | trace-event-info.c | 163 struct dirent *dent; in copy_event_system() 255 struct dirent *dent; in record_event_files()
|
/tools/testing/selftests/proc/ |
D | proc.h | 43 static struct dirent *xreaddir(DIR *d) in xreaddir() 45 struct dirent *de; in xreaddir()
|
D | read.c | 77 struct dirent *de; in f()
|
D | fd-003-kthread.c | 99 struct dirent *de; in test_readdir()
|
D | fd-001-lookup.c | 101 struct dirent *de; in main()
|
/tools/iio/ |
D | lsiio.c | 43 const struct dirent *ent; in dump_channels() 103 const struct dirent *ent; in dump_devices()
|
D | iio_utils.c | 96 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/ |
D | vhci_driver.c | 151 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/ |
D | dscr_sysfs_test.c | 44 struct dirent *dp; in check_all_cpu_dscr_defaults()
|
/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 64 struct dirent **namelist; in scan_tree() 149 struct dirent **namelist; in scan_rom()
|
/tools/thermal/tmon/ |
D | sysfs.c | 198 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/ |
D | osunixdir.c | 93 struct dirent *dir_entry; in acpi_os_get_next_filename()
|
/tools/gpio/ |
D | lsgpio.c | 165 const struct dirent *ent; in main()
|
/tools/perf/tests/ |
D | builtin-test.c | 476 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()
|
D | dso-data.c | 180 struct dirent *dent; in open_files_cnt()
|
/tools/testing/selftests/ir/ |
D | ir_loopback.c | 64 struct dirent *dent; in lirc_open()
|
/tools/testing/selftests/gpio/ |
D | gpio-mockup-chardev.c | 131 const struct dirent *ent; in list_gpiochip()
|
/tools/hv/ |
D | hv_vss_daemon.c | 66 struct dirent *entry; in is_dev_loop()
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.c | 248 struct dirent *dp; in delete_dir_tree()
|