Home
last modified time | relevance | path

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

/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()
/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()
Dproc-pid-vm.c194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/tools/perf/examples/bpf/
Dhello.c3 int syscall_enter(openat)(void *args) in syscall_enter() argument
Dsys_enter_openat.c28 int syscall_enter(openat)(struct syscall_enter_openat_args *args) in syscall_enter() argument
Detcsnoop.c64 augmented_filename_syscall_enter(openat);
Daugmented_syscalls.c72 augmented_filename_syscall(openat);
/tools/perf/trace/strace/groups/
Dfile10 openat
Dstring42 openat
/tools/testing/selftests/openat2/
Dhelpers.c35 int ret = openat(dfd, path, how->flags, how->mode); in sys_openat()
49 int fd = openat(dfd, path, O_CREAT, 0700); in touchat()
Drename_attack_test.c102 afd = openat(dfd, "a", O_PATH); in test_rename_attack()
Dresolve_test.c65 tmpfd = openat(dfd, "root", O_PATH | O_DIRECTORY); in setup_testdir()
459 dfd = openat(rootfd, test->dir, O_PATH | O_DIRECTORY); in test_openat2_opath_tests()
/tools/testing/selftests/filesystems/incfs/
Dincfs_stress.c109 fd = openat(read_data->dir_fd, read_data->filename, in reader()
135 int fd = openat(dir_fd, name, O_RDWR | O_CLOEXEC); in write_data()
186 int cmd_file = openat(dst_dir, INCFS_PENDING_READS_FILENAME, in test_files()
Dincfs_perf.c188 int fd = openat(dir_fd, name, O_RDWR | O_CLOEXEC); in write_data()
320 fd = openat(dir, name, O_RDONLY | O_CLOEXEC); in measure_read_throughput_internal()
398 fd = openat(dir, name, O_CREAT | O_WRONLY | O_CLOEXEC, 0600); in test_native_file()
520 fd = openat(dir, name, O_RDONLY | O_CLOEXEC); in load_hash_tree()
547 int cmd_file = openat(dst_dir, INCFS_PENDING_READS_FILENAME, in test_incfs_file()
/tools/perf/tests/
Dopenat-syscall.c45 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event()
DBuild8 perf-y += openat-syscall.o
9 perf-y += openat-syscall-all-cpus.o
10 perf-y += openat-syscall-tp-fields.o
Dopenat-syscall-all-cpus.c82 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event_on_all_cpus()
Dopenat-syscall-tp-fields.c86 openat(AT_FDCWD, filename, flags); in test__syscall_openat_tp_fields()
/tools/perf/Documentation/
Dperf-trace.txt283 Trace the first 4 open, openat or open_by_handle_at syscalls (in the future more syscalls may match…
287 2272.992 ( 0.037 ms): gnome-shell/1370 openat(dfd: CWD, filename: /proc/self/stat) = 31
288 2277.481 ( 0.139 ms): gnome-shell/3039 openat(dfd: CWD, filename: /proc/self/stat) = 65
289 3026.398 ( 0.076 ms): gnome-shell/3039 openat(dfd: CWD, filename: /proc/self/stat) = 65
290 4294.665 ( 0.015 ms): sed/15879 openat(dfd: CWD, filename: /etc/ld.so.cache, flags: CLOEXEC) = 3
/tools/testing/selftests/pidfd/
Dpidfd_setns_test.c144 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
237 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
/tools/testing/selftests/capabilities/
Dtest_execve.c156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl268 257 common openat sys_openat
/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl297 288 common openat sys_openat compat_sys_openat
/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl367 286 common openat sys_openat compat_sys_openat