Lines Matching refs:md_blocks
373 for (block = chunk->md_blocks + i; i < pcpu_chunk_nr_blocks(chunk); in pcpu_next_md_free_region()
428 for (block = chunk->md_blocks + i; i < pcpu_chunk_nr_blocks(chunk); in pcpu_next_fit_region()
724 block = chunk->md_blocks + s_index; in pcpu_block_update_scan()
776 struct pcpu_block_md *block = chunk->md_blocks + index; in pcpu_block_refresh_hint()
828 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_alloc()
829 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
983 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_free()
984 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1326 for (md_block = chunk->md_blocks; in pcpu_init_md_blocks()
1327 md_block != chunk->md_blocks + pcpu_chunk_nr_blocks(chunk); in pcpu_init_md_blocks()
1389 alloc_size = pcpu_chunk_nr_blocks(chunk) * sizeof(chunk->md_blocks[0]); in pcpu_alloc_first_chunk()
1390 chunk->md_blocks = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1391 if (!chunk->md_blocks) in pcpu_alloc_first_chunk()
1461 chunk->md_blocks = pcpu_mem_zalloc(pcpu_chunk_nr_blocks(chunk) * in pcpu_alloc_chunk()
1462 sizeof(chunk->md_blocks[0]), gfp); in pcpu_alloc_chunk()
1463 if (!chunk->md_blocks) in pcpu_alloc_chunk()
1485 pcpu_mem_free(chunk->md_blocks); in pcpu_alloc_chunk()
1504 pcpu_mem_free(chunk->md_blocks); in pcpu_free_chunk()
2173 block = chunk->md_blocks + i; in pcpu_reclaim_populated()