Lines Matching refs:rsv_cq
2630 free_mr->rsv_cq = to_hr_cq(cq); in free_mr_init_cq()
2631 free_mr->rsv_cq->ib_cq.device = &hr_dev->ib_dev; in free_mr_init_cq()
2632 free_mr->rsv_cq->ib_cq.uobject = NULL; in free_mr_init_cq()
2633 free_mr->rsv_cq->ib_cq.comp_handler = NULL; in free_mr_init_cq()
2634 free_mr->rsv_cq->ib_cq.event_handler = NULL; in free_mr_init_cq()
2635 free_mr->rsv_cq->ib_cq.cq_context = NULL; in free_mr_init_cq()
2636 atomic_set(&free_mr->rsv_cq->ib_cq.usecnt, 0); in free_mr_init_cq()
2688 if (free_mr->rsv_cq) { in free_mr_exit()
2689 hns_roce_destroy_cq(&free_mr->rsv_cq->ib_cq, NULL); in free_mr_exit()
2690 kfree(free_mr->rsv_cq); in free_mr_exit()
2691 free_mr->rsv_cq = NULL; in free_mr_exit()
3475 npolled = hns_roce_v2_poll_cq(&free_mr->rsv_cq->ib_cq, cqe_cnt, wc); in free_mr_send_cmd_to_hw()