Lines Matching defs:may_flags
856 * The may_flags argument indicates the type of open (read/write/lock)
862 int may_flags, struct file **filp)
874 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE))
880 host_err = nfsd_open_break_lease(inode, may_flags);
884 if (may_flags & NFSD_MAY_WRITE) {
885 if (may_flags & NFSD_MAY_READ)
897 host_err = security_file_post_open(file, may_flags);
903 if (may_flags & NFSD_MAY_64BIT_COOKIE)
915 int may_flags, struct file **filp)
933 may_flags |= NFSD_MAY_OWNER_OVERRIDE;
935 err = fh_verify(rqstp, fhp, type, may_flags);
937 host_err = __nfsd_open(rqstp, fhp, type, may_flags, filp);
952 * @may_flags: internal permission flags
958 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags,
961 return __nfsd_open(rqstp, fhp, S_IFREG, may_flags, filp);
2179 int may_flags = NFSD_MAY_READ;
2183 may_flags |= NFSD_MAY_64BIT_COOKIE;
2185 err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file);