Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfsd/
Dnfs4xdr.c3461 __be32 nfserr; in nfsd4_encode_dirent_fattr() local
3491 nfserr = nfserrno(err); in nfsd4_encode_dirent_fattr()
3494 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
3495 if (nfserr) in nfsd4_encode_dirent_fattr()
3500 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
3505 return nfserr; in nfsd4_encode_dirent_fattr()
3509 nfsd4_encode_rdattr_error(struct xdr_stream *xdr, __be32 nfserr) in nfsd4_encode_rdattr_error() argument
3521 *p++ = nfserr; /* no htonl */ in nfsd4_encode_rdattr_error()
3536 __be32 nfserr = nfserr_toosmall; in nfsd4_encode_dirent() local
3563 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent()
[all …]
Dlockd.c31 __be32 nfserr; in nlm_fopen() local
43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp); in nlm_fopen()
48 switch (nfserr) { in nlm_fopen()
Dnfs4layouts.c388 __be32 nfserr = nfs_ok; in nfsd4_recall_conflict() local
395 nfserr = nfserr_recallconflict; in nfsd4_recall_conflict()
399 return nfserr; in nfsd4_recall_conflict()
408 __be32 nfserr; in nfsd4_insert_layout() local
411 nfserr = nfsd4_recall_conflict(ls); in nfsd4_insert_layout()
412 if (nfserr) in nfsd4_insert_layout()
429 nfserr = nfsd4_recall_conflict(ls); in nfsd4_insert_layout()
430 if (nfserr) in nfsd4_insert_layout()
448 return nfserr; in nfsd4_insert_layout()
497 __be32 nfserr; in nfsd4_return_file_layouts() local
[all …]
Dnfs4proc.c1731 static void nfsd4_send_cb_offload(struct nfsd4_copy *copy, __be32 nfserr) in nfsd4_send_cb_offload() argument
1741 cbo->co_nfserr = nfserr; in nfsd4_send_cb_offload()
1746 &cbo->co_fh, copy->cp_count, nfserr); in nfsd4_send_cb_offload()
1760 __be32 nfserr; in nfsd4_do_async_copy() local
1770 nfserr = nfserr_wrong_type; in nfsd4_do_async_copy()
1773 nfserr = nfserr_offload_denied; in nfsd4_do_async_copy()
1778 nfserr = nfsd4_do_copy(copy, filp, copy->nf_dst->nf_file, in nfsd4_do_async_copy()
1782 nfserr = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_do_async_copy()
1788 nfsd4_send_cb_offload(copy, nfserr); in nfsd4_do_async_copy()
2155 __be32 nfserr; in nfsd4_getdeviceinfo() local
[all …]
Dnfsproc.c859 __be32 nfserr; in nfserrno() member
907 return nfs_errtbl[i].nfserr; in nfserrno()
Dvfs.c1000 __be32 nfserr; in nfsd_vfs_write() local
1064 nfserr = nfs_ok; in nfsd_vfs_write()
1067 nfserr = nfserrno(host_err); in nfsd_vfs_write()
1071 return nfserr; in nfsd_vfs_write()
Dxdr4.h850 extern void nfsd4_bump_seqid(struct nfsd4_compound_state *, __be32 nfserr);
Dnfs4state.c1703 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument
1707 if (nfserr == nfserr_replay_me) in nfsd4_bump_seqid()
1710 if (!seqid_mutating_err(ntohl(nfserr))) { in nfsd4_bump_seqid()
3430 struct nfsd4_clid_slot *slot, __be32 nfserr) in nfsd4_cache_create_session() argument
3432 slot->sl_status = nfserr; in nfsd4_cache_create_session()
/linux-6.1.9/fs/lockd/
Dsvcsubs.c90 __be32 nfserr; in nlm_do_fopen() local
94 nfserr = nlmsvc_ops->fopen(rqstp, &file->f_handle, fp, mode); in nlm_do_fopen()
95 if (nfserr) in nlm_do_fopen()
96 dprintk("lockd: open failed (error %d)\n", nfserr); in nlm_do_fopen()
97 return nfserr; in nlm_do_fopen()
110 __be32 nfserr; in nlm_lookup_file() local
124 nfserr = nlm_do_fopen(rqstp, file, mode); in nlm_lookup_file()
130 nfserr = nlm_lck_denied_nolocks; in nlm_lookup_file()
140 nfserr = nlm_do_fopen(rqstp, file, mode); in nlm_lookup_file()
141 if (nfserr) in nlm_lookup_file()
[all …]
/linux-6.1.9/fs/nfs/
Dnfs4xdr.c3214 int32_t nfserr; in __decode_op_hdr() local
3227 nfserr = be32_to_cpup(p); in __decode_op_hdr()
3228 trace_nfs4_xdr_status(xdr, opnum, nfserr); in __decode_op_hdr()
3229 *nfs_retval = nfs4_stat_to_errno(nfserr); in __decode_op_hdr()
5478 int32_t nfserr; in decode_setclientid() local
5489 nfserr = be32_to_cpup(p); in decode_setclientid()
5490 if (nfserr == NFS_OK) { in decode_setclientid()
5496 } else if (nfserr == NFSERR_CLID_INUSE) { in decode_setclientid()
5518 return nfs4_stat_to_errno(nfserr); in decode_setclientid()