Lines Matching refs:beacon
148 mtx_lock(&ib_conn->beacon.flush_lock); in iser_handle_wc()
150 cv_signal(&ib_conn->beacon.flush_cv); in iser_handle_wc()
151 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_handle_wc()
642 mtx_lock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()
643 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr)); in iser_conn_terminate()
644 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID; in iser_conn_terminate()
645 ib_conn->beacon.send.opcode = IB_WR_SEND; in iser_conn_terminate()
647 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr); in iser_conn_terminate()
650 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()
655 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock); in iser_conn_terminate()
658 memset(&ib_conn->beacon.recv, 0, sizeof(struct ib_recv_wr)); in iser_conn_terminate()
659 ib_conn->beacon.recv.wr_id = ISER_BEACON_WRID; in iser_conn_terminate()
661 err = ib_post_recv(ib_conn->qp, &ib_conn->beacon.recv, &bad_recv_wr); in iser_conn_terminate()
664 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()
669 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock); in iser_conn_terminate()
670 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()