Home
last modified time | relevance | path

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

/mm/
Dzbud.c118 unsigned int first_chunks; member
242 zhdr->first_chunks = 0; in init_zbud_page()
292 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
376 if (zhdr->first_chunks == 0) in zbud_alloc()
396 zhdr->first_chunks = chunks; in zbud_alloc()
400 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0) { in zbud_alloc()
442 zhdr->first_chunks = 0; in zbud_free()
453 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_free()
526 if (zhdr->first_chunks) in zbud_reclaim_page()
546 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_reclaim_page()
[all …]
Dz3fold.c121 unsigned short first_chunks; member
319 zhdr->first_chunks = 0; in init_z3fold_page()
525 int nfree_before = zhdr->first_chunks ? in num_free_chunks()
532 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
540 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0 || in add_to_unbuddied()
577 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in z3fold_compact_page()
580 zhdr->first_chunks = zhdr->middle_chunks; in z3fold_compact_page()
591 if (zhdr->first_chunks != 0 && zhdr->last_chunks == 0 && in z3fold_compact_page()
592 zhdr->start_middle - (zhdr->first_chunks + ZHDR_CHUNKS) >= in z3fold_compact_page()
594 mchunk_memmove(zhdr, zhdr->first_chunks + ZHDR_CHUNKS); in z3fold_compact_page()
[all …]