Lines Matching refs:send_queue
1004 mad_send_wr->mad_list.mad_queue = &qp_info->send_queue; in ib_send_mad()
1031 spin_lock_irqsave(&qp_info->send_queue.lock, flags); in ib_send_mad()
1032 if (qp_info->send_queue.count < qp_info->send_queue.max_active) { in ib_send_mad()
1036 list = &qp_info->send_queue.list; in ib_send_mad()
1043 qp_info->send_queue.count++; in ib_send_mad()
1046 spin_unlock_irqrestore(&qp_info->send_queue.lock, flags); in ib_send_mad()
2273 struct ib_mad_queue *send_queue; in ib_mad_send_done() local
2288 send_queue = mad_list->mad_queue; in ib_mad_send_done()
2289 qp_info = send_queue->qp_info; in ib_mad_send_done()
2302 spin_lock_irqsave(&send_queue->lock, flags); in ib_mad_send_done()
2306 if (send_queue->count-- > send_queue->max_active) { in ib_mad_send_done()
2312 list_move_tail(&mad_list->list, &send_queue->list); in ib_mad_send_done()
2314 spin_unlock_irqrestore(&send_queue->lock, flags); in ib_mad_send_done()
2341 spin_lock_irqsave(&qp_info->send_queue.lock, flags); in mark_sends_for_retry()
2342 list_for_each_entry(mad_list, &qp_info->send_queue.list, list) { in mark_sends_for_retry()
2348 spin_unlock_irqrestore(&qp_info->send_queue.lock, flags); in mark_sends_for_retry()
2882 init_mad_queue(qp_info, &qp_info->send_queue); in init_mad_qp()
2914 qp_info->send_queue.max_active = mad_sendq_size; in create_mad_qp()