Searched refs:NFSD_MAY_WRITE (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/fs/nfsd/ |
D | vfs.h | 17 #define NFSD_MAY_WRITE 0x002 /* == MAY_WRITE */ macro 34 #define NFSD_MAY_CREATE (NFSD_MAY_EXEC|NFSD_MAY_WRITE) 35 #define NFSD_MAY_REMOVE (NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC)
|
D | vfs.c | 379 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr() 393 accmode |= NFSD_MAY_WRITE; in nfsd_setattr() 612 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_TRUNC }, 613 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE }, 617 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE }, 627 { NFS3_ACCESS_MODIFY, NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC}, 628 { NFS3_ACCESS_EXTEND, NFSD_MAY_EXEC|NFSD_MAY_WRITE }, 633 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE }, 650 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS }, 651 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS }, [all …]
|
D | filecache.c | 35 #define NFSD_FILE_MAY_MASK (NFSD_MAY_READ|NFSD_MAY_WRITE) 191 if (may & NFSD_MAY_WRITE) in nfsd_file_alloc() 994 bool write = (may_flags & NFSD_MAY_WRITE); in nfsd_file_acquire()
|
D | nfs4proc.c | 191 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission() 193 accmode |= NFSD_MAY_WRITE; in do_open_permission() 1917 accmode |= NFSD_MAY_READ | NFSD_MAY_WRITE; in nfsd4_layoutget() 2000 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_WRITE); in nfsd4_layoutcommit()
|
D | nfsproc.c | 341 NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS); in nfsd_proc_create()
|
D | trace.h | 413 { NFSD_MAY_WRITE, "WRITE" }, \
|
D | nfs4state.c | 4820 flags |= NFSD_MAY_WRITE; in nfs4_access_to_access() 5742 int acc = (flags & RD_STATE) ? NFSD_MAY_READ : NFSD_MAY_WRITE; in nfs4_check_file()
|