Home
last modified time | relevance | path

Searched refs:mem_end (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/platforms/powermac/
Dbootx_init.c135 unsigned long *mem_end) in bootx_dt_add_prop() argument
150 dt_push_token(OF_DT_PROP, mem_end); in bootx_dt_add_prop()
151 dt_push_token(size, mem_end); in bootx_dt_add_prop()
152 dt_push_token(soff, mem_end); in bootx_dt_add_prop()
156 memcpy((void *)*mem_end, data, size); in bootx_dt_add_prop()
157 *mem_end = _ALIGN_UP(*mem_end + size, 4); in bootx_dt_add_prop()
162 unsigned long *mem_end) in bootx_add_chosen_props() argument
166 bootx_dt_add_prop("linux,bootx", NULL, 0, mem_end); in bootx_add_chosen_props()
171 bootx_dt_add_prop("bootargs", args, strlen(args) + 1, mem_end); in bootx_add_chosen_props()
175 bootx_dt_add_prop("linux,initrd-start", &val, 4, mem_end); in bootx_add_chosen_props()
[all …]
/arch/arm/mach-keystone/
Dkeystone.c68 phys_addr_t mem_start, mem_end; in keystone_pv_fixup() local
71 mem_end = memblock_end_of_DRAM(); in keystone_pv_fixup()
75 mem_end <= KEYSTONE_LOW_PHYS_END) in keystone_pv_fixup()
79 mem_end > KEYSTONE_HIGH_PHYS_END) { in keystone_pv_fixup()
81 (u64)mem_start, (u64)mem_end); in keystone_pv_fixup()
/arch/arm/mm/
Dnommu.c98 phys_addr_t mem_end; in adjust_lowmem_bounds_mpu() local
109 mem_end = reg->base + reg->size; in adjust_lowmem_bounds_mpu()
119 &mem_end, &reg->base); in adjust_lowmem_bounds_mpu()
153 mem_end = mem_start + aligned_region_size; in adjust_lowmem_bounds_mpu()
157 &phys_offset, &aligned_region_size, &mem_end); in adjust_lowmem_bounds_mpu()
/arch/powerpc/kernel/
Dprom_init.c2260 static void __init *make_room(unsigned long *mem_start, unsigned long *mem_end, in make_room() argument
2266 while ((*mem_start + needed) > *mem_end) { in make_room()
2281 *mem_end = chunk + room; in make_room()
2290 #define dt_push_token(token, mem_start, mem_end) do { \ argument
2291 void *room = make_room(mem_start, mem_end, 4, 4); \
2317 unsigned long *mem_end) in scan_dt_build_strings() argument
2329 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2358 scan_dt_build_strings(child, mem_start, mem_end); in scan_dt_build_strings()
2364 unsigned long *mem_end) in scan_dt_build_struct() argument
2373 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct()
[all …]
/arch/metag/include/asm/
Dmmu.h42 void mmu_init(unsigned long mem_end);
Dpgtable.h245 void paging_init(unsigned long mem_end);
/arch/metag/mm/
Dmmu-meta2.c134 void __init mmu_init(unsigned long mem_end) in mmu_init() argument
139 unsigned long mem_size = mem_end - PAGE_OFFSET; in mmu_init()
Dmmu-meta1.c133 void __init mmu_init(unsigned long mem_end) in mmu_init() argument
Dinit.c327 void __init paging_init(unsigned long mem_end) in paging_init() argument
345 mmu_init(mem_end); in paging_init()
/arch/x86/xen/
Dsetup.c734 phys_addr_t mem_end, addr, size, chunk_size; in xen_memory_setup() local
746 mem_end = PFN_PHYS(max_pfn); in xen_memory_setup()
759 xen_e820_table.entries[0].size = mem_end; in xen_memory_setup()
817 if (addr < mem_end) { in xen_memory_setup()
818 chunk_size = min(size, mem_end - addr); in xen_memory_setup()