Lines Matching refs:list_empty

335 	if (likely(list_empty(&dev->tx_reqs_active)))  in tx_complete()
398 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs()
424 else if (list_empty(&req->list)) in setup_rx_reqs()
480 (likely(list_empty(&dev->rx_buffers)))) { in printer_read()
495 (likely(!list_empty(&dev->rx_buffers)))); in printer_read()
500 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
599 if (likely(list_empty(&dev->tx_reqs))) { in printer_write()
614 (likely(!list_empty(&dev->tx_reqs)))); in printer_write()
618 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write()
707 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync()
713 (likely(list_empty(&dev->tx_reqs_active)))); in printer_fsync()
744 if (likely(!list_empty(&dev->tx_reqs))) in printer_poll()
748 likely(!list_empty(&dev->rx_buffers))) in printer_poll()
903 while (likely(!(list_empty(&dev->rx_buffers)))) { in printer_soft_reset()
910 while (likely(!(list_empty(&dev->rx_reqs_active)))) { in printer_soft_reset()
917 while (likely(!(list_empty(&dev->tx_reqs_active)))) { in printer_soft_reset()
1152 while (!list_empty(&dev->rx_reqs)) { in printer_func_bind()
1159 while (!list_empty(&dev->tx_reqs)) { in printer_func_bind()
1422 WARN_ON(!list_empty(&dev->tx_reqs_active)); in printer_func_unbind()
1423 WARN_ON(!list_empty(&dev->rx_reqs_active)); in printer_func_unbind()
1426 while (!list_empty(&dev->tx_reqs)) { in printer_func_unbind()
1436 while (!list_empty(&dev->rx_reqs)) { in printer_func_unbind()
1443 while (!list_empty(&dev->rx_buffers)) { in printer_func_unbind()