Home
last modified time | relevance | path

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

12

/linux/block/
H A 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()
355 list_empty_careful(&ctx->rq_lists[type])) in blk_mq_sched_bio_merge()
H A 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)); \
H A Dmq-deadline.c765 return !list_empty_careful(&per_prio->dispatch) || in dd_has_work_for_prio()
766 !list_empty_careful(&per_prio->fifo_list[DD_READ]) || in dd_has_work_for_prio()
767 !list_empty_careful(&per_prio->fifo_list[DD_WRITE]); in dd_has_work_for_prio()
H A Dblk-mq.c62 return !list_empty_careful(&hctx->dispatch) || in blk_mq_hctx_has_pending()
1907 if (!list_empty_careful(&wait->entry)) in blk_mq_mark_tag_wait()
2197 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry))) in blk_mq_dispatch_rq_list()
2400 !list_empty_careful(&hctx->dispatch)) in blk_mq_run_hw_queues()
2436 !list_empty_careful(&hctx->dispatch)) in blk_mq_delay_run_hw_queues()
/linux/lib/
H A 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()
127 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a_old)); in list_test_list_replace_init()
166 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a)); in list_test_list_del_init()
186 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a)); in list_test_list_del_init_careful()
325 KUNIT_EXPECT_FALSE(test, list_empty_careful(&list1)); in list_test_list_empty_careful()
326 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_empty_careful()
[all …]
/linux/virt/kvm/
H A Dasync_pf.c157 while (!list_empty_careful(&vcpu->async_pf.done) && in kvm_check_async_pf_completion()
221 if (!list_empty_careful(&vcpu->async_pf.done)) in kvm_async_pf_wakeup_all()
/linux/include/linux/
H A Dfilelock.h440 if (!list_empty_careful(&flctx->flc_lease)) in break_lease()
459 if (!list_empty_careful(&flctx->flc_lease)) in break_deleg()
489 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_layout()
/linux/drivers/target/
H A 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/fs/lockd/
H A 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/kernel/sched/
H A Dswait.c138 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
H A Dwait.c374 if (!list_empty_careful(&wq_entry->entry)) { in finish_wait()
/linux/drivers/misc/mei/
H A Dclient.h45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active()
/linux/io_uring/
H A Dnapi.c385 if (list_empty_careful(&ctx->napi_list)) in io_napi_sqpoll_busy_poll()
/linux/fs/nfs/
H A Dwrite.c1189 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()
1190 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()
1319 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()
1320 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
H A Dpagelist.c1085 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size()
1086 list_empty_careful(&flctx->flc_flock)) && in nfs_coalesce_size()
/linux/drivers/gpu/drm/i915/
H A Dintel_memory_region.c319 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h615 if (list_empty_careful(root)) in lio_list_delete_head()
/linux/drivers/leds/
H A Dled-triggers.c345 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
/linux/fs/xfs/
H A Dxfs_log.c318 if (!list_empty_careful(&head->waiters)) { in xlog_grant_head_check()
1096 if (!list_empty_careful(&log->l_write_head.waiters)) { in xfs_log_space_wake()
1105 if (!list_empty_careful(&log->l_reserve_head.waiters)) { in xfs_log_space_wake()
2316 ASSERT(list_empty_careful(&iclog->ic_callbacks)); in xlog_state_activate_iclog()
H A Dxfs_trans_ail.c489 (!list_empty_careful(&ailp->ail_buf_list) || in xfsaild_push()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcq.c94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
/linux/tools/include/linux/
H A Dlist.h205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
/linux/drivers/rtc/
H A Drtc-imxdi.c692 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
/linux/fs/
H A Dlocks.c961 if (!ctx || list_empty_careful(&ctx->flc_posix)) { in posix_test_lock()
1663 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in lease_get_mtime()
1709 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in fcntl_getlease()
H A Deventpoll.c391 return !list_empty_careful(&ep->rdllist) || in ep_events_available()
2110 if (!list_empty_careful(&wait.entry)) { in ep_poll()

12