Searched refs:O_WRONLY (Results 126 - 150 of 160) sorted by relevance

1234567

/linux-master/fs/nfs/
H A Dinternal.h48 if ((flags & O_ACCMODE) != O_WRONLY)
/linux-master/drivers/s390/char/
H A Dvmur.c739 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) {
/linux-master/scripts/kconfig/
H A Dconfdata.c144 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/linux-master/fs/smb/client/
H A Ddir.c205 if (cifs_fscache_enabled(inode) && (oflags & O_ACCMODE) == O_WRONLY)
/linux-master/fs/9p/
H A Dvfs_inode.c172 case O_WRONLY:
/linux-master/fs/ntfs3/
H A Dfile.c1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
/linux-master/fs/nfsd/
H A Dnfs4state.c506 return O_WRONLY;
611 ret = nfsd_file_get(f->fi_fds[O_WRONLY]);
676 ret = nfsd_file_get(f->fi_fds[O_WRONLY]);
690 if (f->fi_fds[O_WRONLY])
691 return f->fi_fds[O_WRONLY];
789 atomic_inc(&fp->fi_access[O_WRONLY]);
824 atomic_read(&fp->fi_access[O_WRONLY]))
854 __nfs4_file_put_access(fp, O_WRONLY);
5659 if (fp->fi_fds[O_WRONLY])
H A Dvfs.c850 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY;
888 flags = O_WRONLY|O_LARGEFILE;
/linux-master/tools/perf/
H A Dbuiltin-daemon.c525 control = open(control_path, O_WRONLY|O_NONBLOCK);
/linux-master/fs/
H A Dpipe.c939 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)),
1168 * O_WRONLY
/linux-master/fs/overlayfs/
H A Dutil.c654 case O_WRONLY:
/linux-master/drivers/vfio/pci/mlx5/
H A Dmain.c1018 O_WRONLY);
/linux-master/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c739 O_WRONLY);
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-core.c797 } else if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
822 } else if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
834 else if ((file->f_flags & O_ACCMODE) == O_WRONLY)
/linux-master/fs/ceph/
H A Dfile.c32 case O_WRONLY:
187 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC))
329 flags = O_WRONLY;
/linux-master/ipc/
H A Dmqueue.c888 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY))
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1984 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY;
/linux-master/samples/vfio-mdev/
H A Dmtty.c1099 migf, O_WRONLY);
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c263 * originally opened O_WRONLY.
1510 case O_WRONLY:
/linux-master/fs/proc/
H A Dproc_sysctl.c1654 file = file_open_root_mnt(*proc_mnt, path, O_WRONLY, 0);
/linux-master/tools/bpf/bpftool/
H A Dprog.c748 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600);
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c310 fp = open_file_as_root(init_ex_path, O_CREAT | O_WRONLY, 0600);
/linux-master/tools/lib/bpf/
H A Dlinker.c305 linker->fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644);
/linux-master/tools/perf/util/
H A Dsymbol-elf.c2031 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400);
/linux-master/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c908 flags |= O_WRONLY;

Completed in 314 milliseconds

1234567