Searched refs:O_RDONLY (Results 126 - 150 of 357) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dsrccode.c113 fd = open(fn, O_RDONLY);
H A Dbpf_ftrace.c103 return open("/dev/null", O_RDONLY);
H A Ddebuginfo.c46 fd = open(path, O_RDONLY);
H A Dnamespaces.c298 oldns = open(curpath, O_RDONLY);
302 newns = open(nsinfo__mntns_path(nsi), O_RDONLY);
H A Dsymbol-minimal.c235 fd = open(filename, O_RDONLY);
261 int fd = open(name, O_RDONLY);
/linux-master/samples/bpf/
H A Dtest_cgrp2_attach.c163 cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY);
H A Dxdp_fwd_user.c163 if (access(filename, O_RDONLY) < 0) {
/linux-master/tools/power/cpupower/debug/i386/
H A Ddump_psb.c176 fd = open("/dev/mem", O_RDONLY);
/linux-master/samples/hid/
H A Dhid_surface_dial.c77 fd = open(uevent, O_RDONLY | O_NONBLOCK);
/linux-master/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c96 efd = open(buf, O_RDONLY, 0);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtp_attach_query.c26 efd = open(buf, O_RDONLY, 0);
H A Dtest_local_storage.c124 rm_fd = open(tmp_exec_path, O_RDONLY);
/linux-master/tools/tracing/rtla/src/
H A Dtimerlat_u.c80 timerlat_fd = tracefs_instance_file_open(NULL, buffer, O_RDONLY);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_hugetlb_memcg.c28 fd = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/user_events/
H A Ddyn_test.c44 int fd = open(enable_file, O_RDONLY);
/linux-master/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c281 ret = open("/proc/sys/abi/sme_default_vector_length", O_RDONLY, 0);
/linux-master/tools/testing/selftests/mm/
H A Dcompaction_test.c63 O_RDONLY | O_NONBLOCK);
H A Dtranshuge-stress.c72 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
H A Dsoft-dirty.c198 pagemap_fd = open(PAGEMAP_FILE_PATH, O_RDONLY);
/linux-master/tools/bootconfig/
H A Dmain.c156 fd = open(path, O_RDONLY);
294 fd = open(path, O_RDONLY);
/linux-master/fs/ecryptfs/
H A Dfile.c246 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr-vpd.c482 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC);
489 (void *)blob, O_RDONLY);
/linux-master/tools/testing/selftests/capabilities/
H A Dtest_execve.c144 int from = openat(fromfd, fromname, O_RDONLY);
212 int ourpath_fd = open(our_path, O_RDONLY | O_DIRECTORY);
/linux-master/tools/perf/tests/
H A Ddso-data.c313 int fd = open("/dev/null", O_RDONLY);
363 fd_extra = open("/dev/null", O_RDONLY);
/linux-master/include/linux/lockd/
H A Dlockd.h312 return file->f_file[O_RDONLY] ?
313 file->f_file[O_RDONLY] : file->f_file[O_WRONLY];

Completed in 209 milliseconds

1234567891011>>