Lines Matching refs:md_blocks
377 for (block = chunk->md_blocks + i; i < pcpu_chunk_nr_blocks(chunk); in pcpu_next_md_free_region()
432 for (block = chunk->md_blocks + i; i < pcpu_chunk_nr_blocks(chunk); in pcpu_next_fit_region()
728 block = chunk->md_blocks + s_index; in pcpu_block_update_scan()
780 struct pcpu_block_md *block = chunk->md_blocks + index; in pcpu_block_refresh_hint()
832 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_alloc()
833 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
979 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_free()
980 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1322 for (md_block = chunk->md_blocks; in pcpu_init_md_blocks()
1323 md_block != chunk->md_blocks + pcpu_chunk_nr_blocks(chunk); in pcpu_init_md_blocks()
1392 alloc_size = pcpu_chunk_nr_blocks(chunk) * sizeof(chunk->md_blocks[0]); in pcpu_alloc_first_chunk()
1393 chunk->md_blocks = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1394 if (!chunk->md_blocks) in pcpu_alloc_first_chunk()
1464 chunk->md_blocks = pcpu_mem_zalloc(pcpu_chunk_nr_blocks(chunk) * in pcpu_alloc_chunk()
1465 sizeof(chunk->md_blocks[0]), gfp); in pcpu_alloc_chunk()
1466 if (!chunk->md_blocks) in pcpu_alloc_chunk()
1488 pcpu_mem_free(chunk->md_blocks); in pcpu_alloc_chunk()
1507 pcpu_mem_free(chunk->md_blocks); in pcpu_free_chunk()
2178 block = chunk->md_blocks + i; in pcpu_reclaim_populated()