Searched refs:alloc_bits (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/mm/ |
D | percpu.c | 387 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region() argument 400 if (*bits >= alloc_bits) in pcpu_next_fit_region() 415 block->contig_hint >= *bits + alloc_bits) { in pcpu_next_fit_region() 416 *bits += alloc_bits + block->contig_hint_start - in pcpu_next_fit_region() 428 if (*bits >= alloc_bits) in pcpu_next_fit_region() 448 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument 449 for (pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \ 453 pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \ 926 static int pcpu_find_block_fit(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_find_block_fit() argument 939 if (bit_off + alloc_bits > chunk->contig_bits) in pcpu_find_block_fit() [all …]
|