Searched refs:O_RDONLY (Results 1 - 25 of 357) sorted by path

1234567891011>>

/linux-master/arch/alpha/boot/tools/
H A Dmkbb.c108 fd = open(argv[2], O_RDONLY);
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c138 infd = open(infile, O_RDONLY);
/linux-master/arch/powerpc/boot/
H A Dmktree.c82 if ((in_fd = open(argv[1], O_RDONLY)) < 0) {
/linux-master/samples/pidfd/
H A Dpidfd-metadata.c58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC);
/linux-master/samples/timers/
H A Dhpet_example.c89 fd = open(argv[0], O_RDONLY);
109 fd = open(argv[0], O_RDONLY);
149 fd = open(argv[0], O_RDONLY);
243 fd = open(argv[0], O_RDONLY);
/linux-master/scripts/
H A Dinsert-sys-cert.c234 fd = open(file_name, O_RDONLY);
/linux-master/tools/build/
H A Dfixdep.c127 fd = open(depfile, O_RDONLY);
/linux-master/tools/firmware/
H A Dihex2fw.c101 infd = open(argv[optind], O_RDONLY);
/linux-master/tools/laptop/dslm/
H A Ddslm.c147 if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) {
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c42 fd = open(brightness_file_path, O_RDONLY);
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c30 if ((flags & O_ACCMODE) == O_RDONLY)
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c208 int file_mode = O_RDONLY;
216 file_mode = O_RDONLY;
/linux-master/tools/power/cpupower/debug/i386/
H A Dcentrino-decode.c42 fd = open(file, O_RDONLY);
H A Dpowernow-k8-decode.c39 fd = open(file, O_RDONLY);
/linux-master/tools/power/cpupower/lib/
H A Dcpuidle.c63 fd = open(path, O_RDONLY);
/linux-master/tools/power/cpupower/utils/helpers/
H A Dsysfs.c23 fd = open(path, O_RDONLY);
70 fd = open(path, O_RDONLY);
134 fd = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c20 fd = open(path, O_RDONLY);
51 fd = open(path, O_RDONLY);
115 fd = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/filesystems/
H A Ddnotify_test.c26 fd = open(".", O_RDONLY);
/linux-master/tools/testing/selftests/intel_pstate/
H A Dmsr.c29 fd = open(msr_file_name, O_RDONLY);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_mnt.c66 if ((fi->flags & 3) != O_RDONLY)
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c763 fd = open("/proc/kallsyms", O_RDONLY);
/linux-master/tools/testing/selftests/nsfs/
H A Downer.c56 ns = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/proc/
H A Dfd-002-posix-eq.c32 fd0 = open("/", O_DIRECTORY|O_RDONLY);
36 fd1 = open(buf, O_RDONLY);
40 fd2 = open(buf, O_RDONLY);
H A Dfd-003-kthread.c48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY);
56 fd = openat(dir_fd, "stat", O_RDONLY);
90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY);
H A Dproc-self-map-files-001.c54 fd = open("/dev/zero", O_RDONLY);

Completed in 266 milliseconds

1234567891011>>