Home
last modified time | relevance | path

Searched refs:fh_verify (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dvfs.c257 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_lookup()
400 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
514 error = fh_verify(rqstp, fhp, 0 /* S_IFREG */, NFSD_MAY_SATTR); in nfsd4_set_nfs4_label()
673 error = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_access()
826 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
1349 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_NOP); in nfsd_create()
1401 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in do_nfsd_create()
1424 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in do_nfsd_create()
1558 err = fh_verify(rqstp, fhp, S_IFLNK, NFSD_MAY_NOP); in nfsd_readlink()
1603 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_symlink()
[all …]
H A Dnfs2acl.c41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl()
104 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
155 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getattr()
H A Dnfs3acl.c37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl()
94 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
H A Dnfs3proc.c51 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
519 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
598 resp->status = fh_verify(rqstp, &argp->fh, 0, in nfsd3_proc_fsinfo()
638 resp->status = fh_verify(rqstp, &argp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_pathconf()
H A Dnfs4proc.c195 status = fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
391 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in nfsd4_open()
514 ret = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_BYPASS_GSS); in nfsd4_putfh()
616 status = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_NOP); in nfsd4_create()
705 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in nfsd4_getattr()
898 err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_secinfo()
1762 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in _nfsd4_verify()
1928 nfserr = fh_verify(rqstp, current_fh, 0, accmode); in nfsd4_layoutget()
2002 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_WRITE); in nfsd4_layoutcommit()
2061 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_NOP); in nfsd4_layoutreturn()
H A Dnfsproc.c35 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr()
86 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr()
272 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
H A Dnfsfh.h167 __be32 fh_verify(struct svc_rqst *, struct svc_fh *, umode_t, int);
H A Dnfsfh.c328 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) in fh_verify() function
H A Dfilecache.c948 status = fh_verify(rqstp, fhp, S_IFREG, in nfsd_file_acquire()
H A Dnfs4acl.c766 error = fh_verify(rqstp, fhp, 0, NFSD_MAY_SATTR); in nfsd4_set_nfs4_acl()
H A Dnfs4state.c6109 status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0); in nfsd4_open_confirm()
6295 if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0))) in nfsd4_delegreturn()
6699 if ((status = fh_verify(rqstp, &cstate->current_fh, in nfsd4_lock()
6938 if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0))) in nfsd4_lockt()