Home
last modified time | relevance | path

Searched refs:llist_empty (Results 1 – 25 of 39) sorted by relevance

12

/linux/kernel/
H A Dirq_work.c35 if (!llist_empty(this_cpu_ptr(&lazy_list)) && tsk) in wake_irq_workd()
51 return !llist_empty(this_cpu_ptr(&lazy_list)); in irq_workd_should_run()
191 if (llist_empty(raised) || arch_irq_work_has_interrupt()) in irq_work_needs_cpu()
192 if (llist_empty(lazy)) in irq_work_needs_cpu()
247 if (llist_empty(list)) in irq_work_run_list()
273 if (!llist_empty(raised) && !arch_irq_work_has_interrupt()) in irq_work_tick()
H A Dsmp.c615 if (llist_empty(this_cpu_ptr(&call_single_queue))) in flush_smp_call_function_queue()
1105 if (!llist_empty(per_cpu_ptr(&call_single_queue, cpu))) in cpus_peek_for_pending_ipi()
/linux/kernel/bpf/
H A Dmemalloc.c320 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp_ttrace)); in do_call_rcu_ttrace()
392 if (unlikely(!llist_empty(&c->free_llist_extra_rcu))) { in check_free_by_rcu()
400 if (llist_empty(&c->free_by_rcu)) in check_free_by_rcu()
416 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp)); in check_free_by_rcu()
653 WARN_ON_ONCE(!llist_empty(&c->free_by_rcu_ttrace)); in check_mem_cache()
654 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp_ttrace)); in check_mem_cache()
655 WARN_ON_ONCE(!llist_empty(&c->free_llist)); in check_mem_cache()
656 WARN_ON_ONCE(!llist_empty(&c->free_llist_extra)); in check_mem_cache()
657 WARN_ON_ONCE(!llist_empty(&c->free_by_rcu)); in check_mem_cache()
658 WARN_ON_ONCE(!llist_empty(&c->free_llist_extra_rcu)); in check_mem_cache()
[all …]
H A Dstream.c126 if (llist_empty(&stream->log)) in bpf_stream_backlog_fill()
/linux/io_uring/
H A Dtw.h92 return !llist_empty(&ctx->work_llist) || !llist_empty(&ctx->retry_llist); in io_local_work_pending()
H A Dwait.c100 if (!llist_empty(&ctx->work_llist)) in io_cqring_min_timer_wakeup()
H A Dsqpoll.c290 return retry_list || !llist_empty(&tctx->task_list); in io_sq_tw_pending()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_heartbeat.c116 GEM_BUG_ON(llist_empty(&engine->barrier_tasks)); in __live_idle_pulse()
122 GEM_BUG_ON(!llist_empty(&engine->barrier_tasks)); in __live_idle_pulse()
H A Dintel_engine_heartbeat.c390 if (llist_empty(&engine->barrier_tasks)) in intel_engine_flush_barriers()
H A Dintel_breadcrumbs.c180 if (unlikely(!llist_empty(&b->signaled_requests))) in signal_irq_work()
/linux/include/linux/
H A Dlwq.h51 return smp_load_acquire(&q->ready) == NULL && llist_empty(&q->new); in lwq_empty()
H A Dllist.h216 static inline bool llist_empty(const struct llist_head *head) in llist_empty() function
/linux/arch/x86/kernel/cpu/mce/
H A Dgenpool.c94 return llist_empty(&mce_event_llist); in mce_gen_pool_empty()
/linux/lib/
H A Dlwq.c27 if (!this && !llist_empty(&q->new)) { in __lwq_dequeue()
/linux/drivers/dma/
H A Dcv1800b-dmamux.c225 if (llist_empty(&data->free_maps)) in cv1800_dmamux_probe()
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_active.c286 str_yes_no(!llist_empty(&ref->preallocated_barriers))); in i915_active_print()
/linux/fs/xfs/
H A Dxfs_icache.c466 if (!llist_empty(&gc->list)) { in xfs_inodegc_queue_all()
2291 if (!llist_empty(&gc->list)) in xfs_inodegc_shrinker_count()
2315 if (!llist_empty(&gc->list)) { in xfs_inodegc_shrinker_scan()
/linux/drivers/gpu/drm/i915/
H A Di915_active.c848 while (!llist_empty(&ref->preallocated_barriers)) in i915_active_acquire_preallocate_barrier()
901 GEM_BUG_ON(!llist_empty(&ref->preallocated_barriers)); in i915_active_acquire_preallocate_barrier()
/linux/kernel/trace/
H A Dtrace_events_trigger.c67 if (llist_empty(&trigger_data_free_list)) in trigger_kthread_fn()
123 if (llist_empty(&trigger_data_free_list)) in trigger_data_free_init()
/linux/net/rds/
H A Dib_rdma.c365 if (llist_empty(&pool->clean_list)) in rds_ib_flush_mr_pool()
/linux/fs/f2fs/
H A Dcheckpoint.c2062 if (!llist_empty(&cprc->issue_list)) in issue_checkpoint_thread()
2066 kthread_should_stop() || !llist_empty(&cprc->issue_list)); in issue_checkpoint_thread()
2075 if (!llist_empty(&cprc->issue_list)) { in flush_remained_ckpt_reqs()
/linux/kernel/rcu/
H A Drcuscale.c486 if (llist_empty(&wflp->ws_lhp)) { in rcu_scale_alloc()
/linux/drivers/vhost/
H A Dvhost.c325 if (worker && !llist_empty(&worker->work_list)) in vhost_vq_has_work()
716 WARN_ON(!llist_empty(&worker->work_list)); in vhost_worker_destroy()
913 !llist_empty(&old_worker->work_list)); in __vhost_vq_attach_worker()
/linux/drivers/md/bcache/
H A Dwriteback.c484 BUG_ON(!llist_empty(&dc->writeback_ordering_wait.list)); in read_dirty()
/linux/drivers/gpu/drm/
H A Ddrm_pagemap.c1278 if (WARN_ON(!llist_empty(&drm_pagemap_unhold_list))) in drm_pagemap_exit()

12