Home
last modified time | relevance | path

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

/block/
Dholder.c8 int refcnt; member
88 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()
Dblk-cgroup.c85 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()