/linux-6.12.1/tools/testing/selftests/proc/ |
D | read.c | 45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg() 60 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write() 109 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
|
D | fd-003-kthread.c | 56 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()
|
/linux-6.12.1/tools/testing/selftests/tmpfs/ |
D | bug-link-o-tmpfile.c | 49 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()
|
/linux-6.12.1/tools/testing/selftests/openat2/ |
D | helpers.c | 35 int ret = openat(dfd, path, how->flags, how->mode); in sys_openat() 49 int fd = openat(dfd, path, O_CREAT, 0700); in touchat()
|
D | rename_attack_test.c | 102 afd = openat(dfd, "a", O_PATH); in test_rename_attack()
|
D | resolve_test.c | 65 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()
|
/linux-6.12.1/tools/perf/bench/ |
D | sched-pipe.c | 125 fd = openat(cgrp->fd, "cgroup.threads", O_WRONLY); in enter_cgroup() 127 fd = openat(cgrp->fd, "cgroup.procs", O_WRONLY); in enter_cgroup() 131 fd = openat(cgrp->fd, "tasks", O_WRONLY); in enter_cgroup()
|
/linux-6.12.1/tools/perf/tests/ |
D | Build | 9 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall.o 10 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall-all-cpus.o 11 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o
|
D | pmu.c | 88 file = openat(dirfd, "perf-pmu-test/type", O_WRONLY | O_CREAT, 0600); in test_pmu_get() 113 file = openat(dirfd, name, O_WRONLY | O_CREAT, 0600); in test_pmu_get() 132 file = openat(dirfd, "perf-pmu-test/events/test-event", O_WRONLY | O_CREAT, 0600); in test_pmu_get()
|
D | tests-scripts.c | 84 io__init(&io, openat(dir_fd, name, O_RDONLY), buf, sizeof(buf)); in shell_test__description() 256 fd = openat(dir_fd, ent->d_name, O_PATH); in append_scripts_in_dir()
|
D | openat-syscall.c | 49 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event()
|
D | openat-syscall-tp-fields.c | 88 openat(AT_FDCWD, filename, flags); in test__syscall_openat_tp_fields()
|
D | openat-syscall-all-cpus.c | 85 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event_on_all_cpus()
|
/linux-6.12.1/tools/perf/trace/strace/groups/ |
D | file | 10 openat
|
D | string | 42 openat
|
/linux-6.12.1/samples/pidfd/ |
D | pidfd-metadata.c | 105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC); in main()
|
/linux-6.12.1/tools/testing/selftests/fchmodat2/ |
D | fchmodat2_test.c | 32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644); in setup_testdir()
|
/linux-6.12.1/tools/perf/util/ |
D | print-events.c | 91 dir_fd = openat(events_fd, sys_dirent->d_name, O_PATH); in print_tracepoint_events() 114 io__init(&id, openat(dir_fd, buf, O_RDONLY), buf, sizeof(buf)); in print_tracepoint_events()
|
D | pmu.c | 218 int fd = openat(dirfd, name, O_RDONLY); in perf_pmu__format_parse() 656 fd = openat(events_dir_fd, name, O_RDONLY); in __pmu_aliases_parse() 709 events_dir_fd = openat(sysfs_fd, path, O_DIRECTORY, 0); in pmu_aliases_parse_eager() 2104 fd = openat(caps_fd, name, O_RDONLY); in perf_pmu__caps_parse() 2255 return openat(dirfd, path, flags); in perf_pmu__pathname_fd()
|
D | util.c | 569 int err, fd = openat(dirfd, dirp, O_PATH); in scandirat()
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-trace.txt | 283 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
|
/linux-6.12.1/tools/testing/selftests/filesystems/overlayfs/ |
D | dev_in_maps.c | 133 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644); in test()
|
/linux-6.12.1/tools/testing/selftests/bpf/benchs/ |
D | bench_htab_mem.c | 273 fd = openat(ctx.fd, name, O_RDONLY); in htab_mem_read_mem_cgrp_file()
|
/linux-6.12.1/tools/testing/selftests/pidfd/ |
D | pidfd_setns_test.c | 203 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP() 353 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
|
/linux-6.12.1/tools/testing/selftests/capabilities/ |
D | test_execve.c | 147 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
|