Home
last modified time | relevance | path

Searched refs:_ALIGN_UP (Results 1 – 22 of 22) sorted by relevance

/arch/powerpc/boot/
Dsimple_alloc.c45 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()
Dpage.h25 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) macro
29 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
Dof.c34 claim_base = _ALIGN_UP((unsigned long)_end, ONE_MB); in of_try_claim()
/arch/score/include/asm/
Dpage.h20 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1))) macro
24 #define _ALIGN(addr, size) _ALIGN_UP(addr, size)
/arch/powerpc/platforms/powermac/
Dbootx_init.c114 *(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/
Dpage.h246 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) macro
250 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
Diommu.h36 #define IOMMU_PAGE_ALIGN(addr) _ALIGN_UP(addr, IOMMU_PAGE_SIZE)
Dprocessor.h256 (_ALIGN_UP(sizeof(init_thread_info), 16) + (unsigned long) &init_stack)
/arch/powerpc/platforms/ps3/
Dmm.c410 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()
Dsetup.c154 ps3fb_videomemory.size = _ALIGN_UP(memparse(p, &p), in early_parse_ps3fb()
/arch/powerpc/mm/
Dslice.c245 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()
Dtlb_hash64.c196 end = _ALIGN_UP(end, PAGE_SIZE); in __flush_hash_table_range()
Dmem.c424 end = _ALIGN_UP(end, PAGE_SIZE); in free_initrd_mem()
/arch/powerpc/kernel/
Dirq.c458 _ALIGN_UP(sizeof(struct thread_info), 16); in handle_one_irq()
597 _ALIGN_UP(sizeof(struct thread_info), 16); in do_softirq_onstack()
Dpci_64.c137 size_page = _ALIGN_UP(hose->pci_io_size, PAGE_SIZE); in pcibios_map_phb_io_space()
Dnvram_64.c341 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()
Dprom.c98 start <= _ALIGN_UP(initrd_end, PAGE_SIZE); in overlaps_initrd()
580 _ALIGN_UP(initrd_end, PAGE_SIZE) - in early_reserve_mem()
Dprom_init.c996 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()
Dhead_booke.h424 #define STACK_EXC_LVL_FRAME_SIZE _ALIGN_UP(sizeof (struct exception_regs), 16)
Dprocess.c783 _ALIGN_UP(sizeof(struct thread_info), 16); in copy_thread()
/arch/powerpc/platforms/cell/
Diommu.c1069 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/
Dpci-ioda.c1239 size = _ALIGN_UP(phb->ioda.total_pe / 8, sizeof(unsigned long)); in pnv_pci_init_ioda1_phb()