| /Linux-v5.10/tools/testing/selftests/wireguard/qemu/ |
| D | init.c | 72 fd = open("/dev/urandom", O_WRONLY); in seed_rng() 113 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging() 119 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging() 125 fd = open("/proc/sys/kernel/panic_on_warn", O_WRONLY); in enable_logging() 200 fd = open(success_dev, O_WRONLY); in launch_tests() 243 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in clear_leaks() 255 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in check_leaks()
|
| /Linux-v5.10/tools/testing/selftests/tmpfs/ |
| D | bug-link-o-tmpfile.c | 49 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()
|
| /Linux-v5.10/tools/testing/selftests/safesetid/ |
| D | safesetid-test.c | 58 fd = open(filename, O_WRONLY); in vmaybe_write_file() 125 int fd = open(add_whitelist_policy_file, O_WRONLY); in ensure_securityfs_mounted() 153 fd = open(add_whitelist_policy_file, O_WRONLY); in write_policies()
|
| /Linux-v5.10/tools/testing/selftests/firmware/ |
| D | fw_namespace.c | 43 fd = open(sys_path, O_WRONLY); in trigger_fw() 57 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
|
| /Linux-v5.10/samples/watchdog/ |
| D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /Linux-v5.10/tools/testing/selftests/bpf/ |
| D | test_sysctl.c | 119 .open_flags = O_WRONLY, 142 .open_flags = O_WRONLY, 638 .open_flags = O_WRONLY, 708 .open_flags = O_WRONLY, 758 .open_flags = O_WRONLY, 797 .open_flags = O_WRONLY, 866 .open_flags = O_WRONLY, 1378 .open_flags = O_WRONLY, 1529 } else if (test->open_flags == O_WRONLY) { in access_sysctl()
|
| /Linux-v5.10/tools/usb/usbip/libsrc/ |
| D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
| /Linux-v5.10/tools/cgroup/ |
| D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
| /Linux-v5.10/arch/um/drivers/ |
| D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
| /Linux-v5.10/tools/testing/selftests/timens/ |
| D | timens.h | 74 fd = open("/proc/self/timens_offsets", O_WRONLY); in _settime()
|
| D | futex.c | 80 fd = open("/proc/self/timens_offsets", O_WRONLY); in main()
|
| D | timer.c | 93 fd = open("/proc/self/timens_offsets", O_WRONLY); in main()
|
| D | timerfd.c | 100 fd = open("/proc/self/timens_offsets", O_WRONLY); in main()
|
| /Linux-v5.10/include/linux/ |
| D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
| /Linux-v5.10/tools/power/cpupower/utils/helpers/ |
| D | msr.c | 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
| /Linux-v5.10/kernel/bpf/preload/iterators/ |
| D | iterators.c | 45 debug_fd = open("/dev/console", O_WRONLY | O_NOCTTY | O_CLOEXEC); in main()
|
| /Linux-v5.10/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 20 #define O_WRONLY 00000001 macro
|
| /Linux-v5.10/include/uapi/asm-generic/ |
| D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
| /Linux-v5.10/fs/ceph/ |
| D | util.c | 65 case O_WRONLY: in ceph_flags_to_mode()
|
| /Linux-v5.10/tools/testing/selftests/efivarfs/ |
| D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
| /Linux-v5.10/Documentation/input/ |
| D | uinput.rst | 66 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK); 129 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK); 198 fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
|
| /Linux-v5.10/tools/testing/selftests/timers/ |
| D | clocksource-switch.c | 91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | raw_tp_test_run.c | 38 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_raw_tp_test_run()
|
| /Linux-v5.10/tools/testing/selftests/capabilities/ |
| D | test_execve.c | 49 fd = open(filename, O_WRONLY); in vmaybe_write_file() 160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
|
| /Linux-v5.10/kernel/power/ |
| D | user.c | 84 data->mode = O_WRONLY; in snapshot_open() 306 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
|