Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
svc_rdma_marshal.c File Reference
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/debug.h>
#include <asm/unaligned.h>
#include <linux/sunrpc/rpc_rdma.h>
#include <linux/sunrpc/svc_rdma.h>

Go to the source code of this file.

Macros

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT
 

Functions

void svc_rdma_rcl_chunk_counts (struct rpcrdma_read_chunk *ch, int *ch_count, int *byte_count)
 
int svc_rdma_xdr_decode_req (struct rpcrdma_msg **rdma_req, struct svc_rqst *rqstp)
 
int svc_rdma_xdr_decode_deferred_req (struct svc_rqst *rqstp)
 
int svc_rdma_xdr_encode_error (struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp, enum rpcrdma_errcode err, u32 *va)
 
int svc_rdma_xdr_get_reply_hdr_len (struct rpcrdma_msg *rmsgp)
 
void svc_rdma_xdr_encode_write_list (struct rpcrdma_msg *rmsgp, int chunks)
 
void svc_rdma_xdr_encode_reply_array (struct rpcrdma_write_array *ary, int chunks)
 
void svc_rdma_xdr_encode_array_chunk (struct rpcrdma_write_array *ary, int chunk_no, __be32 rs_handle, __be64 rs_offset, u32 write_len)
 
void svc_rdma_xdr_encode_reply_header (struct svcxprt_rdma *xprt, struct rpcrdma_msg *rdma_argp, struct rpcrdma_msg *rdma_resp, enum rpcrdma_proc rdma_type)
 

Macro Definition Documentation

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT

Definition at line 48 of file svc_rdma_marshal.c.

Function Documentation

void svc_rdma_rcl_chunk_counts ( struct rpcrdma_read_chunk ch,
int ch_count,
int byte_count 
)

Definition at line 77 of file svc_rdma_marshal.c.

int svc_rdma_xdr_decode_deferred_req ( struct svc_rqst rqstp)

Definition at line 222 of file svc_rdma_marshal.c.

int svc_rdma_xdr_decode_req ( struct rpcrdma_msg **  rdma_req,
struct svc_rqst rqstp 
)

Definition at line 156 of file svc_rdma_marshal.c.

void svc_rdma_xdr_encode_array_chunk ( struct rpcrdma_write_array ary,
int  chunk_no,
__be32  rs_handle,
__be64  rs_offset,
u32  write_len 
)

Definition at line 352 of file svc_rdma_marshal.c.

int svc_rdma_xdr_encode_error ( struct svcxprt_rdma xprt,
struct rpcrdma_msg rmsgp,
enum rpcrdma_errcode  err,
u32 va 
)

Definition at line 278 of file svc_rdma_marshal.c.

void svc_rdma_xdr_encode_reply_array ( struct rpcrdma_write_array ary,
int  chunks 
)

Definition at line 345 of file svc_rdma_marshal.c.

void svc_rdma_xdr_encode_reply_header ( struct svcxprt_rdma xprt,
struct rpcrdma_msg rdma_argp,
struct rpcrdma_msg rdma_resp,
enum rpcrdma_proc  rdma_type 
)

Definition at line 364 of file svc_rdma_marshal.c.

void svc_rdma_xdr_encode_write_list ( struct rpcrdma_msg rmsgp,
int  chunks 
)

Definition at line 325 of file svc_rdma_marshal.c.

int svc_rdma_xdr_get_reply_hdr_len ( struct rpcrdma_msg rmsgp)

Definition at line 297 of file svc_rdma_marshal.c.