Lines Matching refs:htonl
63 return htonl(NFS4_OK); in nfs4_callback_null()
93 return htonl(NFS4ERR_RESOURCE); in decode_fh()
96 return htonl(NFS4ERR_BADHANDLE); in decode_fh()
99 return htonl(NFS4ERR_RESOURCE); in decode_fh()
112 return htonl(NFS4ERR_RESOURCE); in decode_bitmap()
116 return htonl(NFS4ERR_RESOURCE); in decode_bitmap()
130 return htonl(NFS4ERR_RESOURCE); in decode_stateid()
151 return htonl(NFS4ERR_RESOURCE); in decode_compound_hdr_arg()
160 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in decode_compound_hdr_arg()
171 return htonl(NFS4ERR_RESOURCE_HDR); in decode_op_hdr()
200 return htonl(NFS4ERR_RESOURCE); in decode_recall_args()
222 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
240 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
247 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
251 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
268 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
277 status = htonl(NFS4ERR_DELAY); in decode_devicenotify_args()
288 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
294 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
300 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
309 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
319 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
351 return htonl(NFS4ERR_RESOURCE); in decode_sessionid()
368 status = htonl(NFS4ERR_RESOURCE); in decode_rc_list()
410 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
424 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
453 return htonl(NFS4ERR_BADXDR); in decode_recallany_args()
472 return htonl(NFS4ERR_BADXDR); in decode_recallslot_args()
484 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
491 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
545 return htonl(NFS4ERR_RESOURCE); in decode_write_response()
583 return htonl(NFS4ERR_RESOURCE); in decode_offload_args()
608 return htonl(NFS4ERR_RESOURCE); in encode_attr_change()
621 return htonl(NFS4ERR_RESOURCE); in encode_attr_size()
632 return htonl(NFS4ERR_RESOURCE); in encode_attr_time()
634 *p = htonl(time->tv_nsec); in encode_attr_time()
658 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
664 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
674 return htonl(NFS4ERR_RESOURCE_HDR); in encode_op_hdr()
675 *p++ = htonl(op); in encode_op_hdr()
706 *savep = htonl((unsigned int)((char *)xdr->p - (char *)(savep+1))); in encode_getattr_res()
720 return htonl(NFS4ERR_RESOURCE); in encode_sessionid()
743 return htonl(NFS4ERR_RESOURCE); in encode_cb_sequence_res()
745 *p++ = htonl(res->csr_sequenceid); in encode_cb_sequence_res()
746 *p++ = htonl(res->csr_slotid); in encode_cb_sequence_res()
747 *p++ = htonl(res->csr_highestslotid); in encode_cb_sequence_res()
748 *p++ = htonl(res->csr_target_highestslotid); in encode_cb_sequence_res()
757 return htonl(NFS4ERR_SEQUENCE_POS); in preprocess_nfs41_op()
760 return htonl(NFS4ERR_OP_NOT_IN_SESSION); in preprocess_nfs41_op()
779 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs41_op()
782 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs41_op()
785 return htonl(NFS_OK); in preprocess_nfs41_op()
815 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs41_op()
828 if (status != htonl(NFS4ERR_OP_ILLEGAL)) in preprocess_nfs42_op()
833 return htonl(NFS_OK); in preprocess_nfs42_op()
835 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs42_op()
836 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs42_op()
842 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs42_op()
855 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs4_op()
858 return htonl(NFS_OK); in preprocess_nfs4_op()
886 status = htonl(NFS4ERR_MINOR_VERS_MISMATCH); in process_op()
889 if (status == htonl(NFS4ERR_OP_ILLEGAL)) in process_op()
907 status = htonl(NFS4ERR_RESOURCE); in process_op()
934 if (status == htonl(NFS4ERR_RESOURCE)) in nfs4_callback_compound()
965 if (unlikely(status == htonl(NFS4ERR_RESOURCE_HDR))) { in nfs4_callback_compound()
966 status = htonl(NFS4ERR_RESOURCE); in nfs4_callback_compound()
971 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()