/arch/powerpc/boot/ |
D | simple_alloc.c | 45 size = _ALIGN_UP(size, alloc_min); in simple_malloc() 131 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init() 137 alloc_tbl = (struct alloc_info *)_ALIGN_UP((unsigned long)base, 8); in simple_alloc_init() 140 heap_base = _ALIGN_UP((unsigned long)alloc_tbl + tbl_size, alloc_min); in simple_alloc_init()
|
D | page.h | 25 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) macro 29 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
|
D | of.c | 37 claim_base = _ALIGN_UP((unsigned long)_end, ONE_MB); in of_try_claim()
|
/arch/score/include/asm/ |
D | page.h | 20 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1))) macro 24 #define _ALIGN(addr, size) _ALIGN_UP(addr, size)
|
/arch/powerpc/include/asm/ |
D | iommu.h | 36 #define IOMMU_PAGE_ALIGN_4K(addr) _ALIGN_UP(addr, IOMMU_PAGE_SIZE_4K) 40 #define IOMMU_PAGE_ALIGN(addr, tblptr) _ALIGN_UP(addr, IOMMU_PAGE_SIZE(tblptr))
|
D | page.h | 243 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) macro 247 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
|
D | processor.h | 319 (_ALIGN_UP(sizeof(init_thread_info), 16) + (unsigned long) &init_stack)
|
/arch/powerpc/platforms/powermac/ |
D | bootx_init.c | 114 *(mem) = _ALIGN_UP(*(mem),4); \ 156 *mem_end = _ALIGN_UP(*mem_end + size, 4); in bootx_dt_add_prop() 309 *mem_end = _ALIGN_UP((unsigned long)lp + 1, 4); in bootx_scan_dt_build_struct() 362 mem_start = mem_end = _ALIGN_UP(((unsigned long)bi) + start, 4); in bootx_flatten_dt() 366 rsvmap = (u64 *)(_ALIGN_UP(mem_end, 8)); in bootx_flatten_dt()
|
/arch/powerpc/platforms/ps3/ |
D | mm.c | 401 unsigned long aligned_len = _ALIGN_UP(len+bus_addr-aligned_bus, in dma_find_chunk() 430 unsigned long aligned_len = _ALIGN_UP(len + lpar_addr - aligned_lpar, in dma_find_chunk_lpar() 784 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_sb_map_area() 839 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_ioc0_map_area() 899 unsigned long aligned_len = _ALIGN_UP(len + bus_addr in dma_sb_unmap_area() 936 unsigned long aligned_len = _ALIGN_UP(len + bus_addr in dma_ioc0_unmap_area() 982 r->len = _ALIGN_UP(r->len, 1 << r->page_size); in dma_sb_region_create_linear() 1133 r->len = len ? len : _ALIGN_UP(map.total, 1 << r->page_size); in ps3_dma_region_init()
|
D | setup.c | 154 ps3fb_videomemory.size = _ALIGN_UP(memparse(p, &p), in early_parse_ps3fb()
|
/arch/powerpc/kernel/ |
D | pci_64.c | 133 size_page = _ALIGN_UP(hose->pci_io_size, PAGE_SIZE); in pcibios_map_phb_io_space()
|
D | nvram_64.c | 353 req_size = _ALIGN_UP(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition() 354 min_size = _ALIGN_UP(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()
|
D | prom.c | 100 start <= _ALIGN_UP(initrd_end, PAGE_SIZE); in overlaps_initrd() 619 _ALIGN_UP(initrd_end, PAGE_SIZE) - in early_reserve_mem()
|
D | prom_init.c | 974 base = _ALIGN_UP(base, align); in alloc_up() 980 base = _ALIGN_UP(alloc_bottom, align); in alloc_up() 985 base = _ALIGN_UP(base + 0x100000, align)) { in alloc_up() 1112 top = _ALIGN_UP(top, PAGE_SIZE); in reserve_mem()
|
D | head_booke.h | 442 #define STACK_EXC_LVL_FRAME_SIZE _ALIGN_UP(sizeof (struct exception_regs), 16)
|
D | process.c | 1184 _ALIGN_UP(sizeof(struct thread_info), 16); in copy_thread()
|
D | asm-offsets.c | 84 DEFINE(THREAD_INFO_GAP, _ALIGN_UP(sizeof(struct thread_info), 16)); in main()
|
/arch/powerpc/mm/ |
D | tlb_hash64.c | 197 end = _ALIGN_UP(end, PAGE_SIZE); in __flush_hash_table_range()
|
D | slice.c | 415 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_get_unmapped_area()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 1069 fbase = _ALIGN_UP(fbase, 1 << IO_SEGMENT_SHIFT); in cell_iommu_fixed_mapping_init() 1089 if ((hbase != _ALIGN_UP(hbase, 1 << IO_SEGMENT_SHIFT)) || in cell_iommu_fixed_mapping_init() 1090 (hend != _ALIGN_UP(hend, 1 << IO_SEGMENT_SHIFT))) { in cell_iommu_fixed_mapping_init()
|
/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 232 size = _ALIGN_UP(phb->ioda.total_pe / 8, sizeof(unsigned long)); in pnv_ioda2_pick_m64_pe() 1908 size = _ALIGN_UP(phb->ioda.total_pe / 8, sizeof(unsigned long)); in pnv_pci_init_ioda_phb()
|