/linux-6.6.21/net/devlink/ |
D | core.c | 252 WARN_ON(!list_empty(&devlink->trap_policer_list)); in devlink_free() 253 WARN_ON(!list_empty(&devlink->trap_group_list)); in devlink_free() 254 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free() 255 WARN_ON(!list_empty(&devlink->reporter_list)); in devlink_free() 256 WARN_ON(!list_empty(&devlink->region_list)); in devlink_free() 257 WARN_ON(!list_empty(&devlink->resource_list)); in devlink_free() 258 WARN_ON(!list_empty(&devlink->dpipe_table_list)); in devlink_free() 259 WARN_ON(!list_empty(&devlink->sb_list)); in devlink_free() 260 WARN_ON(!list_empty(&devlink->rate_list)); in devlink_free() 261 WARN_ON(!list_empty(&devlink->linecard_list)); in devlink_free()
|
/linux-6.6.21/kernel/sched/ |
D | swait.c | 25 if (list_empty(&q->task_list)) in swake_up_locked() 43 while (!list_empty(&q->task_list)) in swake_up_all_locked() 68 while (!list_empty(&tmp)) { in swake_up_all() 74 if (list_empty(&tmp)) in swake_up_all() 87 if (list_empty(&wait->task_list)) in __prepare_to_swait() 128 if (!list_empty(&wait->task_list)) in __finish_swait()
|
D | wait.c | 275 if (list_empty(&wq_entry->entry)) in prepare_to_wait() 291 if (list_empty(&wq_entry->entry)) { in prepare_to_wait_exclusive() 292 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive() 332 if (list_empty(&wq_entry->entry)) { in prepare_to_wait_event() 355 if (likely(list_empty(&wait->entry))) in do_wait_intr() 372 if (likely(list_empty(&wait->entry))) in do_wait_intr_irq()
|
/linux-6.6.21/fs/ocfs2/dlm/ |
D | dlmthread.c | 63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() 64 list_empty(&res->converting) && in __dlm_lockres_has_locks() 65 list_empty(&res->blocked)) in __dlm_lockres_has_locks() 87 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused() 113 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 122 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 156 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres() 174 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres() 232 if (!list_empty(&res->purge)) { in dlm_purge_lockres() 257 if (!list_empty(&res->tracking)) in dlm_purge_lockres() [all …]
|
D | dlmdebug.c | 68 (list_empty(&lock->ast_list) ? 'y' : 'n'), in __dlm_print_lock() 70 (list_empty(&lock->bast_list) ? 'y' : 'n'), in __dlm_print_lock() 93 list_empty(&res->purge) ? "no" : "yes"); in __dlm_print_one_lock_resource() 96 list_empty(&res->dirty) ? "no" : "yes", in __dlm_print_one_lock_resource() 97 list_empty(&res->recovering) ? "no" : "yes", in __dlm_print_one_lock_resource() 282 !list_empty(&mle->hb_events), in dump_mle() 475 !list_empty(&lock->ast_list), in dump_lock() 476 !list_empty(&lock->bast_list), in dump_lock() 502 !list_empty(&res->purge), in dump_lockres() 503 !list_empty(&res->dirty), in dump_lockres() [all …]
|
/linux-6.6.21/drivers/gpu/drm/ttm/tests/ |
D | ttm_pool_test.c | 252 KUNIT_ASSERT_FALSE(test, list_empty(&pt->pages)); in ttm_pool_alloc_order_caching_match() 260 KUNIT_ASSERT_TRUE(test, list_empty(&pt->pages)); in ttm_pool_alloc_order_caching_match() 286 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 287 KUNIT_ASSERT_TRUE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_caching_mismatch() 295 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 296 KUNIT_ASSERT_FALSE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_caching_mismatch() 320 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch() 321 KUNIT_ASSERT_TRUE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_order_mismatch() 329 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch() 330 KUNIT_ASSERT_FALSE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_order_mismatch() [all …]
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_ooo.c | 34 if (unlikely(list_empty(&p_archipelago->isles_list))) in qed_ooo_seek_archipelago() 175 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_connection_isles() 181 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_connection_isles() 208 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_all_isles() 215 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_all_isles() 231 if (!list_empty(&p_ooo_info->ready_buffers_list)) in qed_ooo_release_all_isles() 254 while (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_free() 288 if (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_get_free_buffer() 315 if (!list_empty(&p_ooo_info->ready_buffers_list)) { in qed_ooo_get_ready_buffer() 340 if (list_empty(&p_isle->buffers_list)) in qed_ooo_delete_isles() [all …]
|
/linux-6.6.21/include/net/ |
D | fq_impl.h | 102 if (list_empty(head)) { in fq_tin_dequeue() 104 if (list_empty(head)) in fq_tin_dequeue() 121 !list_empty(&tin->old_flows)) { in fq_tin_dequeue() 213 else if (list_empty(&tin->tin_list)) in fq_tin_enqueue() 228 if (list_empty(&flow->flowchain)) { in fq_tin_enqueue() 299 if (!list_empty(&flow->flowchain)) { in fq_flow_reset() 301 if (list_empty(&tin->new_flows) && in fq_flow_reset() 302 list_empty(&tin->old_flows)) in fq_flow_reset() 320 if (list_empty(head)) { in fq_tin_reset() 322 if (list_empty(head)) in fq_tin_reset() [all …]
|
/linux-6.6.21/drivers/usb/host/ |
D | fhci-q.c | 74 if (!list_empty(&ed->td_list)) in peek_td_from_ed() 86 if (!list_empty(&frame->tds_list)) { in fhci_remove_td_from_frame() 99 if (!list_empty(&frame->tds_list)) in fhci_peek_td_from_frame() 111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed() 116 if (!list_empty(&ed->td_list)) in fhci_remove_td_from_ed() 131 if (!list_empty(&p_list->done_list)) { in fhci_remove_td_from_done_list() 148 if (!list_empty(&ed->td_list)) in fhci_move_td_from_ed_to_done_list() 173 if (!list_empty(&ed->td_list)) in free_urb_priv()
|
D | ehci-timer.c | 222 while (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks() 236 if (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks() 255 while (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks() 267 if (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks() 313 if (!list_empty(&ehci->cached_itd_list) || in end_free_itds() 314 !list_empty(&ehci->cached_sitd_list)) in end_free_itds()
|
/linux-6.6.21/fs/ |
D | pnode.c | 77 if (list_empty(&mnt->mnt_share)) { in do_make_slave() 85 while (!list_empty(p)) { in do_make_slave() 153 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in propagation_next() 177 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in skip_propagation_subtree() 188 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in next_group() 420 if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) in propagate_mount_busy() 436 else if (!list_empty(&child->mnt_mounts)) in propagate_mount_busy() 498 if (!list_empty(&child->mnt_umounting) && IS_MNT_MARKED(child)) in __propagate_umount() 537 while (!list_empty(to_restore)) { in restore_mounts() 559 while (!list_empty(visited)) { in cleanup_umount_visitations() [all …]
|
/linux-6.6.21/kernel/locking/ |
D | mutex-debug.c | 39 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter() 41 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter() 46 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter() 62 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_remove_waiter()
|
/linux-6.6.21/fs/notify/ |
D | notification.c | 62 if (!list_empty(&event->list)) { in fsnotify_destroy_event() 64 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event() 104 if (!list_empty(&group->overflow_event->list)) { in fsnotify_insert_event() 112 if (!list_empty(list) && merge) { in fsnotify_insert_event()
|
/linux-6.6.21/fs/gfs2/ |
D | log.c | 262 if (!list_empty(&sdp->sd_ail1_list)) { in gfs2_log_update_flush_tail() 288 while (!list_empty(head)) { in gfs2_ail_empty_tr() 340 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one() 372 ret = list_empty(&sdp->sd_ail1_list); in gfs2_ail1_empty() 409 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in __ail2_empty() 410 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in __ail2_empty() 721 if (!list_empty(&ip->i_ordered)) in __ordered_del_inode() 732 while (!list_empty(&sdp->sd_log_ordered)) { in gfs2_ordered_write() 752 while (!list_empty(&sdp->sd_log_ordered)) { in gfs2_ordered_wait() 866 if (!list_empty(&jd->extent_list)) in gfs2_write_log_header() [all …]
|
D | trans.c | 217 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data() 260 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta() 298 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke() 331 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in gfs2_trans_free() 332 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in gfs2_trans_free() 333 gfs2_assert_warn(sdp, list_empty(&tr->tr_databuf)); in gfs2_trans_free() 334 gfs2_assert_warn(sdp, list_empty(&tr->tr_buf)); in gfs2_trans_free()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_printer.c | 335 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete() 398 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs() 424 else if (list_empty(&req->list)) in setup_rx_reqs() 480 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 495 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 500 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 599 if (likely(list_empty(&dev->tx_reqs))) { in printer_write() 614 (likely(!list_empty(&dev->tx_reqs)))); in printer_write() 618 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write() 707 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync() [all …]
|
/linux-6.6.21/tools/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) 396 (!list_empty(ptr) ? list_last_entry(ptr, type, member) : NULL)
|
/linux-6.6.21/fs/nfs_common/ |
D | grace.c | 35 if (list_empty(&lm->list)) in locks_start_grace() 70 return !list_empty(grace_list); in __state_in_grace() 117 WARN_ONCE(!list_empty(grace_list), in grace_exit_net()
|
/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/ |
D | client-buffers.c | 104 while (!list_empty(&cl->free_rb_list.list)) { in ishtp_cl_free_rx_ring() 114 while (!list_empty(&cl->in_process_list.list)) { in ishtp_cl_free_rx_ring() 137 while (!list_empty(&cl->tx_free_list.list)) { in ishtp_cl_free_tx_ring() 149 while (!list_empty(&cl->tx_list.list)) { in ishtp_cl_free_tx_ring() 268 tx_list_empty = list_empty(&cl->tx_list.list); in ishtp_cl_tx_empty()
|
/linux-6.6.21/drivers/isdn/mISDN/ |
D | timerdev.c | 74 while (!list_empty(list)) { in mISDN_close() 108 while (list_empty(list) && (dev->work == 0)) { in mISDN_read() 113 !list_empty(list))); in mISDN_read() 120 if (!list_empty(list)) { in mISDN_read() 146 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll() 150 dev->work, list_empty(&dev->expired)); in mISDN_poll()
|
/linux-6.6.21/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() 177 if (list_empty(&sclp_con_pages)) in sclp_console_write() 179 while (list_empty(&sclp_con_pages)) { in sclp_console_write()
|
/linux-6.6.21/net/core/ |
D | link_watch.c | 125 if (list_empty(&dev->link_watch_list)) { in linkwatch_add_event() 220 while (!list_empty(&wrk) && do_dev > 0) { in __linkwatch_run_queue() 243 if (!list_empty(&lweventlist)) in __linkwatch_run_queue() 254 if (!list_empty(&dev->link_watch_list)) { in linkwatch_forget_dev()
|
/linux-6.6.21/net/sctp/ |
D | stream_sched_rr.c | 47 if (list_empty(&stream->rr_list)) in sctp_sched_rr_unsched() 54 if (!list_empty(&soute->rr_list)) in sctp_sched_rr_sched() 117 if (list_empty(&q->out_chunk_list)) in sctp_sched_rr_dequeue() 145 if (list_empty(&soute->outq)) in sctp_sched_rr_dequeue_done()
|
/linux-6.6.21/drivers/misc/mei/ |
D | init.c | 342 list_empty(&dev->ctrl_wr_list) && in mei_write_is_idle() 343 list_empty(&dev->write_list) && in mei_write_is_idle() 344 list_empty(&dev->write_waiting_list)); in mei_write_is_idle() 349 list_empty(&dev->ctrl_wr_list), in mei_write_is_idle() 350 list_empty(&dev->write_list), in mei_write_is_idle() 351 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_scheduler.c | 224 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule() 270 if (list_empty(&node->link)) in __i915_schedule() 311 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit() 312 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit() 313 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit() 387 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini() 398 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
|