Searched refs:NFSD_MAY_WRITE (Results 1 – 9 of 9) sorted by relevance
/fs/nfsd/ |
D | vfs.c | 421 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr() 435 accmode |= NFSD_MAY_WRITE; in nfsd_setattr() 641 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_TRUNC }, 642 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE }, 646 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE }, 656 { NFS3_ACCESS_MODIFY, NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC}, 657 { NFS3_ACCESS_EXTEND, NFSD_MAY_EXEC|NFSD_MAY_WRITE }, 662 { NFS4_ACCESS_XAWRITE, NFSD_MAY_WRITE }, 679 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS }, 680 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS }, [all …]
|
D | vfs.h | 19 #define NFSD_MAY_WRITE 0x002 /* == MAY_WRITE */ macro 36 #define NFSD_MAY_CREATE (NFSD_MAY_EXEC|NFSD_MAY_WRITE) 37 #define NFSD_MAY_REMOVE (NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC)
|
D | lockd.c | 41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ; in nlm_fopen()
|
D | nfs4proc.c | 154 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission() 156 accmode |= NFSD_MAY_WRITE; in do_open_permission() 737 status = nfsd_file_acquire(rqstp, &cstate->current_fh, NFSD_MAY_WRITE | in nfsd4_commit() 2199 accmode |= NFSD_MAY_READ | NFSD_MAY_WRITE; in nfsd4_layoutget() 2282 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_WRITE); in nfsd4_layoutcommit()
|
D | filecache.c | 30 #define NFSD_FILE_MAY_MASK (NFSD_MAY_READ|NFSD_MAY_WRITE)
|
D | nfsproc.c | 349 NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS); in nfsd_proc_create()
|
D | nfs3proc.c | 775 resp->status = nfsd_file_acquire_gc(rqstp, &resp->fh, NFSD_MAY_WRITE | in nfsd3_proc_commit()
|
D | trace.h | 73 { NFSD_MAY_WRITE, "WRITE" }, \
|
D | nfs4state.c | 5136 flags |= NFSD_MAY_WRITE; in nfs4_access_to_access() 6380 int acc = (flags & RD_STATE) ? NFSD_MAY_READ : NFSD_MAY_WRITE; in nfs4_check_file()
|