Lines Matching refs:queue
133 p_port->tx.queue = fixed_queue_new(SIZE_MAX);
134 p_port->rx.queue = fixed_queue_new(SIZE_MAX);
218 while ((p_buf = (BT_HDR *)fixed_queue_try_dequeue(p_port->rx.queue)) != NULL)
222 while ((p_buf = (BT_HDR *)fixed_queue_try_dequeue(p_port->tx.queue)) != NULL)
242 fixed_queue_free(p_port->tx.queue, NULL);
243 p_port->tx.queue = NULL;
244 fixed_queue_free(p_port->rx.queue, NULL);
245 p_port->rx.queue = NULL;
428 || (fixed_queue_length(p_port->tx.queue) > PORT_TX_BUF_HIGH_WM);
543 /* if queue count reached credit rx max, set peer fc */
544 else if (fixed_queue_length(p_port->rx.queue) >= p_port->credit_rx_max)
560 && (fixed_queue_length(p_port->rx.queue) < PORT_RX_BUF_LOW_WM))
578 /* Check the size of the rx queue. If it exceeds certain */
581 || (fixed_queue_length(p_port->rx.queue) > PORT_RX_BUF_HIGH_WM))