Searched refs:chunks (Results 1 – 3 of 3) sorted by relevance
620 static inline enum buddy get_free_buddy(struct z3fold_header *zhdr, int chunks) in get_free_buddy() argument626 chunks <= zhdr->start_middle - ZHDR_CHUNKS) in get_free_buddy()693 short chunks = size_to_chunks(sz); in compact_single_buddy() local703 new_bud = get_free_buddy(new_zhdr, chunks); in compact_single_buddy()707 new_zhdr->first_chunks = chunks; in compact_single_buddy()711 new_zhdr->middle_chunks = chunks; in compact_single_buddy()717 new_zhdr->last_chunks = chunks; in compact_single_buddy()863 int chunks = size_to_chunks(size), i; in __z3fold_alloc() local869 for_each_unbuddied_list(i, chunks) { in __z3fold_alloc()926 l = &unbuddied[chunks]; in __z3fold_alloc()[all …]
271 int chunks, i, freechunks; in zbud_alloc() local280 chunks = size_to_chunks(size); in zbud_alloc()284 for_each_unbuddied_list(i, chunks) { in zbud_alloc()309 zhdr->first_chunks = chunks; in zbud_alloc()311 zhdr->last_chunks = chunks; in zbud_alloc()
356 The NOMMU mmap() frequently needs to allocate large contiguous chunks358 allocator for chunks in 2^N*PAGE_SIZE amounts - which is frequently