Searched refs:pd_num (Results 1 - 9 of 9) sorted by relevance

/drivers/infiniband/hw/mthca/
H A Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc);
47 if (pd->pd_num == -1)
51 err = mthca_mr_alloc_notrans(dev, pd->pd_num,
56 mthca_free(&dev->pd_table.alloc, pd->pd_num);
66 mthca_free(&dev->pd_table.alloc, pd->pd_num);
H A Dmthca_provider.h99 u32 pd_num; member in struct:mthca_pd
H A Dmthca_provider.c389 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) {
691 context ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num,
879 to_mpd(pd)->pd_num,
954 to_mpd(pd)->pd_num,
958 to_mpd(pd)->pd_num,
1060 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, shift, virt, length,
1102 err = mthca_fmr_alloc(to_mdev(pd->device), to_mpd(pd)->pd_num,
H A Dmthca_srq.c103 context->state_pd = cpu_to_be32(pd->pd_num);
137 context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num);
H A Dmthca_allocator.c260 err = mthca_mr_alloc_phys(dev, pd->pd_num,
H A Dmthca_av.c201 av->port_pd = cpu_to_be32(pd->pd_num | (ah_attr->port_num << 24));
H A Dmthca_eq.c518 err = mthca_mr_alloc_phys(dev, dev->driver_pd.pd_num,
537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num);
540 eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num);
H A Dmthca_qp.c691 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num);
/drivers/infiniband/hw/nes/
H A Dnes_verbs.c775 u32 pd_num = 0; local
783 nesadapter->max_pd, &pd_num, &nesadapter->next_pd);
790 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num);
797 nespd->pd_id = (pd_num << (PAGE_SHIFT-12)) + nesadapter->base_pd;
807 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num);
815 nes_free_resource(nesadapter, nesadapter->allocated_pds, pd_num);

Completed in 73 milliseconds