Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 25 of 1365) sorted by relevance

12345678910>>...55

/drivers/net/ethernet/qlogic/qed/
Dqed_ooo.c34 if (list_empty(&p_archipelago->isles_list)) in qed_ooo_seek_archipelago()
175 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_connection_isles()
181 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_connection_isles()
208 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_all_isles()
215 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_all_isles()
231 if (!list_empty(&p_ooo_info->ready_buffers_list)) in qed_ooo_release_all_isles()
254 while (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_free()
288 if (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_get_free_buffer()
315 if (!list_empty(&p_ooo_info->ready_buffers_list)) { in qed_ooo_get_ready_buffer()
340 if (list_empty(&p_isle->buffers_list)) in qed_ooo_delete_isles()
[all …]
/drivers/usb/host/
Dfhci-q.c74 if (!list_empty(&ed->td_list)) in peek_td_from_ed()
86 if (!list_empty(&frame->tds_list)) { in fhci_remove_td_from_frame()
99 if (!list_empty(&frame->tds_list)) in fhci_peek_td_from_frame()
111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed()
116 if (!list_empty(&ed->td_list)) in fhci_remove_td_from_ed()
131 if (!list_empty(&p_list->done_list)) { in fhci_remove_td_from_done_list()
148 if (!list_empty(&ed->td_list)) in fhci_move_td_from_ed_to_done_list()
173 if (!list_empty(&ed->td_list)) in free_urb_priv()
Dehci-timer.c222 while (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks()
236 if (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks()
255 while (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks()
267 if (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks()
313 if (!list_empty(&ehci->cached_itd_list) || in end_free_itds()
314 !list_empty(&ehci->cached_sitd_list)) in end_free_itds()
Duhci-q.c126 if (!list_empty(&td->list)) in uhci_free_td()
128 if (!list_empty(&td->fl_list)) in uhci_free_td()
187 WARN_ON(!list_empty(&td->fl_list)); in uhci_remove_td_from_frame_list()
192 if (list_empty(&td->fl_list)) { in uhci_remove_td_from_frame_list()
228 while (!list_empty(&ftd->fl_list)) in uhci_remove_tds_from_frame()
295 if (!list_empty(&qh->queue)) in uhci_free_qh()
339 WARN_ON(list_empty(&purbp->td_list)); in uhci_cleanup_queue()
359 WARN_ON(list_empty(&urbp->td_list)); in uhci_cleanup_queue()
482 WARN_ON(list_empty(&qh->queue)); in uhci_activate_qh()
570 if (list_empty(&uhci->skel_unlink_qh->node) || uhci->is_stopped) in uhci_unlink_qh()
[all …]
Dehci-q.c149 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete()
972 WARN_ON(ehci->async->qh_next.qh || !list_empty(&ehci->async_unlink) || in disable_async()
973 !list_empty(&ehci->async_idle)); in disable_async()
1040 if (unlikely (list_empty (qtd_list))) in qh_append_tds()
1316 if (list_empty(&ehci->async_unlink)) in end_unlink_async()
1364 list_empty(&qh->qtd_list)) in end_unlink_async()
1392 if (!list_empty(&ehci->async_unlink)) in end_unlink_async()
1404 while (!list_empty(&ehci->async_idle)) { in end_unlink_async()
1412 if (!list_empty(&qh->qtd_list)) in end_unlink_async()
1414 if (!list_empty(&qh->qtd_list) && in end_unlink_async()
[all …]
/drivers/usb/gadget/function/
Df_printer.c332 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete()
396 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs()
422 else if (list_empty(&req->list)) in setup_rx_reqs()
478 (likely(list_empty(&dev->rx_buffers)))) { in printer_read()
493 (likely(!list_empty(&dev->rx_buffers)))); in printer_read()
498 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
597 if (likely(list_empty(&dev->tx_reqs))) { in printer_write()
612 (likely(!list_empty(&dev->tx_reqs)))); in printer_write()
616 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write()
705 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync()
[all …]
/drivers/isdn/mISDN/
Dtimerdev.c74 while (!list_empty(list)) { in mISDN_close()
108 while (list_empty(list) && (dev->work == 0)) { in mISDN_read()
113 !list_empty(list))); in mISDN_read()
120 if (!list_empty(list)) { in mISDN_read()
146 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll()
150 dev->work, list_empty(&dev->expired)); in mISDN_poll()
/drivers/misc/mei/
Dinit.c338 list_empty(&dev->ctrl_wr_list) && in mei_write_is_idle()
339 list_empty(&dev->write_list) && in mei_write_is_idle()
340 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
345 list_empty(&dev->ctrl_wr_list), in mei_write_is_idle()
346 list_empty(&dev->write_list), in mei_write_is_idle()
347 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
/drivers/hid/intel-ish-hid/ishtp/
Dclient-buffers.c104 while (!list_empty(&cl->free_rb_list.list)) { in ishtp_cl_free_rx_ring()
114 while (!list_empty(&cl->in_process_list.list)) { in ishtp_cl_free_rx_ring()
137 while (!list_empty(&cl->tx_free_list.list)) { in ishtp_cl_free_tx_ring()
149 while (!list_empty(&cl->tx_list.list)) { in ishtp_cl_free_tx_ring()
268 tx_list_empty = list_empty(&cl->tx_list.list); in ishtp_cl_tx_empty()
/drivers/gpu/drm/i915/
Di915_scheduler.c224 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule()
270 if (list_empty(&node->link)) in __i915_schedule()
311 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit()
312 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit()
313 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit()
387 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
398 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
/drivers/s390/block/
Ddasd_alias.c85 if (list_empty(&lcu->grouplist)) in _find_group()
286 if (list_empty(&lcu->grouplist) && in dasd_alias_disconnect_device_from_lcu()
287 list_empty(&lcu->active_devices) && in dasd_alias_disconnect_device_from_lcu()
288 list_empty(&lcu->inactive_devices)) { in dasd_alias_disconnect_device_from_lcu()
299 if (server && list_empty(&server->lculist)) { in dasd_alias_disconnect_device_from_lcu()
369 if (list_empty(&group->baselist) && list_empty(&group->aliaslist)) { in _remove_device_from_lcu()
587 if (device && !list_empty(&device->alias_list)) in _schedule_lcu_update()
590 if (!usedev && !list_empty(&lcu->grouplist)) { in _schedule_lcu_update()
593 if (!list_empty(&group->baselist)) in _schedule_lcu_update()
597 else if (!list_empty(&group->aliaslist)) in _schedule_lcu_update()
[all …]
/drivers/s390/char/
Dsclp_con.c62 if (!list_empty(&sclp_con_outqueue)) in sclp_conbuf_callback()
89 if (list_empty(&sclp_con_outqueue)) in sclp_conbuf_emit()
178 if (list_empty(&sclp_con_pages)) in sclp_console_write()
180 while (list_empty(&sclp_con_pages)) { in sclp_console_write()
/drivers/gpu/drm/i915/gt/
Dintel_breadcrumbs.c94 if (!list_empty(&ce->signals)) in remove_signaling_context()
200 if (!signal && READ_ONCE(b->irq_armed) && list_empty(&b->signalers)) in signal_irq_work()
260 if (!READ_ONCE(b->irq_armed) && !list_empty(&b->signalers)) in signal_irq_work()
326 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_free()
362 if (list_empty(&ce->signals)) { in insert_breadcrumb()
462 if (list_empty(&ce->signals)) in intel_context_remove_breadcrumbs()
516 if (!list_empty(&b->signalers)) in intel_engine_print_breadcrumbs()
/drivers/dma/
Dtimb_dma.c226 if (list_empty(&td_chan->active_list)) in __td_finish()
281 BUG_ON(list_empty(&td_chan->queue)); in __td_start_next()
305 if (list_empty(&td_chan->active_list)) { in td_tx_submit()
409 BUG_ON(!list_empty(&td_chan->free_list)); in td_alloc_chan_resources()
442 BUG_ON(!list_empty(&td_chan->active_list)); in td_free_chan_resources()
443 BUG_ON(!list_empty(&td_chan->queue)); in td_free_chan_resources()
478 if (!list_empty(&td_chan->active_list)) in td_issue_pending()
483 if (list_empty(&td_chan->active_list) && !list_empty(&td_chan->queue)) in td_issue_pending()
585 if (!list_empty(&td_chan->queue)) in td_tasklet()
Dmpc512x_dma.c262 while (!list_empty(&mchan->queued)) { in mpc_dma_execute()
272 if (list_empty(&mchan->active)) in mpc_dma_execute()
341 if (!list_empty(&mchan->queued)) in mpc_dma_irq_process()
391 if (!list_empty(&mchan->completed)) in mpc_dma_process_completed()
395 if (list_empty(&list)) in mpc_dma_process_completed()
475 if (list_empty(&mchan->active)) in mpc_dma_tx_submit()
557 BUG_ON(!list_empty(&mchan->prepared)); in mpc_dma_free_chan_resources()
558 BUG_ON(!list_empty(&mchan->queued)); in mpc_dma_free_chan_resources()
559 BUG_ON(!list_empty(&mchan->active)); in mpc_dma_free_chan_resources()
560 BUG_ON(!list_empty(&mchan->completed)); in mpc_dma_free_chan_resources()
[all …]
/drivers/media/test-drivers/vivid/
Dvivid-kthread-out.c61 if (!list_empty(&dev->vid_out_active) && in vivid_thread_vid_out_tick()
67 if (!list_empty(&dev->vbi_out_active) && in vivid_thread_vid_out_tick()
74 if (!list_empty(&dev->meta_out_active)) { in vivid_thread_vid_out_tick()
303 while (!list_empty(&dev->vid_out_active)) { in vivid_stop_generating_vid_out()
318 while (!list_empty(&dev->vbi_out_active)) { in vivid_stop_generating_vid_out()
333 while (!list_empty(&dev->meta_out_active)) { in vivid_stop_generating_vid_out()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c457 if (!list_empty(lh)) { in amdgpu_dm_irq_fini()
491 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_suspend()
496 if (!list_empty(hnd_list_l)) { in amdgpu_dm_irq_suspend()
526 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_early()
552 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_late()
571 if (list_empty(handler_list)) in amdgpu_dm_irq_schedule_work()
/drivers/gpu/drm/
Ddrm_flip_work.c129 if (list_empty(&tasks)) in flip_worker()
168 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
/drivers/gpu/drm/ttm/
Dttm_execbuf_util.c51 if (list_empty(list)) in ttm_eu_backoff_reservation()
85 if (list_empty(list)) in ttm_eu_reserve_buffers()
152 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
/drivers/infiniband/hw/irdma/
Dws.c162 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_tc_in_use()
172 !list_empty(&vsi->qos[i].qplist)) { in irdma_tc_in_use()
218 if (list_empty(&vsi_node->child_list_head)) { in irdma_remove_leaf()
223 if (list_empty(&ws_tree_root->child_list_head)) { in irdma_remove_leaf()
360 if (list_empty(&vsi_node->child_list_head)) { in irdma_ws_add()
369 if (list_empty(&ws_tree_root->child_list_head)) { in irdma_ws_add()
/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c42 if (list_empty(queue_to_indicate)) { in do_send_completion()
73 } while (!list_empty(queue_to_indicate)); in do_send_completion()
106 if (list_empty(&ep->txq)) in get_htc_packet_credit_based()
183 if (list_empty(&ep->txq)) in get_htc_packet()
217 while (!list_empty(pkt_queue)) { in htc_issue_packets()
282 while (!list_empty(pkt_queue)) { in htc_issue_packets()
324 if (list_empty(txq)) { in htc_try_send()
403 if (list_empty(&send_queue)) { in htc_try_send()
419 if (!list_empty(&send_queue)) { in htc_try_send()
422 if (!list_empty(&send_queue)) { in htc_try_send()
[all …]
/drivers/dca/
Ddca-core.c91 if (list_empty(&dca_domains)) { in unregister_dca_providers()
132 if (dca_provider_ioat_ver_3_0(dev) && !list_empty(&dca_domains)) in dca_get_domain()
151 if (!list_empty(&dca_domains)) in dca_find_provider_by_dev()
408 if (list_empty(&dca_domains)) { in unregister_dca_provider()
417 if (list_empty(&domain->dca_providers)) in unregister_dca_provider()
/drivers/infiniband/hw/hfi1/
Diowait.h289 if (!list_empty(&wait->tx_head)) { in iowait_get_txhead()
304 if (!list_empty(&w->tx_head)) { in iowait_get_desc()
327 if (!list_empty(&w->tx_head)) { in iowait_update_priority()
409 return !list_empty(&wait->tx_head); in iowait_packet_queued()
/drivers/char/agp/
Dbackend.c246 if (list_empty(&agp_bridges)) in agp_alloc_bridge()
258 if (list_empty(&agp_bridges)) in agp_put_bridge()
293 if (list_empty(&agp_bridges)) { in agp_add_bridge()
324 if (list_empty(&agp_bridges)) in agp_remove_bridge()
/drivers/usb/core/
Durb.c145 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup()
828 while (!list_empty(&anchor->urb_list)) { in usb_kill_anchored_urbs()
867 while (!list_empty(&anchor->urb_list)) { in usb_poison_anchored_urbs()
997 if (!list_empty(&anchor->urb_list)) { in usb_get_from_anchor()
1026 while (!list_empty(&anchor->urb_list)) { in usb_scuttle_anchored_urbs()
1048 return list_empty(&anchor->urb_list); in usb_anchor_empty()

12345678910>>...55