Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4xdr.c3296 __be32 nfserr; in nfsd4_encode_dirent_fattr() local
3326 nfserr = nfserrno(err); in nfsd4_encode_dirent_fattr()
3329 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
3330 if (nfserr) in nfsd4_encode_dirent_fattr()
3335 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
3340 return nfserr; in nfsd4_encode_dirent_fattr()
3344 nfsd4_encode_rdattr_error(struct xdr_stream *xdr, __be32 nfserr) in nfsd4_encode_rdattr_error() argument
3356 *p++ = nfserr; /* no htonl */ in nfsd4_encode_rdattr_error()
3371 __be32 nfserr = nfserr_toosmall; in nfsd4_encode_dirent() local
3398 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent()
[all …]
Dlockd.c30 __be32 nfserr; in nlm_fopen() local
39 nfserr = nfsd_open(rqstp, &fh, S_IFREG, NFSD_MAY_LOCK, filp); in nlm_fopen()
44 switch (nfserr) { in nlm_fopen()
Dnfs4layouts.c387 __be32 nfserr = nfs_ok; in nfsd4_recall_conflict() local
394 nfserr = nfserr_recallconflict; in nfsd4_recall_conflict()
398 return nfserr; in nfsd4_recall_conflict()
407 __be32 nfserr; in nfsd4_insert_layout() local
410 nfserr = nfsd4_recall_conflict(ls); in nfsd4_insert_layout()
411 if (nfserr) in nfsd4_insert_layout()
428 nfserr = nfsd4_recall_conflict(ls); in nfsd4_insert_layout()
429 if (nfserr) in nfsd4_insert_layout()
447 return nfserr; in nfsd4_insert_layout()
496 __be32 nfserr; in nfsd4_return_file_layouts() local
[all …]
Dnfs4proc.c1461 copy->nfserr = nfserr_serverfault; in nfsd4_do_async_copy()
1468 copy->nfserr = nfserr_offload_denied; in nfsd4_do_async_copy()
1474 copy->nfserr = nfsd4_do_copy(copy, 0); in nfsd4_do_async_copy()
1482 cb_copy->nfserr = copy->nfserr; in nfsd4_do_async_copy()
1851 __be32 nfserr; in nfsd4_getdeviceinfo() local
1872 nfserr = nfserr_layoutunavailable; in nfsd4_getdeviceinfo()
1877 nfserr = nfs_ok; in nfsd4_getdeviceinfo()
1879 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()
1886 return nfserr; in nfsd4_getdeviceinfo()
1903 __be32 nfserr; in nfsd4_layoutget() local
[all …]
Dnfs4callback.c691 __be32 nfserr, in encode_offload_info4() argument
697 *p++ = nfserr; in encode_offload_info4()
698 if (!nfserr) { in encode_offload_info4()
713 __be32 nfserr, in encode_cb_offload4args() argument
724 encode_offload_info4(xdr, nfserr, cp); in encode_cb_offload4args()
743 encode_cb_offload4args(xdr, cp->nfserr, &cp->fh, cp, &hdr); in nfs4_xdr_enc_cb_offload()
Dxdr4.h564 __be32 nfserr; member
847 extern void nfsd4_bump_seqid(struct nfsd4_compound_state *, __be32 nfserr);
Dnfsproc.c807 __be32 nfserr; in nfserrno() member
851 return nfs_errtbl[i].nfserr; in nfserrno()
Dvfs.c992 __be32 nfserr; in nfsd_vfs_write() local
1060 nfserr = nfs_ok; in nfsd_vfs_write()
1063 nfserr = nfserrno(host_err); in nfsd_vfs_write()
1067 return nfserr; in nfsd_vfs_write()
Dnfs4state.c1583 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument
1587 if (nfserr == nfserr_replay_me) in nfsd4_bump_seqid()
1590 if (!seqid_mutating_err(ntohl(nfserr))) { in nfsd4_bump_seqid()
3264 struct nfsd4_clid_slot *slot, __be32 nfserr) in nfsd4_cache_create_session() argument
3266 slot->sl_status = nfserr; in nfsd4_cache_create_session()
/kernel/linux/linux-5.10/fs/lockd/
Dsvcsubs.c89 __be32 nfserr; in nlm_lookup_file() local
104 nfserr = nlm_lck_denied_nolocks; in nlm_lookup_file()
120 if ((nfserr = nlmsvc_ops->fopen(rqstp, f, &file->f_file)) != 0) { in nlm_lookup_file()
121 dprintk("lockd: open failed (error %d)\n", nfserr); in nlm_lookup_file()
131 nfserr = 0; in nlm_lookup_file()
135 return nfserr; in nlm_lookup_file()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4xdr.c3183 int32_t nfserr; in __decode_op_hdr() local
3196 nfserr = be32_to_cpup(p); in __decode_op_hdr()
3197 trace_nfs4_xdr_status(xdr, opnum, nfserr); in __decode_op_hdr()
3198 *nfs_retval = nfs4_stat_to_errno(nfserr); in __decode_op_hdr()
5370 int32_t nfserr; in decode_setclientid() local
5381 nfserr = be32_to_cpup(p); in decode_setclientid()
5382 if (nfserr == NFS_OK) { in decode_setclientid()
5388 } else if (nfserr == NFSERR_CLID_INUSE) { in decode_setclientid()
5410 return nfs4_stat_to_errno(nfserr); in decode_setclientid()