Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dpercpu.c341 static int pcpu_next_hint(struct pcpu_block_md *block, int alloc_bits) in pcpu_next_hint() argument
352 alloc_bits > block->scan_hint) in pcpu_next_hint()
424 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region() argument
437 if (*bits >= alloc_bits) in pcpu_next_fit_region()
452 block->contig_hint >= *bits + alloc_bits) { in pcpu_next_fit_region()
453 int start = pcpu_next_hint(block, alloc_bits); in pcpu_next_fit_region()
455 *bits += alloc_bits + block->contig_hint_start - in pcpu_next_fit_region()
467 if (*bits >= alloc_bits) in pcpu_next_fit_region()
487 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument
488 for (pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \
[all …]