Home
last modified time | relevance | path

Searched defs:dirfd (Results 1 – 25 of 68) sorted by relevance

123

/external/igt-gpu-tools/runner/
Drunner_tests.c49 static char *dump_file(int dirfd, const char *name) in dump_file()
116 static void clear_directory_fd(int dirfd) in clear_directory_fd()
144 int dirfd = open(name, O_DIRECTORY | O_RDONLY); in clear_directory() local
190 static void assert_execution_created(int dirfd, const char *name) in assert_execution_created()
199 static void assert_execution_results_exist(int dirfd) in assert_execution_results_exist()
300 int dirfd, fd; variable
338 int dirfd; variable
733 volatile int dirfd = -1, fd = -1; variable
791 volatile int dirfd = -1, fd = -1; variable
850 volatile int dirfd = -1, subdirfd = -1, fd = -1; variable
[all …]
Drunner_json_tests.c126 static void run_results_and_compare(int dirfd, const char *dirname) in run_results_and_compare()
169 int dirfd = open(testdatadir, O_RDONLY | O_DIRECTORY); variable
Dresults.c11 int dirfd; in main() local
Dexecutor.c332 static int open_at_end(int dirfd, const char *name) in open_at_end()
349 static int open_for_reading(int dirfd, const char *name) in open_for_reading()
354 bool open_output_files(int dirfd, int *fds, bool write) in open_output_files()
912 int dirfd; in execute_next_entry() local
1019 static int remove_file(int dirfd, const char *name) in remove_file()
1024 static bool clear_test_result_directory(int dirfd) in clear_test_result_directory()
1042 int dirfd; in clear_old_results() local
1108 bool initialize_execute_state_from_resume(int dirfd, in initialize_execute_state_from_resume()
Dresume.c19 int dirfd; in main() local
Djob_list.c385 int dirfd, fd; in create_job_list() local
428 int dirfd, fd; in serialize_job_list() local
501 bool read_job_list(struct job_list *job_list, int dirfd) in read_job_list()
Dsettings.c477 int dirfd, fd; in validate_settings() local
558 int dirfd, fd; in serialize_settings() local
690 bool read_settings_from_dir(struct settings *settings, int dirfd) in read_settings_from_dir()
/external/rust/crates/nix/test/
Dtest_stat.rs115 let dirfd = fcntl::open(tempdir.path(), in test_fstatat() localVariable
181 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_fchmodat() localVariable
273 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_utimensat() localVariable
291 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_mkdirat_success_path() localVariable
302 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_mkdirat_success_mode() localVariable
315 let dirfd = fcntl::open(&tempdir.path().join(not_dir_filename), fcntl::OFlag::O_CREAT, in test_mkdirat_fail() localVariable
Dtest_unistd.rs139 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat() localVariable
167 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat_directory() localVariable
497 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_fchownat() localVariable
770 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_symlinkat() localVariable
797 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_linkat_file() localVariable
821 …let dirfd = fcntl::open(tempdir_newfile.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap… in test_linkat_olddirfd_none() localVariable
846 …let dirfd = fcntl::open(tempdir_oldfile.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap… in test_linkat_newdirfd_none() localVariable
876 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_linkat_no_follow_symlink() localVariable
913 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_linkat_follow_symlink() localVariable
938 let dirfd = fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()).unwrap(); in test_unlinkat_dir_noremovedir() localVariable
[all …]
Dtest_fcntl.rs31 let dirfd = open(tmp.path().parent().unwrap(), in test_openat() localVariable
72 let dirfd = open(tempdir.path(), in test_readlink() localVariable
/external/ltp/testcases/kernel/syscalls/fstatat/
Dfstatat01.c63 int fstatat(int dirfd, const char *filename, struct stat64 *statbuf, int flags) in fstatat()
68 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat()
73 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat()
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat01.c71 utimensat_sc(int dirfd, const char *pathname, in utimensat_sc()
110 int flags, dirfd, opt, oflag; in main() local
/external/ltp/include/lapi/
Dmkdirat.h27 int mkdirat(int dirfd, const char *dirname, int mode) in mkdirat()
Dreadlinkat.h27 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz) in readlinkat()
Dexecveat.h33 int execveat(int dirfd, const char *pathname, in execveat()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat.h29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat()
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat.h29 int mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) in mknodat()
/external/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat.h29 static inline int fchownat(int dirfd, const char *filename, uid_t owner, in fchownat()
/external/toybox/toys/other/
Dlspci.c44 int dirfd; local
/external/strace/tests-mx32/
Dfutimesat.c53 k_futimesat(const kernel_ulong_t dirfd, in k_futimesat()
/external/strace/tests-m32/
Dfutimesat.c53 k_futimesat(const kernel_ulong_t dirfd, in k_futimesat()
/external/strace/tests/
Dfutimesat.c53 k_futimesat(const kernel_ulong_t dirfd, in k_futimesat()
/external/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c26 int *dirfd; member
/external/ltp/testcases/kernel/syscalls/futimesat/
Dfutimesat01.c59 int myfutimesat(int dirfd, const char *filename, struct timeval *times) in myfutimesat()
/external/ltp/testcases/kernel/syscalls/fchmodat/
Dfchmodat01.c65 int myfchmodat(int dirfd, const char *filename, mode_t mode) in myfchmodat()

123