Home
last modified time | relevance | path

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

/mm/
Dzswap.c143 struct kref kref; member
634 kref_init(&pool->kref); in zswap_pool_create()
708 return kref_get_unless_zero(&pool->kref); in zswap_pool_get()
719 WARN_ON(kref_get_unless_zero(&pool->kref)); in __zswap_pool_release()
725 static void __zswap_pool_empty(struct kref *kref) in __zswap_pool_empty() argument
729 pool = container_of(kref, typeof(*pool), kref); in __zswap_pool_empty()
745 kref_put(&pool->kref, __zswap_pool_empty); in zswap_pool_put()
Dmadvise.c80 kref_init(&anon_name->kref); in anon_vma_name_alloc()
87 void anon_vma_name_free(struct kref *kref) in anon_vma_name_free() argument
90 container_of(kref, struct anon_vma_name, kref); in anon_vma_name_free()
Dz3fold.c118 struct kref refcount;
526 static void release_z3fold_page(struct kref *ref) in release_z3fold_page()
533 static void release_z3fold_page_locked(struct kref *ref) in release_z3fold_page_locked()
541 static void release_z3fold_page_locked_list(struct kref *ref) in release_z3fold_page_locked_list()
Dbacking-dev.c970 static void release_bdi(struct kref *ref) in release_bdi()
Dhugetlb.c929 void resv_map_release(struct kref *ref) in resv_map_release()