Searched refs:O_WRONLY (Results 101 - 125 of 160) sorted by relevance

1234567

/linux-master/tools/power/cpupower/lib/
H A Dcpufreq.c46 fd = open(path, O_WRONLY);
/linux-master/arch/um/os-Linux/
H A Dfile.c188 f = O_WRONLY;
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c543 prov_fd = open(prov_file, O_WRONLY);
/linux-master/drivers/most/
H A Dmost_cdev.c127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) {
/linux-master/security/integrity/ima/
H A Dima_crypto.c555 int flags = file->f_flags & ~(O_WRONLY | O_APPEND |
/linux-master/arch/mips/boot/
H A Delf2ecoff.c507 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) {
/linux-master/scripts/
H A Drecordmcount.c344 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode);
/linux-master/sound/core/
H A Dinfo.c243 ((mode == O_WRONLY || mode == O_RDWR) && !entry->c.ops->write)) {
H A Dcompress_offload.c84 if ((f->f_flags & O_ACCMODE) == O_WRONLY)
/linux-master/drivers/staging/axis-fifo/
H A Daxis-fifo.c681 if (((f->f_flags & O_ACCMODE) == O_WRONLY) ||
/linux-master/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c176 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
1052 img_fd = openat(-EBADF, "/mnt/C/ext4.img", O_CREAT | O_WRONLY, 0600);
/linux-master/fs/
H A Dopen.c105 error = break_lease(inode, O_WRONLY);
1493 int flags = O_CREAT | O_WRONLY | O_TRUNC;
H A Dcoredump.c651 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW |
/linux-master/fs/overlayfs/
H A Dcopy_up.c633 new_file = ovl_path_open(temp, O_LARGEFILE | O_WRONLY);
1258 return ovl_copy_up_flags(dentry, O_WRONLY);
H A Doverlayfs.h389 mode, O_LARGEFILE | O_WRONLY,
/linux-master/fs/smb/client/
H A Dfile.c213 else if ((flags & O_ACCMODE) == O_WRONLY)
234 else if ((flags & O_ACCMODE) == O_WRONLY)
357 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY)
1036 if (cifs_fscache_enabled(inode) && (cfile->f_flags & O_ACCMODE) == O_WRONLY)
4253 if ((file->f_flags & O_ACCMODE) == O_WRONLY)
4452 if ((file->f_flags & O_ACCMODE) == O_WRONLY)
4955 if ((file->f_flags & O_ACCMODE) != O_WRONLY && !oncethru) {
5054 break_lease(inode, O_WRONLY);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c493 fd = open(buffer, O_WRONLY);
1671 fd = open(buffer, O_WRONLY);
1779 fd = open(buffer, O_WRONLY);
H A Disst-core-mbox.c357 fd = open(buffer, O_WRONLY);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c957 fd = open(BPF_TESTMOD_TEST_FILE, O_WRONLY);
974 fd = open(sysctl, O_WRONLY);
/linux-master/tools/perf/util/
H A Djitdump.c89 fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, 0644);
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c67 int flags = O_WRONLY;
/linux-master/block/
H A Dfops.c592 * If all bits in O_ACCMODE set (aka O_RDWR | O_WRONLY), the floppy
596 if ((file->f_flags & O_ACCMODE) == (O_RDWR | O_WRONLY))
/linux-master/fs/lockd/
H A Dsvclock.c690 lock->fl.c.flc_file = file->f_file[O_WRONLY];
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c237 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c753 fd = open(path, O_WRONLY);

Completed in 284 milliseconds

1234567