Lines Matching refs:ib_uctx
586 ret = rdma_user_mmap_entry_insert_exact(&uctx->ib_uctx, in bnxt_re_mmap_entry_insert()
594 ret = rdma_user_mmap_entry_insert(&uctx->ib_uctx, in bnxt_re_mmap_entry_insert()
639 udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_alloc_pd()
798 udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_create_ah()
1562 uctx = rdma_udata_to_drv_context(udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_create_qp()
1747 udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_init_user_srq()
1800 uctx = rdma_udata_to_drv_context(udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_create_srq()
2174 rdma_udata_to_drv_context(udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_modify_qp()
3008 rdma_udata_to_drv_context(udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_create_cq()
3171 uctx = rdma_udata_to_drv_context(udata, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_resize_cq()
4212 container_of(ctx, struct bnxt_re_ucontext, ib_uctx); in bnxt_re_alloc_ucontext()
4298 void bnxt_re_dealloc_ucontext(struct ib_ucontext *ib_uctx) in bnxt_re_dealloc_ucontext() argument
4300 struct bnxt_re_ucontext *uctx = container_of(ib_uctx, in bnxt_re_dealloc_ucontext()
4302 ib_uctx); in bnxt_re_dealloc_ucontext()
4347 int bnxt_re_mmap(struct ib_ucontext *ib_uctx, struct vm_area_struct *vma) in bnxt_re_mmap() argument
4349 struct bnxt_re_ucontext *uctx = container_of(ib_uctx, in bnxt_re_mmap()
4351 ib_uctx); in bnxt_re_mmap()
4357 rdma_entry = rdma_user_mmap_entry_get(&uctx->ib_uctx, vma); in bnxt_re_mmap()
4367 ret = rdma_user_mmap_io(ib_uctx, vma, pfn, PAGE_SIZE, in bnxt_re_mmap()
4373 ret = rdma_user_mmap_io(ib_uctx, vma, pfn, PAGE_SIZE, in bnxt_re_mmap()
4382 ret = rdma_user_mmap_io(ib_uctx, vma, pfn, PAGE_SIZE, in bnxt_re_mmap()
4417 uctx = container_of(ib_uverbs_get_ucontext(attrs), struct bnxt_re_ucontext, ib_uctx); in UVERBS_HANDLER()
4437 uctx = container_of(ib_uverbs_get_ucontext(attrs), struct bnxt_re_ucontext, ib_uctx); in UVERBS_HANDLER()
4572 struct ib_ucontext *ib_uctx; in UVERBS_HANDLER() local
4583 ib_uctx = ib_uverbs_get_ucontext(attrs); in UVERBS_HANDLER()
4584 if (IS_ERR(ib_uctx)) in UVERBS_HANDLER()
4585 return PTR_ERR(ib_uctx); in UVERBS_HANDLER()
4591 uctx = container_of(ib_uctx, struct bnxt_re_ucontext, ib_uctx); in UVERBS_HANDLER()