Home
last modified time | relevance | path

Searched refs:oflags (Results 1 – 9 of 9) sorted by relevance

/fs/smb/client/
Ddir.c178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument
205 if (cifs_fscache_enabled(inode) && (oflags & O_ACCMODE) == O_WRONLY)
213 oflags, oplock, &fid->netfid, xid);
280 if (OPEN_FMODE(oflags) & FMODE_READ)
282 if (OPEN_FMODE(oflags) & FMODE_WRITE)
288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
290 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
292 else if ((oflags & O_CREAT) == O_CREAT)
434 struct file *file, unsigned oflags, umode_t mode) argument
461 if (!(oflags & O_CREAT)) {
[all …]
Dfile.c1017 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local
1022 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
/fs/udf/
Dinode.c406 int oflags; /* UDF_BLK_ flags reporting results */ member
417 map->oflags = 0; in udf_map_block()
429 map->oflags |= UDF_BLK_MAPPED; in udf_map_block()
462 if (map.oflags & UDF_BLK_MAPPED) { in __udf_get_block()
464 if (map.oflags & UDF_BLK_NEW) in __udf_get_block()
792 map->oflags = UDF_BLK_MAPPED; in inode_getblk()
909 map->oflags = UDF_BLK_NEW | UDF_BLK_MAPPED; in inode_getblk()
1218 if (*err || !(map.oflags & UDF_BLK_MAPPED)) in udf_bread()
1226 if (map.oflags & UDF_BLK_NEW) { in udf_bread()
/fs/xfs/
Dxfs_ioctl32.h81 __u32 oflags; /* open flags */ member
Dxfs_ioctl32.c322 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
Dxfs_ioctl.c215 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
218 permflag = hreq->oflags; in xfs_open_by_handle()
245 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
/fs/nfsd/
Dnfs4proc.c199 int oflags; in nfsd4_vfs_create() local
201 oflags = O_CREAT | O_LARGEFILE; in nfsd4_vfs_create()
204 oflags |= O_WRONLY; in nfsd4_vfs_create()
207 oflags |= O_RDWR; in nfsd4_vfs_create()
210 oflags |= O_RDONLY; in nfsd4_vfs_create()
215 filp = dentry_create(&path, oflags, open->op_iattr.ia_mode, in nfsd4_vfs_create()
/fs/xfs/libxfs/
Dxfs_fs.h556 __u32 oflags; /* open flags */ member
/fs/smb/server/
Dsmb2pdu.c2063 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local
2072 oflags |= O_RDWR; in smb2_create_open_flags()
2075 oflags |= O_WRONLY; in smb2_create_open_flags()
2078 oflags |= O_RDONLY; in smb2_create_open_flags()
2083 oflags |= O_PATH; in smb2_create_open_flags()
2093 oflags |= O_TRUNC; in smb2_create_open_flags()
2104 oflags |= O_CREAT; in smb2_create_open_flags()
2108 oflags &= ~O_CREAT; in smb2_create_open_flags()
2115 return oflags; in smb2_create_open_flags()