Searched refs:O_WRONLY (Results 51 - 75 of 160) sorted by relevance

1234567

/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c46 fd = open(path, O_WRONLY | O_APPEND);
531 fd = open(path, O_WRONLY | O_APPEND);
/linux-master/tools/power/cpupower/lib/
H A Dcpuidle.c98 fd = open(path, O_WRONLY);
/linux-master/tools/power/cpupower/utils/helpers/
H A Dsysfs.c169 fd = open(path, O_WRONLY);
/linux-master/tools/firmware/
H A Dihex2fw.c120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644);
/linux-master/tools/testing/selftests/ipc/
H A Dmsgque.c40 fd = open("/proc/sys/kernel/msg_next_id", O_WRONLY);
/linux-master/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c73 fd = open(filename, O_WRONLY);
/linux-master/tools/bpf/
H A Dbpf_jit_disasm.c309 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
/linux-master/drivers/usb/gadget/function/
H A Du_uac1_legacy.c223 snd->filp = filp_open(fn_play, O_WRONLY, 0);
/linux-master/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c189 fd = open(file, O_WRONLY);
/linux-master/samples/bpf/
H A Dtest_overhead_user.c46 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
/linux-master/arch/alpha/boot/tools/
H A Dobjstrip.c99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666);
/linux-master/drivers/s390/char/
H A Dhmcdrv_dev.c226 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) ||
/linux-master/fs/coda/
H A Dcoda_linux.c54 if ((flags & O_ACCMODE) == O_WRONLY)
/linux-master/tools/testing/selftests/mm/
H A Dthp_settings.c71 fd = open(path, O_WRONLY);
/linux-master/tools/testing/selftests/net/
H A Dso_incoming_cpu.c61 fd = open(filename, O_WRONLY);
/linux-master/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
/linux-master/fs/cachefiles/
H A Dondemand.c227 fd = get_unused_fd_flags(O_WRONLY);
234 object, O_WRONLY);
/linux-master/init/
H A Dinitramfs.c370 int openflags = O_WRONLY|O_CREAT|O_LARGEFILE;
685 file = filp_open("/initrd.image", O_WRONLY|O_CREAT|O_LARGEFILE, 0700);
/linux-master/scripts/dtc/
H A Dutil.c311 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/linux-master/tools/accounting/
H A Dprocacct.c320 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/linux-master/fs/hostfs/
H A Dhostfs_user.c78 mode = O_WRONLY;
/linux-master/tools/spi/
H A Dspidev_test.c158 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/linux-master/tools/lib/api/fs/
H A Dfs.c371 int fd = open(filename, O_WRONLY), err = -1;
/linux-master/security/tomoyo/
H A Dtomoyo.c318 O_WRONLY | (arg & O_APPEND));
/linux-master/include/linux/lockd/
H A Dlockd.h313 file->f_file[O_RDONLY] : file->f_file[O_WRONLY];

Completed in 377 milliseconds

1234567