/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()
|
/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()
|
/tools/usb/usbip/libsrc/ |
D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
/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()
|
/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()
|
/tools/cgroup/ |
D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
/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()
|
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/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()
|
/tools/include/uapi/asm-generic/ |
D | fcntl.h | 20 #define O_WRONLY 00000001 macro
|
/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
/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()
|
D | trampoline_count.c | 20 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
D | test_overhead.c | 24 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 58 rw_ti->out_fd = open(out_path, O_WRONLY); in rw_thread_init()
|
/tools/testing/selftests/proc/ |
D | read.c | 58 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write()
|
/tools/testing/selftests/bpf/benchs/ |
D | bench_rename.c | 56 ctx.fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in setup_ctx()
|
/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()
|
/tools/testing/selftests/ir/ |
D | ir_loopback.c | 118 protocolfd = open(buf, O_WRONLY); in main()
|
/tools/usb/usbip/src/ |
D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
|
/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 55 fd = open(filename, O_WRONLY); in vmaybe_write_file()
|