Home
last modified time | relevance | path

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

/fs/nfsd/
Dvfs.c421 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 …]
Dvfs.h19 #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)
Dlockd.c41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ; in nlm_fopen()
Dnfs4proc.c154 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()
Dfilecache.c30 #define NFSD_FILE_MAY_MASK (NFSD_MAY_READ|NFSD_MAY_WRITE)
Dnfsproc.c349 NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS); in nfsd_proc_create()
Dnfs3proc.c775 resp->status = nfsd_file_acquire_gc(rqstp, &resp->fh, NFSD_MAY_WRITE | in nfsd3_proc_commit()
Dtrace.h73 { NFSD_MAY_WRITE, "WRITE" }, \
Dnfs4state.c5136 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()