Home
last modified time | relevance | path

Searched refs:list_empty_careful (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.6.21/block/
Dblk-mq-sched.c109 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()
Dkyber-iosched.c723 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)); \
Dmq-deadline.c897 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()
Dblk-mq.c62 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/
Dlist-test.c37 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/
Dfilelock.h359 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/
Dasync_pf.c140 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/
Dtarget_core_ua.c45 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/
Dsvcsubs.c216 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/
Dswait.c138 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
Dwait.c414 if (!list_empty_careful(&wq_entry->entry)) { in finish_wait()
/linux-6.6.21/drivers/misc/mei/
Dclient.h45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c81 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet()
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_memory_region.c301 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
/linux-6.6.21/fs/nfs/
Dwrite.c1213 !(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()
Dpagelist.c1188 !(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/
Dxfs_log.c359 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()
Dxfs_trans_ail.c441 (!list_empty_careful(&ailp->ail_buf_list) || in xfsaild_push()
/linux-6.6.21/drivers/leds/
Dled-triggers.c331 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h615 if (list_empty_careful(root)) in lio_list_delete_head()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dcq.c94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
/linux-6.6.21/tools/include/linux/
Dlist.h205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
/linux-6.6.21/drivers/rtc/
Drtc-imxdi.c692 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
/linux-6.6.21/fs/
Dlocks.c911 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/
Dkbuf.c421 if (!list_empty_careful(&ctx->io_buffers_comp)) { in io_refill_buffer_cache()

12