/linux-3.4.99/arch/h8300/mm/ |
D | init.c | 79 unsigned long start_mem = PAGE_ALIGN(memory_start); in paging_init() 139 start_mem = PAGE_ALIGN(start_mem); in mem_init() 186 addr = PAGE_ALIGN((unsigned long)(&__init_begin)); in free_initmem() 195 (addr - PAGE_ALIGN((long) &__init_begin)) >> 10, in free_initmem() 196 (int)(PAGE_ALIGN((unsigned long)(&__init_begin))), in free_initmem()
|
/linux-3.4.99/arch/m68k/mm/ |
D | init_no.c | 87 start_mem = PAGE_ALIGN(start_mem); in mem_init() 131 addr = PAGE_ALIGN((unsigned long) __init_begin); in free_initmem() 140 (addr - PAGE_ALIGN((unsigned long) __init_begin)) >> 10, in free_initmem() 141 (int)(PAGE_ALIGN((unsigned long) __init_begin)), in free_initmem()
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | paca.c | 57 lppaca_size = PAGE_ALIGN(sizeof(struct lppaca) * in allocate_lppacas() 84 new_size = PAGE_ALIGN(nr * sizeof(struct lppaca)); in free_lppacas() 187 paca_size = PAGE_ALIGN(sizeof(struct paca_struct) * nr_cpu_ids); in allocate_pacas() 206 new_size = PAGE_ALIGN(sizeof(struct paca_struct) * nr_cpu_ids); in free_unused_pacas()
|
/linux-3.4.99/arch/sparc/kernel/ |
D | ioport.c | 268 unsigned long len_total = PAGE_ALIGN(len); in sbus_alloc_coherent() 335 n = PAGE_ALIGN(n); in sbus_free_coherent() 443 unsigned long len_total = PAGE_ALIGN(len); in pci32_alloc_coherent() 509 n = PAGE_ALIGN(n); in pci32_free_coherent() 540 dma_make_coherent(ba, PAGE_ALIGN(size)); in pci32_unmap_page() 586 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_unmap_sg() 605 dma_make_coherent(ba, PAGE_ALIGN(size)); in pci32_sync_single_for_cpu() 613 dma_make_coherent(ba, PAGE_ALIGN(size)); in pci32_sync_single_for_device() 631 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_cpu() 644 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_device()
|
/linux-3.4.99/arch/sparc/mm/ |
D | init_32.c | 191 start_pfn = (unsigned long)__pa(PAGE_ALIGN((unsigned long) &_end)); in bootmem_init() 226 bootmap_pfn = PAGE_ALIGN (initrd_end) >> PAGE_SHIFT; in bootmem_init() 267 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init() 276 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init() 284 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init() 460 codepages = PAGE_ALIGN(codepages) >> PAGE_SHIFT; in mem_init() 462 datapages = PAGE_ALIGN(datapages) >> PAGE_SHIFT; in mem_init() 464 initpages = PAGE_ALIGN(initpages) >> PAGE_SHIFT; in mem_init()
|
/linux-3.4.99/arch/ia64/kernel/ |
D | elfcore.c | 26 phdr.p_memsz = PAGE_ALIGN(phdr.p_memsz); in elf_core_write_extra_phdrs() 55 size_t memsz = PAGE_ALIGN(gate_phdrs[i].p_memsz); in elf_core_write_extra_data() 75 size += PAGE_ALIGN(gate_phdrs[i].p_memsz); in elf_core_extra_data_size()
|
/linux-3.4.99/arch/x86/kernel/ |
D | trampoline.c | 13 size_t size = PAGE_ALIGN(x86_trampoline_end - x86_trampoline_start); in setup_trampolines() 37 size_t size = PAGE_ALIGN(x86_trampoline_end - x86_trampoline_start); in configure_trampolines()
|
/linux-3.4.99/arch/mips/mm/ |
D | mmap.c | 45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base() 102 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_common() 115 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_common() 265 ret = PAGE_ALIGN(base + brk_rnd()); in arch_randomize_brk()
|
/linux-3.4.99/arch/arm/mach-omap2/ |
D | board-rx51-video.c | 97 omap_vram_set_sdram_vram(PAGE_ALIGN(864 * 480 * 4) + in rx51_video_mem_init() 98 2 * PAGE_ALIGN(1280 * 720 * 4 * 2), 0); in rx51_video_mem_init()
|
/linux-3.4.99/arch/blackfin/kernel/ |
D | dma-mapping.c | 31 dma_base = PAGE_ALIGN(start); in dma_alloc_init() 32 dma_size = PAGE_ALIGN(end) - PAGE_ALIGN(start); in dma_alloc_init()
|
D | dumpstack.c | 57 endstack = (unsigned int *)PAGE_ALIGN((unsigned int)stack); in show_stack() 60 endstack = (unsigned int *)PAGE_ALIGN((unsigned int)stack); in show_stack()
|
/linux-3.4.99/arch/arm/mm/ |
D | mmap.c | 54 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base() 100 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area() 118 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area() 183 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown()
|
/linux-3.4.99/arch/ia64/mm/ |
D | init.c | 79 pg_addr = PAGE_ALIGN((unsigned long) addr); in dma_mark_clean() 95 current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); in ia64_set_rbs_bot() 206 start = PAGE_ALIGN(start); in free_initrd_mem() 375 end_address = PAGE_ALIGN(end_address); in vmemmap_find_next_valid_pfn() 438 end_page = PAGE_ALIGN((unsigned long) map_end); in create_mem_map_page_table() 490 map_end += ((PAGE_ALIGN((unsigned long) map_end) - (unsigned long) map_end) in virtual_memmap_init() 582 pfn_start = (PAGE_ALIGN(__pa(start))) >> PAGE_SHIFT; in find_max_min_low_pfn() 583 pfn_end = (PAGE_ALIGN(__pa(end - 1))) >> PAGE_SHIFT; in find_max_min_low_pfn()
|
/linux-3.4.99/arch/c6x/mm/ |
D | init.c | 101 addr = PAGE_ALIGN((unsigned long)(__init_begin)); in free_initmem() 112 (int) ((addr - PAGE_ALIGN((long) &__init_begin)) >> 10)); in free_initmem()
|
/linux-3.4.99/arch/sh/mm/ |
D | mmap.c | 74 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area() 93 addr = PAGE_ALIGN(mm->free_area_cache); in arch_get_unmapped_area() 157 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown()
|
/linux-3.4.99/arch/xtensa/mm/ |
D | init.c | 58 end = PAGE_ALIGN(end); in mem_reserve() 110 pfn = PAGE_ALIGN(sysmem.bank[i].start) >> PAGE_SHIFT; in bootmem_init() 113 pfn = PAGE_ALIGN(sysmem.bank[i].end - 1) >> PAGE_SHIFT; in bootmem_init()
|
/linux-3.4.99/arch/mips/sgi-ip27/ |
D | ip27-klnuma.c | 126 offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase; in node_getfirstfree() 130 return (KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> in node_getfirstfree()
|
/linux-3.4.99/arch/frv/mm/ |
D | elf-fdpic.c | 74 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area() 100 addr = PAGE_ALIGN(0x80000000); in arch_get_unmapped_area()
|
/linux-3.4.99/lib/ |
D | swiotlb.c | 155 io_tlb_list = alloc_bootmem_pages(PAGE_ALIGN(io_tlb_nslabs * sizeof(int))); in swiotlb_init_with_tbl() 159 io_tlb_orig_addr = alloc_bootmem_pages(PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_init_with_tbl() 164 io_tlb_overflow_buffer = alloc_bootmem_low_pages(PAGE_ALIGN(io_tlb_overflow)); in swiotlb_init_with_tbl() 190 io_tlb_start = alloc_bootmem_low_pages(PAGE_ALIGN(bytes)); in swiotlb_init_with_default_size() 316 PAGE_ALIGN(io_tlb_overflow)); in swiotlb_free() 318 PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free() 320 PAGE_ALIGN(io_tlb_nslabs * sizeof(int))); in swiotlb_free() 322 PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); in swiotlb_free()
|
/linux-3.4.99/arch/c6x/kernel/ |
D | setup.c | 313 if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) in setup_arch() 314 memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); in setup_arch() 321 PAGE_ALIGN((unsigned long)&_end - PAGE_OFFSET)); in setup_arch() 338 memory_start = PAGE_ALIGN((unsigned int) &_end); in setup_arch()
|
/linux-3.4.99/arch/blackfin/mm/ |
D | init.c | 62 PAGE_ALIGN(memory_start), end_mem); in paging_init() 104 start_mem = PAGE_ALIGN(start_mem); in mem_init()
|
/linux-3.4.99/drivers/gpu/drm/ |
D | drm_memory.c | 45 PAGE_ALIGN(size) / PAGE_SIZE; in agp_remap() 51 size = PAGE_ALIGN(size); in agp_remap()
|
/linux-3.4.99/arch/avr32/mm/ |
D | dma-coherent.c | 53 size = PAGE_ALIGN(size); in __dma_alloc() 90 struct page *end = page + (PAGE_ALIGN(size) >> PAGE_SHIFT); in __dma_free()
|
/linux-3.4.99/arch/microblaze/kernel/ |
D | setup.c | 116 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); in machine_early_init() 119 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); in machine_early_init()
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_mmap.c | 141 size = PAGE_ALIGN(size); in ipath_create_mmap_info() 163 size = PAGE_ALIGN(size); in ipath_update_mmap_info()
|