Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/testing/selftests/tmpfs/
H A 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()
/openbmc/linux/tools/testing/selftests/proc/
H A Dread.c45 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()
H A 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()
H A Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/openbmc/linux/tools/testing/selftests/openat2/
H A 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()
H A Drename_attack_test.c102 afd = openat(dfd, "a", O_PATH); in test_rename_attack()
H A 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()
/openbmc/linux/tools/perf/tests/
H A DBuild9 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall.o
10 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-all-cpus.o
11 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o
H A Dopenat-syscall.c49 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event()
H A Dopenat-syscall-all-cpus.c85 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event_on_all_cpus()
H A Dopenat-syscall-tp-fields.c88 openat(AT_FDCWD, filename, flags); in test__syscall_openat_tp_fields()
/openbmc/linux/tools/perf/trace/strace/groups/
H A Dfile10 openat
H A Dstring42 openat
/openbmc/openbmc/poky/meta/recipes-extended/screen/screen/
H A D0001-Remove-more-compatibility-stuff.patch3 …28:7: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-func…
/openbmc/linux/samples/pidfd/
H A Dpidfd-metadata.c105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC); in main()
/openbmc/linux/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644); in setup_testdir()
/openbmc/linux/tools/perf/util/
H A Dprint-events.c89 dir_fd = openat(events_fd, sys_dirent->d_name, O_PATH); in print_tracepoint_events()
105 evt_fd = openat(dir_fd, evt_path, O_RDONLY); in print_tracepoint_events()
H A Dpmu.c222 int fd = openat(dirfd, name, O_RDONLY); in perf_pmu__format_parse()
675 fd = openat(dir_fd, name, O_RDONLY); in pmu_aliases_parse()
1975 fd = openat(caps_fd, name, O_RDONLY); in perf_pmu__caps_parse()
2115 return openat(dirfd, path, flags); in perf_pmu__pathname_fd()
/openbmc/linux/tools/perf/Documentation/
H A 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
/openbmc/qemu/hw/9pfs/
H A D9p-util.h99 #define qemu_openat openat
/openbmc/linux/tools/testing/selftests/pidfd/
H A 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()
/openbmc/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc289 [ 288] = 4, /* openat */
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c273 fd = openat(ctx.fd, name, O_RDONLY); in htab_mem_read_mem_cgrp_file()
/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
/openbmc/linux/Documentation/admin-guide/
H A Dworkload-tracing.rst358 | openat | 48560 | Filesystem | sys_opennat() |
442 | openat | 74 | Filesystem | sys_openat() |
558 | openat | 14 | Filesystem | sys_openat() |

123