Lines Matching refs:__be32

43 typedef __be32 (*callback_process_op_t)(void *, void *,
45 typedef __be32 (*callback_decode_arg_t)(struct svc_rqst *, struct xdr_stream *, void *);
46 typedef __be32 (*callback_encode_res_t)(struct svc_rqst *, struct xdr_stream *, void *);
58 static __be32 nfs4_callback_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfs4_callback_null()
63 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_decode_void()
68 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_encode_void()
73 static __be32 *read_buf(struct xdr_stream *xdr, int nbytes) in read_buf()
75 __be32 *p; in read_buf()
83 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, const char **str) in decode_string()
85 __be32 *p; in decode_string()
103 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
105 __be32 *p; in decode_fh()
121 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
123 __be32 *p; in decode_bitmap()
140 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
142 __be32 *p; in decode_stateid()
151 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
153 __be32 *p; in decode_compound_hdr_arg()
154 __be32 status; in decode_compound_hdr_arg()
184 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
186 __be32 *p; in decode_op_hdr()
194 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args()
196 __be32 status; in decode_getattr_args()
208 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallar… in decode_recall_args()
210 __be32 *p; in decode_recall_args()
211 __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()
292 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, in decode_devicenotify_args()
296 __be32 *p; in decode_devicenotify_args()
297 __be32 status = 0; in decode_devicenotify_args()
382 static __be32 decode_sessionid(struct xdr_stream *xdr, in decode_sessionid()
385 __be32 *p; in decode_sessionid()
396 static __be32 decode_rc_list(struct xdr_stream *xdr, in decode_rc_list()
399 __be32 *p; in decode_rc_list()
401 __be32 status; in decode_rc_list()
434 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, in decode_cb_sequence_args()
438 __be32 *p; in decode_cb_sequence_args()
440 __be32 status; in decode_cb_sequence_args()
496 static __be32 decode_recallany_args(struct svc_rqst *rqstp, in decode_recallany_args()
501 __be32 *p, status; in decode_recallany_args()
516 static __be32 decode_recallslot_args(struct svc_rqst *rqstp, in decode_recallslot_args()
520 __be32 *p; in decode_recallslot_args()
532 static __be32 encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
534 __be32 *p; in encode_string()
545 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, __be32 **savep) in encode_attr_bitmap()
547 __be32 bm[2]; in encode_attr_bitmap()
548 __be32 *p; in encode_attr_bitmap()
575 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
577 __be32 *p; in encode_attr_change()
588 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
590 __be32 *p; in encode_attr_size()
601 static __be32 encode_attr_time(struct xdr_stream *xdr, const struct timespec *time) in encode_attr_time()
603 __be32 *p; in encode_attr_time()
613 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
620 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
627 static __be32 encode_compound_hdr_res(struct xdr_stream *xdr, struct cb_compound_hdr_res *hdr) in encode_compound_hdr_res()
629 __be32 status; in encode_compound_hdr_res()
643 static __be32 encode_op_hdr(struct xdr_stream *xdr, uint32_t op, __be32 res) in encode_op_hdr()
645 __be32 *p; in encode_op_hdr()
655 static __be32 encode_getattr_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, const struct cb_ge… in encode_getattr_res()
657 __be32 *savep = NULL; in encode_getattr_res()
658 __be32 status = res->status; in encode_getattr_res()
683 static __be32 encode_sessionid(struct xdr_stream *xdr, in encode_sessionid()
686 __be32 *p; in encode_sessionid()
697 static __be32 encode_cb_sequence_res(struct svc_rqst *rqstp, in encode_cb_sequence_res()
701 __be32 *p; in encode_cb_sequence_res()
702 __be32 status = res->csr_status; in encode_cb_sequence_res()
722 static __be32
780 static __be32
792 static __be32
795 __be32 status = preprocess_nfs41_op(nop, op_nr, op); in preprocess_nfs42_op()
804 static __be32
811 static __be32
826 static __be32 process_op(int nop, struct svc_rqst *rqstp, in process_op()
833 __be32 status; in process_op()
835 __be32 res; in process_op()
890 static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *resp) in nfs4_callback_compound()
895 __be32 *p, status; in nfs4_callback_compound()
908 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()