Lines Matching defs:recv_queue
2175 if (mad_list->mad_queue == &qp_info->recv_queue)
2534 struct ib_mad_queue *recv_queue = &qp_info->recv_queue;
2565 mad_priv->header.mad_list.mad_queue = recv_queue;
2568 spin_lock_irqsave(&recv_queue->lock, flags);
2569 post = (++recv_queue->count < recv_queue->max_active);
2570 list_add_tail(&mad_priv->header.mad_list.list, &recv_queue->list);
2571 spin_unlock_irqrestore(&recv_queue->lock, flags);
2574 spin_lock_irqsave(&recv_queue->lock, flags);
2576 recv_queue->count--;
2577 spin_unlock_irqrestore(&recv_queue->lock, flags);
2601 while (!list_empty(&qp_info->recv_queue.list)) {
2603 mad_list = list_entry(qp_info->recv_queue.list.next,
2622 qp_info->recv_queue.count = 0;
2717 init_mad_queue(qp_info, &qp_info->recv_queue);
2752 qp_info->recv_queue.max_active = mad_recvq_size;