Searched refs:PAGE_ALIGN (Results 1 - 25 of 431) sorted by relevance

1234567891011>>

/linux-master/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.h40 #define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
/linux-master/arch/powerpc/kernel/
H A Dsuspend.c21 unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT;
/linux-master/arch/powerpc/include/asm/
H A Dtask_size_64.h49 #define TASK_UNMAPPED_BASE_USER32 (PAGE_ALIGN(TASK_SIZE_USER32 / 4))
50 #define TASK_UNMAPPED_BASE_USER64 (PAGE_ALIGN(DEFAULT_MAP_WINDOW_USER64 / 4))
/linux-master/arch/sh/kernel/
H A Dswsusp.c22 unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT;
/linux-master/arch/ia64/kernel/
H A Delfcore.c26 phdr.p_memsz = PAGE_ALIGN(phdr.p_memsz);
53 size_t memsz = PAGE_ALIGN(gate_phdrs[i].p_memsz);
72 size += PAGE_ALIGN(gate_phdrs[i].p_memsz);
/linux-master/arch/powerpc/boot/
H A Dpage.h28 #define PAGE_ALIGN(addr) _ALIGN(addr, PAGE_SIZE) macro
H A Dof.c45 claim_base = PAGE_ALIGN(claim_base + size);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.h12 #define PVR2_DVB_BUFFER_SIZE PAGE_ALIGN(0x4000)
/linux-master/mm/
H A Dbootmem_info.c60 mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT;
69 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT;
93 mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT;
106 nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT;
H A Dioremap.c28 size = PAGE_ALIGN(size + offset);
/linux-master/kernel/dma/
H A Dremap.c27 vaddr = vmap(pages, PAGE_ALIGN(size) >> PAGE_SHIFT,
41 int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
H A Dops_helpers.c27 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
40 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
/linux-master/arch/powerpc/platforms/pseries/
H A Dsvm.c55 vstart = memblock_alloc(PAGE_ALIGN(bytes), PAGE_SIZE);
60 memblock_free(vstart, PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT));
/linux-master/arch/hexagon/mm/
H A Dioremap.c28 size = PAGE_ALIGN(offset + size);
/linux-master/arch/riscv/include/asm/
H A Dset_memory.h25 int num_pages = PAGE_ALIGN(end - start) >> PAGE_SHIFT;
/linux-master/arch/nios2/include/asm/
H A Dprocessor.h42 # define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/linux-master/arch/hexagon/include/asm/
H A Dprocessor.h54 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3))
/linux-master/tools/include/linux/
H A Dmm.h19 #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) macro
/linux-master/arch/x86/realmode/
H A Dinit.c97 size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob);
185 size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob);
188 PAGE_ALIGN(real_mode_header->ro_end) -
192 PAGE_ALIGN(real_mode_header->ro_end) -
/linux-master/arch/arm/plat-omap/
H A Dsram.c73 pages = PAGE_ALIGN(size) / PAGE_SIZE;
125 pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
/linux-master/arch/s390/mm/
H A Dmmap.c71 return PAGE_ALIGN(STACK_TOP - gap - rnd);
89 addr = PAGE_ALIGN(addr);
130 addr = PAGE_ALIGN(addr);
/linux-master/arch/mips/sgi-ip27/
H A Dip27-klnuma.c124 offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase;
128 return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT;
/linux-master/drivers/gpu/drm/
H A Ddrm_memory.c62 PAGE_ALIGN(size) / PAGE_SIZE;
68 size = PAGE_ALIGN(size);
/linux-master/arch/arc/mm/
H A Dmmap.c61 addr = PAGE_ALIGN(addr);
/linux-master/arch/csky/abiv1/
H A Dmmap.c56 addr = PAGE_ALIGN(addr);

Completed in 212 milliseconds

1234567891011>>