Searched refs:last_chunks (Results 1 – 2 of 2) sorted by relevance
119 unsigned int last_chunks; member243 zhdr->last_chunks = 0; in init_zbud_page()275 handle += PAGE_SIZE - (zhdr->last_chunks << CHUNK_SHIFT); in encode_handle()292 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()397 zhdr->last_chunks = chunks; in zbud_alloc()399 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0) { in zbud_alloc()439 zhdr->last_chunks = 0; in zbud_free()452 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_free()527 if (zhdr->last_chunks) in zbud_reclaim_page()545 if (zhdr->first_chunks == 0 && zhdr->last_chunks == 0) { in zbud_reclaim_page()[all …]
125 unsigned short last_chunks; member420 zhdr->last_chunks = 0; in init_z3fold_page()473 h |= (zhdr->last_chunks << BUDDY_SHIFT); in __encode_handle()611 int nfree_after = zhdr->last_chunks ? in num_free_chunks()616 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()624 if (zhdr->first_chunks == 0 || zhdr->last_chunks == 0 || in add_to_unbuddied()645 else if (!zhdr->last_chunks) in get_free_buddy()650 else if (!zhdr->last_chunks) in get_free_buddy()671 (zhdr->first_chunks && zhdr->last_chunks) || in buddy_single()672 (zhdr->middle_chunks && zhdr->last_chunks)); in buddy_single()[all …]