Searched refs:PAGE_ALIGN (Results 101 - 125 of 448) sorted by relevance
1234567891011>>
/linux-master/arch/loongarch/kernel/ |
H A D | vdso.c | 155 base = PAGE_ALIGN(base);
|
/linux-master/arch/powerpc/kernel/ |
H A D | isa-bridge.c | 84 size = PAGE_ALIGN(range.size);
|
H A D | fadump.c | 373 size = PAGE_ALIGN(size); 381 size = PAGE_ALIGN(size); 466 fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size); 517 base = PAGE_ALIGN(mstart); 526 base = PAGE_ALIGN(base); 554 PAGE_ALIGN(fadump_calculate_reserve_size()); 796 count = PAGE_ALIGN(size) / PAGE_SIZE; 812 fw_dump.cpu_notes_buf_size = PAGE_ALIGN(fw_dump.cpu_notes_buf_size);
|
/linux-master/arch/x86/kernel/ |
H A D | sys_x86_64.c | 133 addr = PAGE_ALIGN(addr);
|
H A D | setup.c | 259 u64 area_size = PAGE_ALIGN(ramdisk_size); 286 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size); 300 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size);
|
/linux-master/arch/mips/kernel/ |
H A D | vdso.c | 83 base = PAGE_ALIGN(base);
|
/linux-master/arch/sh/kernel/ |
H A D | machine_kexec.c | 158 crash_size = PAGE_ALIGN(resource_size(&crashk_res));
|
/linux-master/arch/x86/power/ |
H A D | hibernate.c | 52 nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT;
|
/linux-master/drivers/firmware/ |
H A D | sysfb_simplefb.c | 132 length = PAGE_ALIGN(length);
|
H A D | raspberrypi.c | 100 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, 129 dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr);
|
/linux-master/kernel/dma/ |
H A D | direct.c | 214 size = PAGE_ALIGN(size); 342 dma_free_from_pool(dev, cpu_addr, PAGE_ALIGN(size))) 534 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); 549 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
|
H A D | mapping.c | 570 size = PAGE_ALIGN(size); 594 size = PAGE_ALIGN(size); 612 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; 636 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); 696 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; 719 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
|
H A D | swiotlb.c | 265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); 322 size_t bytes = PAGE_ALIGN(nslabs << IO_TLB_SHIFT); 342 memblock_free(tlb, PAGE_ALIGN(bytes)); 398 alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs)); 540 tbl_size = PAGE_ALIGN(mem->end - mem->start); 541 slots_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), mem->nslabs));
|
/linux-master/arch/x86/xen/ |
H A D | enlighten_pvh.c | 134 next->addr = PAGE_ALIGN(e->addr) + PFN_PHYS(pages);
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.c | 310 size = PAGE_ALIGN(buf_size); 334 size = PAGE_ALIGN(buf_size);
|
/linux-master/arch/sparc/mm/ |
H A D | io-unit.c | 228 len = PAGE_ALIGN(len); 239 end = PAGE_ALIGN((addr + len));
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_fbdev.c | 154 mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]); 159 .bytes = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height),
|
/linux-master/arch/parisc/kernel/ |
H A D | sys_parisc.c | 94 return PAGE_ALIGN(STACK_TOP - stack_base); 133 addr = PAGE_ALIGN(addr);
|
/linux-master/drivers/pcmcia/ |
H A D | electra_cf.c | 202 cf->mem_size = PAGE_ALIGN(resource_size(&mem)); 206 cf->io_size = PAGE_ALIGN(resource_size(&io));
|
/linux-master/fs/erofs/ |
H A D | decompressor_lzma.c | 154 PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; 156 PAGE_ALIGN(rq->inputsize) >> PAGE_SHIFT;
|
/linux-master/arch/arm64/include/asm/ |
H A D | processor.h | 80 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) 83 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
|
/linux-master/kernel/bpf/ |
H A D | arraymap.c | 120 array_size = PAGE_ALIGN(array_size); 121 array_size += PAGE_ALIGN((u64) max_entries * elem_size); 135 array = data + PAGE_ALIGN(sizeof(struct bpf_array)) 523 pgoff_t pgoff = PAGE_ALIGN(sizeof(*array)) >> PAGE_SHIFT; 529 PAGE_ALIGN((u64)array->map.max_entries * array->elem_size)) 737 usage = PAGE_ALIGN(usage); 738 usage += PAGE_ALIGN(entries * elem_size);
|
/linux-master/drivers/iommu/ |
H A D | dma-iommu.c | 971 count = PAGE_ALIGN(size) >> PAGE_SHIFT; 1040 __iommu_dma_free_pages(pages, PAGE_ALIGN(size) >> PAGE_SHIFT); 1069 __iommu_dma_free_pages(sh->pages, PAGE_ALIGN(size) >> PAGE_SHIFT); 1536 size_t alloc_size = PAGE_ALIGN(size); 1576 size_t alloc_size = PAGE_ALIGN(size); 1627 page = dma_alloc_from_pool(dev, PAGE_ALIGN(size), &cpu_addr, 1648 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; 1687 PAGE_ALIGN(size) >> PAGE_SHIFT, 1698 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
|
/linux-master/drivers/virt/vboxguest/ |
H A D | vboxguest_utils.c | 71 int order = get_order(PAGE_ALIGN(len)); 94 free_pages((unsigned long)req, get_order(PAGE_ALIGN(len))); 192 u32 size = PAGE_ALIGN(len + ((unsigned long)buf & ~PAGE_MASK));
|
/linux-master/mm/ |
H A D | mlock.c | 533 VM_BUG_ON(len != PAGE_ALIGN(len)); 634 len = PAGE_ALIGN(len + (offset_in_page(start))); 694 len = PAGE_ALIGN(len + (offset_in_page(start)));
|
Completed in 270 milliseconds
1234567891011>>