Home
last modified time | relevance | path

Searched refs:kref (Results 1 – 5 of 5) sorted by relevance

/mm/
Dzswap.c133 struct kref kref; member
579 kref_init(&pool->kref); in zswap_pool_create()
652 return kref_get_unless_zero(&pool->kref); in zswap_pool_get()
663 WARN_ON(kref_get_unless_zero(&pool->kref)); in __zswap_pool_release()
669 static void __zswap_pool_empty(struct kref *kref) in __zswap_pool_empty() argument
673 pool = container_of(kref, typeof(*pool), kref); in __zswap_pool_empty()
689 kref_put(&pool->kref, __zswap_pool_empty); in zswap_pool_put()
Dmadvise.c76 kref_init(&anon_name->kref); in anon_vma_name_alloc()
83 void anon_vma_name_free(struct kref *kref) in anon_vma_name_free() argument
86 container_of(kref, struct anon_vma_name, kref); in anon_vma_name_free()
Dz3fold.c118 struct kref refcount;
545 release_z3fold_page(struct kref *ref) in release_z3fold_page()
552 static void release_z3fold_page_locked(struct kref *ref) in release_z3fold_page_locked()
560 static void release_z3fold_page_locked_list(struct kref *ref) in release_z3fold_page_locked_list()
Dbacking-dev.c902 static void release_bdi(struct kref *ref) in release_bdi()
Dhugetlb.c927 void resv_map_release(struct kref *ref) in resv_map_release()