Lines Matching refs:__be32
45 typedef __be32 (*callback_process_op_t)(void *, void *,
47 typedef __be32 (*callback_decode_arg_t)(struct svc_rqst *, struct xdr_stream *, void *);
48 typedef __be32 (*callback_encode_res_t)(struct svc_rqst *, struct xdr_stream *, void *);
60 static __be32 nfs4_callback_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfs4_callback_null()
65 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_decode_void()
70 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_encode_void()
75 static __be32 *read_buf(struct xdr_stream *xdr, int nbytes) in read_buf()
77 __be32 *p; in read_buf()
85 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, const char **str) in decode_string()
87 __be32 *p; in decode_string()
105 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
107 __be32 *p; in decode_fh()
123 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
125 __be32 *p; in decode_bitmap()
142 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
144 __be32 *p; in decode_stateid()
153 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
155 __be32 *p; in decode_compound_hdr_arg()
156 __be32 status; in decode_compound_hdr_arg()
186 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
188 __be32 *p; in decode_op_hdr()
196 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args()
198 __be32 status; in decode_getattr_args()
209 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallar… in decode_recall_args()
211 __be32 *p; in decode_recall_args()
212 __be32 status; in decode_recall_args()
231 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, in decode_layoutrecall_args()
235 __be32 *p; in decode_layoutrecall_args()
236 __be32 status = 0; in decode_layoutrecall_args()
291 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, in decode_devicenotify_args()
295 __be32 *p; in decode_devicenotify_args()
296 __be32 status = 0; in decode_devicenotify_args()
381 static __be32 decode_sessionid(struct xdr_stream *xdr, in decode_sessionid()
384 __be32 *p; in decode_sessionid()
394 static __be32 decode_rc_list(struct xdr_stream *xdr, in decode_rc_list()
397 __be32 *p; in decode_rc_list()
399 __be32 status; in decode_rc_list()
432 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, in decode_cb_sequence_args()
436 __be32 *p; in decode_cb_sequence_args()
438 __be32 status; in decode_cb_sequence_args()
494 static __be32 decode_recallany_args(struct svc_rqst *rqstp, in decode_recallany_args()
499 __be32 *p, status; in decode_recallany_args()
513 static __be32 decode_recallslot_args(struct svc_rqst *rqstp, in decode_recallslot_args()
517 __be32 *p; in decode_recallslot_args()
528 static __be32 encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
530 __be32 *p; in encode_string()
541 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, __be32 **savep) in encode_attr_bitmap()
543 __be32 bm[2]; in encode_attr_bitmap()
544 __be32 *p; in encode_attr_bitmap()
571 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
573 __be32 *p; in encode_attr_change()
584 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
586 __be32 *p; in encode_attr_size()
597 static __be32 encode_attr_time(struct xdr_stream *xdr, const struct timespec *time) in encode_attr_time()
599 __be32 *p; in encode_attr_time()
609 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
616 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
623 static __be32 encode_compound_hdr_res(struct xdr_stream *xdr, struct cb_compound_hdr_res *hdr) in encode_compound_hdr_res()
625 __be32 status; in encode_compound_hdr_res()
639 static __be32 encode_op_hdr(struct xdr_stream *xdr, uint32_t op, __be32 res) in encode_op_hdr()
641 __be32 *p; in encode_op_hdr()
651 static __be32 encode_getattr_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, const struct cb_ge… in encode_getattr_res()
653 __be32 *savep = NULL; in encode_getattr_res()
654 __be32 status = res->status; in encode_getattr_res()
679 static __be32 encode_sessionid(struct xdr_stream *xdr, in encode_sessionid()
682 __be32 *p; in encode_sessionid()
692 static __be32 encode_cb_sequence_res(struct svc_rqst *rqstp, in encode_cb_sequence_res()
696 __be32 *p; in encode_cb_sequence_res()
697 __be32 status = res->csr_status; in encode_cb_sequence_res()
719 static __be32
777 static __be32
789 static __be32
792 __be32 status = preprocess_nfs41_op(nop, op_nr, op); in preprocess_nfs42_op()
801 static __be32
808 static __be32
823 static __be32 process_op(int nop, struct svc_rqst *rqstp, in process_op()
830 __be32 status; in process_op()
832 __be32 res; in process_op()
887 static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *resp) in nfs4_callback_compound()
892 __be32 *p, status; in nfs4_callback_compound()
905 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()