Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c63 DIR *dirp; in verify_energy_info() local
73 dirp = opendir(path); in verify_energy_info()
75 while ((entry = readdir(dirp)) != NULL) { in verify_energy_info()
/linux/tools/perf/util/
H A Dutil.h56 int scandirat(int dirfd, const char *dirp,
H A Dutil.c484 int scandirat(int dirfd, const char *dirp,
490 int err, fd = openat(dirfd, dirp, O_PATH); in filename_with_chroot()
563 scandirat(int dirfd,const char * dirp,struct dirent *** namelist,int (* filter)(const struct dirent *),int (* compar)(const struct dirent **,const struct dirent **)) scandirat() argument
/linux/tools/include/nolibc/
H A Dsys.h361 int sys_getdents64(int fd, struct linux_dirent64 *dirp, int count) in sys_getdents64() argument
363 return my_syscall3(__NR_getdents64, fd, dirp, count); in sys_getdents64()
367 int getdents64(int fd, struct linux_dirent64 *dirp, int count) in getdents64() argument
369 return __sysret(sys_getdents64(fd, dirp, count)); in getdents64()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c8287 int dir_filter(const struct dirent *dirp) in dir_filter() argument
8289 if (isdigit(dirp->d_name[0])) in dir_filter()
8857 DIR *dirp; in pmt_mmio_open() local
8870 dirp = opendir(SYSFS_TELEM_PATH); in pmt_mmio_open()
8871 if (dirp == NULL) in pmt_mmio_open()
8875 entry = readdir(dirp); in pmt_mmio_open()
8889 if (fstatat(dirfd(dirp), entry->d_name, &st, 0) == -1) { in pmt_mmio_open()
8896 fd_telem_dir = openat(dirfd(dirp), entry->d_name, O_RDONLY); in pmt_mmio_open()
8956 closedir(dirp); in pmt_mmio_open()