Searched refs:O_RDONLY (Results 201 - 225 of 357) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dtrace-event-info.c51 fd = open(file, O_RDONLY);
431 fd = open(evt_path, O_RDONLY);
H A Dunwind-libunwind-local.c382 fd = open(dso->symsrc_filename, O_RDONLY);
397 fd = open(debuglink, O_RDONLY);
H A Dprint-events.c105 evt_fd = openat(dir_fd, evt_path, O_RDONLY);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c46 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
644 root_netns_fd = open("/proc/self/ns/net", O_RDONLY);
H A Dsk_assign.c286 self_net = open(NS_SELF, O_RDONLY);
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c254 fd = open(path, O_RDONLY);
/linux-master/tools/perf/jvmti/
H A Djvmti_agent.c65 fd = open("/proc/self/exe", O_RDONLY);
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c344 enclave_image_fd = open(enclave_image_path, O_RDONLY);
/linux-master/tools/tracing/rtla/src/
H A Dtrace.c78 in_fd = tracefs_instance_file_open(inst, file, O_RDONLY);
/linux-master/scripts/dtc/
H A Dutil.c255 fd = open(filename, O_RDONLY);
/linux-master/fs/hostfs/
H A Dhostfs_user.c76 mode = O_RDONLY;
/linux-master/samples/bpf/
H A Dhbm.c80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0);
/linux-master/tools/spi/
H A Dspidev_test.c364 tx_fd = open(filename, O_RDONLY);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_kmem.c224 fd = open("/proc/kpagecgroup", O_RDONLY);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c323 fd = open(filename[i], O_RDONLY);
/linux-master/arch/x86/boot/tools/
H A Dbuild.c212 fd = open(argv[2], O_RDONLY);
/linux-master/tools/testing/selftests/sgx/
H A Dload.c51 fd = open(path, O_RDONLY);
/linux-master/security/tomoyo/
H A Dtomoyo.c111 &bprm->file->f_path, O_RDONLY);
/linux-master/sound/core/seq/oss/
H A Dseq_oss_init.c280 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
/linux-master/tools/testing/selftests/mm/
H A Dvm_util.c159 fd = open(PMD_SIZE_FILE_PATH, O_RDONLY);
/linux-master/fs/vboxsf/
H A Dfile.c83 case O_RDONLY:
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c1104 fd = open(cfg_input, O_RDONLY);
1251 fd_in = open(cfg_input, O_RDONLY);
1274 fd_in = open(cfg_input, O_RDONLY);
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c135 fd = open(file, O_RDONLY);
611 trace_fd = open(trace_file, O_RDONLY);
831 fd = open(trace_file, O_RDONLY);
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c373 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC);
382 O_RDONLY | O_CLOEXEC);
1829 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC);
1836 O_RDONLY | O_CLOEXEC);
2255 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC);
2264 O_RDONLY | O_CLOEXEC);
/linux-master/drivers/media/dvb-core/
H A Ddmxdev.c145 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
213 if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||
1351 if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||

Completed in 532 milliseconds

1234567891011>>