/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 57 procfd = open("/proc/self/comm", O_RDONLY); 60 devfd = open("/dev/urandom", O_RDONLY); 63 localfd = open("/tmp/d_path_loadgen.txt", O_CREAT | O_RDONLY, 0644);
|
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC); 105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 42 int fd = open(unload_heads_path, O_RDONLY); 125 fd = open("/dev/freefall", O_RDONLY);
|
/linux-master/tools/testing/selftests/proc/ |
H A D | read.c | 45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); 109 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY);
|
H A D | proc-self-map-files-001.c | 54 fd = open("/dev/zero", O_RDONLY);
|
H A D | proc-self-map-files-002.c | 60 fd = open("/dev/zero", O_RDONLY);
|
/linux-master/tools/testing/selftests/timers/ |
H A D | rtcpie.c | 42 fd = open(default_rtc, O_RDONLY); 54 fd = open(rtc, O_RDONLY);
|
H A D | clocksource-switch.c | 47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); 79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY);
|
/linux-master/tools/testing/selftests/timens/ |
H A D | procfs.c | 42 parent_ns = open(path, O_RDONLY); 52 child_ns = open(path, O_RDONLY);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hugepage-vmemmap.c | 55 fd = open("/proc/self/pagemap", O_RDONLY); 71 fd = open("/proc/kpageflags", O_RDONLY);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 21 fd = open(filename, O_RDONLY); 121 fd = open(filename, O_RDONLY);
|
/linux-master/samples/timers/ |
H A D | hpet_example.c | 89 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/tools/leds/ |
H A D | led_hw_brightness_mon.c | 42 fd = open(brightness_file_path, O_RDONLY);
|
/linux-master/tools/testing/selftests/rtc/ |
H A D | setdate.c | 41 fd = open(rtc, O_RDONLY);
|
/linux-master/tools/power/cpupower/debug/i386/ |
H A D | centrino-decode.c | 42 fd = open(file, O_RDONLY);
|
H A D | powernow-k8-decode.c | 39 fd = open(file, O_RDONLY);
|
/linux-master/arch/um/drivers/ |
H A D | tty.c | 48 mode = O_RDONLY;
|
/linux-master/tools/lib/symbol/ |
H A D | kallsyms.c | 39 io.fd = open(filename, O_RDONLY, 0);
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_sock2.c | 48 cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY);
|
H A D | test_cgrp2_array_pin.c | 59 cg2_fd = open(cg2, O_RDONLY);
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types_async_fd.c | 73 O_RDONLY),
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 32 fd = open(msr_file_name, O_RDONLY);
|
/linux-master/include/linux/ |
H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 49 fd = open(file, O_RDONLY);
|
/linux-master/tools/perf/tests/ |
H A D | openat-syscall.c | 49 fd = openat(0, "/etc/passwd", O_RDONLY);
|