Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dpercpu.c348 alloc_bits > block->scan_hint) in pcpu_next_hint()
433 if (*bits >= alloc_bits) in pcpu_next_fit_region()
448 block->contig_hint >= *bits + alloc_bits) { in pcpu_next_fit_region()
449 int start = pcpu_next_hint(block, alloc_bits); in pcpu_next_fit_region()
451 *bits += alloc_bits + block->contig_hint_start - in pcpu_next_fit_region()
463 if (*bits >= alloc_bits) in pcpu_next_fit_region()
1124 bit_off = pcpu_next_hint(chunk_md, alloc_bits); in pcpu_find_block_fit()
1242 bitmap_set(chunk->alloc_map, bit_off, alloc_bits); in pcpu_alloc_area()
1247 set_bit(bit_off + alloc_bits, chunk->bound_map); in pcpu_alloc_area()
1249 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
[all …]