Searched refs:O_WRONLY (Results 1 - 25 of 160) sorted by last modified time
1234567
/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 61 fd = open(path, O_WRONLY); 226 fd = open(testfile, O_CREAT|O_WRONLY, 0664); 318 *fd = open("/proc/sys/vm/drop_caches", O_WRONLY);
|
/linux-master/fs/ntfs3/ |
H A D | file.c | 1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
|
/linux-master/fs/9p/ |
H A D | vfs_inode.c | 172 case O_WRONLY:
|
/linux-master/block/ |
H A D | bdev.c | 941 * It can also happen if a block device is opened as O_RDWR | O_WRONLY. 951 flags |= O_RDWR | O_WRONLY; 953 flags |= O_WRONLY;
|
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 2062 oflags |= O_WRONLY;
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 35 fd_flags |= O_WRONLY;
|
H A D | fs.c | 1100 if (file->f_flags & (O_WRONLY|O_RDWR)) {
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 7992 fd = open("/sys/fs/cgroup/cgroup.procs", O_WRONLY);
|
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.c | 310 fp = open_file_as_root(init_ex_path, O_CREAT | O_WRONLY, 0600);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1020 return O_WRONLY;
|
/linux-master/init/ |
H A D | initramfs.c | 370 int openflags = O_WRONLY|O_CREAT|O_LARGEFILE; 685 file = filp_open("/initrd.image", O_WRONLY|O_CREAT|O_LARGEFILE, 0700);
|
/linux-master/fs/smb/client/ |
H A D | file.c | 213 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);
|
H A D | dir.c | 205 if (cifs_fscache_enabled(inode) && (oflags & O_ACCMODE) == O_WRONLY)
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 506 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 D | vfs.c | 850 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY; 888 flags = O_WRONLY|O_LARGEFILE;
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 87 case O_WRONLY:
|
/linux-master/fs/ |
H A D | namei.c | 3554 if (open_flag & (O_CREAT | O_TRUNC | O_WRONLY | O_RDWR)) {
|
/linux-master/drivers/scsi/ |
H A D | st.c | 1208 ((st_flags & O_ACCMODE) == O_WRONLY ||
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 10802 fd = open(file, O_WRONLY | O_APPEND | O_CLOEXEC, 0);
|
/linux-master/kernel/printk/ |
H A D | printk.c | 918 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
|
/linux-master/scripts/kconfig/ |
H A D | confdata.c | 144 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/linux-master/fs/ceph/ |
H A D | file.c | 32 case O_WRONLY: 187 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) 329 flags = O_WRONLY;
|
/linux-master/drivers/staging/axis-fifo/ |
H A D | axis-fifo.c | 681 if (((f->f_flags & O_ACCMODE) == O_WRONLY) ||
|
/linux-master/drivers/s390/char/ |
H A D | vmur.c | 739 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) {
|
/linux-master/fs/overlayfs/ |
H A D | copy_up.c | 633 new_file = ovl_path_open(temp, O_LARGEFILE | O_WRONLY); 1258 return ovl_copy_up_flags(dentry, O_WRONLY);
|
Completed in 429 milliseconds
1234567