Lines Matching refs:mad_queue
699 struct ib_mad_queue *mad_queue; in dequeue_mad() local
702 mad_queue = mad_list->mad_queue; in dequeue_mad()
703 spin_lock_irqsave(&mad_queue->lock, flags); in dequeue_mad()
705 mad_queue->count--; in dequeue_mad()
706 spin_unlock_irqrestore(&mad_queue->lock, flags); in dequeue_mad()
1221 mad_send_wr->mad_list.mad_queue = &qp_info->send_queue; in ib_send_mad()
2282 qp_info = mad_list->mad_queue->qp_info; in ib_mad_recv_done()
2529 send_queue = mad_list->mad_queue; in ib_mad_send_done()
2600 struct ib_mad_qp_info *qp_info = mad_list->mad_queue->qp_info; in ib_mad_send_error()
2967 mad_priv->header.mad_list.mad_queue = recv_queue; in ib_mad_post_receive_mads()
3126 struct ib_mad_queue *mad_queue) in init_mad_queue() argument
3128 mad_queue->qp_info = qp_info; in init_mad_queue()
3129 mad_queue->count = 0; in init_mad_queue()
3130 spin_lock_init(&mad_queue->lock); in init_mad_queue()
3131 INIT_LIST_HEAD(&mad_queue->list); in init_mad_queue()