Searched refs:percpu_ref_is_zero (Results 1 – 10 of 10) sorted by relevance
410 bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero() function428 EXPORT_SYMBOL_GPL(percpu_ref_is_zero);443 WARN_ON_ONCE(!percpu_ref_is_zero(ref)); in percpu_ref_reinit()
89 if (percpu_ref_is_zero(&q->q_usage_counter)) in blk_pre_runtime_suspend()
139 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()
133 bool percpu_ref_is_zero(struct percpu_ref *ref);
23 return !percpu_ref_is_zero(&ca->io_ref); in bch2_dev_is_online()
1217 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()
531 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()
378 WARN_ON(!percpu_ref_is_zero(&pool->ref)); in __zswap_pool_release()
475 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()
3211 percpu_ref_is_zero(&cmd_cnt->refcnt), in target_wait_for_cmds()