Home
last modified time | relevance | path

Searched refs:openat (Results 1 – 25 of 150) sorted by relevance

123456

/external/python/cffi/demo/
Dreaddir_ctypes.py33 openat = C.openat variable
34 openat.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int]
35 openat.restype = ctypes.c_int
48 dirfd = openat(basefd, path, 0)
Dreaddir.py14 dirfd = lib.openat(basefd, path, 0)
/external/igt-gpu-tools/runner/
Drunner_tests.c51 int fd = openat(dirfd, name, O_RDONLY); in dump_file()
133 clear_directory_fd(openat(dirfd, dirent->d_name, O_DIRECTORY | O_RDONLY)); in clear_directory_fd()
194 igt_assert_f((fd = openat(dirfd, name, O_RDONLY)) >= 0, in assert_execution_created()
306 igt_require((fd = openat(dirfd, tmptestlist, O_CREAT | O_EXCL | O_WRONLY, 0660)) >= 0);
772 igt_assert_f((fd = openat(dirfd, "metadata.txt", O_RDONLY)),
823 igt_assert_f((fd = openat(dirfd, "joblist.txt", O_RDONLY)) >= 0,
879 igt_assert_f(openat(dirfd, "0", O_DIRECTORY | O_RDONLY) < 0,
881 igt_assert_f((fd = openat(dirfd, "metadata.txt", O_RDONLY)) >= 0,
884 igt_assert_f((fd = openat(dirfd, "joblist.txt", O_RDONLY)) >= 0,
887 igt_assert_f((fd = openat(dirfd, "uname.txt", O_RDONLY)) < 0,
[all …]
Dexecutor.c334 int fd = openat(dirfd, name, O_RDWR | O_CREAT | O_CLOEXEC, 0666); in open_at_end()
351 return openat(dirfd, name, O_RDONLY); in open_for_reading()
925 if ((dirfd = openat(resdirfd, name, O_DIRECTORY | O_RDONLY | O_CLOEXEC)) < 0) { in execute_next_entry()
1069 if ((resdirfd = openat(dirfd, name, O_DIRECTORY | O_RDONLY)) < 0) in clear_old_results()
1133 if ((resdirfd = openat(dirfd, name, O_DIRECTORY | O_RDONLY)) >= 0) in initialize_execute_state_from_resume()
1143 if ((fd = openat(resdirfd, filenames[_F_JOURNAL], O_RDONLY)) >= 0) { in initialize_execute_state_from_resume()
1216 if ((abortfd = openat(resdirfd, "aborted.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in write_abort_file()
1311 if ((unamefd = openat(resdirfd, "uname.txt", O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0) { in execute()
1319 if ((timefd = openat(resdirfd, "starttime.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in execute()
1441 if ((timefd = openat(resdirfd, "endtime.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in execute()
Drunner_json_tests.c128 int testdirfd = openat(dirfd, dirname, O_RDONLY | O_DIRECTORY); in run_results_and_compare()
136 reference = openat(testdirfd, "reference.json", O_RDONLY); in run_results_and_compare()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c123 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); in testfunc_append()
154 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); in testfunc_cloexec()
210 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); in testfunc_largefile()
245 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); in testfunc_noatime()
266 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); in testfunc_nofollow()
280 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777)); in testfunc_trunc()
Dopenat.h29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat() function
/external/crosvm/seccomp/x86_64/
Dxhci.policy5 # xhci need "openat" to enumerate device. "openat" is disabled in comman_device policy.
6 openat: 1
Dtpm_device.policy28 #openat: return ENOENT
55 openat: 1
Dgpu_device.policy58 # mmap/mprotect/open/openat differ from the common_device.policy
62 openat: 1
/external/igt-gpu-tools/lib/
Digt_sysfs.c183 params = openat(dir, in igt_sysfs_open_parameters()
222 fd = openat(dir, attr, O_WRONLY); in igt_sysfs_write()
248 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_read()
292 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_get()
346 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_scanf()
372 fd = openat(dir, attr, O_WRONLY); in igt_sysfs_vprintf()
/external/linux-kselftest/tools/testing/selftests/proc/
Dread.c45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg()
58 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write()
107 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
Dfd-003-kthread.c56 fd = openat(dir_fd, "stat", O_RDONLY); in kernel_thread_fd()
90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
/external/linux-kselftest/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c142 fd = openat(dirfd, "makefile", O_CREAT | O_RDWR, in thread_fn()
156 fd = openat(dirfd, cfile, O_CREAT | O_RDWR, in thread_fn()
173 dirfd = openat(dirfd, "dir", O_DIRECTORY); in thread_fn()
/external/crosvm/seccomp/arm/
Dtpm_device.policy28 #openat: return ENOENT
56 openat: 1
/external/toybox/toys/other/
Dlspci.c50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY)))
61 if (-1 == (fd = openat(dirfd, *fields, O_RDONLY))) {
Dacpi.c37 if ((fd = openat(dirfd, name, O_RDONLY)) < 0) return -1;
56 if ((fd = openat(dfd, "type", O_RDONLY)) < 0) goto done; in acpi_callback()
/external/igt-gpu-tools/tests/
Ddebugfs_test.c54 openat(path_fd, dirent->d_name, O_RDONLY | in read_and_discard_sysfs_entries()
68 sub_fd = openat(path_fd, dirent->d_name, O_RDONLY); in read_and_discard_sysfs_entries()
/external/strace/tests-mx32/
Ddev-yy.gen.test4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
/external/strace/tests/
Ddev-yy.gen.test4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
/external/strace/tests-m32/
Ddev-yy.gen.test4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
/external/igt-gpu-tools/tests/i915/
Di915_hangman.c50 fd = openat(dir, "error", O_RDONLY); in has_error_state()
114 fd = openat(sysfs, "error", O_RDONLY); in open_error()
/external/ltp/include/lapi/syscalls/
Dhppa.in2 openat 275
/external/minijail/examples/
Dcat.policy13 openat: 1

123456