/linux-master/samples/watchdog/ |
H A D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY);
|
/linux-master/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY);
|
/linux-master/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 66 fd = open("/dev/random", O_WRONLY); 114 fd = open("/proc/sys/kernel/printk", O_WRONLY); 120 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); 195 fd = open(success_dev, O_WRONLY); 238 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); 250 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY);
|
/linux-master/scripts/ |
H A D | jobserver-exec | 36 writer = os.open(path, os.O_WRONLY)
|
/linux-master/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 39 fd = open(sys_path, O_WRONLY); 53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 895 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); 898 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); 926 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); 932 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); 938 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); 982 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); 988 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); 994 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); 1007 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); 1013 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); [all...] |
/linux-master/arch/um/drivers/ |
H A D | tty.c | 50 mode = O_WRONLY;
|
/linux-master/tools/testing/selftests/timens/ |
H A D | timens.h | 74 fd = open("/proc/self/timens_offsets", O_WRONLY);
|
H A D | futex.c | 80 fd = open("/proc/self/timens_offsets", O_WRONLY);
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 61 fd = open(msr_file_name, O_WRONLY);
|
/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/fs/nfsd/ |
H A D | lockd.c | 41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bprm_opts.c | 38 null_fd = open("/dev/null", O_WRONLY);
|
H A D | raw_tp_test_run.c | 35 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
|
/linux-master/samples/cgroup/ |
H A D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY);
|
/linux-master/fs/lockd/ |
H A D | svcsubs.c | 76 return lock_is_write(lock) ? O_WRONLY : O_RDONLY; 171 if (file->f_file[O_WRONLY]) 172 nlmsvc_ops->fclose(file->f_file[O_WRONLY]); 194 lock.c.flc_file = file->f_file[O_WRONLY]; 291 if (file->f_file[O_WRONLY]) 292 nlmsvc_ops->fclose(file->f_file[O_WRONLY]);
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); 91 perror("open(O_WRONLY)");
|
/linux-master/fs/ceph/ |
H A D | util.c | 65 case O_WRONLY:
|
/linux-master/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 70 fd = open(filename, O_WRONLY); 165 int fd = open(add_uid_whitelist_policy_file, O_WRONLY); 189 fd = open(add_uid_whitelist_policy_file, O_WRONLY); 213 fd = open(add_gid_whitelist_policy_file, O_WRONLY);
|
/linux-master/include/trace/misc/ |
H A D | fs.h | 26 { O_WRONLY, "O_WRONLY" }, \
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
/linux-master/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644);
|
/linux-master/scripts/clang-tools/ |
H A D | run-clang-tools.py | 94 devnull = os.open(os.devnull, os.O_WRONLY)
|