Searched refs:alloc_bits (Results 1 – 1 of 1) sorted by relevance
/mm/ |
D | percpu.c | 336 static int pcpu_next_hint(struct pcpu_block_md *block, int alloc_bits) in pcpu_next_hint() argument 347 alloc_bits > block->scan_hint) in pcpu_next_hint() 419 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region() argument 432 if (*bits >= alloc_bits) in pcpu_next_fit_region() 447 block->contig_hint >= *bits + alloc_bits) { in pcpu_next_fit_region() 448 int start = pcpu_next_hint(block, alloc_bits); in pcpu_next_fit_region() 450 *bits += alloc_bits + block->contig_hint_start - in pcpu_next_fit_region() 462 if (*bits >= alloc_bits) in pcpu_next_fit_region() 482 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument 483 for (pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \ [all …]
|