Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
verbs.c File Reference
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include "xprt_rdma.h"

Go to the source code of this file.

Functions

int rpcrdma_ia_open (struct rpcrdma_xprt *xprt, struct sockaddr *addr, int memreg)
 
void rpcrdma_ia_close (struct rpcrdma_ia *ia)
 
int rpcrdma_ep_create (struct rpcrdma_ep *ep, struct rpcrdma_ia *ia, struct rpcrdma_create_data_internal *cdata)
 
int rpcrdma_ep_destroy (struct rpcrdma_ep *ep, struct rpcrdma_ia *ia)
 
int rpcrdma_ep_connect (struct rpcrdma_ep *ep, struct rpcrdma_ia *ia)
 
int rpcrdma_ep_disconnect (struct rpcrdma_ep *ep, struct rpcrdma_ia *ia)
 
int rpcrdma_buffer_create (struct rpcrdma_buffer *buf, struct rpcrdma_ep *ep, struct rpcrdma_ia *ia, struct rpcrdma_create_data_internal *cdata)
 
void rpcrdma_buffer_destroy (struct rpcrdma_buffer *buf)
 
struct rpcrdma_req * rpcrdma_buffer_get (struct rpcrdma_buffer *buffers)
 
void rpcrdma_buffer_put (struct rpcrdma_req *req)
 
void rpcrdma_recv_buffer_get (struct rpcrdma_req *req)
 
void rpcrdma_recv_buffer_put (struct rpcrdma_rep *rep)
 
int rpcrdma_register_internal (struct rpcrdma_ia *ia, void *va, int len, struct ib_mr **mrp, struct ib_sge *iov)
 
int rpcrdma_deregister_internal (struct rpcrdma_ia *ia, struct ib_mr *mr, struct ib_sge *iov)
 
int rpcrdma_register_external (struct rpcrdma_mr_seg *seg, int nsegs, int writing, struct rpcrdma_xprt *r_xprt)
 
int rpcrdma_deregister_external (struct rpcrdma_mr_seg *seg, struct rpcrdma_xprt *r_xprt, void *r)
 
int rpcrdma_ep_post (struct rpcrdma_ia *ia, struct rpcrdma_ep *ep, struct rpcrdma_req *req)
 
int rpcrdma_ep_post_recv (struct rpcrdma_ia *ia, struct rpcrdma_ep *ep, struct rpcrdma_rep *rep)
 

Function Documentation

int rpcrdma_buffer_create ( struct rpcrdma_buffer *  buf,
struct rpcrdma_ep *  ep,
struct rpcrdma_ia *  ia,
struct rpcrdma_create_data_internal *  cdata 
)

Definition at line 966 of file verbs.c.

void rpcrdma_buffer_destroy ( struct rpcrdma_buffer *  buf)

Definition at line 1174 of file verbs.c.

struct rpcrdma_req* rpcrdma_buffer_get ( struct rpcrdma_buffer *  buffers)
read

Definition at line 1252 of file verbs.c.

void rpcrdma_buffer_put ( struct rpcrdma_req *  req)

Definition at line 1295 of file verbs.c.

int rpcrdma_deregister_external ( struct rpcrdma_mr_seg *  seg,
struct rpcrdma_xprt *  r_xprt,
void *  r 
)

Definition at line 1840 of file verbs.c.

int rpcrdma_deregister_internal ( struct rpcrdma_ia *  ia,
struct ib_mr *  mr,
struct ib_sge *  iov 
)

Definition at line 1429 of file verbs.c.

int rpcrdma_ep_connect ( struct rpcrdma_ep *  ep,
struct rpcrdma_ia *  ia 
)

Definition at line 825 of file verbs.c.

int rpcrdma_ep_create ( struct rpcrdma_ep *  ep,
struct rpcrdma_ia *  ia,
struct rpcrdma_create_data_internal *  cdata 
)

Definition at line 639 of file verbs.c.

int rpcrdma_ep_destroy ( struct rpcrdma_ep *  ep,
struct rpcrdma_ia *  ia 
)

Definition at line 790 of file verbs.c.

int rpcrdma_ep_disconnect ( struct rpcrdma_ep *  ep,
struct rpcrdma_ia *  ia 
)

Definition at line 943 of file verbs.c.

int rpcrdma_ep_post ( struct rpcrdma_ia *  ia,
struct rpcrdma_ep *  ep,
struct rpcrdma_req *  req 
)

Definition at line 1888 of file verbs.c.

int rpcrdma_ep_post_recv ( struct rpcrdma_ia *  ia,
struct rpcrdma_ep *  ep,
struct rpcrdma_rep *  rep 
)

Definition at line 1938 of file verbs.c.

void rpcrdma_ia_close ( struct rpcrdma_ia *  ia)

Definition at line 612 of file verbs.c.

int rpcrdma_ia_open ( struct rpcrdma_xprt *  xprt,
struct sockaddr *  addr,
int  memreg 
)

Definition at line 459 of file verbs.c.

void rpcrdma_recv_buffer_get ( struct rpcrdma_req *  req)

Definition at line 1344 of file verbs.c.

void rpcrdma_recv_buffer_put ( struct rpcrdma_rep *  rep)

Definition at line 1365 of file verbs.c.

int rpcrdma_register_external ( struct rpcrdma_mr_seg *  seg,
int  nsegs,
int  writing,
struct rpcrdma_xprt *  r_xprt 
)

Definition at line 1794 of file verbs.c.

int rpcrdma_register_internal ( struct rpcrdma_ia *  ia,
void *  va,
int  len,
struct ib_mr **  mrp,
struct ib_sge *  iov 
)

Definition at line 1381 of file verbs.c.