Lines Matching refs:rsv_qp
2665 free_mr->rsv_qp[i] = hr_qp; in free_mr_init_qp()
2666 free_mr->rsv_qp[i]->ibqp.recv_cq = cq; in free_mr_init_qp()
2667 free_mr->rsv_qp[i]->ibqp.send_cq = cq; in free_mr_init_qp()
2679 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_exit()
2680 if (free_mr->rsv_qp[i]) { in free_mr_exit()
2681 qp = &free_mr->rsv_qp[i]->ibqp; in free_mr_exit()
2683 kfree(free_mr->rsv_qp[i]); in free_mr_exit()
2684 free_mr->rsv_qp[i] = NULL; in free_mr_exit()
2727 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_alloc_res()
2742 hns_roce_v2_destroy_qp(&free_mr->rsv_qp[i]->ibqp, NULL); in free_mr_alloc_res()
2743 kfree(free_mr->rsv_qp[i]); in free_mr_alloc_res()
2766 hr_qp = to_hr_qp(&free_mr->rsv_qp[sl_num]->ibqp); in free_mr_modify_rsv_qp()
2833 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_modify_qp()
3439 struct ib_wc wc[ARRAY_SIZE(free_mr->rsv_qp)]; in free_mr_send_cmd_to_hw()
3459 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_send_cmd_to_hw()
3460 hr_qp = free_mr->rsv_qp[i]; in free_mr_send_cmd_to_hw()