/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 | 34 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/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/include/asm/ |
D | page.h | 246 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) macro 250 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
|
D | iommu.h | 36 #define IOMMU_PAGE_ALIGN(addr) _ALIGN_UP(addr, IOMMU_PAGE_SIZE)
|
D | processor.h | 256 (_ALIGN_UP(sizeof(init_thread_info), 16) + (unsigned long) &init_stack)
|
/arch/powerpc/platforms/ps3/ |
D | mm.c | 410 unsigned long aligned_len = _ALIGN_UP(len+bus_addr-aligned_bus, in dma_find_chunk() 439 unsigned long aligned_len = _ALIGN_UP(len + lpar_addr - aligned_lpar, in dma_find_chunk_lpar() 793 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_sb_map_area() 848 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_ioc0_map_area() 908 unsigned long aligned_len = _ALIGN_UP(len + bus_addr in dma_sb_unmap_area() 945 unsigned long aligned_len = _ALIGN_UP(len + bus_addr in dma_ioc0_unmap_area() 991 r->len = _ALIGN_UP(r->len, 1 << r->page_size); in dma_sb_region_create_linear() 1142 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/mm/ |
D | slice.c | 245 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_find_area_bottomup() 254 addr = _ALIGN_UP(addr + 1, 1ul << SLICE_LOW_SHIFT); in slice_find_area_bottomup() 256 addr = _ALIGN_UP(addr + 1, 1ul << SLICE_HIGH_SHIFT); in slice_find_area_bottomup() 431 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_get_unmapped_area()
|
D | tlb_hash64.c | 196 end = _ALIGN_UP(end, PAGE_SIZE); in __flush_hash_table_range()
|
D | mem.c | 424 end = _ALIGN_UP(end, PAGE_SIZE); in free_initrd_mem()
|
/arch/powerpc/kernel/ |
D | irq.c | 458 _ALIGN_UP(sizeof(struct thread_info), 16); in handle_one_irq() 597 _ALIGN_UP(sizeof(struct thread_info), 16); in do_softirq_onstack()
|
D | pci_64.c | 137 size_page = _ALIGN_UP(hose->pci_io_size, PAGE_SIZE); in pcibios_map_phb_io_space()
|
D | nvram_64.c | 341 req_size = _ALIGN_UP(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition() 342 min_size = _ALIGN_UP(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()
|
D | prom.c | 98 start <= _ALIGN_UP(initrd_end, PAGE_SIZE); in overlaps_initrd() 580 _ALIGN_UP(initrd_end, PAGE_SIZE) - in early_reserve_mem()
|
D | prom_init.c | 996 base = _ALIGN_UP(base, align); in alloc_up() 1002 base = _ALIGN_UP(RELOC(alloc_bottom), align); in alloc_up() 1007 base = _ALIGN_UP(base + 0x100000, align)) { in alloc_up() 1134 top = _ALIGN_UP(top, PAGE_SIZE); in reserve_mem() 1440 top_addr = _ALIGN_UP(args->k_size, align); in prom_opal_takeover() 1446 top_addr = _ALIGN_UP(args->rd_loc + args->rd_size, align); in prom_opal_takeover()
|
D | head_booke.h | 424 #define STACK_EXC_LVL_FRAME_SIZE _ALIGN_UP(sizeof (struct exception_regs), 16)
|
D | process.c | 783 _ALIGN_UP(sizeof(struct thread_info), 16); in copy_thread()
|
/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 | 1239 size = _ALIGN_UP(phb->ioda.total_pe / 8, sizeof(unsigned long)); in pnv_pci_init_ioda1_phb()
|