Searched refs:refcnt (Results 1 – 3 of 3) sorted by relevance
38 if (atomic_dec_and_test(&bqt->refcnt)) { in blk_free_tags()133 atomic_set(&tags->refcnt, 1); in __blk_queue_init_tags()179 atomic_inc(&tags->refcnt); in blk_queue_init_tags()224 if (atomic_read(&bqt->refcnt) != 1) in blk_queue_resize_tags()
105 atomic_t refcnt; member262 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_get()263 atomic_inc(&blkg->refcnt); in blkg_get()274 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_put()275 if (atomic_dec_and_test(&blkg->refcnt)) in blkg_put()
83 atomic_set(&blkg->refcnt, 1); in blkg_alloc()