Searched refs:refcnt (Results 1 – 2 of 2) sorted by relevance
8 int refcnt; member88 holder->refcnt++; in bd_link_disk_holder()100 holder->refcnt = 1; in bd_link_disk_holder()145 if (!WARN_ON_ONCE(holder == NULL) && !--holder->refcnt) { in bd_unlink_disk_holder()
85 percpu_ref_exit(&blkg->refcnt); in blkg_free()112 struct blkcg_gq *blkg = container_of(ref, struct blkcg_gq, refcnt); in blkg_release()162 if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) in blkg_alloc()415 percpu_ref_kill(&blkg->refcnt); in blkg_destroy()