Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfs/
Dnfs4file.c32 unsigned openflags = filp->f_flags; in nfs4_file_open() local
47 err = nfs_check_flags(openflags); in nfs4_file_open()
51 if ((openflags & O_ACCMODE) == 3) in nfs4_file_open()
55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
66 if (openflags & O_TRUNC) { in nfs4_file_open()
72 inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr, NULL); in nfs4_file_open()
Ddir.c2555 static int nfs_open_permission_mask(int openflags) in nfs_open_permission_mask() argument
2559 if (openflags & __FMODE_EXEC) { in nfs_open_permission_mask()
2563 if ((openflags & O_ACCMODE) != O_WRONLY) in nfs_open_permission_mask()
2565 if ((openflags & O_ACCMODE) != O_RDONLY) in nfs_open_permission_mask()
2572 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open() argument
2574 return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); in nfs_may_open()
Dnfs4proc.c1161 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() argument
1178 if (openflags & O_DIRECT) in nfs4_map_atomic_open_share()
1990 int openflags = opendata->o_arg.open_flags; in nfs4_open_recover_helper() local
1997 nfs4_map_atomic_open_share(server, fmode, openflags); in nfs4_open_recover_helper()
2481 int openflags) in nfs4_opendata_access() argument
2496 if (openflags & __FMODE_EXEC) { in nfs4_opendata_access()
/linux-4.19.296/include/linux/
Dnfs_fs.h492 extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags);