Lines Matching refs:list_empty
355 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete()
414 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs()
440 else if (list_empty(&req->list)) { in setup_rx_reqs()
491 (likely(list_empty(&dev->rx_buffers)))) { in printer_read()
506 (likely(!list_empty(&dev->rx_buffers)))); in printer_read()
511 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
603 if (likely(list_empty(&dev->tx_reqs))) { in printer_write()
618 (likely(!list_empty(&dev->tx_reqs)))); in printer_write()
622 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write()
702 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync()
708 (likely(list_empty(&dev->tx_reqs_active)))); in printer_fsync()
732 if (likely(!list_empty(&dev->tx_reqs))) in printer_poll()
736 likely(!list_empty(&dev->rx_buffers))) in printer_poll()
885 while (likely(!(list_empty(&dev->rx_buffers)))) { in printer_soft_reset()
892 while (likely(!(list_empty(&dev->rx_reqs_active)))) { in printer_soft_reset()
899 while (likely(!(list_empty(&dev->tx_reqs_active)))) { in printer_soft_reset()
1085 WARN_ON(!list_empty(&dev->tx_reqs_active)); in printer_cfg_unbind()
1086 WARN_ON(!list_empty(&dev->rx_reqs_active)); in printer_cfg_unbind()
1089 while (!list_empty(&dev->tx_reqs)) { in printer_cfg_unbind()
1099 while (!list_empty(&dev->rx_reqs)) { in printer_cfg_unbind()
1106 while (!list_empty(&dev->rx_buffers)) { in printer_cfg_unbind()
1202 while (!list_empty(&dev->tx_reqs)) { in printer_bind_config()
1216 while (!list_empty(&dev->rx_reqs)) { in printer_bind_config()