Searched refs:chunk_size (Results 1 – 4 of 4) sorted by relevance
/arch/x86/platform/olpc/ |
D | olpc_dt.c | 131 const size_t chunk_size = max(PAGE_SIZE, size); in prom_early_alloc() local 139 res = memblock_alloc(chunk_size, SMP_CACHE_BYTES); in prom_early_alloc() 142 chunk_size); in prom_early_alloc() 144 prom_early_allocated += chunk_size; in prom_early_alloc() 145 memset(res, 0, chunk_size); in prom_early_alloc() 146 free_mem = chunk_size; in prom_early_alloc()
|
/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 474 u64 chunk_size, u64 gran_size) in x86_setup_var_mtrrs() argument 483 var_state.chunk_sizek = chunk_size >> 10; in x86_setup_var_mtrrs() 590 mtrr_calc_range_state(u64 chunk_size, u64 gran_size, in mtrr_calc_range_state() argument 607 num_reg = x86_setup_var_mtrrs(range, nr_range, chunk_size, gran_size); in mtrr_calc_range_state() 615 result[i].chunk_sizek = chunk_size >> 10; in mtrr_calc_range_state() 687 u64 chunk_size, gran_size; in mtrr_cleanup() local 758 for (chunk_size = gran_size; chunk_size < (1ULL<<32); in mtrr_cleanup() 759 chunk_size <<= 1) { in mtrr_cleanup() 764 mtrr_calc_range_state(chunk_size, gran_size, in mtrr_cleanup() 784 chunk_size = result[i].chunk_sizek; in mtrr_cleanup() [all …]
|
/arch/x86/xen/ |
D | setup.c | 731 phys_addr_t mem_end, addr, size, chunk_size; in xen_memory_setup() local 807 chunk_size = size; in xen_memory_setup() 812 chunk_size = min(size, mem_end - addr); in xen_memory_setup() 814 chunk_size = min(size, PFN_PHYS(extra_pages)); in xen_memory_setup() 816 n_pfns = PFN_DOWN(addr + chunk_size) - pfn_s; in xen_memory_setup() 825 xen_align_and_add_e820_region(addr, chunk_size, type); in xen_memory_setup() 827 addr += chunk_size; in xen_memory_setup() 828 size -= chunk_size; in xen_memory_setup()
|
/arch/arm/mm/ |
D | cache-uniphier.c | 204 unsigned long chunk_size = min_t(unsigned long, size, in __uniphier_cache_maint_range() local 207 __uniphier_cache_maint_common(data, start, chunk_size, in __uniphier_cache_maint_range() 210 start += chunk_size; in __uniphier_cache_maint_range() 211 size -= chunk_size; in __uniphier_cache_maint_range()
|