Symbol: PAGE_ALIGN
arch/alpha/kernel/core_irongate.c
235
memblock_free((void *)initrd_start, PAGE_ALIGN(size));
arch/alpha/kernel/core_irongate.c
357
size = PAGE_ALIGN(last) - addr;
arch/alpha/kernel/core_marvel.c
733
size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/core_titan.c
507
size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/osf_sys.c
1239
addr = arch_get_unmapped_area_1 (PAGE_ALIGN(addr), len, limit);
arch/alpha/kernel/osf_sys.c
1245
addr = arch_get_unmapped_area_1 (PAGE_ALIGN(TASK_UNMAPPED_BASE),
arch/alpha/kernel/osf_sys.c
188
if ((off + PAGE_ALIGN(len)) < off)
arch/alpha/kernel/setup.c
272
start = memblock_alloc(PAGE_ALIGN(size), PAGE_SIZE);
arch/arc/mm/mmap.c
47
addr = PAGE_ALIGN(addr);
arch/arm/include/asm/cacheflush.h
230
__cpuc_flush_user_range(start & PAGE_MASK, PAGE_ALIGN(end),
arch/arm/kernel/process.c
358
first = PAGE_ALIGN(mm->start_stack);
arch/arm/kernel/setup.c
768
aligned_start = PAGE_ALIGN(start);
arch/arm/mach-omap1/sram-init.c
124
pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap1/sram-init.c
71
pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c
217
pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c
93
pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mm/cache-l2x0.c
1370
if (end > PAGE_ALIGN(start+1))
arch/arm/mm/cache-l2x0.c
1371
end = PAGE_ALIGN(start+1);
arch/arm/mm/dma-mapping.c
1008
size = PAGE_ALIGN((iova & ~PAGE_MASK) + size);
arch/arm/mm/dma-mapping.c
1082
size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c
1118
unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c
1146
size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c
1170
unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c
1194
size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c
1203
unsigned int len = PAGE_ALIGN(s->offset + s->length);
arch/arm/mm/dma-mapping.c
1369
int len = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm/mm/dma-mapping.c
1410
int len = PAGE_ALIGN(size + offset);
arch/arm/mm/dma-mapping.c
544
.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c
613
.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c
768
count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c
964
unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/init.c
430
poison_init_mem((void *)start, PAGE_ALIGN(end) - start);
arch/arm/mm/ioremap.c
298
size = PAGE_ALIGN(offset + size);
arch/arm/mm/ioremap.c
436
set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE);
arch/arm/mm/kasan_init.c
206
PAGE_ALIGN((unsigned long)shadow_end), false);
arch/arm/mm/mmap.c
115
addr = PAGE_ALIGN(addr);
arch/arm/mm/mmap.c
64
addr = PAGE_ALIGN(addr);
arch/arm/mm/mmu.c
1032
vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/mmu.c
876
length = PAGE_ALIGN(md->length);
arch/arm/mm/mmu.c
950
length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/pageattr.c
58
unsigned long end = PAGE_ALIGN(addr) + numpages * PAGE_SIZE;
arch/arm64/include/asm/kvm_pkvm.h
105
return PAGE_ALIGN(KVM_MAX_PVMS * sizeof(void *)) >> PAGE_SHIFT;
arch/arm64/include/asm/processor.h
82
#define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4))
arch/arm64/include/asm/processor.h
85
#define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
arch/arm64/kernel/pi/map_range.c
52
u64 next = min((start | lmask) + 1, PAGE_ALIGN(end));
arch/arm64/kvm/hyp/nvhe/mem_protect.c
224
size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/mem_protect.c
852
u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c
888
u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mm.c
100
size = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm64/kvm/hyp/nvhe/mm.c
123
end = PAGE_ALIGN(end);
arch/arm64/kvm/hyp/nvhe/mm.c
165
end = PAGE_ALIGN((u64)hyp_phys_to_page(end));
arch/arm64/kvm/hyp/nvhe/mm.c
57
cur = start + PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/pkvm.c
646
PAGE_ALIGN(size) >> PAGE_SHIFT))
arch/arm64/kvm/hyp/nvhe/pkvm.c
666
PAGE_ALIGN(size) >> PAGE_SHIFT));
arch/arm64/kvm/hyp/nvhe/pkvm.c
853
size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/setup.c
148
end = start + PAGE_ALIGN(hyp_percpu_size);
arch/arm64/kvm/hyp/nvhe/setup.c
88
end = start + PAGE_ALIGN(pkvm_host_sve_state_size());
arch/arm64/kvm/hyp/pgtable.c
274
.end = PAGE_ALIGN(walk_data.addr + size),
arch/arm64/kvm/mmu.c
554
end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c
574
end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c
605
end = PAGE_ALIGN(end);
arch/arm64/kvm/mmu.c
666
size = PAGE_ALIGN(size);
arch/arm64/kvm/mmu.c
695
size = PAGE_ALIGN(size + offset_in_page(phys_addr));
arch/arm64/kvm/pkvm.c
109
size_t hyp_vcpu_sz = PAGE_ALIGN(PKVM_HYP_VCPU_SIZE);
arch/arm64/kvm/pkvm.c
160
hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE,
arch/arm64/mm/gcs.c
33
return PAGE_ALIGN(size);
arch/arm64/mm/gcs.c
36
size = PAGE_ALIGN(min_t(unsigned long long,
arch/arm64/mm/gcs.c
96
alloc_size = PAGE_ALIGN(size);
arch/arm64/mm/init.c
264
resource_size_t size = PAGE_ALIGN(phys_initrd_start + phys_initrd_size) - base;
arch/arm64/mm/kasan_init.c
231
kasan_pgd_populate(start & PAGE_MASK, PAGE_ALIGN(end), node, false);
arch/arm64/mm/kasan_init.c
310
kimg_shadow_end = PAGE_ALIGN((u64)kasan_mem_to_shadow(KERNEL_END));
arch/arm64/mm/mmu.c
486
end = PAGE_ALIGN(virt + size);
arch/arm64/mm/mmu.c
799
if (start != PAGE_ALIGN(start) || end != PAGE_ALIGN(end))
arch/csky/abiv1/mmap.c
62
addr = PAGE_ALIGN(addr);
arch/hexagon/include/asm/processor.h
54
#define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3))
arch/loongarch/include/asm/processor.h
55
#define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
arch/loongarch/kernel/process.c
324
top -= PAGE_ALIGN(current->thread.vdso->size);
arch/loongarch/kernel/vdso.c
53
vdso_info.size = PAGE_ALIGN(vdso_end - vdso_start);
arch/loongarch/kernel/vdso.c
74
base = PAGE_ALIGN(base);
arch/loongarch/mm/kasan_init.c
242
kasan_pgd_populate(start & PAGE_MASK, PAGE_ALIGN(end), node, false);
arch/loongarch/mm/mmap.c
58
addr = PAGE_ALIGN(addr);
arch/m68k/amiga/chipram.c
78
size = PAGE_ALIGN(size);
arch/m68k/atari/stram.c
162
size = PAGE_ALIGN(size);
arch/m68k/include/asm/processor.h
73
#define TASK_UNMAPPED_ALIGN(addr, off) PAGE_ALIGN(addr)
arch/m68k/kernel/setup_no.c
84
memory_start = PAGE_ALIGN(_ramstart);
arch/m68k/mm/mcfmmu.c
165
memstart = PAGE_ALIGN(_ramstart);
arch/m68k/mm/sun3kmap.c
76
size = PAGE_ALIGN(size);
arch/m68k/sun3x/dvma.c
90
end = PAGE_ALIGN(vaddr + len);
arch/microblaze/kernel/setup.c
105
romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base));
arch/microblaze/kernel/setup.c
108
romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base));
arch/microblaze/mm/init.c
198
ksize = PAGE_ALIGN(((u32)_end - (u32)CONFIG_KERNEL_START));
arch/microblaze/mm/pgtable.c
63
size = PAGE_ALIGN(addr + size) - p;
arch/mips/include/asm/processor.h
80
#define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
arch/mips/jazz/jazzdma.c
500
size = PAGE_ALIGN(size);
arch/mips/kernel/process.c
694
top -= PAGE_ALIGN(current->thread.abi->vdso->size);
arch/mips/kernel/vdso.c
71
base = PAGE_ALIGN(base);
arch/mips/mm/ioremap.c
97
size = PAGE_ALIGN(last_addr + 1) - phys_addr;
arch/mips/mm/mmap.c
66
addr = PAGE_ALIGN(addr);
arch/mips/sgi-ip27/ip27-klnuma.c
124
offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase;
arch/mips/sgi-ip27/ip27-klnuma.c
128
return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT;
arch/nios2/include/asm/processor.h
42
# define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
arch/nios2/kernel/traps.c
74
endstack = (unsigned long *) PAGE_ALIGN(addr);
arch/nios2/mm/ioremap.c
156
size = PAGE_ALIGN(last_addr + 1) - phys_addr;
arch/parisc/kernel/cache.c
609
threshold = PAGE_ALIGN((num_online_cpus() * size * alltime) / rangetime);
arch/parisc/kernel/inventory.c
167
npages = (PAGE_ALIGN(PAGE0->imm_max_mem) >> PAGE_SHIFT);
arch/parisc/kernel/sys_parisc.c
135
addr = PAGE_ALIGN(addr);
arch/parisc/kernel/sys_parisc.c
94
return PAGE_ALIGN(STACK_TOP - stack_base);
arch/powerpc/boot/of.c
45
claim_base = PAGE_ALIGN(claim_base + size);
arch/powerpc/include/asm/task_size_64.h
49
#define TASK_UNMAPPED_BASE_USER32 (PAGE_ALIGN(TASK_SIZE_USER32 / 4))
arch/powerpc/include/asm/task_size_64.h
50
#define TASK_UNMAPPED_BASE_USER64 (PAGE_ALIGN(DEFAULT_MAP_WINDOW_USER64 / 4))
arch/powerpc/kernel/fadump.c
1658
elfcorehdr_size = PAGE_ALIGN(elfcorehdr_size);
arch/powerpc/kernel/fadump.c
393
size = PAGE_ALIGN(size);
arch/powerpc/kernel/fadump.c
481
fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size);
arch/powerpc/kernel/fadump.c
532
base = PAGE_ALIGN(mstart);
arch/powerpc/kernel/fadump.c
541
base = PAGE_ALIGN(base);
arch/powerpc/kernel/fadump.c
569
PAGE_ALIGN(fadump_calculate_reserve_size());
arch/powerpc/kernel/fadump.c
786
count = PAGE_ALIGN(size) / PAGE_SIZE;
arch/powerpc/kernel/fadump.c
802
fw_dump.cpu_notes_buf_size = PAGE_ALIGN(fw_dump.cpu_notes_buf_size);
arch/powerpc/kernel/iommu.c
923
size = PAGE_ALIGN(size);
arch/powerpc/kernel/iommu.c
968
size = PAGE_ALIGN(size);
arch/powerpc/kernel/iommu.c
971
size = PAGE_ALIGN(size);
arch/powerpc/kernel/isa-bridge.c
84
size = PAGE_ALIGN(range.size);
arch/powerpc/kernel/paca.c
62
size_t shared_lppaca_total_size = PAGE_ALIGN(nr_cpu_ids * LPPACA_SIZE);
arch/powerpc/kernel/prom.c
86
memory_limit = PAGE_ALIGN(memparse(p, &p));
arch/powerpc/kernel/prom_init.c
1723
alloc_bottom = PAGE_ALIGN((unsigned long)&_end + 0x4000);
arch/powerpc/kernel/prom_init.c
1769
alloc_bottom = PAGE_ALIGN(prom_initrd_end);
arch/powerpc/kernel/prom_init.c
2737
mem_start = PAGE_ALIGN(mem_start);
arch/powerpc/kernel/prom_init.c
2752
mem_start = PAGE_ALIGN(mem_start);
arch/powerpc/kernel/prom_init.c
2757
dt_struct_end = PAGE_ALIGN(mem_start);
arch/powerpc/kernel/suspend.c
21
unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT;
arch/powerpc/kexec/core.c
99
crash_base_align = PAGE_ALIGN(crash_base);
arch/powerpc/kvm/book3s_hv_builtin.c
92
selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100);
arch/powerpc/lib/test-code-patching.c
210
buf = vmalloc(PAGE_ALIGN(0x2000000 + 1));
arch/powerpc/mm/book3s64/radix_pgtable.c
199
end = PAGE_ALIGN(end); // aligns up
arch/powerpc/mm/ioremap_32.c
39
size = PAGE_ALIGN(addr + size) - p;
arch/powerpc/mm/ioremap_64.c
26
size = PAGE_ALIGN(addr + size) - paligned;
arch/powerpc/platforms/powernv/opal-core.c
322
oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size);
arch/powerpc/platforms/powernv/opal-dump.c
250
dump->buffer = vzalloc(PAGE_ALIGN(dump->size));
arch/powerpc/platforms/powernv/opal-fadump.c
222
return PAGE_ALIGN(sizeof(struct opal_fadump_mem_struct));
arch/powerpc/platforms/powernv/opal-flash.c
372
size = PAGE_ALIGN(image_data.size);
arch/powerpc/platforms/powernv/opal-flash.c
409
image_data.data = vzalloc(PAGE_ALIGN(image_data.size));
arch/powerpc/platforms/powernv/opal-flash.c
417
size = PAGE_ALIGN(image_data.size);
arch/powerpc/platforms/pseries/rtas-fadump.c
146
addr = PAGE_ALIGN(addr);
arch/riscv/include/asm/processor.h
53
#define TASK_UNMAPPED_BASE PAGE_ALIGN((UL(1) << MMAP_MIN_VA_BITS) / 3)
arch/riscv/include/asm/processor.h
55
#define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
arch/riscv/include/asm/set_memory.h
25
int num_pages = PAGE_ALIGN(end - start) >> PAGE_SHIFT;
arch/riscv/kernel/usercfi.c
118
return PAGE_ALIGN(size);
arch/riscv/kernel/usercfi.c
120
return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G));
arch/riscv/kernel/usercfi.c
288
aligned_size = PAGE_ALIGN(size);
arch/riscv/mm/kasan_init.c
372
unsigned long vend = PAGE_ALIGN((unsigned long)end);
arch/riscv/mm/kasan_init.c
439
unsigned long vend = PAGE_ALIGN((unsigned long)end);
arch/s390/boot/startup.c
519
safe_addr = PAGE_ALIGN(nokaslr_text_lma + vmlinux_size);
arch/s390/boot/vmem.c
89
unsigned long sha_end = PAGE_ALIGN(__sha(end));
arch/s390/kernel/process.c
246
ret = PAGE_ALIGN(mm->brk + brk_rnd());
arch/s390/kernel/vdso.c
111
return PAGE_ALIGN(vdso_end - vdso_start);
arch/s390/kernel/vdso.c
92
start = PAGE_ALIGN(start);
arch/s390/kvm/pci.c
67
size = get_order(PAGE_ALIGN(ZPCI_NR_DEVICES *
arch/s390/mm/mmap.c
131
addr = PAGE_ALIGN(addr);
arch/s390/mm/mmap.c
64
return PAGE_ALIGN(STACK_TOP - gap - rnd);
arch/s390/mm/mmap.c
93
addr = PAGE_ALIGN(addr);
arch/s390/pci/pci_bus.c
348
dma_start = PAGE_ALIGN(zdev->start_dma);
arch/sh/include/asm/processor_32.h
36
#define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
arch/sh/kernel/cpu/sh4/sq.c
160
size = PAGE_ALIGN(end + 1) - phys;
arch/sh/kernel/machine_kexec.c
158
crash_size = PAGE_ALIGN(resource_size(&crashk_res));
arch/sh/kernel/setup.c
109
memory_limit = PAGE_ALIGN(memparse(p, &p));
arch/sh/kernel/swsusp.c
22
unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT;
arch/sh/mm/ioremap_fixed.c
61
size = PAGE_ALIGN(phys_addr + size) - phys_addr;
arch/sh/mm/mmap.c
133
addr = PAGE_ALIGN(addr);
arch/sh/mm/mmap.c
84
addr = PAGE_ALIGN(addr);
arch/sparc/kernel/ioport.c
272
size = PAGE_ALIGN(size);
arch/sparc/kernel/irq_64.c
1018
unsigned long size = PAGE_ALIGN(qmask + 1);
arch/sparc/kernel/ldc.c
2238
npages = PAGE_ALIGN(((cookie & ~PAGE_MASK) + size)) >> PAGE_SHIFT;
arch/sparc/kernel/leon_pci_grpci1.c
431
ahbadr = 0xf0000000 & (u32)__pa(PAGE_ALIGN((unsigned long) &_end));
arch/sparc/kernel/leon_pci_grpci2.c
625
ahbadr = 0xf0000000 & (u32)__pa(PAGE_ALIGN(
arch/sparc/kernel/mdesc.c
171
alloc_size = PAGE_ALIGN(handle_size);
arch/sparc/kernel/mdesc.c
191
alloc_size = PAGE_ALIGN(hp->handle_size);
arch/sparc/kernel/smp_64.c
1126
end = PAGE_ALIGN(end);
arch/sparc/kernel/sys_sparc_64.c
136
addr = PAGE_ALIGN(addr);
arch/sparc/kernel/sys_sparc_64.c
203
addr = PAGE_ALIGN(addr);
arch/sparc/kernel/sys_sparc_64.c
322
mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor);
arch/sparc/kernel/sys_sparc_64.c
478
if ((off + PAGE_ALIGN(len)) < off)
arch/sparc/mm/init_32.c
171
start_pfn = (unsigned long)__pa(PAGE_ALIGN((unsigned long) &_end));
arch/sparc/mm/init_64.c
143
unsigned long new_base = PAGE_ALIGN(base);
arch/sparc/mm/init_64.c
2476
paddr < __pa(PAGE_ALIGN(initrd_end)))
arch/sparc/mm/init_64.c
2535
addr = PAGE_ALIGN((unsigned long)(__init_begin));
arch/sparc/mm/io-unit.c
230
len = PAGE_ALIGN(len);
arch/sparc/mm/io-unit.c
241
end = PAGE_ALIGN((addr + len));
arch/sparc/mm/iommu.c
164
end = PAGE_ALIGN(start + niopte*sizeof(iopte_t));
arch/sparc/mm/iommu.c
328
len = PAGE_ALIGN(len);
arch/um/kernel/mem.c
74
brk_end = PAGE_ALIGN((unsigned long) sbrk(0));
arch/um/kernel/skas/uaccess.c
100
size = min(PAGE_ALIGN(addr) - addr, (unsigned long) len);
arch/um/kernel/um_arch.c
303
return PAGE_ALIGN(top_addr + 1);
arch/um/kernel/um_arch.c
357
diff = PAGE_ALIGN(brk_start) - PAGE_ALIGN((unsigned long) &_end);
arch/um/kernel/um_arch.c
371
physmem_size = PAGE_ALIGN(physmem_size);
arch/x86/boot/startup/sme.c
332
initrd_end = PAGE_ALIGN(initrd_start + initrd_len);
arch/x86/coco/sev/core.c
1479
unsigned int npages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
arch/x86/coco/sev/core.c
1496
unsigned int npages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
arch/x86/include/asm/processor.h
677
#define __TASK_UNMAPPED_BASE(task_size) (PAGE_ALIGN(task_size / 3))
arch/x86/kernel/dumpstack.c
227
stack = (unsigned long *)PAGE_ALIGN((unsigned long)stack);
arch/x86/kernel/kexec-bzimage64.c
616
kbuf.memsz = PAGE_ALIGN(header->init_size);
arch/x86/kernel/machine_kexec_64.c
672
nr_pages = (PAGE_ALIGN(end_paddr) - PAGE_ALIGN_DOWN(start_paddr))/PAGE_SIZE;
arch/x86/kernel/setup.c
323
u64 area_size = PAGE_ALIGN(ramdisk_size);
arch/x86/kernel/setup.c
353
u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size);
arch/x86/kernel/setup.c
367
u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size);
arch/x86/kernel/shstk.c
130
return PAGE_ALIGN(size);
arch/x86/kernel/shstk.c
132
return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G));
arch/x86/kernel/shstk.c
351
need_to_check_vma = PAGE_ALIGN(*ssp) == *ssp;
arch/x86/kernel/shstk.c
569
aligned_size = PAGE_ALIGN(size);
arch/x86/kernel/sys_x86_64.c
144
addr = PAGE_ALIGN(addr);
arch/x86/kernel/unwind_orc.c
750
void *next_page = (void *)PAGE_ALIGN((unsigned long)state->sp);
arch/x86/kvm/svm/nested.c
336
u64 addr = PAGE_ALIGN(pa);
arch/x86/mm/init.c
902
begin_aligned = PAGE_ALIGN(begin);
arch/x86/mm/init.c
995
free_init_pages("initrd", start, PAGE_ALIGN(end));
arch/x86/mm/ioremap.c
226
size = PAGE_ALIGN(last_addr+1) - phys_addr;
arch/x86/mm/mem_encrypt_amd.c
60
unsigned long npages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
arch/x86/mm/mmap.c
98
return PAGE_ALIGN(task_size - gap - rnd);
arch/x86/power/hibernate.c
53
nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT;
arch/x86/realmode/init.c
100
size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob);
arch/x86/realmode/init.c
191
size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob);
arch/x86/realmode/init.c
194
PAGE_ALIGN(real_mode_header->ro_end) -
arch/x86/realmode/init.c
198
PAGE_ALIGN(real_mode_header->ro_end) -
arch/x86/xen/enlighten_pvh.c
113
next->addr = PAGE_ALIGN(e->addr) + PFN_PHYS(pages);
arch/x86/xen/mmu_pv.c
1202
size = PAGE_ALIGN(xen_start_info->nr_pages * sizeof(unsigned long));
arch/x86/xen/mmu_pv.c
1223
size = PAGE_ALIGN(xen_start_info->nr_pages *
arch/x86/xen/mmu_pv.c
1964
size = PAGE_ALIGN(xen_start_info->nr_pages * sizeof(unsigned long));
arch/x86/xen/setup.c
544
start = PAGE_ALIGN(start);
arch/x86/xen/setup.c
640
swap_size = PAGE_ALIGN(swap_entry->addr - swap_addr + swap_entry->size);
arch/xtensa/kernel/syscall.c
82
addr = PAGE_ALIGN(addr);
drivers/accel/amdxdna/amdxdna_gem.c
210
nr_pages = (PAGE_ALIGN(addr + len) - (addr & PAGE_MASK)) >> PAGE_SHIFT;
drivers/accel/amdxdna/amdxdna_gem.c
584
size_t aligned_sz = PAGE_ALIGN(args->size);
drivers/accel/amdxdna/amdxdna_gem.c
715
size_t aligned_sz = PAGE_ALIGN(args->size);
drivers/accel/habanalabs/common/memory.c
2390
PAGE_ALIGN(addr + size) < (addr + size)) {
drivers/accel/habanalabs/common/memory.c
2404
end = PAGE_ALIGN(addr + size);
drivers/accel/ivpu/ivpu_fw.c
302
fw->shave_nn_size = PAGE_ALIGN(fw_hdr->shave_nn_fw_size);
drivers/accel/ivpu/ivpu_gem.c
366
u64 size = PAGE_ALIGN(args->size);
drivers/accel/ivpu/ivpu_ms.c
74
buf_size = PAGE_ALIGN((u64)args->read_period_samples * sample_size *
drivers/accel/qaic/qaic_data.c
723
size = PAGE_ALIGN(args->size);
drivers/acpi/apei/ghes.c
211
addr = (unsigned long)vmalloc(PAGE_ALIGN(len));
drivers/acpi/apei/ghes.c
215
rc = gen_pool_add(ghes_estatus_pool, addr, PAGE_ALIGN(len), -1);
drivers/acpi/arm64/iort.c
957
size = PAGE_ALIGN(size + offset_in_page(rmr_desc->base_address));
drivers/android/binder_alloc.c
369
final = PAGE_ALIGN(buffer->user_data + size);
drivers/android/binder_alloc.c
585
curr_last_page = PAGE_ALIGN(buffer->user_data + size);
drivers/android/binder_alloc.c
586
binder_lru_freelist_del(alloc, PAGE_ALIGN(buffer->user_data),
drivers/android/binder_alloc.c
767
binder_lru_freelist_add(alloc, PAGE_ALIGN(buffer->user_data),
drivers/android/tests/binder_alloc_kunit.c
149
end = PAGE_ALIGN(buffer->user_data + size);
drivers/android/tests/binder_alloc_kunit.c
234
unsigned long pages = PAGE_ALIGN(end) / PAGE_SIZE;
drivers/base/firmware_loader/sysfs.c
306
PAGE_ALIGN(min_size) >> PAGE_SHIFT);
drivers/block/zram/zram_drv.c
2891
disksize = PAGE_ALIGN(disksize);
drivers/block/zram/zram_drv.c
395
zram->limit_pages = PAGE_ALIGN(limit) >> PAGE_SHIFT;
drivers/crypto/ccp/sev-dev-tio.c
389
unsigned int npages = PAGE_ALIGN(len) >> PAGE_SHIFT;
drivers/crypto/ccp/sev-dev-tio.c
429
unsigned long i, npages = PAGE_ALIGN(len) >> PAGE_SHIFT;
drivers/crypto/ccp/sev-dev.c
1342
size = PAGE_ALIGN((rs->end + 1) - rs->start);
drivers/crypto/ccp/sev-dev.c
701
npages = PAGE_ALIGN(desc->len) >> PAGE_SHIFT;
drivers/crypto/ccp/sev-dev.c
719
npages = PAGE_ALIGN(desc->len) >> PAGE_SHIFT;
drivers/crypto/hisilicon/qm.c
5784
qp_dma_size = PAGE_ALIGN(qp_dma_size) + PAGE_SIZE;
drivers/dma-buf/dma-heap.c
68
len = PAGE_ALIGN(len);
drivers/dma-buf/heaps/cma_heap.c
303
size_t size = PAGE_ALIGN(len);
drivers/dma-buf/heaps/system_heap.c
224
int npages = PAGE_ALIGN(buffer->len) / PAGE_SIZE;
drivers/dma/dma-axi-dmac.c
549
hws = dma_alloc_coherent(dev, PAGE_ALIGN(num_sgs * sizeof(*hws)),
drivers/dma/dma-axi-dmac.c
580
dma_free_coherent(dev, PAGE_ALIGN(desc->num_sgs * sizeof(*hw)),
drivers/dma/sh/rcar-dmac.c
736
size = PAGE_ALIGN(size);
drivers/firewire/ohci.c
3233
end_page = PAGE_ALIGN(payload_index + p->payload_length) >> PAGE_SHIFT;
drivers/firmware/efi/efi-init.c
272
PAGE_ALIGN(data.size + (data.phys_map & ~PAGE_MASK)));
drivers/firmware/efi/efi.c
698
end = PAGE_ALIGN(efi.unaccepted + sizeof(*unaccepted) + unaccepted->size);
drivers/firmware/efi/unaccepted_memory.c
175
end = PAGE_ALIGN(start + size);
drivers/firmware/efi/unaccepted_memory.c
46
end = PAGE_ALIGN(start + size);
drivers/firmware/google/framebuffer-coreboot.c
73
length = PAGE_ALIGN(fb->y_resolution * fb->bytes_per_line);
drivers/firmware/iscsi_ibft_find.c
90
memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len));
drivers/firmware/qcom/qcom_scm-legacy.c
151
cmd = kzalloc(PAGE_ALIGN(alloc_len), GFP_KERNEL);
drivers/firmware/qcom/qcom_tzmem.c
204
area->size = PAGE_ALIGN(size);
drivers/firmware/qcom/qcom_tzmem.c
415
size = PAGE_ALIGN(size);
drivers/firmware/raspberrypi.c
100
buf = dma_alloc_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size),
drivers/firmware/raspberrypi.c
131
dma_free_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size), buf, bus_addr);
drivers/firmware/sysfb_simplefb.c
103
length = PAGE_ALIGN(length);
drivers/fpga/dfl-afu-region.c
78
region_size = PAGE_ALIGN(region_size);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1795
aligned_size = PAGE_ALIGN(size);
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
65
bp.size = PAGE_ALIGN((npdes + 1) * 8);
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
658
fpfn = PAGE_ALIGN(offset) >> PAGE_SHIFT;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
662
lpfn = (0x100000000ULL - PAGE_ALIGN(offset)) >> PAGE_SHIFT;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1180
atomic64_add(PAGE_ALIGN(size), &pdd->vram_usage);
drivers/gpu/drm/amd/amdkfd/kfd_queue.c
252
PAGE_ALIGN(properties->queue_size / 2);
drivers/gpu/drm/amd/amdkfd/kfd_queue.c
255
PAGE_ALIGN(properties->queue_size + properties->metadata_queue_size);
drivers/gpu/drm/armada/armada_gem.c
106
memset(obj->addr, 0, PAGE_ALIGN(size));
drivers/gpu/drm/drm_dumb_buffers.c
214
if (PAGE_ALIGN(size) == 0)
drivers/gpu/drm/drm_gem_shmem_helper.c
122
size = PAGE_ALIGN(size);
drivers/gpu/drm/drm_gem_shmem_helper.c
840
size_t size = PAGE_ALIGN(attach->dmabuf->size);
drivers/gpu/drm/drm_gem_shmem_helper.c
889
size = PAGE_ALIGN(attach->dmabuf->size);
drivers/gpu/drm/etnaviv/etnaviv_gem.c
626
ret = drm_gem_object_init(dev, obj, PAGE_ALIGN(size));
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
116
size_t size = PAGE_ALIGN(attach->dmabuf->size);
drivers/gpu/drm/exynos/exynos_drm_g2d.c
471
end = PAGE_ALIGN(userptr + size);
drivers/gpu/drm/i915/display/intel_dsb_buffer.c
54
obj = i915_gem_object_create_lmem(i915, PAGE_ALIGN(size),
drivers/gpu/drm/i915/display/intel_dsb_buffer.c
61
obj = i915_gem_object_create_internal(i915, PAGE_ALIGN(size));
drivers/gpu/drm/i915/display/intel_fbdev.c
237
size = PAGE_ALIGN(size);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
36
(vma->vm_end - vma->vm_start) == PAGE_ALIGN(size);
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
295
return __create_vma(t, PAGE_ALIGN(t->width * t->height * 4), lmem);
drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c
180
size = PAGE_ALIGN(size);
drivers/gpu/drm/i915/gt/intel_gtt.c
700
obj = i915_gem_object_create_internal(vm->i915, PAGE_ALIGN(size));
drivers/gpu/drm/i915/gt/shmem_utils.c
22
file = shmem_file_setup(name, PAGE_ALIGN(len),
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
102
return PAGE_ALIGN(guc->ads_capture_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
107
return PAGE_ALIGN(guc->fw.private_data_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
122
return PAGE_ALIGN(offset);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
132
return PAGE_ALIGN(offset);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
142
return PAGE_ALIGN(offset);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
152
return PAGE_ALIGN(offset);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
568
alloc_size = PAGE_ALIGN(real_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
644
alloc_size = PAGE_ALIGN(real_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
811
if (guc->ads_capture_size && guc->ads_capture_size != PAGE_ALIGN(total_size))
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
813
guc->ads_capture_size, PAGE_ALIGN(total_size));
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
815
return PAGE_ALIGN(total_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
92
return PAGE_ALIGN(guc->ads_golden_ctxt_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
97
return PAGE_ALIGN(guc->ads_waklv_size);
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c
507
*size = PAGE_ALIGN((sizeof(struct guc_debug_capture_list)) +
drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c
26
size = PAGE_ALIGN(size + PAGE_SIZE);
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
278
u32 size = PAGE_ALIGN(sizeof(struct slpc_shared_data));
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
542
size = PAGE_ALIGN(sizeof(struct guc_lrc_desc_v69) *
drivers/gpu/drm/i915/gvt/kvmgt.c
1195
PAGE_ALIGN(vgpu_aperture_offset(vgpu));
drivers/gpu/drm/i915/i915_gpu_error.c
115
e->size = PAGE_ALIGN(len + 1);
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h
18
#define PXP43_MAX_HECI_INOUT_SIZE (PAGE_ALIGN(SZ_64K + SZ_1K))
drivers/gpu/drm/meson/meson_drv.c
90
args->size = PAGE_ALIGN(args->pitch * args->height);
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
1400
size = PAGE_ALIGN(size);
drivers/gpu/drm/msm/msm_gem.c
1240
size = PAGE_ALIGN(size);
drivers/gpu/drm/msm/msm_gem.c
1291
size = PAGE_ALIGN(dmabuf->size);
drivers/gpu/drm/omapdrm/omap_fbdev.c
184
mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]);
drivers/gpu/drm/omapdrm/omap_fbdev.c
189
.bytes = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height),
drivers/gpu/drm/omapdrm/omap_gem.c
1344
size = PAGE_ALIGN(gsize.bytes);
drivers/gpu/drm/omapdrm/omap_gem.c
1395
gsize.bytes = PAGE_ALIGN(size);
drivers/gpu/drm/sysfb/drm_sysfb_screen_info.c
70
u64 vsize = PAGE_ALIGN(height * stride);
drivers/gpu/drm/tegra/drm.c
1022
size = PAGE_ALIGN(size);
drivers/gpu/drm/tegra/drm.c
1078
size = PAGE_ALIGN(size);
drivers/gpu/drm/ttm/ttm_tt.c
159
ttm->num_pages = (PAGE_ALIGN(bo->base.size) >> PAGE_SHIFT) + extra_pages;
drivers/gpu/drm/v3d/v3d_bo.c
220
bo = v3d_bo_create(dev, file_priv, PAGE_ALIGN(args->size));
drivers/gpu/drm/virtio/virtgpu_vram.c
203
params->size = PAGE_ALIGN(params->size);
drivers/gpu/drm/vmwgfx/ttm_object.c
660
prime->size = PAGE_ALIGN(size);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
1233
size = PAGE_ALIGN(size);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3792
PAGE_ALIGN(sw_context->cmd_bounce_size +
drivers/gpu/drm/xe/display/xe_dsb_buffer.c
52
PAGE_ALIGN(size),
drivers/gpu/drm/xe/xe_bo.h
317
return PAGE_ALIGN(xe_bo_size(bo));
drivers/gpu/drm/xe/xe_guc_ads.c
145
return PAGE_ALIGN(ads->golden_lrc_size);
drivers/gpu/drm/xe/xe_guc_ads.c
150
return PAGE_ALIGN(ads->ads_waklv_size);
drivers/gpu/drm/xe/xe_guc_ads.c
155
return PAGE_ALIGN(ads->capture_size);
drivers/gpu/drm/xe/xe_guc_ads.c
170
return PAGE_ALIGN(ads_to_guc(ads)->fw.private_data_size);
drivers/gpu/drm/xe/xe_guc_ads.c
185
return PAGE_ALIGN(offset);
drivers/gpu/drm/xe/xe_guc_ads.c
195
return PAGE_ALIGN(offset);
drivers/gpu/drm/xe/xe_guc_ads.c
205
return PAGE_ALIGN(offset);
drivers/gpu/drm/xe/xe_guc_ads.c
215
return PAGE_ALIGN(offset);
drivers/gpu/drm/xe/xe_guc_ads.c
225
return PAGE_ALIGN(offset);
drivers/gpu/drm/xe/xe_guc_ads.c
278
alloc_size = PAGE_ALIGN(real_size);
drivers/gpu/drm/xe/xe_guc_ads.c
506
alloc_size = PAGE_ALIGN(real_size);
drivers/gpu/drm/xe/xe_guc_ads.c
698
if (ads->capture_size != PAGE_ALIGN(total_size))
drivers/gpu/drm/xe/xe_guc_ads.c
700
PAGE_ALIGN(total_size), ads->capture_size);
drivers/gpu/drm/xe/xe_guc_ads.c
701
return PAGE_ALIGN(total_size);
drivers/gpu/drm/xe/xe_guc_ads.c
953
alloc_size = PAGE_ALIGN(real_size);
drivers/gpu/drm/xe/xe_guc_capture.c
618
*size = PAGE_ALIGN((sizeof(struct guc_debug_capture_list)) +
drivers/gpu/drm/xe/xe_guc_capture.c
786
return PAGE_ALIGN(total_size);
drivers/gpu/drm/xe/xe_guc_engine_activity.c
105
bo = xe_bo_create_pin_map_novm(gt_to_xe(gt), tile, PAGE_ALIGN(size),
drivers/gpu/drm/xe/xe_guc_engine_activity.c
97
metadata_bo = xe_bo_create_pin_map_novm(gt_to_xe(gt), tile, PAGE_ALIGN(metadata_size),
drivers/gpu/drm/xe/xe_guc_hwconfig.c
81
bo = xe_managed_bo_create_pin_map(xe, tile, PAGE_ALIGN(size),
drivers/gpu/drm/xe/xe_guc_pc.c
1239
u32 size = PAGE_ALIGN(sizeof(struct slpc_shared_data));
drivers/gpu/drm/xe/xe_guc_pc.c
1364
u32 size = PAGE_ALIGN(sizeof(struct slpc_shared_data));
drivers/gpu/drm/xe/xe_lmtt.c
578
pt_size = PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
drivers/gpu/drm/xe/xe_lmtt.c
583
pt_size += PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
drivers/gpu/drm/xe/xe_lmtt.c
74
PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
drivers/gpu/drm/xe/xe_migrate.c
1122
PAGE_ALIGN(xe_device_ccs_bytes(xe, size)),
drivers/gpu/drm/xe/xe_migrate.c
905
PAGE_ALIGN(xe_device_ccs_bytes(xe, size)),
drivers/gpu/drm/xe/xe_sriov_packet.c
132
bo = xe_bo_create_pin_map_novm(data->xe, gt->tile, PAGE_ALIGN(data->hdr.size),
drivers/gpu/ipu-v3/ipu-image-convert.c
372
buf->len = PAGE_ALIGN(size);
drivers/iio/buffer/industrialio-buffer-dma.c
107
dma_free_coherent(queue->dev, PAGE_ALIGN(block->size),
drivers/iio/buffer/industrialio-buffer-dma.c
182
block->vaddr = dma_alloc_coherent(queue->dev, PAGE_ALIGN(size),
drivers/iio/buffer/industrialio-buffer-dma.c
344
if (PAGE_ALIGN(queue->fileio.block_size) == PAGE_ALIGN(size))
drivers/infiniband/core/umem.c
184
PAGE_ALIGN(addr + size) < (addr + size))
drivers/infiniband/hw/bnxt_re/ib_verbs.c
1148
bytes = PAGE_ALIGN(bytes);
drivers/infiniband/hw/bnxt_re/ib_verbs.c
1162
bytes = PAGE_ALIGN(bytes);
drivers/infiniband/hw/bnxt_re/ib_verbs.c
1871
bytes = PAGE_ALIGN(bytes);
drivers/infiniband/hw/bnxt_re/main.c
630
*db_len = PAGE_ALIGN(le16_to_cpu(resp.l2_doorbell_bar_size_kb) * 1024);
drivers/infiniband/hw/bnxt_re/main.c
631
*offset = PAGE_ALIGN(le16_to_cpu(resp.legacy_l2_db_size_kb) * 1024);
drivers/infiniband/hw/cxgb4/qp.c
2290
sq_key_mm->len = PAGE_ALIGN(qhp->wq.sq.memsize);
drivers/infiniband/hw/cxgb4/qp.c
2298
rq_key_mm->len = PAGE_ALIGN(qhp->wq.rq.memsize);
drivers/infiniband/hw/cxgb4/qp.c
2785
srq_key_mm->len = PAGE_ALIGN(srq->wq.memsize);
drivers/infiniband/hw/efa/efa_verbs.c
1213
cq->size = PAGE_ALIGN(cmd.cq_entry_size * entries * cmd.num_sub_cqs);
drivers/infiniband/hw/efa/efa_verbs.c
569
length = PAGE_ALIGN(params->sq_ring_size_in_bytes +
drivers/infiniband/hw/efa/efa_verbs.c
767
qp->rq_size = PAGE_ALIGN(create_qp_params.rq_ring_size_in_bytes);
drivers/infiniband/hw/erdma/erdma_verbs.c
303
size = PAGE_ALIGN(size);
drivers/infiniband/hw/erdma/erdma_verbs.c
671
npages = (PAGE_ALIGN((u64)buf + len) - PAGE_ALIGN_DOWN((u64)buf)) >>
drivers/infiniband/hw/hfi1/file_ops.c
367
memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE);
drivers/infiniband/hw/hfi1/file_ops.c
543
memlen = PAGE_ALIGN(sizeof(*cq->comps) * cq->nentries);
drivers/infiniband/hw/hfi1/hfi.h
322
return PAGE_ALIGN(rcd->rcvhdrq_cnt *
drivers/infiniband/hw/hfi1/init.c
904
len = PAGE_ALIGN(chip_rcv_contexts(dd) * HFI1_MAX_SHARED_CTXTS *
drivers/infiniband/hw/hfi1/mmu_rb.c
39
return PAGE_ALIGN(node->addr + node->len) - 1;
drivers/infiniband/hw/hfi1/user_sdma.c
163
cq->comps = vmalloc_user(PAGE_ALIGN(sizeof(*cq->comps)
drivers/infiniband/hw/mthca/mthca_qp.c
1063
size = PAGE_ALIGN(qp->send_wqe_offset +
drivers/infiniband/hw/mthca/mthca_qp.c
1086
mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset +
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1077
PAGE_ALIGN(cq->len));
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1191
uresp.sq_page_size = PAGE_ALIGN(qp->sq.len);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1197
uresp.rq_page_size = PAGE_ALIGN(qp->rq.len);
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1721
PAGE_ALIGN(qp->sq.len));
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1724
PAGE_ALIGN(qp->rq.len));
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
1867
PAGE_ALIGN(srq->rq.len));
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
942
uresp.page_size = PAGE_ALIGN(cq->len);
drivers/infiniband/hw/usnic/usnic_uiom.c
106
if (((addr + size) < addr) || PAGE_ALIGN(addr + size) < (addr + size))
drivers/infiniband/hw/usnic/usnic_uiom.c
121
npages = PAGE_ALIGN(size + (addr & ~PAGE_MASK)) >> PAGE_SHIFT;
drivers/infiniband/hw/usnic/usnic_uiom.c
218
npages = PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT;
drivers/infiniband/hw/usnic/usnic_uiom.c
349
npages = PAGE_ALIGN(size + offset) >> PAGE_SHIFT;
drivers/infiniband/hw/usnic/usnic_uiom.c
425
return PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT;
drivers/infiniband/sw/rdmavt/mmap.c
128
size = PAGE_ALIGN(size);
drivers/infiniband/sw/rdmavt/mmap.c
158
size = PAGE_ALIGN(size);
drivers/infiniband/sw/rxe/rxe_mmap.c
127
size = PAGE_ALIGN(size);
drivers/infiniband/sw/siw/siw_mem.c
347
num_pages = PAGE_ALIGN(start + len - first_page_va) >> PAGE_SHIFT;
drivers/infiniband/sw/siw/siw_qp_tx.c
391
i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT;
drivers/infiniband/ulp/ipoib/ipoib_cm.c
643
frags = PAGE_ALIGN(wc->byte_len -
drivers/iommu/amd/init.c
2665
e->address_start = PAGE_ALIGN(m->range_start);
drivers/iommu/amd/init.c
2666
e->address_end = e->address_start + PAGE_ALIGN(m->range_length);
drivers/iommu/amd/init.c
853
size = PAGE_ALIGN(size);
drivers/iommu/dma-iommu.c
1024
__iommu_dma_free_pages(pages, PAGE_ALIGN(size) >> PAGE_SHIFT);
drivers/iommu/dma-iommu.c
1066
__iommu_dma_free_pages(sh->pages, PAGE_ALIGN(size) >> PAGE_SHIFT);
drivers/iommu/dma-iommu.c
1074
unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
drivers/iommu/dma-iommu.c
1082
unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
drivers/iommu/dma-iommu.c
1562
size_t alloc_size = PAGE_ALIGN(size);
drivers/iommu/dma-iommu.c
1602
size_t alloc_size = PAGE_ALIGN(size);
drivers/iommu/dma-iommu.c
1652
page = dma_alloc_from_pool(dev, PAGE_ALIGN(size), &cpu_addr,
drivers/iommu/dma-iommu.c
1673
unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
drivers/iommu/dma-iommu.c
1712
PAGE_ALIGN(size) >> PAGE_SHIFT,
drivers/iommu/dma-iommu.c
1723
sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
drivers/iommu/dma-iommu.c
956
count = PAGE_ALIGN(size) >> PAGE_SHIFT;
drivers/iommu/intel/iommu.h
1036
return PAGE_ALIGN(host_addr + size) >> VTD_PAGE_SHIFT;
drivers/iommu/iommufd/viommu.c
260
PAGE_ALIGN(length + offset));
drivers/md/dm-vdo/memory-alloc.c
277
block->size = PAGE_ALIGN(size);
drivers/media/common/videobuf2/videobuf2-core.c
236
unsigned long size = PAGE_ALIGN(vb->planes[plane].length);
drivers/media/common/videobuf2/videobuf2-core.c
2529
length = PAGE_ALIGN(vb->planes[plane].length);
drivers/media/common/videobuf2/videobuf2-vmalloc.c
217
int num_pages = PAGE_ALIGN(buf->size) / PAGE_SIZE;
drivers/media/dvb-frontends/rtl2832_sdr.c
450
sizes[0] = PAGE_ALIGN(dev->buffersize);
drivers/media/pci/cx23885/cx23885-alsa.c
385
(PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT));
drivers/media/pci/cx25821/cx25821-alsa.c
526
(PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT));
drivers/media/pci/cx88/cx88-alsa.c
476
(PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT));
drivers/media/pci/intel/ipu6/ipu6-dma.c
171
size = PAGE_ALIGN(size);
drivers/media/pci/intel/ipu6/ipu6-dma.c
270
size = PAGE_ALIGN(size);
drivers/media/pci/intel/ipu6/ipu6-dma.c
419
PAGE_ALIGN(sg_dma_len(sg)));
drivers/media/pci/netup_unidvb/netup_unidvb_core.c
303
sizes[0] = PAGE_ALIGN(NETUP_DMA_PACKETS_COUNT * 188);
drivers/media/pci/saa7134/saa7134-core.c
181
size = PAGE_ALIGN(size);
drivers/media/platform/allegro-dvt/allegro-core.c
1617
n, PAGE_ALIGN(size));
drivers/media/platform/nxp/imx7-media-csi.c
467
buf->len = PAGE_ALIGN(size);
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
678
buf->size = PAGE_ALIGN(video->pix.plane_fmt[i].sizeimage);
drivers/media/platform/renesas/rcar_drif.c
434
sizes[0] = PAGE_ALIGN(sdr->fmt->buffersize);
drivers/media/platform/ti/omap/omap_vout_vrfb.c
128
vout->smsshado_size = PAGE_ALIGN(image_width * image_height * 2 * 2);
drivers/media/platform/ti/omap/omap_voutlib.c
310
size = PAGE_ALIGN(buf_size);
drivers/media/platform/ti/omap/omap_voutlib.c
334
size = PAGE_ALIGN(buf_size);
drivers/media/platform/ti/omap3isp/ispccdc.c
2688
ccdc->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3;
drivers/media/platform/ti/omap3isp/ispccp2.c
1112
ccp2->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 3;
drivers/media/platform/ti/omap3isp/ispcsi2.c
1268
csi2->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3;
drivers/media/platform/ti/omap3isp/isppreview.c
2306
prev->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3;
drivers/media/platform/ti/omap3isp/isppreview.c
2311
prev->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3;
drivers/media/platform/ti/omap3isp/ispresizer.c
1751
res->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3;
drivers/media/platform/ti/omap3isp/ispresizer.c
1756
res->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3;
drivers/media/platform/ti/omap3isp/ispstat.c
588
buf_size = PAGE_ALIGN(buf_size);
drivers/media/platform/ti/omap3isp/ispstat.c
590
buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE);
drivers/media/platform/ti/omap3isp/ispvideo.c
345
*count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0]));
drivers/media/usb/airspy/airspy.c
493
sizes[0] = PAGE_ALIGN(s->buffersize);
drivers/media/usb/gspca/gspca.c
1294
unsigned int size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage);
drivers/media/usb/gspca/gspca.c
1306
unsigned long size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage);
drivers/media/usb/gspca/gspca.c
424
if (gspca_dev->image_len + len > PAGE_ALIGN(gspca_dev->pixfmt.sizeimage)) {
drivers/media/usb/gspca/gspca.c
427
PAGE_ALIGN(gspca_dev->pixfmt.sizeimage));
drivers/media/usb/hackrf/hackrf.c
764
sizes[0] = PAGE_ALIGN(dev->buffersize);
drivers/media/usb/msi2500/msi2500.c
610
sizes[0] = PAGE_ALIGN(dev->buffersize);
drivers/media/usb/pvrusb2/pvrusb2-dvb.h
12
#define PVR2_DVB_BUFFER_SIZE PAGE_ALIGN(0x4000)
drivers/media/usb/pvrusb2/pvrusb2-ioread.c
17
#define BUFFER_SIZE PAGE_ALIGN(0x4000)
drivers/media/usb/pwc/pwc-if.c
631
sizes[0] = PAGE_ALIGN(pwc_image_sizes[size][0] *
drivers/misc/sram-exec.c
96
pages = PAGE_ALIGN(size) / PAGE_SIZE;
drivers/mtd/maps/uclinux.c
80
mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8))));
drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c
521
bd->db_size = PAGE_ALIGN(le16_to_cpu(resp->l2_doorbell_bar_size_kb) *
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c
2620
jumbo_factor = PAGE_ALIGN(bn->netdev->mtu - 40) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnx2.c
3038
int pages = PAGE_ALIGN(raw_len - hdr_len) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnx2.c
3063
pages = PAGE_ALIGN(frag_size) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnx2.c
3211
pages = PAGE_ALIGN(len - hdr_len) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnx2.c
5385
int pages = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
4790
jumbo_factor = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
8620
bp->db_size = PAGE_ALIGN(le16_to_cpu(resp->l2_doorbell_bar_size_kb) *
drivers/net/ethernet/broadcom/cnic.c
1113
uinfo->mem[1].size = PAGE_ALIGN(BNX2_SBLK_MSIX_ALIGN_SIZE * 9);
drivers/net/ethernet/broadcom/cnic.c
1115
uinfo->mem[1].size = PAGE_ALIGN(BNX2_SBLK_MSIX_ALIGN_SIZE);
drivers/net/ethernet/broadcom/cnic.c
1124
uinfo->mem[1].size = PAGE_ALIGN(sizeof(*cp->bnx2x_def_status_blk));
drivers/net/ethernet/broadcom/cnic.c
1134
uinfo->mem[2].size = PAGE_ALIGN(udev->l2_ring_size);
drivers/net/ethernet/broadcom/cnic.c
1140
uinfo->mem[3].size = PAGE_ALIGN(udev->l2_buf_size);
drivers/net/ethernet/ibm/ibmveth.c
1899
adapter->tx_ltb_size = PAGE_ALIGN(IBMVETH_MAX_TX_BUF_SIZE);
drivers/net/ethernet/mellanox/mlx4/eq.c
1096
int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE;
drivers/net/ethernet/mellanox/mlx4/eq.c
988
npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE;
drivers/net/ethernet/mellanox/mlx4/icm.c
444
chunk_size = PAGE_ALIGN(size -
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
117
#define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(16384)
drivers/net/ethernet/nxp/lpc_eth.c
1319
pldat->dma_buff_size = PAGE_ALIGN(pldat->dma_buff_size);
drivers/net/ethernet/sfc/ef10.c
1199
uc_mem_map_size = PAGE_ALIGN((channel_vis - 1) * efx->vi_stride +
drivers/net/ethernet/sfc/ef10.c
1206
wc_mem_map_size = (PAGE_ALIGN((pio_write_vi_base +
drivers/net/ethernet/sfc/ef100_netdev.c
72
uc_mem_map_size = PAGE_ALIGN(max_vis * efx->vi_stride);
drivers/net/ethernet/sgi/meth.c
650
void *buffer2_data = (void *)PAGE_ALIGN((unsigned long)skb->data);
drivers/net/ethernet/sgi/meth.c
683
} else if (PAGE_ALIGN((unsigned long)skb->data) !=
drivers/net/ethernet/sgi/meth.c
684
PAGE_ALIGN((unsigned long)skb->data + skb->len - 1)) {
drivers/net/ipa/ipa_mem.c
473
size = PAGE_ALIGN(size + addr - phys);
drivers/net/ipa/ipa_mem.c
580
size = PAGE_ALIGN(size + addr - phys);
drivers/nvdimm/pmem.c
271
PAGE_ALIGN((first_bad - sector) << SECTOR_SHIFT));
drivers/of/fdt.c
1161
base = PAGE_ALIGN(base);
drivers/pci/quirks.c
5331
PAGE_ALIGN(INTEL_UPDCR_REG));
drivers/pcmcia/electra_cf.c
202
cf->mem_size = PAGE_ALIGN(resource_size(&mem));
drivers/pcmcia/electra_cf.c
206
cf->io_size = PAGE_ALIGN(resource_size(&io));
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
214
slot_mem_size = PAGE_ALIGN(TOTAL_SLOTS * VCHIQ_SLOT_SIZE);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
215
frag_mem_size = PAGE_ALIGN(drv_mgmt->fragments_size * MAX_FRAGMENTS);
drivers/rapidio/devices/rio_mport_cdev.c
836
nr_pages = PAGE_ALIGN(xfer->length + offset) >> PAGE_SHIFT;
drivers/remoteproc/remoteproc_core.c
332
size = PAGE_ALIGN(vring_size(rvring->num, rvring->align));
drivers/s390/net/ism_drv.c
236
if (PAGE_ALIGN(dmb->dmb_len) > dma_get_max_seg_size(&ism->pdev->dev))
drivers/scsi/ipr.c
4248
len = PAGE_ALIGN(off) - off;
drivers/scsi/lpfc/lpfc_debugfs.c
1960
size = PAGE_ALIGN(size);
drivers/scsi/lpfc/lpfc_debugfs.c
2010
size = PAGE_ALIGN(size);
drivers/scsi/qla4xxx/ql4_os.c
1090
stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats));
drivers/scsi/qla4xxx/ql4_os.c
1831
stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats));
drivers/scsi/smartpqi/smartpqi_init.c
9026
total_required_size = PAGE_ALIGN(total_required_size);
drivers/scsi/smartpqi/smartpqi_init.c
9027
min_required_size = PAGE_ALIGN(min_required_size);
drivers/scsi/smartpqi/smartpqi_init.c
9029
min_chunk_size = PAGE_ALIGN(min_chunk_size);
drivers/scsi/smartpqi/smartpqi_init.c
9038
chunk_size = PAGE_ALIGN(chunk_size);
drivers/scsi/smartpqi/smartpqi_init.c
9041
total_required_size = PAGE_ALIGN(total_required_size);
drivers/scsi/sun_esp.c
421
u32 end = PAGE_ALIGN(addr + dma_count + 16U);
drivers/soc/ti/knav_qmss_acc.c
545
mem_size = PAGE_ALIGN(list_size * 2);
drivers/staging/media/atomisp/pci/atomisp_cmd.c
3545
f->sizeimage = PAGE_ALIGN(height * bytes);
drivers/staging/media/atomisp/pci/atomisp_fops.c
67
sizes[0] = PAGE_ALIGN(pipe->pix.sizeimage);
drivers/staging/media/imx/imx-media-utils.c
589
buf->len = PAGE_ALIGN(size);
drivers/staging/media/ipu3/ipu3-css-fw.c
66
obgrid_size = PAGE_ALIGN(width * height *
drivers/staging/media/ipu3/ipu3-dmamap.c
98
size_t size = PAGE_ALIGN(len);
drivers/staging/media/ipu3/ipu3-mmu.c
318
s_length = PAGE_ALIGN(s->length);
drivers/staging/media/ipu7/ipu7-dma.c
171
size = PAGE_ALIGN(size);
drivers/staging/media/ipu7/ipu7-dma.c
270
size = PAGE_ALIGN(size);
drivers/staging/media/ipu7/ipu7-dma.c
437
PAGE_ALIGN(sg_dma_len(sg)));
drivers/usb/gadget/function/f_fs.c
816
n_pages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
drivers/usb/host/xhci-sideband.c
30
n_pages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
drivers/vdpa/vdpa_user/iova_domain.c
621
bounce_pfns = PAGE_ALIGN(bounce_size) >> BOUNCE_MAP_SHIFT;
drivers/vdpa/vdpa_user/iova_domain.c
634
domain->bounce_size = PAGE_ALIGN(bounce_size);
drivers/vfio/pci/vfio_pci_core.c
1759
phys_len = PAGE_ALIGN(pci_resource_len(pdev, index));
drivers/video/fbdev/acornfb.c
992
size = PAGE_ALIGN(size);
drivers/video/fbdev/atafb.c
2074
fix->smem_len = PAGE_ALIGN(external_len);
drivers/video/fbdev/atafb.c
3068
mem_req = PAGE_ALIGN(mem_req) + PAGE_SIZE;
drivers/video/fbdev/au1100fb.c
788
PAGE_ALIGN(fbdev->fb_len),
drivers/video/fbdev/au1200fb.c
1698
PAGE_ALIGN(fbdev->fb_len),
drivers/video/fbdev/bw2.c
309
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/cg14.c
482
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/cg3.c
374
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/cg6.c
768
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/controlfb.c
740
mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT;
drivers/video/fbdev/core/fb_chrdev.c
397
unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len);
drivers/video/fbdev/core/fb_io_fops.c
146
unsigned long mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT;
drivers/video/fbdev/ffb.c
954
par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4);
drivers/video/fbdev/grvga.c
455
page < PAGE_ALIGN(virtual_start + grvga_mem_size);
drivers/video/fbdev/imxfb.c
987
fbi->map_size = PAGE_ALIGN(info->fix.smem_len);
drivers/video/fbdev/leo.c
569
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/mmp/fb/mmpfb.c
603
fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size),
drivers/video/fbdev/mmp/fb/mmpfb.c
635
dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start,
drivers/video/fbdev/mmp/fb/mmpfb.h
40
#define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
drivers/video/fbdev/ocfb.c
325
fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize),
drivers/video/fbdev/ocfb.c
365
dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt,
drivers/video/fbdev/ocfb.c
377
dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbdev->info.fix.smem_len),
drivers/video/fbdev/omap/lcdc.c
632
frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res);
drivers/video/fbdev/omap/omapfb_main.c
136
PAGE_ALIGN(def_vram[i]);
drivers/video/fbdev/omap/omapfb_main.c
150
fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size);
drivers/video/fbdev/omap/omapfb_main.c
828
size = PAGE_ALIGN(mi->size);
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
213
size = PAGE_ALIGN(mi->size);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
1374
size = PAGE_ALIGN(size);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
1594
size = PAGE_ALIGN(size);
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
438
size = PAGE_ALIGN(size);
drivers/video/fbdev/p9100.c
272
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/pxa168fb.c
666
info->fix.smem_len = PAGE_ALIGN(DEFAULT_FB_SIZE);
drivers/video/fbdev/pxa3xx-gcu.c
58
#define SHARED_SIZE PAGE_ALIGN(sizeof(struct pxa3xx_gcu_shared))
drivers/video/fbdev/pxafb.c
1697
int size = PAGE_ALIGN(fbi->video_mem_size);
drivers/video/fbdev/pxafb.c
2291
fbi->dma_buff_size = PAGE_ALIGN(sizeof(struct pxafb_dma_buff));
drivers/video/fbdev/pxafb.c
831
size = PAGE_ALIGN(ofb->fb.fix.line_length * var->yres_virtual);
drivers/video/fbdev/pxafb.c
914
ofb->video_mem = alloc_pages_exact(PAGE_ALIGN(pxafb->video_mem_size),
drivers/video/fbdev/pxafb.c
920
ofb->video_mem_size = PAGE_ALIGN(pxafb->video_mem_size);
drivers/video/fbdev/s3c-fb.c
1100
size = PAGE_ALIGN(size);
drivers/video/fbdev/s3c-fb.c
1129
dma_free_wc(sfb->dev, PAGE_ALIGN(fbi->fix.smem_len),
drivers/video/fbdev/sa1100fb.c
1036
fbi->map_size = PAGE_ALIGN(fbi->fb.fix.smem_len + PAGE_SIZE);
drivers/video/fbdev/smscufx.c
1278
if (PAGE_ALIGN(new_len) > old_len) {
drivers/video/fbdev/smscufx.c
1292
info->fix.smem_len = PAGE_ALIGN(new_len);
drivers/video/fbdev/tcx.c
384
info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres);
drivers/video/fbdev/udlfb.c
1185
new_len = PAGE_ALIGN(new_len);
drivers/video/fbdev/vfb.c
429
unsigned int size = PAGE_ALIGN(videomemorysize);
drivers/video/fbdev/vt8500lcdfb.c
364
fbi->palette_size = PAGE_ALIGN(512);
drivers/video/fbdev/xilinxfb.c
286
drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize),
drivers/video/fbdev/xilinxfb.c
363
dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt,
drivers/video/fbdev/xilinxfb.c
387
dma_free_coherent(dev, PAGE_ALIGN(drvdata->info.fix.smem_len),
drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c
86
end = phys + PAGE_ALIGN(size);
drivers/virt/coco/sev-guest/sev-guest.c
415
rep_len = PAGE_ALIGN(ac.report_buf.len);
drivers/virt/coco/sev-guest/sev-guest.c
420
man_len = PAGE_ALIGN(ac.manifest_buf.len);
drivers/virt/coco/sev-guest/sev-guest.c
425
certs_len = PAGE_ALIGN(ac.certificates_buf.len);
drivers/virt/coco/tdx-guest/tdx-guest.c
215
size_t len = PAGE_ALIGN(GET_QUOTE_BUF_SIZE);
drivers/virt/coco/tdx-guest/tdx-guest.c
228
size_t len = PAGE_ALIGN(GET_QUOTE_BUF_SIZE);
drivers/virt/vboxguest/vboxguest_core.c
75
size = PAGE_ALIGN(req->hypervisor_size) + SZ_4M;
drivers/virt/vboxguest/vboxguest_utils.c
192
u32 size = PAGE_ALIGN(len + ((unsigned long)buf & ~PAGE_MASK));
drivers/virt/vboxguest/vboxguest_utils.c
71
int order = get_order(PAGE_ALIGN(len));
drivers/virt/vboxguest/vboxguest_utils.c
94
free_pages((unsigned long)req, get_order(PAGE_ALIGN(len)));
drivers/virtio/virtio_ring.c
384
void *queue = alloc_pages_exact(PAGE_ALIGN(size), flag);
drivers/virtio/virtio_ring.c
402
free_pages_exact(queue, PAGE_ALIGN(size));
drivers/virtio/virtio_ring.c
418
free_pages_exact(queue, PAGE_ALIGN(size));
fs/binfmt_elf_fdpic.c
1104
load_addr += PAGE_ALIGN(phdr->p_memsz + disp);
fs/binfmt_elf_fdpic.c
407
PAGE_ALIGN(current->mm->start_brk);
fs/binfmt_elf_fdpic.c
885
load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz);
fs/binfmt_elf_fdpic.c
963
load_addr += PAGE_ALIGN(top - base);
fs/binfmt_flat.c
547
len = PAGE_ALIGN(len);
fs/binfmt_flat.c
594
len = PAGE_ALIGN(len);
fs/btrfs/inode.c
10230
first_ppage = PAGE_ALIGN(bsi->block_start) >> PAGE_SHIFT;
fs/btrfs/send.c
5587
data_offset = PAGE_ALIGN(sctx->send_size);
fs/btrfs/send.c
5899
ext_len = PAGE_ALIGN(ext_len);
fs/btrfs/send.c
6228
right_len = PAGE_ALIGN(right_len);
fs/ceph/file.c
1595
PAGE_ALIGN(pos + len) - 1);
fs/erofs/decompressor.c
146
omargin = PAGE_ALIGN(oend) - oend;
fs/erofs/zdata.c
108
return PAGE_ALIGN(pcl->pageofs_in + pcl->pclustersize) >> PAGE_SHIFT;
fs/erofs/zdata.c
1267
be->nr_pages = PAGE_ALIGN(pcl->length + pcl->pageofs_out) >> PAGE_SHIFT;
fs/erofs/zdata.c
254
unsigned int nrpages = PAGE_ALIGN(size) >> PAGE_SHIFT;
fs/exec.c
629
stack_base = PAGE_ALIGN(stack_top - stack_base);
fs/exec.c
636
stack_top = PAGE_ALIGN(stack_top);
fs/gfs2/glops.c
171
loff_t end = PAGE_ALIGN((rgd->rd_addr + rgd->rd_length) * bsize) - 1;
fs/gfs2/glops.c
232
end = PAGE_ALIGN((rgd->rd_addr + rgd->rd_length) * bsize) - 1;
fs/nfs/pnfs.c
2300
arg.length = PAGE_ALIGN(arg.length);
fs/notify/fsnotify.c
167
range.count = PAGE_ALIGN(*ppos + count) - range.pos;
fs/ocfs2/alloc.c
6915
last_page_bytes = PAGE_ALIGN(end);
fs/orangefs/orangefs-bufmap.c
318
if (PAGE_ALIGN((unsigned long)user_desc->ptr) !=
fs/orangefs/orangefs-bufmap.c
325
if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size))
fs/proc/kcore.c
131
kcore_data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + kcore_phdrs_len +
fs/proc/kcore.c
171
end = PAGE_ALIGN(end);
fs/proc/task_mmu.c
100
*text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK))
fs/proc/task_mmu.c
61
text = PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK);
fs/proc/task_nommu.c
113
*text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK))
fs/proc/task_nommu.c
115
*data = (PAGE_ALIGN(mm->start_stack) - (mm->start_data & PAGE_MASK))
fs/verity/open.c
157
params->tree_pages = PAGE_ALIGN(params->tree_size) >> PAGE_SHIFT;
include/linux/hyperv.h
188
#define VMBUS_RING_SIZE(payload_sz) PAGE_ALIGN(VMBUS_HEADER_ADJ(payload_sz) + \
io_uring/io_uring.c
2701
rd.size = PAGE_ALIGN(rl->rings_size);
io_uring/io_uring.c
2715
rd.size = PAGE_ALIGN(rl->sq_size);
io_uring/kbuf.c
656
rd.size = PAGE_ALIGN(ring_size);
io_uring/net.c
1428
truesize += PAGE_ALIGN(v.bv_len + v.bv_offset);
io_uring/register.c
526
rd.size = PAGE_ALIGN(rl->rings_size);
io_uring/register.c
556
rd.size = PAGE_ALIGN(rl->sq_size);
io_uring/rsrc.c
89
unsigned long acct_len = (unsigned long)PAGE_ALIGN(ulen);
ipc/shm.c
1805
size = PAGE_ALIGN(size);
kernel/bpf/arraymap.c
124
array_size = PAGE_ALIGN(array_size);
kernel/bpf/arraymap.c
125
array_size += PAGE_ALIGN((u64) max_entries * elem_size);
kernel/bpf/arraymap.c
139
array = data + PAGE_ALIGN(sizeof(struct bpf_array))
kernel/bpf/arraymap.c
581
pgoff_t pgoff = PAGE_ALIGN(sizeof(*array)) >> PAGE_SHIFT;
kernel/bpf/arraymap.c
587
PAGE_ALIGN((u64)array->map.max_entries * array->elem_size))
kernel/bpf/arraymap.c
793
usage = PAGE_ALIGN(usage);
kernel/bpf/arraymap.c
794
usage += PAGE_ALIGN(entries * elem_size);
kernel/bpf/sysfs_btf.c
22
unsigned long pages = PAGE_ALIGN(attr->size) >> PAGE_SHIFT;
kernel/dma/coherent.c
242
int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/contiguous.c
424
unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/direct.c
210
size = PAGE_ALIGN(size);
kernel/dma/direct.c
338
dma_free_from_pool(dev, cpu_addr, PAGE_ALIGN(size)))
kernel/dma/direct.c
507
sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
kernel/dma/direct.c
522
unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/mapping.c
709
size = PAGE_ALIGN(size);
kernel/dma/mapping.c
740
size = PAGE_ALIGN(size);
kernel/dma/mapping.c
761
unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/mapping.c
785
sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
kernel/dma/ops_helpers.c
28
sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
kernel/dma/ops_helpers.c
41
unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/remap.c
29
vaddr = vmap(pages, PAGE_ALIGN(size) >> PAGE_SHIFT,
kernel/dma/remap.c
43
int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
kernel/dma/swiotlb.c
264
bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT);
kernel/dma/swiotlb.c
321
size_t bytes = PAGE_ALIGN(nslabs << IO_TLB_SHIFT);
kernel/dma/swiotlb.c
341
memblock_free(tlb, PAGE_ALIGN(bytes));
kernel/dma/swiotlb.c
397
alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs));
kernel/dma/swiotlb.c
539
tbl_size = PAGE_ALIGN(mem->end - mem->start);
kernel/dma/swiotlb.c
540
slots_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), mem->nslabs));
kernel/module/main.c
1314
unsigned int size = PAGE_ALIGN(mod->mem[type].size);
kernel/relay.c
113
*size = PAGE_ALIGN(*size);
kernel/relay.c
505
chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs);
lib/scatterlist.c
741
return PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT;
lib/scatterlist.c
765
return PAGE_ALIGN(sg->offset + sg_dma_len(sg)) >> PAGE_SHIFT;
lib/test_kho.c
211
max_mem = PAGE_ALIGN(max_mem);
mm/bootmem_info.c
111
nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT;
mm/bootmem_info.c
63
mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT;
mm/bootmem_info.c
72
mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT;
mm/bootmem_info.c
98
mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT;
mm/damon/vaddr.c
788
unsigned long start = PAGE_ALIGN(r->ar.start);
mm/damon/vaddr.c
789
unsigned long len = PAGE_ALIGN(damon_sz_region(r));
mm/early_ioremap.c
141
size = PAGE_ALIGN(last_addr + 1) - phys_addr;
mm/early_ioremap.c
203
nrpages = PAGE_ALIGN(offset + size) >> PAGE_SHIFT;
mm/execmem.c
139
unsigned int nr = PAGE_ALIGN(size) >> PAGE_SHIFT;
mm/execmem.c
152
unsigned int nr = PAGE_ALIGN(size) >> PAGE_SHIFT;
mm/execmem.c
469
size = PAGE_ALIGN(size);
mm/ioremap.c
34
size = PAGE_ALIGN(size + offset);
mm/kasan/shadow.c
422
shadow_end = PAGE_ALIGN(shadow_end);
mm/kfence/kfence.h
108
#define KFENCE_METADATA_SIZE PAGE_ALIGN(sizeof(struct kfence_metadata) * \
mm/kfence/report.c
173
: min(show_until_addr, PAGE_ALIGN(address)));
mm/kmsan/shadow.c
283
size = PAGE_ALIGN((u64)end - (u64)start);
mm/madvise.c
1852
len = PAGE_ALIGN(len_in);
mm/madvise.c
1882
if (start + PAGE_ALIGN(len_in) == start) {
mm/madvise.c
1929
range->end = range->start + PAGE_ALIGN(len_in);
mm/memblock.c
2135
pg = PAGE_ALIGN(__pa(start_pg));
mm/memblock.c
391
size = PAGE_ALIGN(sizeof(struct memblock_region) *
mm/memblock.c
401
size = PAGE_ALIGN(sizeof(struct memblock_region) *
mm/memblock.c
451
old_alloc_size = PAGE_ALIGN(old_size);
mm/memblock.c
452
new_alloc_size = PAGE_ALIGN(new_size);
mm/memfd_luo.c
114
max_folios = PAGE_ALIGN(size) / PAGE_SIZE;
mm/memory.c
2984
unsigned long end = addr + PAGE_ALIGN(size);
mm/memory.c
3064
size = PAGE_ALIGN(size);
mm/memory.c
3123
unsigned long end = addr + PAGE_ALIGN(size);
mm/memory.c
6926
maddr = ioremap_prot(phys_addr, PAGE_ALIGN(len + offset), prot);
mm/mempolicy.c
1511
len = PAGE_ALIGN(len);
mm/mempolicy.c
1786
len = PAGE_ALIGN(len);
mm/mlock.c
522
VM_BUG_ON(len != PAGE_ALIGN(len));
mm/mlock.c
623
len = PAGE_ALIGN(len + (offset_in_page(start)));
mm/mlock.c
683
len = PAGE_ALIGN(len + (offset_in_page(start)));
mm/mmap.c
1214
len = PAGE_ALIGN(request);
mm/mmap.c
154
newbrk = PAGE_ALIGN(brk);
mm/mmap.c
155
oldbrk = PAGE_ALIGN(mm->brk);
mm/mmap.c
225
return PAGE_ALIGN(mmap_min_addr);
mm/mmap.c
369
len = PAGE_ALIGN(len);
mm/mmap.c
705
addr = PAGE_ALIGN(addr);
mm/mmap.c
756
addr = PAGE_ALIGN(addr);
mm/mprotect.c
823
len = PAGE_ALIGN(len);
mm/mremap.c
1921
vrm->old_len = PAGE_ALIGN(vrm->old_len);
mm/mremap.c
1922
vrm->new_len = PAGE_ALIGN(vrm->new_len);
mm/mseal.c
154
len = PAGE_ALIGN(len_in);
mm/nommu.c
1040
len = PAGE_ALIGN(len);
mm/nommu.c
1433
len = PAGE_ALIGN(len);
mm/nommu.c
1549
old_len = PAGE_ALIGN(old_len);
mm/nommu.c
1550
new_len = PAGE_ALIGN(new_len);
mm/nommu.c
713
rlen = PAGE_ALIGN(len);
mm/page_alloc.c
5484
unsigned long end = addr + PAGE_ALIGN(size);
mm/page_alloc.c
6242
start = (void *)PAGE_ALIGN((unsigned long)start);
mm/shmem.c
89
#define VM_ACCT(size) (PAGE_ALIGN(size) >> PAGE_SHIFT)
mm/sparse.c
414
return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION);
mm/sparse.c
761
nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page))
mm/util.c
351
return PAGE_ALIGN(stack_top) + random_variable;
mm/util.c
353
return PAGE_ALIGN(stack_top) - random_variable;
mm/util.c
374
range -= PAGE_ALIGN(start) - start;
mm/util.c
375
start = PAGE_ALIGN(start);
mm/util.c
461
return PAGE_ALIGN(STACK_TOP - gap - rnd);
mm/util.c
612
if (unlikely(offset + PAGE_ALIGN(len) < offset))
mm/vma.c
1621
end = start + PAGE_ALIGN(len);
mm/vmalloc.c
4091
kmemleak_vmalloc(area, PAGE_ALIGN(size), gfp_mask);
mm/vmalloc.c
4724
size = PAGE_ALIGN(size);
mm/vmalloc.c
5149
addr = PAGE_ALIGN((unsigned long) object);
net/ceph/crypto.c
213
unsigned int chunk_len = PAGE_ALIGN(off + buf_len);
net/ceph/messenger_v2.c
859
sg_cnt += PAGE_ALIGN(buf_len) >> PAGE_SHIFT;
net/core/datagram.c
662
skb->truesize += PAGE_ALIGN(copied + start);
net/core/skbuff.c
6770
while (order && PAGE_ALIGN(data_len) < (PAGE_SIZE << order))
net/packet/af_packet.c
2471
end = (u8 *) PAGE_ALIGN((unsigned long) h.raw +
net/packet/af_packet.c
749
end = (u8 *)PAGE_ALIGN((unsigned long)pkc1->pkblk_end);
net/rds/info.c
187
nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK))
net/rds/rdma.c
202
PAGE_ALIGN(args->vec.addr + args->vec.bytes) <
net/rds/rds.h
60
#define RDS_CONG_MAP_PAGES (PAGE_ALIGN(RDS_CONG_MAP_BYTES) / PAGE_SIZE)
net/sctp/socket.c
4592
PAGE_ALIGN(USHRT_MAX +
net/smc/smc_core.c
2154
nents = PAGE_ALIGN(buf_size + offset) / PAGE_SIZE;
net/smc/smc_rx.c
169
PAGE_ALIGN(len + offset) / PAGE_SIZE : 1;
net/smc/smc_rx.c
223
for (i = 0; i < PAGE_ALIGN(bytes + offset) / PAGE_SIZE; i++)
net/sunrpc/xprtrdma/rpc_rdma.c
1073
npages = PAGE_ALIGN(page_base + pagelist_len) >> PAGE_SHIFT;
net/sunrpc/xprtrdma/svc_rdma_rw.c
760
nr_bvec = PAGE_ALIGN(total) >> PAGE_SHIFT;
net/sunrpc/xprtrdma/svc_rdma_rw.c
857
numpages = PAGE_ALIGN(head->rc_pageoff + remaining) >> PAGE_SHIFT;
net/unix/af_unix.c
2122
data_len = PAGE_ALIGN(data_len);
net/unix/af_unix.c
2425
data_len = min_t(size_t, size, PAGE_ALIGN(data_len));
net/xdp/xsk_queue.c
47
size = PAGE_ALIGN(size);
sound/core/info.c
319
char *nbuf = kvzalloc(PAGE_ALIGN(next), GFP_KERNEL);
sound/core/info.c
324
buf->len = PAGE_ALIGN(next);
sound/core/memalloc.c
72
size = PAGE_ALIGN(size);
sound/core/memalloc.c
725
size = PAGE_ALIGN(size);
sound/core/pcm.c
942
size = PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status));
sound/core/pcm.c
950
size = PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control));
sound/core/pcm.c
954
PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status)));
sound/core/pcm.c
990
PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status)));
sound/core/pcm.c
992
PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control)));
sound/core/pcm_native.c
3750
if (size != PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status)))
sound/core/pcm_native.c
3788
if (size != PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control)))
sound/core/pcm_native.c
3884
dma_bytes = PAGE_ALIGN(runtime->dma_bytes);
sound/core/pcm_native.c
3995
dma_bytes = PAGE_ALIGN(runtime->dma_bytes);
sound/core/pcm_native.c
858
size = PAGE_ALIGN(size);
sound/isa/sscape.c
417
if (!get_dmabuf(s, &dma, PAGE_ALIGN(32 * 1024)))
sound/pci/atiixp.c
330
PAGE_ALIGN(ATI_MAX_DESCRIPTORS * sizeof(struct atiixp_dma_desc))
sound/pci/atiixp_modem.c
298
PAGE_ALIGN(ATI_MAX_DESCRIPTORS * sizeof(struct atiixp_dma_desc))
sound/pci/bt87x.c
131
#define MAX_RISC_SIZE ((1 + 255 + (PAGE_ALIGN(255 * 4092) / PAGE_SIZE - 1) + 1 + 1) * 8)
sound/pci/bt87x.c
219
PAGE_ALIGN(MAX_RISC_SIZE), &chip->dma_risc) < 0)
sound/pci/cs5535audio/cs5535audio_pcm.c
104
PAGE_ALIGN(CS5535AUDIO_MAX_DESCRIPTORS * sizeof(struct cs5535audio_dma_desc))
sound/pci/lx6464es/lx6464es.c
789
size = PAGE_ALIGN(size);
sound/pci/mixart/mixart.c
1345
size = PAGE_ALIGN( (MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS *
sound/pci/mixart/mixart.c
1356
size = PAGE_ALIGN( (MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS *
sound/pci/pcxhr/pcxhr.c
1614
size = PAGE_ALIGN(sizeof(struct pcxhr_hostport));
sound/pci/via82xx.c
421
PAGE_ALIGN(VIA_TABLE_SIZE * 2 * 8),
sound/pci/via82xx_modem.c
276
PAGE_ALIGN(VIA_TABLE_SIZE * 2 * 8),
sound/pci/ymfpci/ymfpci_main.c
2118
snd_BUG_ON(ptr + PAGE_ALIGN(chip->work_size) !=
sound/soc/amd/acp-pcm-dma.c
1012
rtd->num_of_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
sound/soc/amd/acp/acp-platform.c
136
int num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/ps/ps-pdm-dma.c
230
rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/ps/ps-sdw-dma.c
417
stream->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/raven/acp3x-pcm-dma.c
290
rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/renoir/acp3x-pdm-dma.c
252
rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/vangogh/acp5x-pcm-dma.c
285
rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/amd/yc/acp6x-pdm-dma.c
228
rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT);
sound/soc/sof/amd/acp-loader.c
181
page_count = PAGE_ALIGN(size_fw) >> PAGE_SHIFT;
sound/soc/sof/amd/acp-loader.c
232
dma_size = (PAGE_ALIGN(sdev->basefw.fw->size) >> PAGE_SHIFT) * ACP_PAGE_SIZE;
sound/soc/sof/amd/acp-loader.c
64
page_count = PAGE_ALIGN(size_fw) >> PAGE_SHIFT;
sound/usb/qcom/qc_audio_offload.c
619
sg_len = PAGE_ALIGN(sg->offset + sg->length);
sound/usb/usx2y/us122l.c
106
if (offset < PAGE_ALIGN(s->read_size)) {
sound/usb/usx2y/us122l.c
109
offset -= PAGE_ALIGN(s->read_size);
sound/usb/usx2y/us122l.c
110
if (offset >= PAGE_ALIGN(s->write_size))
sound/usb/usx2y/us122l.c
186
if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) {
sound/usb/usx2y/usbus428ctldefs.h
93
#define US428_SHAREDMEM_PAGES PAGE_ALIGN(sizeof(struct us428ctls_sharedmem))
sound/usb/usx2y/usx2yhwdeppcm.c
489
PAGE_ALIGN(sizeof(struct snd_usx2y_hwdep_pcm_shm))
sound/virtio/virtio_pcm.c
185
PAGE_ALIGN(sample_max * vss->hw.channels_max * pcm_buffer_ms *
tools/testing/memblock/tests/basic_api.c
1047
new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) *
tools/testing/memblock/tests/basic_api.c
1144
phys_addr_t offset = PAGE_ALIGN(memory_base);
tools/testing/memblock/tests/basic_api.c
1188
new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) *
tools/testing/memblock/tests/basic_api.c
455
base = PAGE_ALIGN(dummy_physical_memory_base());
tools/testing/memblock/tests/basic_api.c
456
new_memory_regions_size = PAGE_ALIGN(INIT_MEMBLOCK_REGIONS * 2 *
tools/testing/memblock/tests/basic_api.c
942
new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) *
tools/testing/selftests/mm/mlock-random-test.c
176
if (locked_vm_size > PAGE_ALIGN(alloc_size, page_size) + page_size)