| /Linux-v5.4/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.4/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.4/samples/watchdog/ |
| D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /Linux-v5.4/tools/usb/usbip/libsrc/ |
| D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_sysctl.c | 119 .open_flags = O_WRONLY, 615 .open_flags = O_WRONLY, 685 .open_flags = O_WRONLY, 735 .open_flags = O_WRONLY, 774 .open_flags = O_WRONLY, 843 .open_flags = O_WRONLY, 1355 .open_flags = O_WRONLY, 1506 } else if (test->open_flags == O_WRONLY) { in access_sysctl()
|
| /Linux-v5.4/tools/cgroup/ |
| D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
| /Linux-v5.4/include/linux/ |
| D | fcntl.h | 9 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
| /Linux-v5.4/arch/um/drivers/ |
| D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
| /Linux-v5.4/tools/power/cpupower/utils/helpers/ |
| D | msr.c | 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
| /Linux-v5.4/include/uapi/asm-generic/ |
| D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
| /Linux-v5.4/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 20 #define O_WRONLY 00000001 macro
|
| /Linux-v5.4/tools/testing/selftests/efivarfs/ |
| D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
| /Linux-v5.4/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.4/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.4/net/ceph/ |
| D | ceph_fs.c | 67 case O_WRONLY: in ceph_flags_to_mode()
|
| /Linux-v5.4/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.4/tools/testing/selftests/cgroup/ |
| D | cgroup_util.c | 42 fd = open(path, O_WRONLY | O_APPEND); in write_text() 399 fd = open(path, O_WRONLY | O_APPEND); in set_oom_adj_score()
|
| /Linux-v5.4/tools/virtio/virtio-trace/ |
| D | trace-agent-rw.c | 58 rw_ti->out_fd = open(out_path, O_WRONLY); in rw_thread_init()
|
| /Linux-v5.4/tools/testing/selftests/proc/ |
| D | read.c | 58 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write()
|
| /Linux-v5.4/kernel/power/ |
| D | user.c | 85 data->mode = O_WRONLY; in snapshot_open() 268 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
|
| /Linux-v5.4/tools/include/nolibc/ |
| D | nolibc.h | 442 #define O_WRONLY 1 macro 622 #define O_WRONLY 1 macro 807 #define O_WRONLY 1 macro 1004 #define O_WRONLY 1 macro 1210 #define O_WRONLY 1 macro 1407 #define O_WRONLY 1 macro
|
| /Linux-v5.4/samples/bpf/ |
| D | cpustat_user.c | 157 fd = open(CPUFREQ_MAX_SYSFS_PATH, O_WRONLY); in cpu_stat_inject_cpu_frequency_event()
|
| D | test_overhead_user.c | 39 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | vidioc-expbuf.rst | 61 for open() for details. Currently only O_CLOEXEC, O_RDONLY, O_WRONLY, 154 ``O_RDONLY``, ``O_WRONLY``, and ``O_RDWR`` are supported, refer to
|
| /Linux-v5.4/tools/testing/selftests/ir/ |
| D | ir_loopback.c | 118 protocolfd = open(buf, O_WRONLY); in main()
|