Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 3 of 3) sorted by relevance

/block/
Dblk-tag.c38 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()
Dblk-cgroup.h105 atomic_t refcnt; member
262 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()
Dblk-cgroup.c83 atomic_set(&blkg->refcnt, 1); in blkg_alloc()