Searched refs:pd_num (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/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 | 389 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd() 691 context ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq() 880 to_mpd(pd)->pd_num, in mthca_get_dma_mr() 955 to_mpd(pd)->pd_num, in mthca_reg_phys_mr() 959 to_mpd(pd)->pd_num, in mthca_reg_phys_mr() 1061 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, shift, virt, length, in mthca_reg_user_mr() 1103 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 | 103 context->state_pd = cpu_to_be32(pd->pd_num); in mthca_tavor_init_srq_context() 137 context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num); in mthca_arbel_init_srq_context()
|
D | mthca_allocator.c | 260 err = mthca_mr_alloc_phys(dev, pd->pd_num, in mthca_buf_alloc()
|
D | mthca_av.c | 201 av->port_pd = cpu_to_be32(pd->pd_num | (ah_attr->port_num << 24)); in mthca_create_ah()
|
D | mthca_qp.c | 691 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
|
/linux-3.4.99/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 775 u32 pd_num = 0; in nes_alloc_pd() local 783 nesadapter->max_pd, &pd_num, &nesadapter->next_pd); in nes_alloc_pd() 790 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num); in nes_alloc_pd() 797 nespd->pd_id = (pd_num << (PAGE_SHIFT-12)) + nesadapter->base_pd; in nes_alloc_pd() 807 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num); in nes_alloc_pd() 815 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num); in nes_alloc_pd()
|