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()
270 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
277 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
283 status = htonl(NFS4ERR_DELAY); in decode_devicenotify_args()
294 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
300 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
306 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
315 status = htonl(NFS4ERR_INVAL); in decode_devicenotify_args()
325 status = htonl(NFS4ERR_BADXDR); in decode_devicenotify_args()
355 return htonl(NFS4ERR_RESOURCE); in decode_sessionid()
372 status = htonl(NFS4ERR_RESOURCE); in decode_rc_list()
414 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
428 return htonl(NFS4ERR_RESOURCE); in decode_cb_sequence_args()
457 return htonl(NFS4ERR_BADXDR); in decode_recallany_args()
476 return htonl(NFS4ERR_BADXDR); in decode_recallslot_args()
488 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
495 return htonl(NFS4ERR_BADXDR); in decode_lockowner()
549 return htonl(NFS4ERR_RESOURCE); in decode_write_response()
587 return htonl(NFS4ERR_RESOURCE); in decode_offload_args()
612 return htonl(NFS4ERR_RESOURCE); in encode_attr_change()
625 return htonl(NFS4ERR_RESOURCE); in encode_attr_size()
636 return htonl(NFS4ERR_RESOURCE); in encode_attr_time()
638 *p = htonl(time->tv_nsec); in encode_attr_time()
662 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
668 return htonl(NFS4ERR_RESOURCE); in encode_compound_hdr_res()
678 return htonl(NFS4ERR_RESOURCE_HDR); in encode_op_hdr()
679 *p++ = htonl(op); in encode_op_hdr()
710 *savep = htonl((unsigned int)((char *)xdr->p - (char *)(savep+1))); in encode_getattr_res()
724 return htonl(NFS4ERR_RESOURCE); in encode_sessionid()
747 return htonl(NFS4ERR_RESOURCE); in encode_cb_sequence_res()
749 *p++ = htonl(res->csr_sequenceid); in encode_cb_sequence_res()
750 *p++ = htonl(res->csr_slotid); in encode_cb_sequence_res()
751 *p++ = htonl(res->csr_highestslotid); in encode_cb_sequence_res()
752 *p++ = htonl(res->csr_target_highestslotid); in encode_cb_sequence_res()
761 return htonl(NFS4ERR_SEQUENCE_POS); in preprocess_nfs41_op()
764 return htonl(NFS4ERR_OP_NOT_IN_SESSION); in preprocess_nfs41_op()
783 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs41_op()
786 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs41_op()
789 return htonl(NFS_OK); in preprocess_nfs41_op()
819 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs41_op()
832 if (status != htonl(NFS4ERR_OP_ILLEGAL)) in preprocess_nfs42_op()
837 return htonl(NFS_OK); in preprocess_nfs42_op()
839 return htonl(NFS4ERR_NOTSUPP); in preprocess_nfs42_op()
840 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs42_op()
846 return htonl(NFS4ERR_MINOR_VERS_MISMATCH); in preprocess_nfs42_op()
859 return htonl(NFS4ERR_OP_ILLEGAL); in preprocess_nfs4_op()
862 return htonl(NFS_OK); in preprocess_nfs4_op()
890 status = htonl(NFS4ERR_MINOR_VERS_MISMATCH); in process_op()
893 if (status == htonl(NFS4ERR_OP_ILLEGAL)) in process_op()
911 status = htonl(NFS4ERR_RESOURCE); in process_op()
938 if (status == htonl(NFS4ERR_RESOURCE)) in nfs4_callback_compound()
969 if (unlikely(status == htonl(NFS4ERR_RESOURCE_HDR))) { in nfs4_callback_compound()
970 status = htonl(NFS4ERR_RESOURCE); in nfs4_callback_compound()
975 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()