Home
last modified time | relevance | path

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

/mm/
Dz3fold.c620 static inline enum buddy get_free_buddy(struct z3fold_header *zhdr, int chunks) in get_free_buddy() argument
626 chunks <= zhdr->start_middle - ZHDR_CHUNKS) in get_free_buddy()
693 short chunks = size_to_chunks(sz); in compact_single_buddy() local
703 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() local
869 for_each_unbuddied_list(i, chunks) { in __z3fold_alloc()
926 l = &unbuddied[chunks]; in __z3fold_alloc()
[all …]
Dzbud.c271 int chunks, i, freechunks; in zbud_alloc() local
280 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()
DKconfig356 The NOMMU mmap() frequently needs to allocate large contiguous chunks
358 allocator for chunks in 2^N*PAGE_SIZE amounts - which is frequently