ocrdma_ucontext
struct ocrdma_ucontext *ucontext;
struct ocrdma_ucontext *uctx;
static inline struct ocrdma_ucontext *get_ocrdma_ucontext(struct ib_ucontext
return container_of(ibucontext, struct ocrdma_ucontext, ibucontext);
INIT_RDMA_OBJ_SIZE(ib_ucontext, ocrdma_ucontext, ibucontext),
static int ocrdma_add_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr,
static void ocrdma_del_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr,
static bool ocrdma_search_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr,
struct ocrdma_ucontext *uctx,
static inline int is_ucontext_pd(struct ocrdma_ucontext *uctx,
struct ocrdma_ucontext *uctx,
static void ocrdma_dealloc_ucontext_pd(struct ocrdma_ucontext *uctx)
static struct ocrdma_pd *ocrdma_get_ucontext_pd(struct ocrdma_ucontext *uctx)
static void ocrdma_release_ucontext_pd(struct ocrdma_ucontext *uctx)
struct ocrdma_ucontext *ctx = get_ocrdma_ucontext(uctx);
struct ocrdma_ucontext *uctx = get_ocrdma_ucontext(ibctx);
struct ocrdma_ucontext *ucontext = get_ocrdma_ucontext(context);
struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context(
udata, struct ocrdma_ucontext, ibucontext);
struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context(
udata, struct ocrdma_ucontext, ibucontext);
struct ocrdma_ucontext *uctx = NULL;
struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context(
udata, struct ocrdma_ucontext, ibucontext);
struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context(
udata, struct ocrdma_ucontext, ibucontext);