Lines Matching refs:pd
63 struct ib_mr *ipath_get_dma_mr(struct ib_pd *pd, int acc) in ipath_get_dma_mr() argument
132 struct ib_mr *ipath_reg_phys_mr(struct ib_pd *pd, in ipath_reg_phys_mr() argument
140 mr = alloc_mr(num_phys_buf, &to_idev(pd->device)->lk_table); in ipath_reg_phys_mr()
146 mr->mr.pd = pd; in ipath_reg_phys_mr()
185 struct ib_mr *ipath_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in ipath_reg_user_mr() argument
200 umem = ib_umem_get(pd->uobject->context, start, length, in ipath_reg_user_mr()
206 mr = alloc_mr(n, &to_idev(pd->device)->lk_table); in ipath_reg_user_mr()
213 mr->mr.pd = pd; in ipath_reg_user_mr()
282 struct ib_fmr *ipath_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in ipath_alloc_fmr() argument
308 if (!ipath_alloc_lkey(&to_idev(pd->device)->lk_table, &fmr->mr)) in ipath_alloc_fmr()
315 fmr->mr.pd = pd; in ipath_alloc_fmr()