Lines Matching refs:may_flags
828 int may_flags, struct file **filp) in __nfsd_open() argument
840 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
846 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
850 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
851 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
863 host_err = ima_file_check(file, may_flags); in __nfsd_open()
869 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
881 int may_flags, struct file **filp) in nfsd_open() argument
899 may_flags |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_open()
901 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
903 host_err = __nfsd_open(rqstp, fhp, type, may_flags, filp); in nfsd_open()
924 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags, in nfsd_open_verified() argument
927 return __nfsd_open(rqstp, fhp, S_IFREG, may_flags, filp); in nfsd_open_verified()
2105 int may_flags = NFSD_MAY_READ; in nfsd_readdir() local
2109 may_flags |= NFSD_MAY_64BIT_COOKIE; in nfsd_readdir()
2111 err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file); in nfsd_readdir()