Lines Matching refs:refcount
118 struct kref refcount; member
406 kref_init(&zhdr->refcount); in init_z3fold_page()
529 refcount); in release_z3fold_page()
536 refcount); in release_z3fold_page_locked()
544 refcount); in release_z3fold_page_locked_list()
742 if (kref_put(&new_zhdr->refcount, release_z3fold_page_locked)) in compact_single_buddy()
820 if (kref_put(&zhdr->refcount, release_z3fold_page_locked)) { in do_compact_page()
833 if (kref_put(&zhdr->refcount, release_z3fold_page_locked)) in do_compact_page()
912 kref_get(&zhdr->refcount); in __z3fold_alloc()
949 kref_get(&zhdr->refcount); in __z3fold_alloc()
1097 if (kref_put(&zhdr->refcount, in z3fold_alloc()
1247 if (kref_put(&zhdr->refcount, release_z3fold_page_locked_list)) { in z3fold_free()
1266 kref_get(&zhdr->refcount); in z3fold_free()
1271 kref_get(&zhdr->refcount); in z3fold_free()
1356 if (kref_get_unless_zero(&zhdr->refcount) == 0) { in z3fold_reclaim_page()
1361 if (kref_put(&zhdr->refcount, in z3fold_reclaim_page()
1374 if (kref_put(&zhdr->refcount, in z3fold_reclaim_page()
1452 if (kref_put(&zhdr->refcount, in z3fold_reclaim_page()
1592 kref_get(&zhdr->refcount); in z3fold_page_isolate()
1679 if (kref_put(&zhdr->refcount, release_z3fold_page_locked)) { in z3fold_page_putback()