Lines Matching refs:obj_allocated
563 unsigned long obj_allocated, obj_used, pages_used, freeable; in zs_stats_size_show() local
589 obj_allocated = zs_stat_get(class, ZS_OBJS_ALLOCATED); in zs_stats_size_show()
595 pages_used = obj_allocated / objs_per_zspage * in zs_stats_size_show()
599 obj_allocated, obj_used, pages_used, in zs_stats_size_show()
602 total_objs += obj_allocated; in zs_stats_size_show()
798 static inline bool obj_allocated(struct page *page, void *obj, in obj_allocated() function
1564 if (obj_allocated(page, addr + offset, &handle)) in find_alloced_obj()
1847 if (obj_allocated(page, addr, &handle)) { in zs_page_migrate()
1975 unsigned long obj_allocated = zs_stat_get(class, ZS_OBJS_ALLOCATED); in zs_can_compact() local
1978 if (obj_allocated <= obj_used) in zs_can_compact()
1981 obj_wasted = obj_allocated - obj_used; in zs_can_compact()