/linux-6.6.21/block/ |
D | blk-mq-sched.c | 109 if (!list_empty_careful(&hctx->dispatch)) { in __blk_mq_do_dispatch_sched() 226 if (!list_empty_careful(&hctx->dispatch)) { in blk_mq_do_dispatch_ctx() 279 if (!list_empty_careful(&hctx->dispatch)) { in __blk_mq_sched_dispatch_requests() 357 list_empty_careful(&ctx->rq_lists[type])) in blk_mq_sched_bio_merge()
|
D | kyber-iosched.c | 723 if (nr < 0 && list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token() 743 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token() 855 if (!list_empty_careful(&khd->rqs[i]) || in kyber_has_work() 951 seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
|
D | mq-deadline.c | 897 if (!list_empty_careful(&dd->per_prio[p].fifo_list[DD_WRITE])) in dd_has_write_work() 951 return !list_empty_careful(&per_prio->dispatch) || in dd_has_work_for_prio() 952 !list_empty_careful(&per_prio->fifo_list[DD_READ]) || in dd_has_work_for_prio() 953 !list_empty_careful(&per_prio->fifo_list[DD_WRITE]); in dd_has_work_for_prio()
|
D | blk-mq.c | 62 return !list_empty_careful(&hctx->dispatch) || in blk_mq_hctx_has_pending() 1857 if (!list_empty_careful(&wait->entry)) in blk_mq_mark_tag_wait() 2173 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry))) in blk_mq_dispatch_rq_list() 2345 !list_empty_careful(&hctx->dispatch)) in blk_mq_run_hw_queues() 2381 !list_empty_careful(&hctx->dispatch)) in blk_mq_delay_run_hw_queues()
|
/linux-6.6.21/lib/ |
D | list-test.c | 37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init() 38 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_init() 39 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3)); in list_test_list_init() 40 KUNIT_EXPECT_TRUE(test, list_empty_careful(list4)); in list_test_list_init() 41 KUNIT_EXPECT_TRUE(test, list_empty_careful(list5)); in list_test_list_init() 123 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a_old)); in list_test_list_replace_init() 162 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a)); in list_test_list_del_init() 182 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a)); in list_test_list_del_init_careful() 321 KUNIT_EXPECT_FALSE(test, list_empty_careful(&list1)); in list_test_list_empty_careful() 322 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_empty_careful() [all …]
|
/linux-6.6.21/include/linux/ |
D | filelock.h | 359 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_lease() 373 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_deleg() 403 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_layout()
|
/linux-6.6.21/virt/kvm/ |
D | async_pf.c | 140 while (!list_empty_careful(&vcpu->async_pf.done) && in kvm_check_async_pf_completion() 207 if (!list_empty_careful(&vcpu->async_pf.done)) in kvm_async_pf_wakeup_all()
|
/linux-6.6.21/drivers/target/ |
D | target_core_ua.c | 45 if (list_empty_careful(&deve->ua_list)) { in target_scsi3_ua_check() 290 if (list_empty_careful(&deve->ua_list)) { in core_scsi3_ua_clear_for_request_sense()
|
/linux-6.6.21/fs/lockd/ |
D | svcsubs.c | 216 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks() 273 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
|
/linux-6.6.21/kernel/sched/ |
D | swait.c | 138 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
|
D | wait.c | 414 if (!list_empty_careful(&wq_entry->entry)) { in finish_wait()
|
/linux-6.6.21/drivers/misc/mei/ |
D | client.h | 45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 81 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | intel_memory_region.c | 301 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
|
/linux-6.6.21/fs/nfs/ |
D | write.c | 1213 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible() 1214 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible() 1340 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write() 1341 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
|
D | pagelist.c | 1188 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size() 1189 list_empty_careful(&flctx->flc_flock)) && in nfs_coalesce_size()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_log.c | 359 if (!list_empty_careful(&head->waiters)) { in xlog_grant_head_check() 1148 if (!list_empty_careful(&log->l_write_head.waiters)) { in xfs_log_space_wake() 1157 if (!list_empty_careful(&log->l_reserve_head.waiters)) { in xfs_log_space_wake() 2555 ASSERT(list_empty_careful(&iclog->ic_callbacks)); in xlog_state_activate_iclog() 2715 if (list_empty_careful(&iclog->ic_callbacks)) in xlog_state_set_callback()
|
D | xfs_trans_ail.c | 441 (!list_empty_careful(&ailp->ail_buf_list) || in xfsaild_push()
|
/linux-6.6.21/drivers/leds/ |
D | led-triggers.c | 331 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
|
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_network.h | 615 if (list_empty_careful(root)) in lio_list_delete_head()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
|
/linux-6.6.21/tools/include/linux/ |
D | list.h | 205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-imxdi.c | 692 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
|
/linux-6.6.21/fs/ |
D | locks.c | 911 if (!ctx || list_empty_careful(&ctx->flc_posix)) { in posix_test_lock() 1608 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in lease_get_mtime() 1654 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in fcntl_getlease()
|
/linux-6.6.21/io_uring/ |
D | kbuf.c | 421 if (!list_empty_careful(&ctx->io_buffers_comp)) { in io_refill_buffer_cache()
|