Lines Matching refs:htonl
63 return htonl(NFS4_OK); in nfs4_callback_null()
94 return htonl(NFS4ERR_RESOURCE); in decode_fh()
97 return htonl(NFS4ERR_BADHANDLE); in decode_fh()
100 return htonl(NFS4ERR_RESOURCE); in decode_fh()
113 return htonl(NFS4ERR_RESOURCE); in decode_bitmap()
117 return htonl(NFS4ERR_RESOURCE); in decode_bitmap()
131 return htonl(NFS4ERR_RESOURCE); in decode_stateid()
152 return htonl(NFS4ERR_RESOURCE); in decode_compound_hdr_arg()
161 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in decode_compound_hdr_arg()
172 return htonl(NFS4ERR_RESOURCE_HDR); in decode_op_hdr()
201 return htonl(NFS4ERR_RESOURCE); in decode_recall_args()
223 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
241 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
248 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
252 return htonl(NFS4ERR_BADXDR); in decode_layoutrecall_args()
269 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
278 status = htonl(NFS4ERR_DELAY); in decode_devicenotify_args()
289 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
295 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
301 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
310 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
320 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
352 return htonl(NFS4ERR_RESOURCE); in decode_sessionid()
369 status = htonl(NFS4ERR_RESOURCE); in decode_rc_list()
411 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
425 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
454 return htonl(NFS4ERR_BADXDR); in decode_recallany_args()
473 return htonl(NFS4ERR_BADXDR); in decode_recallslot_args()
485 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
492 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
546 return htonl(NFS4ERR_RESOURCE); in decode_write_response()
584 return htonl(NFS4ERR_RESOURCE); in decode_offload_args()
609 return htonl(NFS4ERR_RESOURCE); in encode_attr_change()
622 return htonl(NFS4ERR_RESOURCE); in encode_attr_size()
633 return htonl(NFS4ERR_RESOURCE); in encode_attr_time()
635 *p = htonl(time->tv_nsec); in encode_attr_time()
659 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
665 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
675 return htonl(NFS4ERR_RESOURCE_HDR); in encode_op_hdr()
676 *p++ = htonl(op); in encode_op_hdr()
707 *savep = htonl((unsigned int)((char *)xdr->p - (char *)(savep+1))); in encode_getattr_res()
721 return htonl(NFS4ERR_RESOURCE); in encode_sessionid()
744 return htonl(NFS4ERR_RESOURCE); in encode_cb_sequence_res()
746 *p++ = htonl(res->csr_sequenceid); in encode_cb_sequence_res()
747 *p++ = htonl(res->csr_slotid); in encode_cb_sequence_res()
748 *p++ = htonl(res->csr_highestslotid); in encode_cb_sequence_res()
749 *p++ = htonl(res->csr_target_highestslotid); in encode_cb_sequence_res()
758 return htonl(NFS4ERR_SEQUENCE_POS); in preprocess_nfs41_op()
761 return htonl(NFS4ERR_OP_NOT_IN_SESSION); in preprocess_nfs41_op()
780 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs41_op()
783 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs41_op()
786 return htonl(NFS_OK); in preprocess_nfs41_op()
816 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs41_op()
829 if (status != htonl(NFS4ERR_OP_ILLEGAL)) in preprocess_nfs42_op()
834 return htonl(NFS_OK); in preprocess_nfs42_op()
836 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs42_op()
837 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs42_op()
843 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs42_op()
856 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs4_op()
859 return htonl(NFS_OK); in preprocess_nfs4_op()
888 status = htonl(NFS4ERR_MINOR_VERS_MISMATCH); in process_op()
891 if (status == htonl(NFS4ERR_OP_ILLEGAL)) in process_op()
907 status = htonl(NFS4ERR_RESOURCE); in process_op()
941 if (status == htonl(NFS4ERR_RESOURCE)) in nfs4_callback_compound()
974 if (unlikely(status == htonl(NFS4ERR_RESOURCE_HDR))) { in nfs4_callback_compound()
975 status = htonl(NFS4ERR_RESOURCE); in nfs4_callback_compound()
980 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()