Home
last modified time | relevance | path

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

/mm/
Dzsmalloc.c216 int pages_per_zspage; member
389 static unsigned int get_maxobj_per_zspage(int size, int pages_per_zspage) in get_maxobj_per_zspage() argument
391 return pages_per_zspage * PAGE_SIZE / size; in get_maxobj_per_zspage()
514 class->pages_per_zspage); in zs_stats_size_show()
516 class->pages_per_zspage; in zs_stats_size_show()
521 class->pages_per_zspage); in zs_stats_size_show()
969 for (i = 0; i < class->pages_per_zspage; i++) { in alloc_zspage()
989 if (i == class->pages_per_zspage - 1) /* last page */ in alloc_zspage()
998 first_page->objects = class->pages_per_zspage * PAGE_SIZE / class->size; in alloc_zspage()
1217 static bool can_merge(struct size_class *prev, int size, int pages_per_zspage) in can_merge() argument
[all …]