Home
last modified time | relevance | path

Searched refs:openflags (Results 1 – 3 of 3) sorted by relevance

/fs/nfs/
Dnfs4file.c20 unsigned openflags = filp->f_flags; in nfs4_file_open() local
37 if ((openflags & O_ACCMODE) == 3) in nfs4_file_open()
38 openflags--; in nfs4_file_open()
41 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
52 if (openflags & O_TRUNC) { in nfs4_file_open()
58 inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr); in nfs4_file_open()
Ddir.c2194 static int nfs_open_permission_mask(int openflags) in nfs_open_permission_mask() argument
2198 if (openflags & __FMODE_EXEC) { in nfs_open_permission_mask()
2202 if ((openflags & O_ACCMODE) != O_WRONLY) in nfs_open_permission_mask()
2204 if ((openflags & O_ACCMODE) != O_RDONLY) in nfs_open_permission_mask()
2211 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open() argument
2213 return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); in nfs_may_open()
Dnfs4proc.c1720 int openflags) in nfs4_opendata_access() argument
1735 if (openflags & __FMODE_EXEC) { in nfs4_opendata_access()