Home
last modified time | relevance | path

Searched refs:NFSD_MAY_WRITE (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
Dvfs.h17 #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)
Dvfs.c379 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 …]
Dfilecache.c35 #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()
Dnfs4proc.c191 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()
Dnfsproc.c341 NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS); in nfsd_proc_create()
Dtrace.h413 { NFSD_MAY_WRITE, "WRITE" }, \
Dnfs4state.c4820 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()