/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | workitem.c | 110 if (!list_empty(&sched->ws_runq)) { in cfs_wi_sched_cansleep() 133 LASSERT(!list_empty(&wi->wi_list)); in cfs_wi_exit() 140 LASSERT(list_empty(&wi->wi_list)); in cfs_wi_exit() 170 LASSERT(!list_empty(&wi->wi_list)); in cfs_wi_deschedule() 179 LASSERT (list_empty(&wi->wi_list)); in cfs_wi_deschedule() 202 LASSERT (list_empty(&wi->wi_list)); in cfs_wi_schedule() 214 LASSERT (!list_empty(&wi->wi_list)); in cfs_wi_schedule() 247 while (!list_empty(&sched->ws_runq) && in cfs_wi_scheduler() 272 if (list_empty(&wi->wi_list)) in cfs_wi_scheduler() 281 if (!list_empty(&sched->ws_runq)) { in cfs_wi_scheduler() [all …]
|
D | tracefile.c | 145 __LASSERT(!list_empty(&tcd->tcd_pages)); in cfs_trace_get_tage_try() 610 __LASSERT(!list_empty(&tcd->tcd_daemon_pages)); in put_pages_on_tcd_daemon_list() 698 if (list_empty(&pc.pc_pages)) { in cfs_tracefile_dump_all_pages() 719 __LASSERT(list_empty(&pc.pc_pages)); in cfs_tracefile_dump_all_pages() 993 if (list_empty(&pc.pc_pages)) in tracefiled() 1012 __LASSERT(list_empty(&pc.pc_pages)); in tracefiled() 1038 __LASSERT(list_empty(&pc.pc_pages)); in tracefiled() 1046 if (!list_empty(&pc.pc_pages)) { in tracefiled() 1066 __LASSERT(list_empty(&pc.pc_pages)); in tracefiled()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_evict.c | 42 if (WARN_ON(!list_empty(&vma->exec_list))) in mark_free() 135 while (!list_empty(&unwind_list)) { in i915_gem_evict_something() 172 while (!list_empty(&unwind_list)) { in i915_gem_evict_something() 185 while (!list_empty(&eviction_list)) { in i915_gem_evict_something() 231 WARN_ON(!list_empty(&vm->active_list)); in i915_gem_evict_vm() 258 lists_empty = (list_empty(&vm->inactive_list) && in i915_gem_evict_everything() 259 list_empty(&vm->active_list)); in i915_gem_evict_everything()
|
D | i915_gem_debug.c | 57 } else if (obj->base.write_domain && list_empty(&obj->gpu_write_list)) { in i915_verify_lists() 61 !list_empty(&obj->gpu_write_list)); in i915_verify_lists() 74 list_empty(&obj->gpu_write_list)) { in i915_verify_lists() 79 !list_empty(&obj->gpu_write_list)); in i915_verify_lists()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_object.c | 109 LASSERT(list_empty(&osc->oo_inflight[i])); in osc_object_free() 111 LASSERT(list_empty(&osc->oo_ready_item)); in osc_object_free() 112 LASSERT(list_empty(&osc->oo_hp_ready_item)); in osc_object_free() 113 LASSERT(list_empty(&osc->oo_write_item)); in osc_object_free() 114 LASSERT(list_empty(&osc->oo_read_item)); in osc_object_free() 117 LASSERT(list_empty(&osc->oo_hp_exts)); in osc_object_free() 118 LASSERT(list_empty(&osc->oo_urgent_exts)); in osc_object_free() 119 LASSERT(list_empty(&osc->oo_rpc_exts)); in osc_object_free() 120 LASSERT(list_empty(&osc->oo_reading_exts)); in osc_object_free()
|
D | osc_cache.c | 97 return list_empty(list) ? '-' : '+'; in list_empty_marker() 203 if (ext->oe_nr_pages > 0 || !list_empty(&ext->oe_pages)) in osc_extent_sanity_check0() 382 LASSERT(list_empty(&ext->oe_link)); in osc_extent_put() 505 LASSERT(list_empty(&ext->oe_pages)); in __osc_extent_remove() 982 LASSERT(list_empty(&oap->oap_rpc_item)); in osc_extent_truncate() 1220 return !list_empty(&osc->oo_ready_item) || in osc_is_ready() 1221 !list_empty(&osc->oo_hp_ready_item); in osc_is_ready() 1311 LASSERT(!list_empty(&opg->ops_inflight)); in osc_completion() 1514 rc = list_empty(&ocw->ocw_entry); in ocw_granted() 1583 LASSERT(list_empty(&ocw.ocw_entry)); in osc_enter_cache() [all …]
|
D | osc_page.c | 352 return list_empty(head) ? "-" : "+"; in osc_list() 428 LASSERT(!list_empty(&opg->ops_inflight)); in osc_page_delete() 675 while (!list_empty(&cli->cl_lru_list)) { in osc_lru_shrink() 762 if (list_empty(&opg->ops_lru)) { in osc_lru_add() 781 if (!list_empty(&opg->ops_lru)) { in osc_lru_del() 805 LASSERT(list_empty(&opg->ops_lru)); in osc_lru_del() 821 LASSERT(!list_empty(&cache->ccc_lru)); in osc_lru_reclaim() 842 while (--max_scans > 0 && !list_empty(&cache->ccc_lru)) { in osc_lru_reclaim()
|
/linux-4.1.27/fs/notify/ |
D | notification.c | 67 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty() 77 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event() 102 if (!list_empty(&group->overflow_event->list)) { in fsnotify_add_event() 110 if (!list_empty(list) && merge) { in fsnotify_add_event() 136 if (!list_empty(&event->list)) { in fsnotify_remove_event()
|
/linux-4.1.27/drivers/usb/host/ |
D | fhci-q.c | 78 if (!list_empty(&ed->td_list)) in peek_td_from_ed() 90 if (!list_empty(&frame->tds_list)) { in fhci_remove_td_from_frame() 103 if (!list_empty(&frame->tds_list)) in fhci_peek_td_from_frame() 115 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed() 120 if (!list_empty(&ed->td_list)) in fhci_remove_td_from_ed() 135 if (!list_empty(&p_list->done_list)) { in fhci_remove_td_from_done_list() 152 if (!list_empty(&ed->td_list)) in fhci_move_td_from_ed_to_done_list() 177 if (!list_empty(&ed->td_list)) in free_urb_priv()
|
D | ehci-timer.c | 231 while (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks() 244 if (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks() 263 while (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks() 275 if (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks() 321 if (!list_empty(&ehci->cached_itd_list) || in end_free_itds() 322 !list_empty(&ehci->cached_sitd_list)) in end_free_itds()
|
D | uhci-q.c | 126 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() 296 if (!list_empty(&qh->queue)) in uhci_free_qh() 340 WARN_ON(list_empty(&purbp->td_list)); in uhci_cleanup_queue() 360 WARN_ON(list_empty(&urbp->td_list)); in uhci_cleanup_queue() 483 WARN_ON(list_empty(&qh->queue)); in uhci_activate_qh() 571 if (list_empty(&uhci->skel_unlink_qh->node) || uhci->is_stopped) in uhci_unlink_qh() [all …]
|
D | ehci-q.c | 154 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete() 967 WARN_ON(ehci->async->qh_next.qh || !list_empty(&ehci->async_unlink) || in disable_async() 968 !list_empty(&ehci->async_idle)); in disable_async() 1035 if (unlikely (list_empty (qtd_list))) in qh_append_tds() 1313 if (list_empty(&ehci->async_unlink)) in end_unlink_async() 1343 if (!list_empty(&ehci->async_unlink)) in end_unlink_async() 1355 while (!list_empty(&ehci->async_idle)) { in end_unlink_async() 1363 if (!list_empty(&qh->qtd_list)) in end_unlink_async() 1365 if (!list_empty(&qh->qtd_list) && in end_unlink_async() 1383 if (list_empty(&qh->qtd_list) && in unlink_empty_async() [all …]
|
D | fhci-mem.c | 45 if (!list_empty(&fhci->empty_tds)) { in get_empty_td() 69 if (!list_empty(&fhci->empty_eds)) { in fhci_get_empty_ed()
|
D | isp1362-hcd.c | 365 WARN_ON(list_empty(&ep->active)); in isp1362_read_ptd() 409 WARN_ON(!list_empty(&ep->remove_list)); in remove_ptd() 473 if (!list_empty(&ep->hep->urb_list)) in finish_request() 477 if (!list_empty(&ep->schedule)) { in finish_request() 667 if (!list_empty(&ep->hep->urb_list)) { in finish_unlinks() 674 WARN_ON(list_empty(&ep->active)); in finish_unlinks() 675 if (!list_empty(&ep->active)) { in finish_unlinks() 756 if (!list_empty(&ep->active)) { in start_atl_transfers() 808 if (!list_empty(&ep->active)) { in start_intl_transfers() 871 if (!list_empty(&epq->active)) in start_iso_transfers() [all …]
|
/linux-4.1.27/fs/ocfs2/dlm/ |
D | dlmthread.c | 82 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() 83 list_empty(&res->converting) && in __dlm_lockres_has_locks() 84 list_empty(&res->blocked)) in __dlm_lockres_has_locks() 106 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused() 131 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 140 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 197 if (!list_empty(&res->purge)) { in dlm_purge_lockres() 234 while(run_max && !list_empty(&dlm->purge_list)) { in dlm_run_purge_list() 307 if (list_empty(&res->converting)) in dlm_shuffle_lists() 381 if (list_empty(&res->blocked)) in dlm_shuffle_lists() [all …]
|
D | dlmdebug.c | 85 (list_empty(&lock->ast_list) ? 'y' : 'n'), in __dlm_print_lock() 87 (list_empty(&lock->bast_list) ? 'y' : 'n'), in __dlm_print_lock() 110 list_empty(&res->purge) ? "no" : "yes"); in __dlm_print_one_lock_resource() 113 list_empty(&res->dirty) ? "no" : "yes", in __dlm_print_one_lock_resource() 114 list_empty(&res->recovering) ? "no" : "yes", in __dlm_print_one_lock_resource() 299 !list_empty(&mle->hb_events), in dump_mle() 512 !list_empty(&lock->ast_list), in dump_lock() 513 !list_empty(&lock->bast_list), in dump_lock() 539 !list_empty(&res->purge), in dump_lockres() 540 !list_empty(&res->dirty), in dump_lockres() [all …]
|
D | dlmmaster.c | 190 if (!list_empty(&mle->hb_events)) in __dlm_mle_detach_hb_events() 502 if (!list_empty(&res->tracking)) in dlm_lockres_release() 514 !list_empty(&res->granted) || in dlm_lockres_release() 515 !list_empty(&res->converting) || in dlm_lockres_release() 516 !list_empty(&res->blocked) || in dlm_lockres_release() 517 !list_empty(&res->dirty) || in dlm_lockres_release() 518 !list_empty(&res->recovering) || in dlm_lockres_release() 519 !list_empty(&res->purge)) { in dlm_lockres_release() 525 !list_empty(&res->granted) ? 'G' : ' ', in dlm_lockres_release() 526 !list_empty(&res->converting) ? 'C' : ' ', in dlm_lockres_release() [all …]
|
/linux-4.1.27/net/unix/ |
D | garbage.c | 129 BUG_ON(!list_empty(&u->link)); in unix_inflight() 132 BUG_ON(list_empty(&u->link)); in unix_inflight() 149 BUG_ON(list_empty(&u->link)); in unix_notinflight() 222 BUG_ON(!list_empty(&u->link)); in scan_children() 227 while (!list_empty(&embryos)) { in scan_children() 347 while (!list_empty(¬_cycle_list)) { in unix_gc() 369 BUG_ON(!list_empty(&gc_candidates)); in unix_gc()
|
/linux-4.1.27/kernel/locking/ |
D | mutex-debug.c | 40 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter() 42 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter() 47 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter() 63 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in mutex_remove_waiter()
|
D | rwsem-spinlock.c | 136 if (sem->count >= 0 && list_empty(&sem->wait_list)) { in __down_read() 180 if (sem->count >= 0 && list_empty(&sem->wait_list)) { in __down_read_trylock() 265 if (--sem->count == 0 && !list_empty(&sem->wait_list)) in __up_read() 281 if (!list_empty(&sem->wait_list)) in __up_write() 298 if (!list_empty(&sem->wait_list)) in __downgrade_write()
|
D | rwsem-xadd.c | 226 if (list_empty(&sem->wait_list)) in rwsem_down_read_failed() 446 if (list_empty(&sem->wait_list)) in rwsem_down_write_failed() 502 if (!list_empty(&sem->wait_list)) in rwsem_wake() 524 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()
|
/linux-4.1.27/fs/afs/ |
D | cell.c | 330 if (cell && !list_empty(&cell->link)) 362 ASSERT(list_empty(&cell->servers)); in afs_put_cell() 363 ASSERT(list_empty(&cell->vl_list)); in afs_put_cell() 382 ASSERT(list_empty(&cell->link)); in afs_cell_destroy() 403 ASSERT(list_empty(&cell->servers)); in afs_cell_destroy() 404 ASSERT(list_empty(&cell->vl_list)); in afs_cell_destroy() 435 while (!list_empty(&afs_cells)) { in afs_cell_purge() 441 if (!list_empty(&afs_cells)) { in afs_cell_purge()
|
D | flock.c | 139 if (!list_empty(&vnode->granted_locks)) { in afs_lock_work() 173 if (!list_empty(&vnode->pending_locks)) { in afs_lock_work() 217 if (!list_empty(&vnode->pending_locks)) in afs_lock_work() 301 ASSERT(!list_empty(&vnode->granted_locks)); in afs_do_setlk() 307 if (list_empty(&vnode->pending_locks) && in afs_do_setlk() 308 list_empty(&vnode->granted_locks)) { in afs_do_setlk() 327 ASSERT(list_empty(&vnode->granted_locks)); in afs_do_setlk() 382 if (list_empty(&vnode->granted_locks) && in afs_do_setlk() 433 if (list_empty(&vnode->granted_locks)) in afs_do_setlk() 466 if (list_empty(&vnode->granted_locks)) in afs_do_unlk()
|
D | vlocation.c | 347 if (!list_empty(&afs_vlocation_updates)) { in afs_vlocation_queue_for_updates() 437 if (!list_empty(&vl->grave)) { in afs_vlocation_lookup() 514 if (!list_empty(&vl->update)) { in afs_put_vlocation() 553 while (!list_empty(&afs_vlocation_graveyard)) { in afs_vlocation_reaper() 583 while (!list_empty(&corpses)) { in afs_vlocation_reaper() 636 if (list_empty(&afs_vlocation_updates)) { in afs_vlocation_updater() 691 if (!list_empty(&afs_vlocation_updates)) { in afs_vlocation_updater() 709 ASSERT(list_empty(&vl->update)); in afs_vlocation_updater()
|
D | server.c | 152 if (!list_empty(&server->grave)) { in afs_lookup_server() 280 while (!list_empty(&afs_server_graveyard)) { in afs_reap_server() 308 while (!list_empty(&corpses)) { in afs_reap_server()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | peer.c | 93 LASSERT(list_empty(&ptable->pt_deathrow)); in lnet_peer_tables_destroy() 97 LASSERT(list_empty(&hash[j])); in lnet_peer_tables_destroy() 121 while (!list_empty(peers)) { in lnet_peer_tables_cleanup() 156 while (!list_empty(&deathrow)) { in lnet_peer_tables_cleanup() 172 LASSERT(list_empty(&lp->lp_txq)); in lnet_destroy_peer_locked() 173 LASSERT(list_empty(&lp->lp_hashlist)); in lnet_destroy_peer_locked() 228 if (!list_empty(&ptable->pt_deathrow)) { in lnet_nid2peer_locked()
|
D | api-ni.c | 136 LASSERT(list_empty(&the_lnet.ln_remote_nets_hash[i])); in lnet_destroy_remote_nets_table() 449 while (!list_empty(&rec->rec_active)) { in lnet_res_container_cleanup() 693 LASSERT(list_empty(&the_lnet.ln_test_peers)); in lnet_unprepare() 694 LASSERT(list_empty(&the_lnet.ln_nis)); in lnet_unprepare() 695 LASSERT(list_empty(&the_lnet.ln_nis_cpt)); in lnet_unprepare() 696 LASSERT(list_empty(&the_lnet.ln_nis_zombie)); in lnet_unprepare() 787 if (!list_empty(&the_lnet.ln_nis_cpt)) { in lnet_cpt_of_nid_locked() 810 if (list_empty(&the_lnet.ln_nis_cpt)) in lnet_cpt_of_nid() 924 LASSERT(list_empty(&the_lnet.ln_nis_zombie)); in lnet_shutdown_lndnis() 930 while (!list_empty(&the_lnet.ln_nis)) { in lnet_shutdown_lndnis() [all …]
|
D | lib-ptl.c | 383 if (!list_empty(&mtable->mt_mhash[LNET_MT_HASH_IGNORE])) in lnet_mt_match_md() 490 if (!list_empty(&msg->msg_list)) { /* on stealing list */ in lnet_ptl_match_delay() 507 if (!list_empty(&msg->msg_list) && /* not matched yet */ in lnet_ptl_match_delay() 641 if (list_empty(&ptl->ptl_msg_stealing) && in lnet_ptl_attach_md() 642 list_empty(&ptl->ptl_msg_delayed) && in lnet_ptl_attach_md() 723 LASSERT(list_empty(&ptl->ptl_msg_delayed)); in lnet_ptl_cleanup() 724 LASSERT(list_empty(&ptl->ptl_msg_stealing)); in lnet_ptl_cleanup() 736 while (!list_empty(&mhash[j])) { in lnet_ptl_cleanup()
|
D | router.c | 213 LASSERT(list_empty(&lp->lp_routes)); in lnet_rtr_decref_locked() 516 if (list_empty(&rnet->lrn_routes)) in lnet_del_route() 842 LASSERT(list_empty(&rcd->rcd_list)); in lnet_destroy_rc_data() 1095 list_empty(&the_lnet.ln_rcd_deathrow) && in lnet_prune_rc_data() 1096 list_empty(&the_lnet.ln_rcd_zombie))) in lnet_prune_rc_data() 1110 LASSERT(list_empty(&lp->lp_rcd->rcd_list)); in lnet_prune_rc_data() 1120 if (!list_empty(&head)) { in lnet_prune_rc_data() 1132 while (!list_empty(&the_lnet.ln_rcd_zombie)) { in lnet_prune_rc_data() 1140 !list_empty(&the_lnet.ln_rcd_zombie); in lnet_prune_rc_data() 1144 while (!list_empty(&head)) { in lnet_prune_rc_data() [all …]
|
D | lib-move.c | 93 while (!list_empty(&cull)) { in lnet_fail_nid() 150 while (!list_empty(&cull)) { in fail_peer() 829 !list_empty(&lp->lp_txq)); in lnet_post_send_locked() 847 !list_empty(&tq->tq_delayed)); in lnet_post_send_locked() 913 !list_empty(&lp->lp_rtrq)); in lnet_post_routed_recv_locked() 933 !list_empty(&rbp->rbp_msgs)); in lnet_post_routed_recv_locked() 949 LASSERT(!list_empty(&rbp->rbp_bufs)); in lnet_post_routed_recv_locked() 981 !list_empty(&tq->tq_delayed)); in lnet_return_tx_credits_locked() 1001 !list_empty(&txpeer->lp_txq)); in lnet_return_tx_credits_locked() 1049 !list_empty(&rbp->rbp_msgs)); in lnet_return_rx_credits_locked() [all …]
|
D | config.c | 346 LASSERT(!list_empty(nilist)); in lnet_parse_networks() 352 while (!list_empty(nilist)) { in lnet_parse_networks() 409 while (!list_empty(tbs)) { in lnet_free_text_bufs() 732 LASSERT(!list_empty(&nets)); in lnet_parse_route() 733 LASSERT(!list_empty(&gateways)); in lnet_parse_route() 777 while (!list_empty(tbs)) { in lnet_parse_route_tbs() 919 LASSERT(!list_empty(nets)); in lnet_splitnets() 1020 while (!list_empty(&raw_entries)) { in lnet_match_networks()
|
/linux-4.1.27/fs/fscache/ |
D | operation.c | 36 ASSERT(list_empty(&op->pend_link)); in fscache_enqueue_operation() 96 ASSERT(list_empty(&op->pend_link)); in fscache_submit_exclusive_op() 108 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_exclusive_op() 164 if (!list_empty(&object->pending_ops)) { in fscache_report_unexpected_submission() 201 ASSERT(list_empty(&op->pend_link)); in fscache_submit_op() 215 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_op() 270 while (!list_empty(&object->pending_ops) && !stop) { in fscache_start_operations() 311 ASSERT(!list_empty(&op->pend_link)); in fscache_cancel_op() 341 while (!list_empty(&object->pending_ops)) { in fscache_cancel_all_ops() 473 if (list_empty(&cache->op_gc_list)) { in fscache_operation_gc() [all …]
|
D | cache.c | 103 if (list_empty(&fscache_cache_list)) { in fscache_select_cache_for_object() 334 while (!list_empty(&cache->object_list)) { in fscache_withdraw_all_objects() 337 if (!list_empty(&cache->object_list)) { in fscache_withdraw_all_objects() 409 list_empty(&cache->object_list)); in fscache_withdraw_cache() 411 ASSERT(list_empty(&dying_objects)); in fscache_withdraw_cache()
|
D | object.c | 358 ASSERT(list_empty(&object->dep_link)); in fscache_initialise_object() 568 ASSERT(list_empty(&object->pending_ops)); in fscache_object_available() 635 if (list_empty(&object->dependents) && in fscache_kill_object() 647 if (!list_empty(&object->dependents)) in fscache_kill_object() 834 if (list_empty(&object->dependents)) in fscache_enqueue_dependents() 839 while (!list_empty(&object->dependents)) { in fscache_enqueue_dependents() 847 if (!list_empty(&object->dependents) && need_resched()) { in fscache_enqueue_dependents() 864 if (!list_empty(&object->dep_link)) { in fscache_dequeue_object()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_printer.c | 335 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete() 392 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs() 418 else if (list_empty(&req->list)) in setup_rx_reqs() 468 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 483 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 488 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 580 if (likely(list_empty(&dev->tx_reqs))) { in printer_write() 595 (likely(!list_empty(&dev->tx_reqs)))); in printer_write() 599 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write() 678 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync() [all …]
|
D | uvc_queue.c | 240 while (!list_empty(&queue->irqqueue)) { in uvcg_queue_cancel() 322 if (!list_empty(&queue->irqqueue)) in uvcg_queue_next_buffer() 342 if (!list_empty(&queue->irqqueue)) in uvcg_queue_head()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_close.c | 55 if (page != NULL && list_empty(&page->cpg_pending_linkage)) in vvp_write_pending() 68 if (page != NULL && !list_empty(&page->cpg_pending_linkage)) { in vvp_write_complete() 89 list_empty(&club->cob_pending_list)) { in ll_queue_done_writing() 99 LASSERT(list_empty(&lli->lli_close_list)); in ll_queue_done_writing() 145 if (!(list_empty(&club->cob_pending_list))) { in ll_ioepoch_close() 197 LASSERT(list_empty(&club->cob_pending_list)); in ll_ioepoch_close() 318 if (!list_empty(&lcq->lcq_head)) { in ll_close_next_lli()
|
D | llite_rmtacl.c | 94 if (!list_empty(&rce->rce_list)) in rce_free() 173 while (!list_empty(&rct->rct_entries[i])) { in rct_fini() 202 if (!list_empty(&ee->ee_list)) in ee_free() 292 while (!list_empty(&et->et_entries[i])) { in et_fini()
|
D | statahead.c | 92 return list_empty(&entry->se_hash); in ll_sa_entry_unhashed() 162 return list_empty(&sai->sai_entries_received); in sa_received_empty() 167 return list_empty(&sai->sai_entries_agl); in agl_list_empty() 332 LASSERT(list_empty(&entry->se_link)); in ll_sa_entry_put() 333 LASSERT(list_empty(&entry->se_list)); in ll_sa_entry_put() 350 LASSERT(!list_empty(&entry->se_link)); in do_sa_entry_fini() 357 if (likely(!list_empty(&entry->se_list))) in do_sa_entry_fini() 393 if (!list_empty(&entry->se_list)) in do_sa_entry_to_stated() 446 LASSERT(list_empty(&child->lli_agl_list)); in ll_agl_add() 539 LASSERT(list_empty(&sai->sai_entries)); in ll_sai_put() [all …]
|
/linux-4.1.27/net/core/ |
D | link_watch.c | 107 if (list_empty(&dev->link_watch_list)) { in linkwatch_add_event() 192 while (!list_empty(&wrk)) { in __linkwatch_run_queue() 206 if (!list_empty(&lweventlist)) in __linkwatch_run_queue() 217 if (!list_empty(&dev->link_watch_list)) { in linkwatch_forget_dev()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | timerdev.c | 81 while (!list_empty(list)) { in mISDN_close() 115 while (list_empty(list) && (dev->work == 0)) { in mISDN_read() 120 !list_empty(list))); in mISDN_read() 127 if (!list_empty(list)) { in mISDN_read() 153 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll() 157 dev->work, list_empty(&dev->expired)); in mISDN_poll()
|
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/ |
D | console.c | 129 LASSERT(!list_empty(&ndl->ndl_link)); in lstcon_node_put() 130 LASSERT(!list_empty(&ndl->ndl_hlink)); in lstcon_node_put() 187 LASSERT(list_empty(&ndl->ndl_link)); in lstcon_ndlink_release() 188 LASSERT(!list_empty(&ndl->ndl_hlink)); in lstcon_ndlink_release() 251 if (!list_empty(&grp->grp_link)) in lstcon_group_decref() 257 LASSERT(list_empty(&grp->grp_ndl_hash[i])); in lstcon_group_decref() 297 if (!list_empty(&(*ndlpp)->ndl_link)) in lstcon_group_ndlink_find() 337 while (!list_empty(&old->grp_ndl_list)) { in lstcon_group_move() 646 if (list_empty(&grp->grp_ndl_list)) in lstcon_group_clean() 676 if (list_empty(&grp->grp_ndl_list)) in lstcon_nodes_remove() [all …]
|
D | timer.c | 80 LASSERT(list_empty(&timer->stt_list)); in stt_add_timer() 114 if (!list_empty(&timer->stt_list)) { in stt_del_timer() 130 while (!list_empty(slot)) { in stt_expire_list() 238 LASSERT(list_empty(&stt_data.stt_hash[i])); in stt_shutdown()
|
D | framework.c | 308 LASSERT(list_empty(&rpc->crpc_list)); in sfw_client_rpc_fini() 540 LASSERT(list_empty(&rpc->crpc_list)); in sfw_test_rpc_fini() 621 LASSERT(list_empty(&tsi->tsi_active_rpcs)); in sfw_destroy_test_instance() 624 while (!list_empty(&tsi->tsi_units)) { in sfw_destroy_test_instance() 631 while (!list_empty(&tsi->tsi_free_rpcs)) { in sfw_destroy_test_instance() 650 LASSERT(list_empty(&tsb->bat_list)); in sfw_destroy_batch() 652 while (!list_empty(&tsb->bat_tests)) { in sfw_destroy_batch() 668 LASSERT(list_empty(&sn->sn_list)); in sfw_destroy_session() 671 while (!list_empty(&sn->sn_batches)) { in sfw_destroy_session() 850 LASSERT(!list_empty(&sn->sn_list)); /* I'm a zombie! */ in sfw_test_unit_done() [all …]
|
D | conrpc.c | 125 if (!list_empty(&console_session.ses_rpc_freelist)) { in lstcon_rpc_prep() 156 LASSERT(list_empty(&crpc->crp_link)); in lstcon_rpc_put() 330 !list_empty(&trans->tas_olink)) /* Not an end session RPC */ in lstcon_rpc_trans_check() 342 if (list_empty(&trans->tas_rpcs_list)) in lstcon_rpc_trans_postwait() 587 if (!list_empty(&trans->tas_olink)) in lstcon_rpc_trans_destroy() 1223 LASSERT(!list_empty(&crpc->crp_link)); in lstcon_rpc_pinger() 1289 LASSERT(list_empty(&console_session.ses_rpc_freelist)); in lstcon_rpc_pinger_start() 1335 while (!list_empty(&console_session.ses_trans_list)) { in lstcon_rpc_cleanup_wait() 1367 while (!list_empty(&zlist)) { in lstcon_rpc_cleanup_wait() 1394 LASSERT(list_empty(&console_session.ses_rpc_freelist)); in lstcon_rpc_module_fini()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_log_cil.c | 166 if (list_empty(&tp->t_items)) { in xlog_cil_insert_format_items() 318 if (!list_empty(&tp->t_busy)) in xlog_cil_insert_items() 400 if (!list_empty(&ctx->busy_extents)) { in xlog_cil_committed() 460 if (list_empty(&cil->xc_cil)) { in xlog_cil_push() 508 while (!list_empty(&cil->xc_cil)) { in xlog_cil_push() 690 ASSERT(!list_empty(&cil->xc_cil)); in xlog_cil_push_background() 734 if (list_empty(&cil->xc_cil) || push_seq <= cil->xc_push_seq) { in xlog_cil_push_now() 752 if (list_empty(&cil->xc_cil)) in xlog_cil_empty() 895 !list_empty(&cil->xc_cil)) { in xlog_cil_force_lsn() 930 if (list_empty(&lip->li_cil)) in xfs_log_item_in_current_chkpt() [all …]
|
D | xfs_trans_ail.c | 42 if (list_empty(&ailp->xa_ail)) in xfs_ail_check() 71 if (list_empty(&ailp->xa_ail)) in xfs_ail_max() 282 ASSERT(!list_empty(list)); in xfs_ail_splice() 672 if (!list_empty(&tmp)) in xfs_trans_ail_update_bulk() 746 if (list_empty(&ailp->xa_ail)) in xfs_trans_ail_delete_bulk()
|
/linux-4.1.27/fs/ |
D | mbcache.c | 225 if (list_empty(&ce->e_lru_list)) in __mb_cache_entry_release() 232 mb_assert(list_empty(&ce->e_lru_list)); in __mb_cache_entry_release() 258 while ((nr_to_scan-- > 0) && !list_empty(&mb_cache_lru_list)) { in mb_cache_shrink_scan() 271 !list_empty(&ce->e_lru_list)) { in mb_cache_shrink_scan() 421 !list_empty(&ce->e_lru_list)) { in mb_cache_shrink() 484 if (list_empty(&mb_cache_list)) { in mb_cache_destroy() 529 !list_empty(&ce->e_lru_list)) { in mb_cache_entry_alloc() 536 mb_assert(list_empty(&ce->e_lru_list)); in mb_cache_entry_alloc() 641 mb_assert(list_empty(&ce->e_lru_list)); in mb_cache_entry_free() 700 if (!list_empty(&ce->e_lru_list)) { in mb_cache_entry_get() [all …]
|
D | pnode.c | 87 list_empty(&mnt->mnt_share)) in do_make_slave() 104 while (!list_empty(p)) { in do_make_slave() 150 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in propagation_next() 172 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in next_group() 359 if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) in propagate_mount_busy() 365 if (child && list_empty(&child->mnt_mounts) && in propagate_mount_busy() 435 if (list_empty(&child->mnt_mounts)) { in __propagate_umount()
|
D | fs-writeback.c | 224 if (!list_empty(&wb->b_dirty)) { in redirty_tail() 294 while (!list_empty(delaying_queue)) { in move_expired_inodes() 317 while (!list_empty(&tmp)) { in move_expired_inodes() 681 while (!list_empty(&wb->b_io)) { in writeback_sb_inodes() 786 while (!list_empty(&wb->b_io)) { in __writeback_inodes_wb() 825 if (list_empty(&wb->b_io)) in writeback_inodes_wb() 902 !list_empty(&wb->bdi->work_list)) in wb_writeback() 925 if (list_empty(&wb->b_io)) in wb_writeback() 948 if (list_empty(&wb->b_more_io)) in wb_writeback() 955 if (!list_empty(&wb->b_more_io)) { in wb_writeback() [all …]
|
D | eventpoll.c | 336 return !list_empty(p); in ep_is_linked() 379 return !list_empty(&ep->rdllist) || ep->ovflist != EP_UNACTIVE_PTR; in ep_events_available() 538 while (!list_empty(lsthead)) { in ep_unregister_pollwait() 660 if (!list_empty(&ep->rdllist)) { in ep_scan_ready_list() 1174 if (list_empty(&child_file->f_ep_links)) { in reverse_path_check_proc() 1485 !list_empty(head) && eventcnt < esed->maxevents;) { in ep_send_events_proc() 1711 if (list_empty(&epi->ffd.file->f_tfile_llink)) in ep_loop_check_proc() 1753 while (!list_empty(&tfile_check_list)) { in clear_tfile_check_list() 1887 if (!list_empty(&f.file->f_ep_links) || in SYSCALL_DEFINE4()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | pinger.c | 384 if (!list_empty(&imp->imp_pinger_chain)) in ptlrpc_pinger_add_import() 406 if (list_empty(&imp->imp_pinger_chain)) in ptlrpc_pinger_del_import() 500 if (list_empty(obd_list)) in ptlrpc_del_timeout_client() 515 if (list_empty(&ti->ti_obd_list)) { in ptlrpc_del_timeout_client() 530 LASSERT(list_empty(&item->ti_obd_list)); in ptlrpc_pinger_remove_timeouts() 566 if (list_empty(&obd->obd_evict_list)) { in ping_evictor_wake() 588 l_wait_event(pet_waitq, (!list_empty(&pet_list)) || in ping_evictor_main() 592 if ((pet_state == PET_TERMINATE) && list_empty(&pet_list)) in ping_evictor_main() 613 while (!list_empty(&obd->obd_exports_timed)) { in ping_evictor_main()
|
D | sec_gc.c | 70 LASSERT(list_empty(&sec->ps_gc_list)); in sptlrpc_gc_add_sec() 84 if (list_empty(&sec->ps_gc_list)) in sptlrpc_gc_del_sec() 108 LASSERT(list_empty(&ctx->cc_gc_chain)); in sptlrpc_gc_add_ctx() 127 while (!list_empty(&sec_gc_ctx_list)) { in sec_process_ctx_list()
|
D | nrs_fifo.c | 106 LASSERT(list_empty(&head->fh_list)); in nrs_fifo_stop() 166 nrq = unlikely(list_empty(&head->fh_list)) ? NULL : in nrs_fifo_req_get() 219 LASSERT(!list_empty(&nrq->nr_u.fifo.fr_list)); in nrs_fifo_req_del()
|
D | service.c | 108 LASSERT(list_empty(&rqbd->rqbd_reqs)); in ptlrpc_free_rqbd() 373 LASSERT(list_empty(&rs->rs_list)); in ptlrpc_dispatch_difficult_reply() 438 if (list_empty(&svcpt->scp_rqbd_idle)) { in ptlrpc_server_post_idle_rqbds() 833 LASSERT(list_empty(&req->rq_timed_list)); in ptlrpc_server_free_request() 874 LASSERT(list_empty(&req->rq_timed_list)); in ptlrpc_server_drop_request() 962 if (!list_empty(&req->rq_exp_list)) { in ptlrpc_request_change_export() 1051 if (list_empty(&exp->exp_obd_chain_timed)) { in ptlrpc_update_export_timer() 1184 LASSERT(list_empty(&req->rq_timed_list)); in ptlrpc_at_add_timed() 1202 if (list_empty(&req->rq_timed_list)) in ptlrpc_at_add_timed() 1229 LASSERT(!list_empty(&req->rq_timed_list)); in ptlrpc_at_remove_timed() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 159 LASSERT(list_empty(&peer->ksnp_conns)); in ksocknal_destroy_peer() 160 LASSERT(list_empty(&peer->ksnp_routes)); in ksocknal_destroy_peer() 161 LASSERT(list_empty(&peer->ksnp_tx_queue)); in ksocknal_destroy_peer() 162 LASSERT(list_empty(&peer->ksnp_zc_req_list)); in ksocknal_destroy_peer() 238 LASSERT(list_empty(&peer->ksnp_conns)); in ksocknal_unlink_peer_locked() 239 LASSERT(list_empty(&peer->ksnp_routes)); in ksocknal_unlink_peer_locked() 271 list_empty(&peer->ksnp_routes)) { in ksocknal_get_peer_info() 439 if (list_empty(&peer->ksnp_routes) && in ksocknal_del_route_locked() 440 list_empty(&peer->ksnp_conns)) { in ksocknal_del_route_locked() 602 !list_empty(&peer->ksnp_tx_queue)) { in ksocknal_del_peer() [all …]
|
D | socklnd_cb.c | 40 if (!list_empty(&ksocknal_data.ksnd_idle_noop_txs)) { in ksocknal_alloc_tx() 412 while (!list_empty (txlist)) { in ksocknal_txlist_done() 729 if (list_empty(&conn->ksnc_tx_queue) && bufnob == 0) { in ksocknal_queue_tx_locked() 1378 list_empty(&sched->kss_rx_conns) && in ksocknal_sched_cansleep() 1379 list_empty(&sched->kss_tx_conns); in ksocknal_sched_cansleep() 1413 if (!list_empty (&sched->kss_rx_conns)) { in ksocknal_scheduler() 1457 if (!list_empty (&sched->kss_tx_conns)) { in ksocknal_scheduler() 1460 if (!list_empty(&sched->kss_zombie_noop_txs)) { in ksocknal_scheduler() 1472 LASSERT(!list_empty(&conn->ksnc_tx_queue)); in ksocknal_scheduler() 1490 if (!list_empty(&zlist)) { in ksocknal_scheduler() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_flip_work.c | 126 if (list_empty(&tasks)) in flip_worker() 165 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
|
D | drm_fops.c | 459 WARN_ON(!list_empty(&file_priv->event_list)); in drm_release() 493 if (list_empty(&file_priv->event_list)) { in drm_read() 504 !list_empty(&file_priv->event_list)); in drm_read() 544 if (!list_empty(&file_priv->event_list)) in drm_poll()
|
/linux-4.1.27/net/rds/ |
D | recv.c | 62 BUG_ON(!list_empty(&inc->i_item)); in rds_inc_put() 255 if (!list_empty(&rs->rs_recv_queue)) { in rds_next_incoming() 275 if (!list_empty(&inc->i_item)) { in rds_still_queued() 320 while (!list_empty(&rs->rs_notify_queue) && count < max_messages) { in rds_notify_queue_get() 331 while (!list_empty(©)) { in rds_notify_queue_get() 351 if (!list_empty(©)) { in rds_notify_queue_get() 419 if (!list_empty(&rs->rs_notify_queue)) { in rds_recvmsg() 436 (!list_empty(&rs->rs_notify_queue) || in rds_recvmsg()
|
D | iw_rdma.c | 204 BUG_ON(list_empty(&iw_nodev_conns)); 205 BUG_ON(list_empty(&ic->iw_node)); 224 BUG_ON(list_empty(&ic->iw_node)); 389 if (!list_empty(&pool->clean_list)) { 510 if (!list_empty(&unmap_list)) { 530 if (!list_empty(&unmap_list)) { 848 while (!list_empty(unmap_list)) {
|
D | ib_rdma.c | 168 BUG_ON(list_empty(&ib_nodev_conns)); in rds_ib_add_conn() 169 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_add_conn() 189 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_remove_conn() 628 if (list_empty(&unmap_list)) in rds_ib_flush_mr_pool() 653 if (!list_empty(&unmap_list)) { in rds_ib_flush_mr_pool()
|
D | send.c | 231 if (!list_empty(&conn->c_send_queue)) { in rds_send_xmit() 390 if (!list_empty(&to_be_dropped)) { in rds_send_xmit() 414 if (!list_empty(&conn->c_send_queue) && in rds_send_xmit() 598 while (!list_empty(messages)) { in rds_send_remove_from_sock() 692 if (!list_empty(&list)) in rds_send_drop_acked() 727 if (list_empty(&list)) in rds_send_drop_to() 769 while (!list_empty(&list)) { in rds_send_drop_to()
|
/linux-4.1.27/include/linux/ |
D | list.h | 187 static inline int list_empty(const struct list_head *head) in list_empty() function 219 if (!list_empty(head)) { in list_rotate_left() 231 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 263 if (list_empty(head)) in list_cut_position() 296 if (!list_empty(list)) in list_splice() 308 if (!list_empty(list)) in list_splice_tail() 322 if (!list_empty(list)) { in list_splice_init() 339 if (!list_empty(list)) { in list_splice_tail_init() 385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
|
D | backing-dev.h | 134 return !list_empty(&wb->b_dirty) || in wb_has_dirty_io() 135 !list_empty(&wb->b_io) || in wb_has_dirty_io() 136 !list_empty(&wb->b_more_io); in wb_has_dirty_io()
|
D | plist.h | 214 return list_empty(&head->node_list); in plist_head_empty() 223 return list_empty(&node->node_list); in plist_node_empty()
|
D | eventpoll.h | 53 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 105 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf() 126 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_buf_remove() 177 if (list_empty(&m2m_dev->job_queue)) { in v4l2_m2m_try_run() 241 if (list_empty(&m2m_ctx->out_q_ctx.rdy_queue) in v4l2_m2m_try_schedule() 250 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in v4l2_m2m_try_schedule() 554 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in v4l2_m2m_poll() 555 && (!dst_q->streaming || list_empty(&dst_q->queued_list))) { in v4l2_m2m_poll() 565 if (list_empty(&src_q->done_list)) in v4l2_m2m_poll() 567 if (list_empty(&dst_q->done_list)) in v4l2_m2m_poll() 580 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll() [all …]
|
/linux-4.1.27/fs/gfs2/ |
D | log.c | 224 if (list_empty(&tr->tr_ail1_list) && oldest_tr) in gfs2_ail1_empty() 229 ret = list_empty(&sdp->sd_ail1_list); in gfs2_ail1_empty() 269 while (!list_empty(head)) { in gfs2_ail2_empty_one() 295 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in ail2_empty() 296 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in ail2_empty() 473 if (list_empty(&sdp->sd_ail1_list)) { in current_tail() 537 while (!list_empty(&sdp->sd_log_le_ordered)) { in gfs2_ordered_write() 555 while (!list_empty(&sdp->sd_log_le_ordered)) { in gfs2_ordered_wait() 605 if (list_empty(&bd->bd_list)) { in gfs2_write_revokes() 631 if (!list_empty(&bd->bd_list)) in gfs2_write_revokes() [all …]
|
D | trans.c | 184 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data() 203 if (!list_empty(&bd->bd_list)) in meta_lo_add() 253 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | ctimap.c | 30 if (list_empty(head)) { in input_mapper_add() 76 if (list_empty(head)) in input_mapper_delete() 105 while (!list_empty(head)) { in free_input_mapper_list()
|
/linux-4.1.27/block/ |
D | deadline-iosched.c | 176 if (!list_empty(&req->queuelist) && !list_empty(&next->queuelist)) { in deadline_merged_requests() 246 const int reads = !list_empty(&dd->fifo_list[READ]); in deadline_dispatch_requests() 247 const int writes = !list_empty(&dd->fifo_list[WRITE]); in deadline_dispatch_requests() 331 BUG_ON(!list_empty(&dd->fifo_list[READ])); in deadline_exit_queue() 332 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); in deadline_exit_queue()
|
D | blk-flush.c | 185 if (list_empty(pending)) in blk_flush_complete_seq() 202 BUG_ON(!list_empty(&rq->queuelist)); in blk_flush_complete_seq() 292 if (fq->flush_pending_idx != fq->flush_running_idx || list_empty(pending)) in blk_kick_flush() 296 if (!list_empty(&fq->flush_data_in_flight) && in blk_kick_flush()
|
D | noop-iosched.c | 25 if (!list_empty(&nd->queue)) { in noop_dispatch() 90 BUG_ON(!list_empty(&nd->queue)); in noop_exit_queue()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_alias.c | 84 if (list_empty(&lcu->grouplist)) in _find_group() 288 if (list_empty(&lcu->grouplist) && in dasd_alias_disconnect_device_from_lcu() 289 list_empty(&lcu->active_devices) && in dasd_alias_disconnect_device_from_lcu() 290 list_empty(&lcu->inactive_devices)) { in dasd_alias_disconnect_device_from_lcu() 301 if (server && list_empty(&server->lculist)) { in dasd_alias_disconnect_device_from_lcu() 382 if (list_empty(&group->baselist) && list_empty(&group->aliaslist)) { in _remove_device_from_lcu() 577 if (device && !list_empty(&device->alias_list)) in _schedule_lcu_update() 580 if (!usedev && !list_empty(&lcu->grouplist)) { in _schedule_lcu_update() 583 if (!list_empty(&group->baselist)) in _schedule_lcu_update() 587 else if (!list_empty(&group->aliaslist)) in _schedule_lcu_update() [all …]
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_con.c | 62 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()
|
D | con3270.c | 172 if (!list_empty(&s->update)) in con3270_alloc_string() 267 if (list_empty(&cp->update)) in con3270_update() 430 if (!list_empty(&cp->cline->list)) in con3270_cline_add() 443 if (list_empty(&cp->cline->update)) { in con3270_cline_insert() 470 if (!list_empty(&cp->cline->update)) { in con3270_cline_end()
|
/linux-4.1.27/lib/ |
D | plist.c | 81 WARN_ON(!list_empty(&node->prio_list)); in plist_add() 117 if (!list_empty(&node->prio_list)) { in plist_del() 125 if (list_empty(&next->prio_list)) in plist_del() 199 BUG_ON(!list_empty(&node_pos->prio_list)); in plist_test_check()
|
/linux-4.1.27/drivers/dma/ |
D | sirf-dma.c | 178 if (!list_empty(&schan->queued)) in sirfsoc_dma_irq() 209 if (!list_empty(&schan->completed)) { in sirfsoc_dma_process_completed() 428 BUG_ON(!list_empty(&schan->prepared)); in sirfsoc_dma_free_chan_resources() 429 BUG_ON(!list_empty(&schan->queued)); in sirfsoc_dma_free_chan_resources() 430 BUG_ON(!list_empty(&schan->active)); in sirfsoc_dma_free_chan_resources() 431 BUG_ON(!list_empty(&schan->completed)); in sirfsoc_dma_free_chan_resources() 453 if (list_empty(&schan->active) && !list_empty(&schan->queued)) in sirfsoc_dma_issue_pending() 509 if (!list_empty(&schan->free)) { in sirfsoc_dma_prep_interleaved() 585 if (!list_empty(&schan->free)) { in sirfsoc_dma_prep_cyclic() 836 if (list_empty(&schan->active)) in sirfsoc_dma_pm_suspend() [all …]
|
D | timb_dma.c | 239 if (list_empty(&td_chan->active_list)) in __td_finish() 296 BUG_ON(list_empty(&td_chan->queue)); in __td_start_next() 320 if (list_empty(&td_chan->active_list)) { in td_tx_submit() 428 BUG_ON(!list_empty(&td_chan->free_list)); in td_alloc_chan_resources() 461 BUG_ON(!list_empty(&td_chan->active_list)); in td_free_chan_resources() 462 BUG_ON(!list_empty(&td_chan->queue)); in td_free_chan_resources() 497 if (!list_empty(&td_chan->active_list)) in td_issue_pending() 502 if (list_empty(&td_chan->active_list) && !list_empty(&td_chan->queue)) in td_issue_pending() 604 if (!list_empty(&td_chan->queue)) in td_tasklet()
|
D | mpc512x_dma.c | 269 while (!list_empty(&mchan->queued)) { in mpc_dma_execute() 279 if (list_empty(&mchan->active)) in mpc_dma_execute() 348 if (!list_empty(&mchan->queued)) in mpc_dma_irq_process() 398 if (!list_empty(&mchan->completed)) in mpc_dma_process_completed() 402 if (list_empty(&list)) in mpc_dma_process_completed() 488 if (list_empty(&mchan->active)) in mpc_dma_tx_submit() 570 BUG_ON(!list_empty(&mchan->prepared)); in mpc_dma_free_chan_resources() 571 BUG_ON(!list_empty(&mchan->queued)); in mpc_dma_free_chan_resources() 572 BUG_ON(!list_empty(&mchan->active)); in mpc_dma_free_chan_resources() 573 BUG_ON(!list_empty(&mchan->completed)); in mpc_dma_free_chan_resources() [all …]
|
D | virt-dma.h | 75 return !list_empty(&vc->desc_issued); in vchan_issue_pending() 118 if (list_empty(&vc->desc_issued)) in vchan_next_desc()
|
D | tegra20-apb-dma.c | 313 if (!list_empty(&dma_desc->tx_list)) in tegra_dma_desc_put() 326 if (!list_empty(&tdc->free_sg_req)) { in tegra_dma_sg_req_get() 346 if (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_slave_config() 491 if (list_empty(&tdc->pending_sg_req)) in tdc_start_head_req() 506 if (list_empty(&tdc->pending_sg_req)) in tdc_configure_next_head_desc() 528 while (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_abort_all() 552 if (list_empty(&tdc->pending_sg_req)) { in handle_continuous_head_request() 600 if (to_terminate || list_empty(&tdc->pending_sg_req)) in handle_once_dma_done() 644 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet() 704 if (list_empty(&tdc->pending_sg_req)) { in tegra_dma_issue_pending() [all …]
|
D | txx9dmac.c | 185 if (!list_empty(&desc->tx_list)) in txx9dmac_last_child() 437 BUG_ON(!list_empty(list)); in txx9dmac_dequeue() 452 } while (!list_empty(&dc->queue)); in txx9dmac_dequeue() 465 if (!list_empty(&dc->queue)) { in txx9dmac_complete_all() 528 if (list_empty(&dc->active_list) && !list_empty(&dc->queue)) in txx9dmac_handle_error() 530 if (!list_empty(&dc->active_list)) in txx9dmac_handle_error() 605 if (!list_empty(&dc->queue)) { in txx9dmac_scan_descriptors() 974 if (!list_empty(&dc->active_list)) in txx9dmac_issue_pending() 976 if (!list_empty(&dc->queue)) { in txx9dmac_issue_pending() 977 if (list_empty(&dc->active_list)) { in txx9dmac_issue_pending() [all …]
|
D | virt-dma.c | 80 while (!list_empty(&head)) { in vchan_complete() 96 while (!list_empty(head)) { in vchan_dma_desc_free_list()
|
D | imx-dma.c | 247 if (!list_empty(&imxdmac->ld_active)) { in imxdma_chan_is_doing_cyclic() 438 if (list_empty(&imxdmac->ld_active)) { in dma_irq_handle_channel() 627 if (list_empty(&imxdmac->ld_active)) { in imxdma_tasklet() 651 if (!list_empty(&imxdmac->ld_queue)) { in imxdma_tasklet() 818 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_slave_sg() 873 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_cyclic() 930 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_memcpy() 964 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_interleaved() 1001 if (list_empty(&imxdmac->ld_active) && in imxdma_issue_pending() 1002 !list_empty(&imxdmac->ld_queue)) { in imxdma_issue_pending()
|
D | ep93xx_dma.c | 239 BUG_ON(!list_empty(&edmac->active)); in ep93xx_dma_set_active() 244 while (!list_empty(&desc->tx_list)) { in ep93xx_dma_set_active() 265 if (list_empty(&edmac->active)) in ep93xx_dma_get_active() 720 if (!list_empty(&edmac->active) || list_empty(&edmac->queue)) { in ep93xx_dma_advance_work() 838 if (list_empty(&edmac->active)) { in ep93xx_dma_tx_submit() 948 BUG_ON(!list_empty(&edmac->active)); in ep93xx_dma_free_chan_resources() 949 BUG_ON(!list_empty(&edmac->queue)); in ep93xx_dma_free_chan_resources()
|
D | pch_dma.c | 348 if (list_empty(&desc->tx_list)) { in pdc_dostart() 381 if (!list_empty(&pd_chan->queue)) in pdc_complete_all() 400 if (!list_empty(&pd_chan->active_list)) in pdc_handle_error() 412 if (list_empty(&pd_chan->active_list) || in pdc_advance_work() 430 if (list_empty(&pd_chan->active_list)) { in pd_tx_submit() 517 if (!list_empty(&pd_chan->free_list)) in pd_alloc_chan_resources() 551 BUG_ON(!list_empty(&pd_chan->active_list)); in pd_free_chan_resources() 552 BUG_ON(!list_empty(&pd_chan->queue)); in pd_free_chan_resources()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 372 LASSERT(list_empty(&peer->ibp_conns)); in kiblnd_destroy_peer() 373 LASSERT(list_empty(&peer->ibp_tx_queue)); in kiblnd_destroy_peer() 398 !list_empty(&peer->ibp_conns)); /* active conn */ in kiblnd_find_peer_locked() 414 LASSERT(list_empty(&peer->ibp_conns)); in kiblnd_unlink_peer_locked() 439 !list_empty(&peer->ibp_conns)); in kiblnd_get_peer_info() 466 if (list_empty(&peer->ibp_conns)) { in kiblnd_del_peer_locked() 506 !list_empty(&peer->ibp_conns)); in kiblnd_del_peer() 514 if (!list_empty(&peer->ibp_tx_queue)) { in kiblnd_del_peer() 515 LASSERT(list_empty(&peer->ibp_conns)); in kiblnd_del_peer() 550 !list_empty(&peer->ibp_conns)); in kiblnd_get_conn_by_idx() [all …]
|
D | o2iblnd.h | 648 if (!list_empty(&dev->ibd_fail_list)) /* already scheduled */ in kiblnd_dev_can_failover() 714 return (!list_empty(&peer->ibp_list)); in kiblnd_peer_active() 720 LASSERT (!list_empty(&peer->ibp_conns)); in kiblnd_get_conn_locked() 745 if (!list_empty(&conn->ibc_tx_queue_nocred)) in kiblnd_need_noop() 749 return (list_empty(&conn->ibc_tx_queue) || in kiblnd_need_noop() 753 if (!list_empty(&conn->ibc_tx_noops) || /* NOOP already queued */ in kiblnd_need_noop() 754 !list_empty(&conn->ibc_tx_queue_nocred) || /* piggyback NOOP */ in kiblnd_need_noop() 763 return (list_empty(&conn->ibc_tx_queue) || conn->ibc_credits == 1); in kiblnd_need_noop()
|
D | o2iblnd_cb.c | 91 while (!list_empty(txlist)) { in kiblnd_txlist_done() 947 !list_empty(&conn->ibc_tx_queue_rsrvd)) { in kiblnd_check_sends() 972 if (!list_empty(&conn->ibc_tx_queue_nocred)) { in kiblnd_check_sends() 976 } else if (!list_empty(&conn->ibc_tx_noops)) { in kiblnd_check_sends() 981 } else if (!list_empty(&conn->ibc_tx_queue)) { in kiblnd_check_sends() 1356 if (peer != NULL && !list_empty(&peer->ibp_conns)) { in kiblnd_launch_tx() 1375 if (list_empty(&peer->ibp_conns)) { in kiblnd_launch_tx() 1414 if (list_empty(&peer2->ibp_conns)) { in kiblnd_launch_tx() 1837 if (list_empty(&peer->ibp_conns) && in kiblnd_peer_notify() 1876 list_empty(&conn->ibc_tx_noops) && in kiblnd_close_conn_locked() [all …]
|
/linux-4.1.27/drivers/block/zram/ |
D | zcomp.c | 107 if (!list_empty(&zs->idle_strm)) { in zcomp_strm_multi_find() 117 wait_event(zs->strm_wait, !list_empty(&zs->idle_strm)); in zcomp_strm_multi_find() 129 wait_event(zs->strm_wait, !list_empty(&zs->idle_strm)); in zcomp_strm_multi_find() 167 while (zs->avail_strm > num_strm && !list_empty(&zs->idle_strm)) { in zcomp_strm_multi_set_max_streams() 183 while (!list_empty(&zs->idle_strm)) { in zcomp_strm_multi_destroy()
|
/linux-4.1.27/fs/nfs_common/ |
D | grace.c | 70 return !list_empty(grace_list); in locks_in_grace() 88 BUG_ON(!list_empty(grace_list)); in grace_exit_net()
|
/linux-4.1.27/net/mac80211/ |
D | offchannel.c | 218 if (list_empty(&local->roc_list)) in ieee80211_hw_roc_start() 263 if (list_empty(&local->roc_list)) { in ieee80211_start_next_roc() 348 if (WARN_ON(list_empty(&local->roc_list))) in ieee80211_sw_roc_work() 413 else if (list_empty(&local->roc_list)) in ieee80211_sw_roc_work() 429 if (list_empty(&local->roc_list)) in ieee80211_hw_roc_done() 501 WARN_ON_ONCE(!list_empty(&tmp_list)); in ieee80211_roc_purge()
|
/linux-4.1.27/drivers/dca/ |
D | dca-core.c | 107 if (list_empty(&dca_domains)) { in unregister_dca_providers() 148 if (dca_provider_ioat_ver_3_0(dev) && !list_empty(&dca_domains)) in dca_get_domain() 167 if (!list_empty(&dca_domains)) in dca_find_provider_by_dev() 423 if (list_empty(&dca_domains)) { in unregister_dca_provider() 432 if (list_empty(&domain->dca_providers)) in unregister_dca_provider()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_module.c | 35 if (list_empty(&sht->legacy_hosts)) in init_this_scsi_driver() 62 if (list_empty(&sht->legacy_hosts)) in exit_this_scsi_driver()
|
/linux-4.1.27/kernel/ |
D | workqueue.c | 791 return !list_empty(&pool->worklist) && __need_more_worker(pool); in need_more_worker() 803 return !list_empty(&pool->worklist) && in keep_working() 830 if (unlikely(list_empty(&pool->idle_list))) in first_idle_worker() 920 !list_empty(&pool->worklist)) in wq_worker_sleeping() 1163 if (!list_empty(&pwq->delayed_works)) { in pwq_dec_nr_in_flight() 1420 if (WARN_ON(!list_empty(&work->entry))) { in __queue_work() 1489 WARN_ON_ONCE(!list_empty(&work->entry)); in __queue_delayed_work() 1598 WARN_ON_ONCE(!list_empty(&worker->entry) && in worker_enter_idle() 1708 if (list_empty(&pool->workers)) in worker_detach_from_pool() 1802 WARN_ON(!list_empty(&worker->scheduled)) || in destroy_worker() [all …]
|
D | kthread.c | 497 if (list_empty(&kthread_create_list)) in kthreadd() 502 while (!list_empty(&kthread_create_list)) { in kthreadd() 566 if (!list_empty(&worker->work_list)) { in kthread_worker_fn() 614 if (list_empty(&work->node)) { in queue_kthread_work() 661 if (!list_empty(&work->node)) in flush_kthread_work()
|
D | kprobes.c | 331 list_empty(&p->list); in kprobe_unused() 400 return kprobe_disabled(p) && list_empty(&op->list); in kprobe_disarmed() 410 if (!list_empty(&op->list)) in kprobe_queued() 456 list_empty(&optimizing_list)) in do_optimize_kprobes() 485 if (list_empty(&unoptimizing_list)) in do_unoptimize_kprobes() 561 if (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) in kprobe_optimizer() 570 while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) { in wait_for_kprobe_optimizer() 609 if (!list_empty(&op->list)) in optimize_kprobe() 639 if (force && !list_empty(&op->list)) { in unoptimize_kprobe() 652 if (!list_empty(&op->list)) { in unoptimize_kprobe() [all …]
|
D | audit_tree.c | 496 while (!list_empty(&victim->chunks)) { in prune_one() 527 while (!list_empty(&tree->chunks)) { in trim_marked() 561 if (list_empty(&tree->rules) && !tree->goner) { in audit_remove_tree_rule() 663 if (list_empty(&prune_list)) in prune_tree_thread() 670 while (!list_empty(&prune_list)) { in prune_tree_thread() 761 if (list_empty(&rule->rlist)) { in audit_add_tree_rule() 887 while (!list_empty(list)) { in audit_kill_trees() 922 while (!list_empty(&chunk->trees)) { in evict_chunk()
|
D | audit_watch.c | 71 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent() 120 WARN_ON(!list_empty(&watch->rules)); in audit_put_watch() 457 if (list_empty(&watch->rules)) { in audit_remove_watch_rule() 460 if (list_empty(&parent->watches)) { in audit_remove_watch_rule()
|
D | cgroup.c | 547 if (list_empty(&cgrp->cset_links)) { in put_css_set_locked() 750 BUG_ON(list_empty(tmp_links)); in link_css_set() 759 if (list_empty(&cgrp->cset_links)) in link_css_set() 834 BUG_ON(!list_empty(&tmp_links)); in find_css_set() 901 BUG_ON(!list_empty(&cgrp->self.children)); in cgroup_destroy_root() 919 if (!list_empty(&root->root_list)) { in cgroup_destroy_root() 1530 if (!list_empty(&root->cgrp.self.children)) { in cgroup_remount() 1581 WARN_ON_ONCE(!list_empty(&p->cg_list) || in cgroup_enable_task_cg_lists() 1718 BUG_ON(!list_empty(&root_cgrp->self.children)); in cgroup_setup_root() 1913 if (!list_empty(&root->cgrp.self.children) || in cgroup_kill_sb() [all …]
|
/linux-4.1.27/fs/squashfs/ |
D | decompressor_multi.c | 114 while (!list_empty(&stream->strm_list)) { in squashfs_decompressor_destroy() 138 if (!list_empty(&stream->strm_list)) { in get_decomp_stream() 178 !list_empty(&stream->strm_list)); in get_decomp_stream()
|
/linux-4.1.27/fs/jffs2/ |
D | nodemgmt.c | 172 list_empty(&c->erase_pending_list) && in jffs2_reserve_space() 173 list_empty(&c->erase_complete_list)) { in jffs2_reserve_space() 286 if (list_empty(&c->free_list)) { in jffs2_find_nextblock() 289 !list_empty(&c->erasable_list)) { in jffs2_find_nextblock() 301 !list_empty(&c->erasable_pending_wbuf_list)) { in jffs2_find_nextblock() 317 list_empty(&c->erasable_list) ? "yes" : "no", in jffs2_find_nextblock() 318 list_empty(&c->erasing_list) ? "yes" : "no", in jffs2_find_nextblock() 319 list_empty(&c->erase_pending_list) ? "yes" : "no"); in jffs2_find_nextblock() 844 if (!list_empty(&c->erase_complete_list) || in jffs2_thread_should_wake() 845 !list_empty(&c->erase_pending_list)) in jffs2_thread_should_wake()
|
D | debug.c | 498 if (list_empty(&c->clean_list)) { in __jffs2_dbg_dump_block_lists_nolock() 520 if (list_empty(&c->very_dirty_list)) { in __jffs2_dbg_dump_block_lists_nolock() 543 if (list_empty(&c->dirty_list)) { in __jffs2_dbg_dump_block_lists_nolock() 566 if (list_empty(&c->erasable_list)) { in __jffs2_dbg_dump_block_lists_nolock() 582 if (list_empty(&c->erasing_list)) { in __jffs2_dbg_dump_block_lists_nolock() 597 if (list_empty(&c->erase_checking_list)) { in __jffs2_dbg_dump_block_lists_nolock() 613 if (list_empty(&c->erase_pending_list)) { in __jffs2_dbg_dump_block_lists_nolock() 629 if (list_empty(&c->erasable_pending_wbuf_list)) { in __jffs2_dbg_dump_block_lists_nolock() 645 if (list_empty(&c->free_list)) { in __jffs2_dbg_dump_block_lists_nolock() 661 if (list_empty(&c->bad_list)) { in __jffs2_dbg_dump_block_lists_nolock() [all …]
|
D | gc.c | 55 if (!list_empty(&c->bad_used_list) && c->nr_free_blocks > c->resv_blocks_gcbad) { in jffs2_find_gc_block() 58 } else if (n < 50 && !list_empty(&c->erasable_list)) { in jffs2_find_gc_block() 63 } else if (n < 110 && !list_empty(&c->very_dirty_list)) { in jffs2_find_gc_block() 67 } else if (n < 126 && !list_empty(&c->dirty_list)) { in jffs2_find_gc_block() 70 } else if (!list_empty(&c->clean_list)) { in jffs2_find_gc_block() 73 } else if (!list_empty(&c->dirty_list)) { in jffs2_find_gc_block() 77 } else if (!list_empty(&c->very_dirty_list)) { in jffs2_find_gc_block() 80 } else if (!list_empty(&c->erasable_list)) { in jffs2_find_gc_block() 84 } else if (!list_empty(&c->erasable_pending_wbuf_list)) { in jffs2_find_gc_block() 228 if (!list_empty(&c->erase_complete_list) || in jffs2_garbage_collect_pass() [all …]
|
/linux-4.1.27/drivers/char/agp/ |
D | backend.c | 246 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()
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | gdm_sdio.c | 87 if (list_empty(&tx->free_list)) in get_tx_struct() 93 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_struct() 109 if (list_empty(&rx->free_list)) in get_rx_struct() 344 if (!list_empty(&tx->hci_list)) { in do_tx() 348 } else if (!tx->stop_sdu_tx && !list_empty(&tx->sdu_list)) { in do_tx() 463 if (list_empty(&tx->free_list)) in control_sdu_tx_flow() 510 if (!list_empty(&tx->sdu_list) || !list_empty(&tx->hci_list)) in gdm_sdio_irq() 555 if (!list_empty(&rx->req_list)) { in gdm_sdio_irq()
|
D | gdm_usb.c | 116 if (list_empty(&tx->free_list)) { in get_tx_struct() 124 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_struct() 140 if (list_empty(&rx->free_list)) { in get_rx_struct() 442 if (list_empty(&tx->free_list)) in gdm_usb_rcv_complete() 507 (!list_empty(&tx->hci_list) || !list_empty(&tx->sdu_list))) { in do_pm_control() 707 while (!list_empty(&k_list)) { in k_mode_thread() 745 !list_empty(&k_list) || in k_mode_thread()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_execbuf_util.c | 63 if (list_empty(list)) in ttm_eu_backoff_reservation() 103 if (list_empty(list)) in ttm_eu_reserve_buffers() 191 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
|
D | ttm_bo.c | 147 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_release_list() 148 BUG_ON(!list_empty(&bo->ddestroy)); in ttm_bo_release_list() 173 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_add_to_lru() 191 if (!list_empty(&bo->swap)) { in ttm_bo_del_from_lru() 195 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru() 531 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs_and_unlock() 561 if (list_empty(&bdev->ddestroy)) in ttm_bo_delayed_delete() 598 if (list_empty(&entry->ddestroy)) in ttm_bo_delayed_delete() 748 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first() 1248 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean() [all …]
|
/linux-4.1.27/net/ceph/ |
D | pagelist.c | 22 while (!list_empty(&pl->head)) { in ceph_pagelist_release() 102 while (!list_empty(&pl->free_list)) { in ceph_pagelist_free_reserve() 144 if (!list_empty(&pl->head)) { in ceph_pagelist_truncate()
|
/linux-4.1.27/drivers/usb/core/ |
D | urb.c | 143 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup() 761 while (!list_empty(&anchor->urb_list)) { in usb_kill_anchored_urbs() 794 while (!list_empty(&anchor->urb_list)) { in usb_poison_anchored_urbs() 920 if (!list_empty(&anchor->urb_list)) { in usb_get_from_anchor() 947 while (!list_empty(&anchor->urb_list)) { in usb_scuttle_anchored_urbs() 965 return list_empty(&anchor->urb_list); in usb_anchor_empty()
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | gang.c | 50 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang() 78 if (!list_empty(&ctx->aff_list)) { in spu_gang_remove_ctx()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 42 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() 283 while (!list_empty(pkt_queue)) { in htc_issue_packets() 325 if (list_empty(txq)) { in htc_try_send() 404 if (list_empty(&send_queue)) { in htc_try_send() 420 if (!list_empty(&send_queue)) { in htc_try_send() 423 if (!list_empty(&send_queue)) { in htc_try_send() [all …]
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-kthread-out.c | 71 if (!list_empty(&dev->vid_out_active) && in vivid_thread_vid_out_tick() 77 if (!list_empty(&dev->vbi_out_active) && in vivid_thread_vid_out_tick() 271 while (!list_empty(&dev->vid_out_active)) { in vivid_stop_generating_vid_out() 284 while (!list_empty(&dev->vbi_out_active)) { in vivid_stop_generating_vid_out()
|
/linux-4.1.27/drivers/base/ |
D | dd.c | 77 while (!list_empty(&deferred_probe_active_list)) { in deferred_probe_work_func() 115 if (list_empty(&dev->p->deferred_probe)) { in driver_deferred_probe_add() 125 if (!list_empty(&dev->p->deferred_probe)) { in driver_deferred_probe_del() 286 WARN_ON(!list_empty(&dev->devres_head)); in really_probe() 586 if (list_empty(&drv->p->klist_devices.k_list)) { in driver_detach()
|
D | devres.c | 104 BUG_ON(!list_empty(&node->entry)); in add_dr() 200 BUG_ON(!list_empty(&dr->node.entry)); in devres_free() 457 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes() 460 if (list_empty(&grp->node[1].entry)) in remove_nodes() 574 } else if (list_empty(&grp->node[1].entry)) in find_group() 661 if (!list_empty(&grp->node[1].entry)) in devres_release_group()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 202 static inline int list_empty(const struct list_head *head) in list_empty() function 232 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 266 if (list_empty(head)) in list_cut_position() 297 if (!list_empty(list)) in list_splice() 309 if (!list_empty(list)) in list_splice_tail() 323 if (!list_empty(list)) { in list_splice_init() 340 if (!list_empty(list)) { in list_splice_tail_init()
|
D | radeon_sa.c | 82 if (!list_empty(&sa_manager->olist)) { in radeon_sa_bo_manager_fini() 85 if (!list_empty(&sa_manager->olist)) { in radeon_sa_bo_manager_fini() 231 if (!list_empty(&sa_manager->flist[i])) { in radeon_sa_event() 270 if (list_empty(&sa_manager->flist[i])) { in radeon_sa_bo_next_hole()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_resource.c | 906 LASSERT(list_empty(&ns->ns_list_chain)); in ldlm_namespace_free_post() 963 LASSERT(list_empty(&ns->ns_list_chain)); in ldlm_namespace_register() 973 LASSERT(!list_empty(&ns->ns_list_chain)); in ldlm_namespace_unregister() 986 LASSERT(!list_empty(&ns->ns_list_chain)); in ldlm_namespace_move_to_active_locked() 995 LASSERT(!list_empty(&ns->ns_list_chain)); in ldlm_namespace_move_to_inactive_locked() 1005 LASSERT(!list_empty(ldlm_namespace_list(client))); in ldlm_namespace_first_locked() 1183 if (!list_empty(&res->lr_granted)) { in __ldlm_resource_putref_final() 1188 if (!list_empty(&res->lr_converting)) { in __ldlm_resource_putref_final() 1193 if (!list_empty(&res->lr_waiting)) { in __ldlm_resource_putref_final() 1274 LASSERT(list_empty(&lock->l_res_link)); in ldlm_resource_add_lock() [all …]
|
D | ldlm_lock.c | 198 LASSERT(list_empty(&lock->l_res_link)); in ldlm_lock_put() 199 LASSERT(list_empty(&lock->l_pending_chain)); in ldlm_lock_put() 228 if (!list_empty(&lock->l_lru)) { in ldlm_lock_remove_from_lru_nolock() 249 LASSERT(list_empty(&lock->l_lru)); in ldlm_lock_remove_from_lru() 267 LASSERT(list_empty(&lock->l_lru)); in ldlm_lock_add_to_lru_nolock() 298 LASSERT(list_empty(&lock->l_lru)); in ldlm_lock_touch_in_lru() 303 if (!list_empty(&lock->l_lru)) { in ldlm_lock_touch_in_lru() 336 if (!list_empty(&lock->l_res_link)) { in ldlm_lock_destroy_internal() 342 LASSERT(list_empty(&lock->l_lru)); in ldlm_lock_destroy_internal() 504 LASSERT(list_empty(&lock->l_res_link)); in ldlm_lock_change_resource() [all …]
|
D | ldlm_extent.c | 117 LASSERT(list_empty(&node->li_group)); in ldlm_interval_free() 141 LASSERT(!list_empty(&n->li_group)); in ldlm_interval_detach() 145 return list_empty(&n->li_group) ? n : NULL; in ldlm_interval_detach()
|
D | ldlm_lib.c | 148 if (list_empty(&imp->imp_conn_list)) { in client_import_del_conn() 707 LASSERT(list_empty(&rs->rs_obd_list)); in target_send_reply() 708 LASSERT(list_empty(&rs->rs_exp_list)); in target_send_reply() 753 list_empty(&rs->rs_exp_list) || /* completed already */ in target_send_reply() 754 list_empty(&rs->rs_obd_list)) { in target_send_reply() 859 if (!list_empty(&exp->exp_locks_list)) { in ldlm_dump_export_locks()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | cna.h | 67 if (!list_empty(_q)) { \ 82 if (!list_empty(_q)) { \
|
/linux-4.1.27/net/sunrpc/ |
D | sched.c | 72 if (list_empty(&queue->timer_list.list)) in __rpc_disable_timer() 96 …if (list_empty(&queue->timer_list.list) || time_before(task->u.tk_wait.expires, queue->timer_list.… in __rpc_add_timer() 106 if (!list_empty(q)) { in rpc_rotate_queue_owner() 198 if (!list_empty(&task->u.tk_wait.links)) { in __rpc_remove_wait_queue_priority() 471 if (!list_empty(q)) { in __rpc_find_next_queued_priority() 492 if (!list_empty(q)) { in __rpc_find_next_queued_priority() 513 if (!list_empty(&queue->tasks[0])) in __rpc_find_next_queued() 569 while (!list_empty(head)) { in rpc_wake_up() 598 while (!list_empty(head)) { in rpc_wake_up_status() 633 if (!list_empty(&queue->timer_list.list)) in __rpc_queue_timer_fn()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpaphp_pci.c | 118 if (list_empty(&bus->devices)) in rpaphp_enable_slot() 121 if (!list_empty(&bus->devices)) { in rpaphp_enable_slot()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_user_sdma.c | 584 if (!list_empty(&free_list)) { in ipath_user_sdma_queue_clean() 632 if (list_empty(&pq->sent)) { in ipath_user_sdma_queue_drain() 642 if (!list_empty(&pq->sent)) { in ipath_user_sdma_queue_drain() 715 if (list_empty(pktlist)) in ipath_user_sdma_push_pkts() 729 while (!list_empty(pktlist)) { in ipath_user_sdma_push_pkts() 821 if (!list_empty(&list)) { in ipath_user_sdma_writev() 839 if (!list_empty(&list)) in ipath_user_sdma_writev() 846 if (!list_empty(&list)) in ipath_user_sdma_writev()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ldu.c | 103 if (!list_empty(&lds->active)) { in vmw_ldu_commit_list() 160 if (list_empty(&ldu->active)) in vmw_ldu_del_active() 192 if (!list_empty(&ldu->active)) in vmw_ldu_add_active() 248 !list_empty(&ldu->active)) && in vmw_ldu_crtc_set_config() 444 BUG_ON(!list_empty(&dev_priv->ldu_priv->active)); in vmw_kms_close_legacy_display_system()
|
D | vmwgfx_fence.c | 217 if (!list_empty(&cb.base.node)) in vmw_fence_wait() 267 if (list_empty(&list)) in vmw_fence_work_func() 315 lists_empty = list_empty(&fman->fence_list) && in vmw_fence_manager_takedown() 316 list_empty(&fman->cleanup_list); in vmw_fence_manager_takedown() 402 if (!list_empty(&fence->seq_passed_actions)) { in vmw_fence_goal_new_locked() 487 if (!list_empty(&fman->cleanup_list)) in __vmw_fences_update() 669 while (!list_empty(&fman->fence_list)) { in vmw_fence_fifo_down() 688 BUG_ON(!list_empty(&fence->head)); in vmw_fence_fifo_down() 832 if (list_empty(event_list)) in vmw_event_fence_fpriv_gone()
|
D | vmwgfx_marker.c | 83 if (list_empty(&queue->head)) { in vmw_marker_pull() 137 if (list_empty(&queue->head)) in vmw_wait_lag()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | pci_dlpar.c | 108 if (!(list_empty(&b->children) && list_empty(&b->devices))) in remove_phb_dynamic()
|
D | hvcserver.c | 83 while (!list_empty(head)) { in hvcs_free_partner_info() 161 if (!list_empty(head)) in hvcs_get_partner_info()
|
/linux-4.1.27/drivers/misc/mei/ |
D | init.c | 363 list_empty(&dev->ctrl_wr_list.list) && in mei_write_is_idle() 364 list_empty(&dev->write_list.list)); in mei_write_is_idle() 369 list_empty(&dev->ctrl_wr_list.list), in mei_write_is_idle() 370 list_empty(&dev->write_list.list)); in mei_write_is_idle()
|
/linux-4.1.27/drivers/usb/host/whci/ |
D | asl.c | 33 BUG_ON(list_empty(&whc->async_list)); in qset_get_next_prev() 79 if (list_empty(&whc->async_list)) in asl_qset_remove() 245 if (!list_empty(&qset->stds)) { in scan_async_work() 384 if (!list_empty(&whc->async_list)) { in asl_clean_up()
|
/linux-4.1.27/fs/dlm/ |
D | plock.c | 165 if (!list_empty(&op->list)) { in dlm_posix_lock() 198 if (!list_empty(&op->list)) { in dlm_plock_callback() 297 if (!list_empty(&op->list)) { in dlm_posix_unlock() 351 if (!list_empty(&op->list)) { in dlm_posix_get() 394 if (!list_empty(&send_list)) { in dev_read() 473 if (!list_empty(&send_list)) in dev_poll()
|
D | requestqueue.c | 74 if (list_empty(&ls->ls_requestqueue)) { in dlm_process_requestqueue() 122 if (list_empty(&ls->ls_requestqueue)) in dlm_wait_requestqueue()
|
/linux-4.1.27/drivers/md/ |
D | dm-region-hash.c | 240 BUG_ON(!list_empty(&rh->quiesced_regions)); in dm_region_hash_destroy() 420 BUG_ON(!list_empty(®->list)); in dm_rh_mark_nosync() 432 BUG_ON(!list_empty(®->list)); in dm_rh_mark_nosync() 453 if (!list_empty(&rh->clean_regions)) { in dm_rh_update_states() 460 if (!list_empty(&rh->recovered_regions)) { in dm_rh_update_states() 467 if (!list_empty(&rh->failed_recovered_regions)) { in dm_rh_update_states() 650 if (!list_empty(&rh->quiesced_regions)) { in dm_rh_recovery_start()
|
D | dm-stats.h | 37 return !list_empty(&st->list); in dm_stats_used()
|
/linux-4.1.27/net/sched/ |
D | sch_hhf.c | 203 if (list_empty(head)) in seek_list() 234 if (!list_empty(head)) { in alloc_new_hh() 400 if (list_empty(&bucket->bucketchain)) { in hhf_enqueue() 441 if (list_empty(head)) { in hhf_dequeue() 443 if (list_empty(head)) in hhf_dequeue() 465 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue() 514 if (list_empty(head)) in hhf_destroy()
|
D | sch_fq_codel.c | 195 if (list_empty(&flow->flowchain)) { in fq_codel_enqueue() 245 if (list_empty(head)) { in fq_codel_dequeue() 247 if (list_empty(head)) in fq_codel_dequeue() 269 if ((head == &q->new_flows) && !list_empty(&q->old_flows)) in fq_codel_dequeue() 569 if (list_empty(&q->flows[i].flowchain) || in fq_codel_walk()
|
/linux-4.1.27/fs/autofs4/ |
D | autofs_i.h | 251 if (list_empty(&ino->expiring)) in __autofs4_add_expiring() 263 if (list_empty(&ino->expiring)) in autofs4_add_expiring() 276 if (!list_empty(&ino->expiring)) in autofs4_del_expiring()
|
D | root.c | 81 if (list_empty(&ino->active)) in autofs4_add_active() 98 if (!list_empty(&ino->active)) in autofs4_del_active() 148 if (!list_empty(&ino->active)) in autofs4_dentry_release() 150 if (!list_empty(&ino->expiring)) in autofs4_dentry_release() 169 if (list_empty(head)) in autofs4_lookup_active() 224 if (list_empty(head)) in autofs4_lookup_expiring() 465 if (list_empty(&dentry->d_subdirs)) in autofs4_d_manage()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_scsi.h | 29 if (!list_empty(list)) { \ 36 (list_empty(list)) ? NULL : \
|
/linux-4.1.27/tools/perf/util/ |
D | ordered-events.c | 100 if (!list_empty(cache)) { in alloc_event() 218 if (list_empty(head)) in __ordered_events__flush() 253 if (WARN_ONCE(!last || list_empty(head), "empty queue")) in ordered_events__flush() 299 while (!list_empty(&oe->to_free)) { in ordered_events__free()
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | intr.c | 81 !list_empty(dest)) { in remove_completed_waiters() 180 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list() 239 queue_was_empty = list_empty(&syncpt->intr.wait_head); in host1x_intr_add_action() 342 if (!list_empty(&syncpt[id].intr.wait_head)) { in host1x_intr_stop()
|
D | cdma.c | 140 space = list_empty(&cdma->sync_queue) ? 1 : 0; in host1x_cdma_wait_locked() 260 list_empty(&cdma->sync_queue)) in update_cdma_locked() 318 if (!list_empty(&cdma->sync_queue)) in host1x_cdma_update_sync_queue() 466 bool idle = list_empty(&cdma->sync_queue); in host1x_cdma_end()
|
/linux-4.1.27/arch/s390/kernel/ |
D | vtime.c | 56 if (list_empty(&virt_timer_list)) in virt_timer_forward() 234 if (!list_empty(&virt_timer_list)) { in virt_timer_expire() 266 return !list_empty(&timer->entry); in vtimer_pending() 271 if (list_empty(&virt_timer_list)) { in internal_add_vtimer()
|
/linux-4.1.27/fs/btrfs/ |
D | relocation.c | 223 while (!list_empty(&cache->detached)) { in backref_cache_cleanup() 229 while (!list_empty(&cache->leaves)) { in backref_cache_cleanup() 238 BUG_ON(!list_empty(&cache->pending[i])); in backref_cache_cleanup() 239 BUG_ON(!list_empty(&cache->changed)); in backref_cache_cleanup() 240 BUG_ON(!list_empty(&cache->detached)); in backref_cache_cleanup() 353 while (!list_empty(&node->upper)) { in walk_up_backref() 411 BUG_ON(!list_empty(&node->upper)); in drop_backref_node() 434 while (!list_empty(&node->upper)) { in remove_backref_node() 443 BUG_ON(!list_empty(&node->upper)); in remove_backref_node() 453 if (list_empty(&upper->lower)) { in remove_backref_node() [all …]
|
D | transaction.c | 65 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction() 70 while (!list_empty(&transaction->pending_chunks)) { in btrfs_put_transaction() 240 if (!list_empty(&fs_info->tree_mod_seq_list)) in join_transaction() 756 if (!list_empty(&trans->new_bgs)) in __btrfs_end_transaction() 759 if (!list_empty(&trans->ordered)) { in __btrfs_end_transaction() 792 if (!list_empty(&trans->new_bgs)) in __btrfs_end_transaction() 1102 while (!list_empty(&fs_info->dirty_cowonly_roots)) { in commit_cowonly_roots() 1119 while (!list_empty(dirty_bgs) || !list_empty(io_bgs)) { in commit_cowonly_roots() 1128 if (!list_empty(&fs_info->dirty_cowonly_roots)) in commit_cowonly_roots() 1146 if (list_empty(&root->root_list)) in btrfs_add_dead_root() [all …]
|
D | ordered-data.c | 240 BUG_ON(!list_empty(&root->ordered_root)); in __btrfs_add_ordered_extent() 467 while (!list_empty(logged_list)) { in btrfs_put_logged_extents() 493 while (!list_empty(&log->logged_list[index])) { in btrfs_wait_logged_extents() 524 while (!list_empty(&log->logged_list[index])) { in btrfs_free_logged_extents() 550 while (!list_empty(&entry->list)) { in btrfs_put_ordered_extent() 588 BUG_ON(list_empty(&root->ordered_root)); in btrfs_remove_ordered_extent() 621 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents() 667 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-queue.c | 92 if (!list_empty(&q->list)) { in cx18_dequeue() 221 while (!list_empty(&q_src->list)) { in cx18_queue_flush() 260 while (!list_empty(&mdl->buf_list)) { in cx18_unload_queues() 299 if (list_empty(&s->buf_pool)) in cx18_load_queues() 434 while (!list_empty(&s->buf_pool)) { in cx18_stream_free()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 763 LASSERT(list_empty(&exp->exp_outstanding_replies)); in class_export_destroy() 764 LASSERT(list_empty(&exp->exp_uncommitted_replies)); in class_export_destroy() 765 LASSERT(list_empty(&exp->exp_req_replay_queue)); in class_export_destroy() 766 LASSERT(list_empty(&exp->exp_hp_rpcs)); in class_export_destroy() 800 LASSERT(!list_empty(&exp->exp_obd_chain)); in class_export_put() 941 while (!list_empty(&imp->imp_conn_list)) { in class_import_destroy() 978 LASSERT(list_empty(&imp->imp_zombie_chain)); in class_import_put() 1239 while (!list_empty(list)) { in class_disconnect_export_list() 1285 if (!list_empty(&work_list)) { in class_disconnect_exports() 1541 LASSERT(list_empty(&obd->obd_exports)); in obd_exports_barrier() [all …]
|
D | lustre_peer.c | 168 if (uuid != NULL && list_empty(&deathrow)) { in class_del_uuid() 173 while (!list_empty(&deathrow)) { in class_del_uuid()
|
D | cl_io.c | 110 while (!list_empty(&io->ci_layers)) { in cl_io_fini() 888 LASSERT(ergo(result != 0, list_empty(&queue->c2_qout.pl_pages))); in cl_io_submit_rw() 928 LASSERT(list_empty(&queue->c2_qout.pl_pages)); in cl_io_submit_sync() 1034 list_empty(linkage)); in cl_io_slice_add() 1068 LASSERT(list_empty(&page->cp_batch)); in cl_page_list_add() 1375 LASSERT(list_empty(&req->crq_pages)); in cl_req_free() 1377 LINVRNT(list_empty(&req->crq_layers)); in cl_req_free() 1430 while (!list_empty(&req->crq_layers)) { in cl_req_completion() 1487 LASSERT(list_empty(&page->cp_flight)); in cl_req_page_add() 1519 LASSERT(!list_empty(&page->cp_flight)); in cl_req_page_done() [all …]
|
/linux-4.1.27/drivers/base/power/ |
D | main.c | 565 while (!list_empty(&dpm_noirq_list)) { in dpm_resume_noirq() 687 while (!list_empty(&dpm_late_early_list)) { in dpm_resume_early() 857 while (!list_empty(&dpm_suspended_list)) { in dpm_resume() 875 if (!list_empty(&dev->power.entry)) in dpm_resume() 949 while (!list_empty(&dpm_prepared_list)) { in dpm_complete() 1112 while (!list_empty(&dpm_late_early_list)) { in dpm_suspend_noirq() 1127 if (!list_empty(&dev->power.entry)) in dpm_suspend_noirq() 1253 while (!list_empty(&dpm_suspended_list)) { in dpm_suspend_late() 1262 if (!list_empty(&dev->power.entry)) in dpm_suspend_late() 1507 while (!list_empty(&dpm_prepared_list)) { in dpm_suspend() [all …]
|
/linux-4.1.27/fs/ubifs/ |
D | gc.c | 414 if (list_empty(&sleb->nodes) && list_empty(&nondata)) in move_nodes() 520 ubifs_assert(!list_empty(&sleb->nodes)); in ubifs_garbage_collect_leb() 681 if (i > SOFT_LEBS_LIMIT && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 801 if (ret == -ENOSPC && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 954 while (!list_empty(&c->idx_gc)) { in ubifs_destroy_idx_gc() 976 if (list_empty(&c->idx_gc)) in ubifs_get_idx_gc_leb()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_host.h | 73 if (list_empty(q)) in first_qh() 146 if (list_empty(queue)) in next_urb()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-local.c | 272 ASSERT(list_empty(&local->services)); in rxrpc_destroy_local() 289 if (list_empty(&rxrpc_locals)) in rxrpc_destroy_local() 306 if (!list_empty(&rxrpc_locals)) { in rxrpc_destroy_all_locals() 310 while (!list_empty(&rxrpc_locals)) { in rxrpc_destroy_all_locals()
|
D | ar-peer.c | 273 if (list_empty(&rxrpc_peers)) in rxrpc_destroy_peer() 289 if (!list_empty(&rxrpc_peers)) { in rxrpc_destroy_all_peers() 293 while (!list_empty(&rxrpc_peers)) { in rxrpc_destroy_all_peers()
|
D | ar-connection.c | 184 ASSERT(list_empty(&bundle->unused_conns)); in rxrpc_put_bundle() 185 ASSERT(list_empty(&bundle->avail_conns)); in rxrpc_put_bundle() 186 ASSERT(list_empty(&bundle->busy_conns)); in rxrpc_put_bundle() 449 if (!list_empty(&bundle->avail_conns)) { in rxrpc_connect_call() 471 if (!list_empty(&bundle->unused_conns)) { in rxrpc_connect_call() 512 !list_empty(&bundle->unused_conns) || in rxrpc_connect_call() 513 !list_empty(&bundle->avail_conns)) in rxrpc_connect_call() 903 while (!list_empty(&graveyard)) { in rxrpc_connection_reaper()
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 136 if (!list_empty(&pseq_pool)) { in pool_get_pseq_elem() 149 if (!list_empty(&pulse_pool)) { in pool_get_pulse_elem() 161 if (list_empty(l)) in pulse_queue_get_tail() 337 if (list_empty(&pde->sequences)) in pseq_handler_check_detection()
|
D | dfs_pattern_detector.c | 246 if (!list_empty(&dpd->channel_detectors)) in dpd_reset() 254 if (!list_empty(&dpd->channel_detectors)) in dpd_exit() 321 if (!list_empty(&dpd->channel_detectors)) in dpd_set_domain()
|
/linux-4.1.27/fs/ecryptfs/ |
D | miscdev.c | 61 if (!list_empty(&daemon->msg_ctx_out_queue)) in ecryptfs_miscdev_poll() 252 if (list_empty(&daemon->msg_ctx_out_queue)) { in ecryptfs_miscdev_read() 255 daemon->wait, !list_empty(&daemon->msg_ctx_out_queue)); in ecryptfs_miscdev_read() 266 if (list_empty(&daemon->msg_ctx_out_queue)) { in ecryptfs_miscdev_read()
|
D | kthread.c | 65 (!list_empty(&ecryptfs_kthread_ctl.req_list) in ecryptfs_threadfn() 72 while (!list_empty(&ecryptfs_kthread_ctl.req_list)) { in ecryptfs_threadfn()
|
/linux-4.1.27/security/keys/ |
D | gc.c | 129 while (!list_empty(keys)) { in key_gc_unused_keys() 284 !list_empty(&graveyard)) { in key_garbage_collector() 294 if (!list_empty(&graveyard)) { in key_garbage_collector()
|
/linux-4.1.27/drivers/scsi/arm/ |
D | queue.c | 92 if (!list_empty(&queue->head)) in queue_free() 114 if (list_empty(&queue->free)) in __queue_add() 193 if (!list_empty(&queue->head)) in queue_remove()
|
/linux-4.1.27/fs/nfs/filelayout/ |
D | filelayoutdev.c | 168 if (list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node() 179 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node() 193 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | iwcm.c | 111 if (list_empty(&cm_id_priv->work_free_list)) in get_work() 136 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries() 181 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id() 209 BUG_ON(!list_empty(&cm_id_priv->work_list)); in rem_ref() 881 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 886 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 900 BUG_ON(!list_empty(&cm_id_priv->work_list)); in cm_work_handler() 959 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler()
|
/linux-4.1.27/net/atm/ |
D | br2684.c | 288 …return list_empty(&brdev->brvccs) ? NULL : list_entry_brvcc(brdev->brvccs.next); /* 1 vcc/dev righ… in pick_outgoing_vcc() 375 if (brdev == NULL || list_empty(&brdev->brvccs) || in br2684_setfilt() 434 if (list_empty(&brdev->brvccs)) { in br2684_push() 563 if (!list_empty(&brdev->brvccs)) { in br2684_regvcc() 578 if (list_empty(&brdev->brvccs) && !brdev->mac_was_set) { in br2684_regvcc() 705 if (list_empty(&br2684_devs)) { in br2684_create() 867 while (!list_empty(&br2684_devs)) { in br2684_exit() 870 while (!list_empty(&brdev->brvccs)) { in br2684_exit()
|
/linux-4.1.27/arch/frv/mm/ |
D | mmu-context.c | 50 if (!list_empty(&ctx->id_link)) { in get_cxn() 136 if (!list_empty(&ctx->id_link)) { in destroy_context()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | pio.c | 473 B43legacy_WARN_ON(list_empty(&queue->txfree)); in b43legacy_pio_tx() 545 if (!list_empty(&queue->txqueue)) in b43legacy_pio_handle_txstatus() 687 if (!list_empty(&pio->queue0->txqueue)) in b43legacy_pio_thaw_txqueues() 689 if (!list_empty(&pio->queue1->txqueue)) in b43legacy_pio_thaw_txqueues() 691 if (!list_empty(&pio->queue2->txqueue)) in b43legacy_pio_thaw_txqueues() 693 if (!list_empty(&pio->queue3->txqueue)) in b43legacy_pio_thaw_txqueues()
|
/linux-4.1.27/drivers/usb/c67x00/ |
D | c67x00-sched.c | 282 if (list_empty(&ep_data->node)) { in c67x00_ep_data_alloc() 306 if (!list_empty(&ep_data->queue)) in c67x00_ep_data_free() 324 if (!list_empty(&ep->urb_list)) in c67x00_endpoint_disable() 415 if (list_empty(&urbp->ep_data->queue)) in c67x00_urb_enqueue() 798 if (!list_empty(&ep_data->queue)) { in c67x00_fill_from_list() 814 if (!list_empty(&c67x00->td_list)) { in c67x00_fill_frame() 1083 if (list_empty(&c67x00->td_list)) in c67x00_send_frame() 1116 if (!list_empty(&c67x00->td_list)) in c67x00_do_work() 1131 if (!list_empty(&c67x00->td_list)) in c67x00_do_work()
|
/linux-4.1.27/mm/ |
D | compaction.c | 600 if (list_empty(&cc->migratepages)) in acct_isolated() 1007 if (list_empty(&cc->freepages)) { in compaction_alloc() 1011 if (list_empty(&cc->freepages)) in compaction_alloc() 1180 if (!list_empty(&area->free_list[migratetype])) in __compact_finished() 1186 !list_empty(&area->free_list[MIGRATE_CMA])) in __compact_finished() 1458 VM_BUG_ON(!list_empty(&cc.freepages)); in compact_zone_order() 1459 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_zone_order() 1618 VM_BUG_ON(!list_empty(&cc->freepages)); in __compact_pgdat() 1619 VM_BUG_ON(!list_empty(&cc->migratepages)); in __compact_pgdat()
|
/linux-4.1.27/drivers/xen/xenbus/ |
D | xenbus_dev_frontend.c | 132 while (list_empty(&u->read_buffers)) { in xenbus_file_read() 138 !list_empty(&u->read_buffers)); in xenbus_file_read() 164 if (list_empty(&u->read_buffers)) in xenbus_file_read() 213 while (!list_empty(list)) { in queue_cleanup() 594 if (!list_empty(&u->read_buffers)) in xenbus_file_poll()
|
/linux-4.1.27/drivers/dma-buf/ |
D | fence.c | 179 BUG_ON(!list_empty(&fence->cb_list)); in fence_release() 306 ret = !list_empty(&cb->node); in fence_remove_callback() 390 if (!list_empty(&cb.base.node)) in fence_default_wait()
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 227 while (!list_empty(&dto_xprt_q)) { in dto_tasklet_func() 269 if (list_empty(&xprt->sc_dto_q)) { in rq_comp_handler() 450 if (list_empty(&xprt->sc_dto_q)) { in sq_comp_handler() 780 while (!list_empty(&xprt->sc_frmr_q)) { in rdma_dealloc_frmr_q() 795 if (!list_empty(&rdma->sc_frmr_q)) { in svc_rdma_get_frmr() 829 WARN_ON_ONCE(!list_empty(&frmr->frmr_list)); in svc_rdma_put_frmr() 862 if (!list_empty(&listen_rdma->sc_accept_q)) { in svc_rdma_accept() 867 if (!list_empty(&listen_rdma->sc_accept_q)) in svc_rdma_accept() 1144 while (!list_empty(&rdma->sc_read_complete_q)) { in __svc_rdma_free() 1154 while (!list_empty(&rdma->sc_rq_dto_q)) { in __svc_rdma_free()
|
/linux-4.1.27/fs/nfs/ |
D | pnfs_nfs.c | 128 if (list_empty(src)) in pnfs_generic_scan_ds_commit_list() 189 if (list_empty(&bucket->committing)) in pnfs_generic_retry_commit() 213 if (list_empty(&bucket->committing)) in pnfs_generic_alloc_ds_commits() 243 if (!list_empty(mds_pages)) { in pnfs_generic_commit_pagelist() 413 while (!list_empty(&ds->ds_addrs)) { in destroy_ds() 496 if (list_empty(dsaddrs)) { in nfs4_pnfs_ds_add() 859 if (list_empty(list)) { in pnfs_layout_mark_request_commit()
|
D | pnfs.c | 218 if (!list_empty(&lo->plh_layouts)) { in pnfs_free_layout_hdr() 246 if (!list_empty(&lo->plh_segs)) in pnfs_put_layout_hdr() 342 if (list_empty(&lo->plh_segs)) in pnfs_layout_remove_lseg() 559 if (list_empty(&lo->plh_segs)) in pnfs_mark_matching_lsegs_invalid() 581 if (list_empty(free_me)) in pnfs_free_lseg_list() 622 if (lo != NULL && list_empty(&lo->plh_bulk_destroy)) { in pnfs_layout_add_bulk_destroy_list() 671 while (!list_empty(layout_list)) { in pnfs_layout_free_bulk_destroy_list() 717 if (list_empty(&layout_list)) in pnfs_destroy_layouts_byfsid() 741 if (list_empty(&layout_list)) in pnfs_destroy_layouts_byclid() 774 int empty = list_empty(&lo->plh_segs); in pnfs_set_layout_stateid() [all …]
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_sched.c | 191 if (!list_empty(&scheduler->n_list)) { in register_ip_vs_scheduler() 235 if (list_empty(&scheduler->n_list)) { in unregister_ip_vs_scheduler()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | goku_udc.c | 289 WARN_ON(!list_empty(&req->queue)); in goku_free_request() 487 if (dbuff && !list_empty(&ep->queue)) { in read_fifo() 521 if (unlikely(list_empty (&ep->queue))) in pio_advance() 594 if (unlikely(list_empty(&ep->queue))) { in dma_advance() 628 if (list_empty(&ep->queue)) in dma_advance() 718 || !_req->buf || !list_empty(&req->queue))) in goku_queue() 757 if (list_empty(&ep->queue) && likely(!ep->stopped)) { in goku_queue() 777 if (likely(!list_empty(&ep->queue)) in goku_queue() 795 if (list_empty(&ep->queue)) in nuke() 799 while (!list_empty(&ep->queue)) { in nuke() [all …]
|
D | s3c-hsudc.c | 275 while (!list_empty(&hsep->queue)) { in s3c_hsudc_nuke_ep() 444 if (list_empty(&hsep->queue)) in s3c_hsudc_epin_intr() 481 if (list_empty(&hsep->queue)) in s3c_hsudc_epout_intr() 509 if (value && ep_is_in(hsep) && !list_empty(&hsep->queue)) in s3c_hsudc_set_halt() 528 if (ep_is_in(hsep) && !list_empty(&hsep->queue) && !value) { in s3c_hsudc_set_halt() 718 if (list_empty(&hsep->queue)) in s3c_hsudc_handle_ep0_intr() 732 if (list_empty(&hsep->queue)) in s3c_hsudc_handle_ep0_intr() 854 WARN_ON(!list_empty(&hsreq->queue)); in s3c_hsudc_free_request() 878 !list_empty(&hsreq->queue))) in s3c_hsudc_queue() 899 if (list_empty(&hsep->queue) && !hsep->stopped) { in s3c_hsudc_queue()
|
/linux-4.1.27/sound/soc/intel/common/ |
D | sst-ipc.c | 46 if (!list_empty(&ipc->empty_list)) { in msg_get_empty() 149 if (list_empty(&ipc->tx_list) || ipc->pending) { in ipc_tx_msgs() 196 if (list_empty(&ipc->rx_list)) { in sst_ipc_reply_find_msg()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | pd.c | 183 if (!list_empty(&priv->bf_list)) in mlx4_bf_alloc() 256 if (!list_empty(&bf->uar->bf_list)) in mlx4_bf_free() 263 } else if (list_empty(&bf->uar->bf_list)) in mlx4_bf_free()
|
/linux-4.1.27/arch/x86/kernel/ |
D | nmi.c | 168 WARN_ON_ONCE(type == NMI_UNKNOWN && !list_empty(&desc->head)); in __register_nmi_handler() 169 WARN_ON_ONCE(type == NMI_SERR && !list_empty(&desc->head)); in __register_nmi_handler() 170 WARN_ON_ONCE(type == NMI_IO_CHECK && !list_empty(&desc->head)); in __register_nmi_handler()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 98 if (list_empty(&q->active)) in cx8800_restart_vbi_queue() 175 if (list_empty(&q->active)) { in buffer_queue() 215 while (!list_empty(&dmaq->active)) { in stop_streaming()
|
D | cx88-mpeg.c | 212 if (list_empty(&q->active)) in cx8802_restart_queue() 260 if (list_empty(&cx88q->active)) { in cx8802_buf_queue() 288 while (!list_empty(&q->active)) { in do_cancel_buffers() 453 if (!list_empty(&dev->mpegq.active)) { in cx8802_suspend_common() 503 if (!list_empty(&dev->mpegq.active)) { in cx8802_resume_common() 777 if (!list_empty(&dev->drvlist)) { in cx8802_remove()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 454 if (!list_empty(&group->pending_list)) in release_group() 545 if (!list_empty(&group->pending_list)) { in mlx4_ib_mcg_timeout_handler() 669 if (!list_empty(&group->pending_list)) in mlx4_ib_mcg_work_handler() 705 while (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) { in mlx4_ib_mcg_work_handler() 734 if (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) in mlx4_ib_mcg_work_handler() 786 if (!list_empty(&group->pending_list) && group->state != MCAST_IDLE) in search_relocate_mgid0_group() 1006 if (list_empty(&group->pending_list)) { in sysfs_show_group() 1168 if (!list_empty(&group->pending_list)) in clear_pending_reqs() 1189 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs() 1191 list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs); in clear_pending_reqs() [all …]
|
/linux-4.1.27/sound/hda/ |
D | hdac_bus.c | 39 WARN_ON(!list_empty(&bus->codec_list)); in snd_hdac_bus_exit() 179 if (list_empty(&codec->list)) in snd_hdac_bus_remove_device()
|
/linux-4.1.27/drivers/block/ |
D | nbd.c | 432 while (!list_empty(&nbd->queue_head)) { in nbd_clear_que() 440 while (!list_empty(&nbd->waiting_queue)) { in nbd_clear_que() 513 while (!kthread_should_stop() || !list_empty(&nbd->waiting_queue)) { in nbd_thread() 517 !list_empty(&nbd->waiting_queue)); in nbd_thread() 520 if (list_empty(&nbd->waiting_queue)) in nbd_thread() 612 BUG_ON(!list_empty(&nbd->queue_head)); in __nbd_ioctl() 613 BUG_ON(!list_empty(&nbd->waiting_queue)); in __nbd_ioctl()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_logmgr.c | 594 if (list_empty(&log->cqueue)) in lmNextPage() 698 if ((!(log->cflag & logGC_PAGEOUT)) && (!list_empty(&log->cqueue)) && in lmGroupCommit() 904 if ((!list_empty(&log->cqueue)) && in lmPostGC() 969 if (list_empty(&log->synclist)) in lmLogSync() 1491 if (!list_empty(&log->sb_list)) in lmLogClose() 1545 if (!list_empty(&log->cqueue)) { in jfs_flush_journal() 1602 if ((!list_empty(&log->cqueue)) || !list_empty(&log->synclist)) { in jfs_flush_journal() 1606 if (list_empty(&log->cqueue) && in jfs_flush_journal() 1607 list_empty(&log->synclist)) in jfs_flush_journal() 1611 assert(list_empty(&log->cqueue)); in jfs_flush_journal() [all …]
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_usb.c | 162 if (list_empty(&tx->free_list)) in get_tx_sdu_struct() 170 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_sdu_struct() 228 if (list_empty(&rx->free_list)) { in get_rx_struct() 238 *no_spc = list_empty(&rx->free_list) ? 1 : 0; in get_rx_struct() 404 if (list_empty(&rx->to_host_list)) { in do_rx() 614 if (list_empty(&tx->sdu_list)) { in packet_aggregation() 671 if (!list_empty(&tx->hci_list)) { in do_tx() 677 } else if (!list_empty(&tx->sdu_list)) { in do_tx()
|
/linux-4.1.27/net/tipc/ |
D | name_table.c | 398 if (list_empty(&info->zone_list)) { in tipc_nameseq_remove_publ() 510 if (!seq->first_free && list_empty(&seq->subscriptions)) { in tipc_nametbl_remove_publ() 560 if (!list_empty(&info->node_list)) { in tipc_nametbl_translate() 566 } else if (!list_empty(&info->cluster_list)) { in tipc_nametbl_translate() 583 if (list_empty(&info->node_list)) in tipc_nametbl_translate() 589 if (list_empty(&info->cluster_list)) in tipc_nametbl_translate() 766 if (!seq->first_free && list_empty(&seq->subscriptions)) { in tipc_nametbl_unsubscribe() 1060 if (likely(list_empty(&pl->list))) { in tipc_plist_pop()
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_debug.c | 92 if (list_empty(bufflist)) { in ft1000_get_buffer() 262 while (list_empty(&dev->app_info[i].app_sqlist) == 0) { in ft1000_destroy_dev() 273 while (list_empty(&freercvpool) == 0) { in ft1000_destroy_dev() 381 if (list_empty(&dev->app_info[i].app_sqlist) == 0) { in ft1000_poll_dev() 690 if (list_empty(&ft1000dev->app_info[i].app_sqlist) == 0) { in ft1000_ioctl()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 179 if (list_empty(&pqm->queues)) { in pqm_create_queue() 251 if (list_empty(&pqm->queues)) in pqm_create_queue() 310 if (list_empty(&pqm->queues)) in pqm_destroy_queue()
|
/linux-4.1.27/fs/ext4/ |
D | page-io.c | 129 BUG_ON(!list_empty(&io_end->list)); in ext4_release_io_end() 194 if (list_empty(head)) in dump_completed_IO() 224 if (list_empty(&ei->i_rsv_conversion_list)) in ext4_add_complete_io() 244 while (!list_empty(&unwritten)) { in ext4_do_flush_completed_IO()
|
/linux-4.1.27/kernel/time/ |
D | clocksource.c | 160 if (list_empty(&cs->wd_list)) in clocksource_mark_unstable() 280 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog() 291 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog() 529 if (!finished_booting || list_empty(&clocksource_list)) in clocksource_find_best() 796 if (!list_empty(&cs->list)) in clocksource_unregister()
|
/linux-4.1.27/arch/um/drivers/ |
D | mconsole_kern.c | 62 while (!list_empty(&mc_requests)) { in mc_work_proc() 96 if (!list_empty(&mc_requests)) in mconsole_interrupt() 256 BUG_ON(!list_empty(&new->list)); in mconsole_register_dev() 324 if (list_empty(&unplugged_pages)) in mem_config() 562 if (list_empty(&clients)) in console_write()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_cqm.c | 171 if (list_empty(&cqm_rmid_free_lru)) in __get_rmid() 695 if (list_empty(&cache_groups) && list_empty(&cqm_rmid_limbo_lru)) in __intel_cqm_rmid_rotate() 710 if (!nr_needed && list_empty(&cqm_rmid_limbo_lru)) in __intel_cqm_rmid_rotate() 906 return !list_empty(&event->hw.cqm_groups_entry); in cqm_group_leader() 1049 if (!list_empty(&event->hw.cqm_group_entry)) { in intel_cqm_event_destroy()
|
/linux-4.1.27/tools/firewire/ |
D | nosy-dump.c | 203 while (!list_empty(&t->request_list)) { in link_transaction_destroy() 208 while (!list_empty(&t->response_list)) { in link_transaction_destroy() 267 while (!list_empty(&pending_transaction_list)) { in clear_pending_transaction_list() 506 if (!list_empty(&t->request_list)) { in handle_request_packet() 568 if (list_empty(&t->request_list)) { in handle_response_packet() 575 if (!list_empty(&t->response_list)) { in handle_response_packet()
|