Home
last modified time | relevance | path

Searched refs:percpu_ref_is_zero (Results 1 – 7 of 7) 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/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.c1224 if (percpu_ref_is_zero(&ca->io_ref)) in __bch2_dev_offline()
1405 BUG_ON(!percpu_ref_is_zero(&ca->io_ref)); in __bch2_dev_attach_bdev()
1710 !percpu_ref_is_zero(&ca->io_ref)) in bch2_dev_remove()
/linux/mm/
H A Dzswap.c381 WARN_ON(!percpu_ref_is_zero(&pool->ref)); in __zswap_pool_release()
/linux/block/
H A Dblk-mq.c200 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
208 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
/linux/drivers/target/
H A Dtarget_core_transport.c3211 percpu_ref_is_zero(&cmd_cnt->refcnt), in target_wait_for_cmds()