Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfs4xdr.c3463 __be32 nfserr; in nfsd4_encode_dirent_fattr() local
3493 nfserr = nfserrno(err); in nfsd4_encode_dirent_fattr()
3496 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
3497 if (nfserr) in nfsd4_encode_dirent_fattr()
3502 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
3507 return nfserr; in nfsd4_encode_dirent_fattr()
3511 nfsd4_encode_rdattr_error(struct xdr_stream *xdr, __be32 nfserr) in nfsd4_encode_rdattr_error() argument
3523 *p++ = nfserr; /* no htonl */ in nfsd4_encode_rdattr_error()
3538 __be32 nfserr = nfserr_toosmall; in nfsd4_encode_dirent() local
3565 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent()
[all …]
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.c1712 static void nfsd4_send_cb_offload(struct nfsd4_copy *copy, __be32 nfserr) in nfsd4_send_cb_offload() argument
1722 cbo->co_nfserr = nfserr; in nfsd4_send_cb_offload()
1727 &cbo->co_fh, copy->cp_count, nfserr); in nfsd4_send_cb_offload()
1741 __be32 nfserr; in nfsd4_do_async_copy() local
1751 nfserr = nfserr_wrong_type; in nfsd4_do_async_copy()
1754 nfserr = nfserr_offload_denied; in nfsd4_do_async_copy()
1759 nfserr = nfsd4_do_copy(copy, filp, copy->nf_dst->nf_file, in nfsd4_do_async_copy()
1763 nfserr = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_do_async_copy()
1768 nfsd4_send_cb_offload(copy, nfserr); in nfsd4_do_async_copy()
2139 __be32 nfserr; in nfsd4_getdeviceinfo() local
[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()
Dvfs.c1017 __be32 nfserr; in nfsd_vfs_write() local
1083 nfserr = nfs_ok; in nfsd_vfs_write()
1086 nfserr = nfserrno(host_err); in nfsd_vfs_write()
1090 return nfserr; in nfsd_vfs_write()
Dnfsproc.c859 __be32 nfserr; in nfserrno() member
907 return nfs_errtbl[i].nfserr; in nfserrno()
Dxdr4.h850 extern void nfsd4_bump_seqid(struct nfsd4_compound_state *, __be32 nfserr);
Dnfs4state.c1704 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument
1708 if (nfserr == nfserr_replay_me) in nfsd4_bump_seqid()
1711 if (!seqid_mutating_err(ntohl(nfserr))) { in nfsd4_bump_seqid()
3431 struct nfsd4_clid_slot *slot, __be32 nfserr) in nfsd4_cache_create_session() argument
3433 slot->sl_status = nfserr; in nfsd4_cache_create_session()
/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 …]
/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()