Searched refs:first_chunks (Results 1 – 2 of 2) sorted by relevance
129 unsigned int first_chunks; member156 zhdr->first_chunks = 0; in init_zbud_page()206 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()289 if (zhdr->first_chunks == 0) in zbud_alloc()309 zhdr->first_chunks = chunks; in zbud_alloc()313 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0) { in zbud_alloc()355 zhdr->first_chunks = 0; in zbud_free()366 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_free()439 if (zhdr->first_chunks) in zbud_reclaim_page()459 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_reclaim_page()[all …]
123 unsigned short first_chunks; member590 int nfree_before = zhdr->first_chunks ? in num_free_chunks()597 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()605 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0 || in add_to_unbuddied()625 if (!zhdr->first_chunks && in get_free_buddy()631 if (!zhdr->first_chunks) in get_free_buddy()653 return !((zhdr->first_chunks && zhdr->middle_chunks) || in buddy_single()654 (zhdr->first_chunks && zhdr->last_chunks) || in buddy_single()674 if (zhdr->first_chunks && zhdr->slots->slot[first_idx]) { in compact_single_buddy()676 sz = zhdr->first_chunks << CHUNK_SHIFT; in compact_single_buddy()[all …]