mlx4_ib_ucontext
static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext)
return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext);
int mlx4_ib_db_map_user(struct mlx4_ib_ucontext *context, unsigned long virt,
void mlx4_ib_db_unmap_user(struct mlx4_ib_ucontext *context, struct mlx4_db *db);
struct mlx4_ib_ucontext *context = rdma_udata_to_drv_context(
udata, struct mlx4_ib_ucontext, ibucontext);
struct mlx4_ib_ucontext *context = rdma_udata_to_drv_context(
udata, struct mlx4_ib_ucontext, ibucontext);
struct mlx4_ib_ucontext,
int mlx4_ib_db_map_user(struct mlx4_ib_ucontext *context, unsigned long virt,
void mlx4_ib_db_unmap_user(struct mlx4_ib_ucontext *context, struct mlx4_db *db)
struct mlx4_ib_ucontext *context = to_mucontext(uctx);
struct mlx4_ib_ucontext *context = to_mucontext(ibcontext);
struct mlx4_ib_ucontext *mcontext =
struct mlx4_ib_ucontext,
struct mlx4_ib_ucontext *ucontext = rdma_udata_to_drv_context(
udata, struct mlx4_ib_ucontext, ibucontext);
struct mlx4_ib_ucontext,
struct mlx4_ib_ucontext *ucontext = rdma_udata_to_drv_context(
udata, struct mlx4_ib_ucontext, ibucontext);