/linux/block/ |
H A 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() 355 list_empty_careful(&ctx->rq_lists[type])) in blk_mq_sched_bio_merge()
|
H A 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)); \
|
H A D | mq-deadline.c | 765 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 D | blk-mq.c | 62 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 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() 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 D | async_pf.c | 157 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 D | filelock.h | 440 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 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/fs/lockd/ |
H A 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/kernel/sched/ |
H A D | swait.c | 138 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
|
H A D | wait.c | 374 if (!list_empty_careful(&wq_entry->entry)) { in finish_wait()
|
/linux/drivers/misc/mei/ |
H A D | client.h | 45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active()
|
/linux/io_uring/ |
H A D | napi.c | 385 if (list_empty_careful(&ctx->napi_list)) in io_napi_sqpoll_busy_poll()
|
/linux/fs/nfs/ |
H A D | write.c | 1189 !(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 D | pagelist.c | 1085 !(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 D | intel_memory_region.c | 319 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_network.h | 615 if (list_empty_careful(root)) in lio_list_delete_head()
|
/linux/drivers/leds/ |
H A D | led-triggers.c | 345 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
|
/linux/fs/xfs/ |
H A D | xfs_log.c | 318 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 D | xfs_trans_ail.c | 489 (!list_empty_careful(&ailp->ail_buf_list) || in xfsaild_push()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cq.c | 94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
|
/linux/tools/include/linux/ |
H A D | list.h | 205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
|
/linux/drivers/rtc/ |
H A D | rtc-imxdi.c | 692 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
|
/linux/fs/ |
H A D | locks.c | 961 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 D | eventpoll.c | 391 return !list_empty_careful(&ep->rdllist) || in ep_events_available() 2110 if (!list_empty_careful(&wait.entry)) { in ep_poll()
|