Home
last modified time | relevance | path

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

/mm/
Dzsmalloc.c217 int pages_per_zspage; member
399 static unsigned int get_maxobj_per_zspage(int size, int pages_per_zspage) in get_maxobj_per_zspage() argument
401 return pages_per_zspage * PAGE_SIZE / size; in get_maxobj_per_zspage()
528 class->pages_per_zspage); in zs_stats_size_show()
530 class->pages_per_zspage; in zs_stats_size_show()
535 class->pages_per_zspage); in zs_stats_size_show()
974 for (i = 0; i < class->pages_per_zspage; i++) { in alloc_zspage()
994 if (i == class->pages_per_zspage - 1) /* last page */ in alloc_zspage()
1003 first_page->objects = class->pages_per_zspage * PAGE_SIZE / class->size; in alloc_zspage()
1222 static bool can_merge(struct size_class *prev, int size, int pages_per_zspage) in can_merge() argument
[all …]