Searched refs:pd_num (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/mthca/ |
D | mthca_pd.c | 46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); in mthca_pd_alloc() 47 if (pd->pd_num == -1) in mthca_pd_alloc() 51 err = mthca_mr_alloc_notrans(dev, pd->pd_num, in mthca_pd_alloc() 56 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_alloc() 66 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_free()
|
D | mthca_provider.c | 377 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd() 652 udata ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq() 841 to_mpd(pd)->pd_num, in mthca_get_dma_mr() 932 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr() 973 err = mthca_fmr_alloc(to_mdev(pd->device), to_mpd(pd)->pd_num, in mthca_alloc_fmr()
|
D | mthca_provider.h | 99 u32 pd_num; member
|
D | mthca_eq.c | 518 err = mthca_mr_alloc_phys(dev, dev->driver_pd.pd_num, in mthca_create_eq() 537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq() 540 eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()
|
D | mthca_srq.c | 109 context->state_pd = cpu_to_be32(pd->pd_num); in mthca_tavor_init_srq_context() 144 context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num); in mthca_arbel_init_srq_context()
|
D | mthca_allocator.c | 262 err = mthca_mr_alloc_phys(dev, pd->pd_num, in mthca_buf_alloc()
|
D | mthca_av.c | 199 av->port_pd = cpu_to_be32(pd->pd_num | in mthca_create_ah()
|
D | mthca_qp.c | 709 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
|