Searched refs:openflags (Results 1 – 3 of 3) sorted by relevance
20 unsigned openflags = filp->f_flags; in nfs4_file_open() local37 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()
2194 static int nfs_open_permission_mask(int openflags) in nfs_open_permission_mask() argument2198 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() argument2213 return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); in nfs_may_open()
1720 int openflags) in nfs4_opendata_access() argument1735 if (openflags & __FMODE_EXEC) { in nfs4_opendata_access()