Lines Matching refs:recv_cq
534 struct ib_cq *recv_cq, *send_cq; in srp_create_ch_ib() local
545 recv_cq = ib_alloc_cq(dev->dev, ch, target->queue_size + 1, in srp_create_ch_ib()
547 if (IS_ERR(recv_cq)) { in srp_create_ch_ib()
548 ret = PTR_ERR(recv_cq); in srp_create_ch_ib()
567 init_attr->recv_cq = recv_cq; in srp_create_ch_ib()
602 if (ch->recv_cq) in srp_create_ch_ib()
603 ib_free_cq(ch->recv_cq); in srp_create_ch_ib()
608 ch->recv_cq = recv_cq; in srp_create_ch_ib()
630 ib_free_cq(recv_cq); in srp_create_ch_ib()
673 ib_free_cq(ch->recv_cq); in srp_free_ch_ib()
684 ch->send_cq = ch->recv_cq = NULL; in srp_free_ch_ib()