Home
last modified time | relevance | path

Searched refs:percpu_ref_is_zero (Results 1 – 10 of 10) sorted by relevance

/linux/lib/
H A Dpercpu-refcount.c410 bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero() function
428 EXPORT_SYMBOL_GPL(percpu_ref_is_zero);
443 WARN_ON_ONCE(!percpu_ref_is_zero(ref)); in percpu_ref_reinit()
/linux/block/
H A Dblk-pm.c89 if (percpu_ref_is_zero(&q->q_usage_counter)) in blk_pre_runtime_suspend()
H A Dblk-mq.c139 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
147 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
/linux/include/linux/
H A Dpercpu-refcount.h133 bool percpu_ref_is_zero(struct percpu_ref *ref);
/linux/fs/bcachefs/
H A Dsb-members.h23 return !percpu_ref_is_zero(&ca->io_ref); in bch2_dev_is_online()
H A Dsuper.c1217 if (percpu_ref_is_zero(&ca->io_ref)) in __bch2_dev_offline()
1403 BUG_ON(!percpu_ref_is_zero(&ca->io_ref)); in __bch2_dev_attach_bdev()
1708 !percpu_ref_is_zero(&ca->io_ref)) in bch2_dev_remove()
/linux/kernel/bpf/
H A Dcgroup.c531 if (percpu_ref_is_zero(&desc->bpf.refcnt)) in update_effective_progs()
543 if (percpu_ref_is_zero(&desc->bpf.refcnt)) { in update_effective_progs()
773 if (percpu_ref_is_zero(&desc->bpf.refcnt)) in replace_effective_prog()
925 if (percpu_ref_is_zero(&desc->bpf.refcnt)) in purge_effective_progs()
/linux/mm/
H A Dzswap.c378 WARN_ON(!percpu_ref_is_zero(&pool->ref)); in __zswap_pool_release()
/linux/drivers/md/
H A Dmd.c475 percpu_ref_is_zero(&mddev->active_io)); in mddev_suspend()
478 percpu_ref_is_zero(&mddev->active_io)); in mddev_suspend()
579 WARN_ON(percpu_ref_is_zero(&mddev->active_io)); in md_flush_request()
2540 percpu_ref_is_zero(&mddev->writes_pending)) { in set_in_sync()
/linux/drivers/target/
H A Dtarget_core_transport.c3211 percpu_ref_is_zero(&cmd_cnt->refcnt), in target_wait_for_cmds()