Lines Matching refs:NFSD_MAY_WRITE
486 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr()
500 accmode |= NFSD_MAY_WRITE; in nfsd_setattr()
698 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_TRUNC },
699 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE },
703 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE },
713 { NFS3_ACCESS_MODIFY, NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC},
714 { NFS3_ACCESS_EXTEND, NFSD_MAY_EXEC|NFSD_MAY_WRITE },
719 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE },
736 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS },
737 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS },
806 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY; in nfsd_open_break_lease()
832 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
842 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
1189 err = nfsd_file_acquire_gc(rqstp, fhp, NFSD_MAY_WRITE, &nf); in nfsd_write()
2266 err = fh_verify(rqstp, fhp, 0, NFSD_MAY_WRITE); in nfsd_removexattr()
2294 err = fh_verify(rqstp, fhp, 0, NFSD_MAY_WRITE); in nfsd_setxattr()
2330 (acc & NFSD_MAY_WRITE)? " write" : "", in nfsd_permission()
2349 if (acc & (NFSD_MAY_WRITE | NFSD_MAY_SATTR | NFSD_MAY_TRUNC)) { in nfsd_permission()