Lines Matching refs:ibpd

435 int qedr_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata)  in qedr_alloc_pd()  argument
437 struct ib_device *ibdev = ibpd->device; in qedr_alloc_pd()
439 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_alloc_pd()
478 int qedr_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_dealloc_pd() argument
480 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_dealloc_pd()
481 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_dealloc_pd()
1189 static int qedr_check_qp_attrs(struct ib_pd *ibpd, struct qedr_dev *dev, in qedr_check_qp_attrs() argument
1840 struct ib_pd *ibpd, in qedr_create_user_qp() argument
1855 if (ibpd) { in qedr_create_user_qp()
1856 pd = get_qedr_pd(ibpd); in qedr_create_user_qp()
2151 struct ib_pd *ibpd, in qedr_create_kernel_qp() argument
2155 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_create_kernel_qp()
2251 struct ib_pd *ibpd = ibqp->pd; in qedr_create_qp() local
2252 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_create_qp()
2263 pd = get_qedr_pd(ibpd); in qedr_create_qp()
2268 rc = qedr_check_qp_attrs(ibpd, dev, attrs, udata); in qedr_create_qp()
2286 rc = qedr_create_user_qp(dev, qp, ibpd, udata, attrs); in qedr_create_qp()
2288 rc = qedr_create_kernel_qp(dev, qp, ibpd, attrs); in qedr_create_qp()
2940 struct ib_mr *qedr_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 len, in qedr_reg_user_mr() argument
2943 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_reg_user_mr()
2948 pd = get_qedr_pd(ibpd); in qedr_reg_user_mr()
2962 mr->umem = ib_umem_get(ibpd->device, start, len, acc); in qedr_reg_user_mr()
3052 static struct qedr_mr *__qedr_alloc_mr(struct ib_pd *ibpd, in __qedr_alloc_mr() argument
3055 struct qedr_pd *pd = get_qedr_pd(ibpd); in __qedr_alloc_mr()
3056 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in __qedr_alloc_mr()
3122 struct ib_mr *qedr_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type, in qedr_alloc_mr() argument
3130 mr = __qedr_alloc_mr(ibpd, max_num_sg); in qedr_alloc_mr()
3196 struct ib_mr *qedr_get_dma_mr(struct ib_pd *ibpd, int acc) in qedr_get_dma_mr() argument
3198 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_get_dma_mr()
3199 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_get_dma_mr()