Lines Matching refs:may_flags
822 * The may_flags argument indicates the type of open (read/write/lock)
828 int may_flags, struct file **filp)
840 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE))
846 host_err = nfsd_open_break_lease(inode, may_flags);
850 if (may_flags & NFSD_MAY_WRITE) {
851 if (may_flags & NFSD_MAY_READ)
863 host_err = ima_file_check(file, may_flags);
869 if (may_flags & NFSD_MAY_64BIT_COOKIE)
881 int may_flags, struct file **filp)
899 may_flags |= NFSD_MAY_OWNER_OVERRIDE;
901 err = fh_verify(rqstp, fhp, type, may_flags);
903 host_err = __nfsd_open(rqstp, fhp, type, may_flags, filp);
918 * @may_flags: internal permission flags
924 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags,
927 return __nfsd_open(rqstp, fhp, S_IFREG, may_flags, filp);
2103 int may_flags = NFSD_MAY_READ;
2107 may_flags |= NFSD_MAY_64BIT_COOKIE;
2109 err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file);