PAGE_ALIGN 236 arch/alpha/kernel/core_irongate.c memblock_free(__pa(initrd_start), PAGE_ALIGN(size)); PAGE_ALIGN 359 arch/alpha/kernel/core_irongate.c size = PAGE_ALIGN(last) - addr; PAGE_ALIGN 739 arch/alpha/kernel/core_marvel.c size = PAGE_ALIGN(last) - baddr; PAGE_ALIGN 508 arch/alpha/kernel/core_titan.c size = PAGE_ALIGN(last) - baddr; PAGE_ALIGN 188 arch/alpha/kernel/osf_sys.c if ((off + PAGE_ALIGN(len)) < off) PAGE_ALIGN 1328 arch/alpha/kernel/osf_sys.c addr = arch_get_unmapped_area_1 (PAGE_ALIGN(addr), len, limit); PAGE_ALIGN 1334 arch/alpha/kernel/osf_sys.c addr = arch_get_unmapped_area_1 (PAGE_ALIGN(TASK_UNMAPPED_BASE), PAGE_ALIGN 296 arch/alpha/kernel/setup.c start = memblock_alloc(PAGE_ALIGN(size), PAGE_SIZE); PAGE_ALIGN 76 arch/arc/mm/ioremap.c size = PAGE_ALIGN(end + 1) - paddr; PAGE_ALIGN 61 arch/arc/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 230 arch/arm/include/asm/cacheflush.h __cpuc_flush_user_range(start & PAGE_MASK, PAGE_ALIGN(end), PAGE_ALIGN 378 arch/arm/kernel/process.c first = PAGE_ALIGN(mm->start_stack); PAGE_ALIGN 757 arch/arm/kernel/setup.c aligned_start = PAGE_ALIGN(start); PAGE_ALIGN 1361 arch/arm/mm/cache-l2x0.c if (end > PAGE_ALIGN(start+1)) PAGE_ALIGN 1362 arch/arm/mm/cache-l2x0.c end = PAGE_ALIGN(start+1); PAGE_ALIGN 698 arch/arm/mm/dma-mapping.c .size = PAGE_ALIGN(size), PAGE_ALIGN 793 arch/arm/mm/dma-mapping.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 839 arch/arm/mm/dma-mapping.c .size = PAGE_ALIGN(size), PAGE_ALIGN 883 arch/arm/mm/dma-mapping.c sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); PAGE_ALIGN 1154 arch/arm/mm/dma-mapping.c count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1353 arch/arm/mm/dma-mapping.c unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1396 arch/arm/mm/dma-mapping.c size = PAGE_ALIGN((iova & ~PAGE_MASK) + size); PAGE_ALIGN 1470 arch/arm/mm/dma-mapping.c size = PAGE_ALIGN(size); PAGE_ALIGN 1527 arch/arm/mm/dma-mapping.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1566 arch/arm/mm/dma-mapping.c size = PAGE_ALIGN(size); PAGE_ALIGN 1602 arch/arm/mm/dma-mapping.c unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1627 arch/arm/mm/dma-mapping.c size = PAGE_ALIGN(size); PAGE_ALIGN 1636 arch/arm/mm/dma-mapping.c unsigned int len = PAGE_ALIGN(s->offset + s->length); PAGE_ALIGN 1843 arch/arm/mm/dma-mapping.c int ret, prot, len = PAGE_ALIGN(size + offset); PAGE_ALIGN 1896 arch/arm/mm/dma-mapping.c int len = PAGE_ALIGN(size + offset); PAGE_ALIGN 1921 arch/arm/mm/dma-mapping.c int len = PAGE_ALIGN(size + offset); PAGE_ALIGN 1949 arch/arm/mm/dma-mapping.c size_t len = PAGE_ALIGN(size + offset); PAGE_ALIGN 1981 arch/arm/mm/dma-mapping.c size_t len = PAGE_ALIGN(size + offset); PAGE_ALIGN 342 arch/arm/mm/init.c pg = PAGE_ALIGN(__pa(start_pg)); PAGE_ALIGN 708 arch/arm/mm/init.c poison_init_mem((void *)start, PAGE_ALIGN(end) - start); PAGE_ALIGN 284 arch/arm/mm/ioremap.c size = PAGE_ALIGN(offset + size); PAGE_ALIGN 63 arch/arm/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 115 arch/arm/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 857 arch/arm/mm/mmu.c length = PAGE_ALIGN(md->length); PAGE_ALIGN 930 arch/arm/mm/mmu.c length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); PAGE_ALIGN 1009 arch/arm/mm/mmu.c vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); PAGE_ALIGN 40 arch/arm/mm/pageattr.c unsigned long end = PAGE_ALIGN(addr) + numpages * PAGE_SIZE; PAGE_ALIGN 73 arch/arm/plat-omap/sram.c pages = PAGE_ALIGN(size) / PAGE_SIZE; PAGE_ALIGN 125 arch/arm/plat-omap/sram.c pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE; PAGE_ALIGN 70 arch/arm64/include/asm/processor.h #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) PAGE_ALIGN 73 arch/arm64/include/asm/processor.h #define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4)) PAGE_ALIGN 80 arch/arm64/mm/init.c crash_size = PAGE_ALIGN(crash_size); PAGE_ALIGN 369 arch/arm64/mm/init.c u64 size = PAGE_ALIGN(phys_initrd_start + phys_initrd_size) - base; PAGE_ALIGN 477 arch/arm64/mm/init.c pg = (unsigned long)PAGE_ALIGN(__pa(start_pg)); PAGE_ALIGN 589 arch/arm64/mm/init.c aligned_end = PAGE_ALIGN(__virt_to_phys(end)); PAGE_ALIGN 35 arch/arm64/mm/ioremap.c size = PAGE_ALIGN(size + offset); PAGE_ALIGN 170 arch/arm64/mm/kasan_init.c kasan_pgd_populate(start & PAGE_MASK, PAGE_ALIGN(end), node, false); PAGE_ALIGN 208 arch/arm64/mm/kasan_init.c kimg_shadow_end = PAGE_ALIGN((u64)kasan_mem_to_shadow(_end)); PAGE_ALIGN 353 arch/arm64/mm/mmu.c length = PAGE_ALIGN(size + (virt & ~PAGE_MASK)); PAGE_ALIGN 300 arch/c6x/kernel/setup.c if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) PAGE_ALIGN 301 arch/c6x/kernel/setup.c memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); PAGE_ALIGN 308 arch/c6x/kernel/setup.c PAGE_ALIGN((unsigned long)&_end - PAGE_OFFSET)); PAGE_ALIGN 325 arch/c6x/kernel/setup.c memory_start = PAGE_ALIGN((unsigned int) &_end); PAGE_ALIGN 56 arch/csky/abiv1/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 24 arch/csky/mm/ioremap.c size = PAGE_ALIGN(size + offset); PAGE_ALIGN 60 arch/h8300/mm/init.c unsigned long start_mem = PAGE_ALIGN(memory_start); PAGE_ALIGN 54 arch/hexagon/include/asm/processor.h #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3)) PAGE_ALIGN 28 arch/hexagon/mm/ioremap.c size = PAGE_ALIGN(offset + size); PAGE_ALIGN 812 arch/ia64/hp/common/sba_iommu.c pg_addr = PAGE_ALIGN((unsigned long) addr); PAGE_ALIGN 318 arch/ia64/kernel/efi.c start = PAGE_ALIGN(k->start); PAGE_ALIGN 26 arch/ia64/kernel/elfcore.c phdr.p_memsz = PAGE_ALIGN(phdr.p_memsz); PAGE_ALIGN 53 arch/ia64/kernel/elfcore.c size_t memsz = PAGE_ALIGN(gate_phdrs[i].p_memsz); PAGE_ALIGN 72 arch/ia64/kernel/elfcore.c size += PAGE_ALIGN(gate_phdrs[i].p_memsz); PAGE_ALIGN 2207 arch/ia64/kernel/perfmon.c size = PAGE_ALIGN(rsize); PAGE_ALIGN 197 arch/ia64/mm/contig.c map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * PAGE_ALIGN 123 arch/ia64/mm/discontig.c pernodesize = PAGE_ALIGN(pernodesize); PAGE_ALIGN 561 arch/ia64/mm/discontig.c start = PAGE_ALIGN(start); PAGE_ALIGN 608 arch/ia64/mm/discontig.c VMALLOC_END -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * PAGE_ALIGN 93 arch/ia64/mm/init.c current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); PAGE_ALIGN 191 arch/ia64/mm/init.c start = PAGE_ALIGN(start); PAGE_ALIGN 380 arch/ia64/mm/init.c end_address = PAGE_ALIGN(end_address); PAGE_ALIGN 441 arch/ia64/mm/init.c end_page = PAGE_ALIGN((unsigned long) map_end); PAGE_ALIGN 515 arch/ia64/mm/init.c map_end += ((PAGE_ALIGN((unsigned long) map_end) - (unsigned long) map_end) PAGE_ALIGN 595 arch/ia64/mm/init.c pfn_start = (PAGE_ALIGN(__pa(start))) >> PAGE_SHIFT; PAGE_ALIGN 596 arch/ia64/mm/init.c pfn_end = (PAGE_ALIGN(__pa(end - 1))) >> PAGE_SHIFT; PAGE_ALIGN 69 arch/ia64/mm/ioremap.c size = PAGE_ALIGN(phys_addr + size) - page_base; PAGE_ALIGN 78 arch/m68k/amiga/chipram.c size = PAGE_ALIGN(size); PAGE_ALIGN 163 arch/m68k/atari/stram.c size = PAGE_ALIGN(size); PAGE_ALIGN 73 arch/m68k/include/asm/processor.h #define TASK_UNMAPPED_ALIGN(addr, off) PAGE_ALIGN(addr) PAGE_ALIGN 88 arch/m68k/kernel/setup_no.c memory_start = PAGE_ALIGN(_ramstart); PAGE_ALIGN 173 arch/m68k/mm/mcfmmu.c memstart = PAGE_ALIGN(_ramstart); PAGE_ALIGN 79 arch/m68k/mm/sun3kmap.c size = PAGE_ALIGN(size); PAGE_ALIGN 89 arch/m68k/sun3x/dvma.c end = PAGE_ALIGN(vaddr + len); PAGE_ALIGN 111 arch/microblaze/kernel/setup.c romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); PAGE_ALIGN 114 arch/microblaze/kernel/setup.c romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); PAGE_ALIGN 313 arch/microblaze/mm/init.c ksize = PAGE_ALIGN(((u32)_end - (u32)CONFIG_KERNEL_START)); PAGE_ALIGN 61 arch/microblaze/mm/pgtable.c size = PAGE_ALIGN(addr + size) - p; PAGE_ALIGN 83 arch/mips/include/asm/processor.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) PAGE_ALIGN 657 arch/mips/kernel/process.c top -= PAGE_ALIGN(current->thread.abi->vdso->size); PAGE_ALIGN 81 arch/mips/kernel/vdso.c base = PAGE_ALIGN(base); PAGE_ALIGN 172 arch/mips/mm/ioremap.c size = PAGE_ALIGN(last_addr + 1) - phys_addr; PAGE_ALIGN 66 arch/mips/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 481 arch/mips/pmcs-msp71xx/msp_prom.c mdesc[i].size = PAGE_ALIGN(0x300 + 0x80); PAGE_ALIGN 504 arch/mips/pmcs-msp71xx/msp_prom.c mdesc[i].size = CPHYSADDR(PAGE_ALIGN((u32)_end)) - mdesc[i].base; PAGE_ALIGN 127 arch/mips/sgi-ip27/ip27-klnuma.c offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase; PAGE_ALIGN 131 arch/mips/sgi-ip27/ip27-klnuma.c return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT; PAGE_ALIGN 97 arch/nds32/kernel/vdso.c start = PAGE_ALIGN(start); PAGE_ALIGN 28 arch/nds32/mm/ioremap.c size = PAGE_ALIGN(last_addr + 1) - phys_addr; PAGE_ALIGN 58 arch/nds32/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 42 arch/nios2/include/asm/processor.h # define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) PAGE_ALIGN 152 arch/nios2/kernel/setup.c memory_start = PAGE_ALIGN((unsigned long)__pa(_end)); PAGE_ALIGN 73 arch/nios2/kernel/traps.c endstack = (unsigned long *) PAGE_ALIGN(addr); PAGE_ALIGN 154 arch/nios2/mm/ioremap.c size = PAGE_ALIGN(last_addr + 1) - phys_addr; PAGE_ALIGN 54 arch/openrisc/mm/ioremap.c size = PAGE_ALIGN(last_addr + 1) - p; PAGE_ALIGN 443 arch/parisc/kernel/cache.c threshold = PAGE_ALIGN((num_online_cpus() * size * alltime) / rangetime); PAGE_ALIGN 166 arch/parisc/kernel/inventory.c npages = (PAGE_ALIGN(PAGE0->imm_max_mem) >> PAGE_SHIFT); PAGE_ALIGN 318 arch/parisc/kernel/process.c unsigned long ret = PAGE_ALIGN(mm->brk + brk_rnd()); PAGE_ALIGN 78 arch/parisc/kernel/sys_parisc.c return PAGE_ALIGN(STACK_TOP - stack_base); PAGE_ALIGN 111 arch/parisc/kernel/sys_parisc.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 168 arch/parisc/kernel/sys_parisc.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 75 arch/parisc/mm/ioremap.c size = PAGE_ALIGN(last_addr + 1) - phys_addr; PAGE_ALIGN 45 arch/powerpc/boot/of.c claim_base = PAGE_ALIGN(claim_base + size); PAGE_ALIGN 53 arch/powerpc/include/asm/task_size_64.h #define TASK_UNMAPPED_BASE_USER32 (PAGE_ALIGN(TASK_SIZE_USER32 / 4)) PAGE_ALIGN 54 arch/powerpc/include/asm/task_size_64.h #define TASK_UNMAPPED_BASE_USER64 (PAGE_ALIGN(DEFAULT_MAP_WINDOW_USER64 / 4)) PAGE_ALIGN 342 arch/powerpc/kernel/fadump.c size = PAGE_ALIGN(size); PAGE_ALIGN 427 arch/powerpc/kernel/fadump.c fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size); PAGE_ALIGN 453 arch/powerpc/kernel/fadump.c PAGE_ALIGN(fadump_calculate_reserve_size()); PAGE_ALIGN 685 arch/powerpc/kernel/fadump.c count = PAGE_ALIGN(size) / PAGE_SIZE; PAGE_ALIGN 701 arch/powerpc/kernel/fadump.c fw_dump.cpu_notes_buf_size = PAGE_ALIGN(fw_dump.cpu_notes_buf_size); PAGE_ALIGN 862 arch/powerpc/kernel/iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 905 arch/powerpc/kernel/iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 908 arch/powerpc/kernel/iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 104 arch/powerpc/kernel/isa-bridge.c size = PAGE_ALIGN(range->size); PAGE_ALIGN 225 arch/powerpc/kernel/isa-bridge.c size = PAGE_ALIGN(size); PAGE_ALIGN 158 arch/powerpc/kernel/machine_kexec.c crash_base = PAGE_ALIGN(crashk_res.start); PAGE_ALIGN 166 arch/powerpc/kernel/machine_kexec.c crash_size = PAGE_ALIGN(crash_size); PAGE_ALIGN 62 arch/powerpc/kernel/paca.c size_t shared_lppaca_total_size = PAGE_ALIGN(nr_cpu_ids * LPPACA_SIZE); PAGE_ALIGN 2183 arch/powerpc/kernel/process.c ret = PAGE_ALIGN(base + brk_rnd()); PAGE_ALIGN 82 arch/powerpc/kernel/prom.c memory_limit = PAGE_ALIGN(memparse(p, &p)); PAGE_ALIGN 1662 arch/powerpc/kernel/prom_init.c alloc_bottom = PAGE_ALIGN((unsigned long)&_end + 0x4000); PAGE_ALIGN 1708 arch/powerpc/kernel/prom_init.c alloc_bottom = PAGE_ALIGN(prom_initrd_end); PAGE_ALIGN 2665 arch/powerpc/kernel/prom_init.c mem_start = PAGE_ALIGN(mem_start); PAGE_ALIGN 2680 arch/powerpc/kernel/prom_init.c mem_start = PAGE_ALIGN(mem_start); PAGE_ALIGN 2685 arch/powerpc/kernel/prom_init.c dt_struct_end = PAGE_ALIGN(mem_start); PAGE_ALIGN 21 arch/powerpc/kernel/suspend.c unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_ALIGN 567 arch/powerpc/lib/code-patching.c buf = vmalloc(PAGE_ALIGN(0x2000000 + 1)); PAGE_ALIGN 180 arch/powerpc/mm/book3s64/radix_pgtable.c end = PAGE_ALIGN(end); // aligns up PAGE_ALIGN 32 arch/powerpc/mm/ioremap_32.c size = PAGE_ALIGN(addr + size) - p; PAGE_ALIGN 76 arch/powerpc/mm/ioremap_64.c size = PAGE_ALIGN(addr + size) - paligned; PAGE_ALIGN 80 arch/powerpc/mm/mmap.c return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); PAGE_ALIGN 114 arch/powerpc/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 158 arch/powerpc/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 321 arch/powerpc/platforms/powernv/opal-core.c oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size); PAGE_ALIGN 244 arch/powerpc/platforms/powernv/opal-dump.c dump->buffer = vzalloc(PAGE_ALIGN(dump->size)); PAGE_ALIGN 218 arch/powerpc/platforms/powernv/opal-fadump.c return PAGE_ALIGN(sizeof(struct opal_fadump_mem_struct)); PAGE_ALIGN 372 arch/powerpc/platforms/powernv/opal-flash.c size = PAGE_ALIGN(image_data.size); PAGE_ALIGN 409 arch/powerpc/platforms/powernv/opal-flash.c image_data.data = vzalloc(PAGE_ALIGN(image_data.size)); PAGE_ALIGN 417 arch/powerpc/platforms/powernv/opal-flash.c size = PAGE_ALIGN(image_data.size); PAGE_ALIGN 17 arch/riscv/include/asm/processor.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) PAGE_ALIGN 38 arch/riscv/mm/ioremap.c size = PAGE_ALIGN(size + offset); PAGE_ALIGN 236 arch/s390/hypfs/hypfs_diag.c return (void *) PAGE_ALIGN((unsigned long) ptr); PAGE_ALIGN 38 arch/s390/kernel/module.c if (PAGE_ALIGN(size) > MODULES_LEN) PAGE_ALIGN 230 arch/s390/kernel/process.c ret = PAGE_ALIGN(mm->brk + brk_rnd()); PAGE_ALIGN 72 arch/s390/mm/mmap.c return PAGE_ALIGN(STACK_TOP - gap - rnd); PAGE_ALIGN 91 arch/s390/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 142 arch/s390/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 242 arch/s390/pci/pci.c size = PAGE_ALIGN(size + offset); PAGE_ALIGN 136 arch/s390/pci/pci_dma.c unsigned int nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 201 arch/s390/pci/pci_dma.c PAGE_ALIGN(size)); PAGE_ALIGN 406 arch/s390/pci/pci_dma.c size = PAGE_ALIGN(size); PAGE_ALIGN 430 arch/s390/pci/pci_dma.c size = PAGE_ALIGN(size); PAGE_ALIGN 441 arch/s390/pci/pci_dma.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 576 arch/s390/pci/pci_dma.c zdev->start_dma = PAGE_ALIGN(zdev->start_dma); PAGE_ALIGN 37 arch/sh/include/asm/processor_32.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) PAGE_ALIGN 32 arch/sh/include/asm/processor_64.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) PAGE_ALIGN 159 arch/sh/kernel/cpu/sh4/sq.c size = PAGE_ALIGN(end + 1) - phys; PAGE_ALIGN 168 arch/sh/kernel/machine_kexec.c crash_size = PAGE_ALIGN(resource_size(&crashk_res)); PAGE_ALIGN 112 arch/sh/kernel/setup.c memory_limit = PAGE_ALIGN(memparse(p, &p)); PAGE_ALIGN 22 arch/sh/kernel/swsusp.c unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_ALIGN 477 arch/sh/mm/cache-sh5.c end = PAGE_ALIGN(end); /* should already be so */ PAGE_ALIGN 69 arch/sh/mm/ioremap.c size = PAGE_ALIGN(last_addr+1) - phys_addr; PAGE_ALIGN 61 arch/sh/mm/ioremap_fixed.c size = PAGE_ALIGN(phys_addr + size) - phys_addr; PAGE_ALIGN 63 arch/sh/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 113 arch/sh/mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 283 arch/sparc/kernel/ioport.c size = PAGE_ALIGN(size); PAGE_ALIGN 327 arch/sparc/kernel/ioport.c size = PAGE_ALIGN(size); PAGE_ALIGN 359 arch/sparc/kernel/ioport.c if (!sparc_dma_free_resource(cpu_addr, PAGE_ALIGN(size))) PAGE_ALIGN 373 arch/sparc/kernel/ioport.c dma_make_coherent(paddr, PAGE_ALIGN(size)); PAGE_ALIGN 1020 arch/sparc/kernel/irq_64.c unsigned long size = PAGE_ALIGN(qmask + 1); PAGE_ALIGN 2238 arch/sparc/kernel/ldc.c npages = PAGE_ALIGN(((cookie & ~PAGE_MASK) + size)) >> PAGE_SHIFT; PAGE_ALIGN 430 arch/sparc/kernel/leon_pci_grpci1.c ahbadr = 0xf0000000 & (u32)__pa(PAGE_ALIGN((unsigned long) &_end)); PAGE_ALIGN 623 arch/sparc/kernel/leon_pci_grpci2.c ahbadr = 0xf0000000 & (u32)__pa(PAGE_ALIGN( PAGE_ALIGN 170 arch/sparc/kernel/mdesc.c alloc_size = PAGE_ALIGN(handle_size); PAGE_ALIGN 190 arch/sparc/kernel/mdesc.c alloc_size = PAGE_ALIGN(hp->handle_size); PAGE_ALIGN 30 arch/sparc/kernel/module.c if (PAGE_ALIGN(size) > MODULES_LEN) PAGE_ALIGN 1153 arch/sparc/kernel/smp_64.c end = PAGE_ALIGN(end); PAGE_ALIGN 121 arch/sparc/kernel/sys_sparc_64.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 184 arch/sparc/kernel/sys_sparc_64.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 305 arch/sparc/kernel/sys_sparc_64.c mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); PAGE_ALIGN 461 arch/sparc/kernel/sys_sparc_64.c if ((off + PAGE_ALIGN(len)) < off) PAGE_ALIGN 173 arch/sparc/mm/init_32.c start_pfn = (unsigned long)__pa(PAGE_ALIGN((unsigned long) &_end)); PAGE_ALIGN 143 arch/sparc/mm/init_64.c unsigned long new_base = PAGE_ALIGN(base); PAGE_ALIGN 2496 arch/sparc/mm/init_64.c paddr < __pa(PAGE_ALIGN(initrd_end))) PAGE_ALIGN 2560 arch/sparc/mm/init_64.c addr = PAGE_ALIGN((unsigned long)(__init_begin)); PAGE_ALIGN 226 arch/sparc/mm/io-unit.c len = PAGE_ALIGN(len); PAGE_ALIGN 237 arch/sparc/mm/io-unit.c end = PAGE_ALIGN((addr + len)); PAGE_ALIGN 158 arch/sparc/mm/iommu.c end = PAGE_ALIGN(start + niopte*sizeof(iopte_t)); PAGE_ALIGN 320 arch/sparc/mm/iommu.c len = PAGE_ALIGN(len); PAGE_ALIGN 95 arch/um/kernel/skas/uaccess.c size = min(PAGE_ALIGN(addr) - addr, (unsigned long) len); PAGE_ALIGN 141 arch/unicore32/include/asm/cacheflush.h __cpuc_coherent_user_range((start) & PAGE_MASK, PAGE_ALIGN(end)) PAGE_ALIGN 145 arch/unicore32/kernel/hibernate.c unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_ALIGN 146 arch/unicore32/kernel/setup.c bank->start = PAGE_ALIGN(start); PAGE_ALIGN 215 arch/unicore32/mm/init.c pg = PAGE_ALIGN(__pa(start_pg)); PAGE_ALIGN 157 arch/unicore32/mm/ioremap.c size = PAGE_ALIGN(offset + size); PAGE_ALIGN 227 arch/unicore32/mm/mmu.c length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); PAGE_ALIGN 221 arch/x86/entry/vdso/vma.c start = PAGE_ALIGN(start); PAGE_ALIGN 51 arch/x86/ia32/ia32_aout.c start = PAGE_ALIGN(start); PAGE_ALIGN 52 arch/x86/ia32/ia32_aout.c end = PAGE_ALIGN(end); PAGE_ALIGN 306 arch/x86/ia32/ia32_aout.c len = PAGE_ALIGN(ex.a_text + ex.a_data); PAGE_ALIGN 904 arch/x86/include/asm/processor.h #define __TASK_UNMAPPED_BASE(task_size) (PAGE_ALIGN(task_size / 3)) PAGE_ALIGN 203 arch/x86/kernel/dumpstack.c stack = (unsigned long *)PAGE_ALIGN((unsigned long)stack); PAGE_ALIGN 875 arch/x86/kernel/ftrace.c npages = PAGE_ALIGN(ops->trampoline_size) >> PAGE_SHIFT; PAGE_ALIGN 882 arch/x86/kernel/ftrace.c npages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 443 arch/x86/kernel/kexec-bzimage64.c kbuf.memsz = PAGE_ALIGN(header->init_size); PAGE_ALIGN 72 arch/x86/kernel/module.c if (PAGE_ALIGN(size) > MODULES_LEN) PAGE_ALIGN 426 arch/x86/kernel/pci-calgary_64.c size = PAGE_ALIGN(size); /* size rounded up to full pages */ PAGE_ALIGN 456 arch/x86/kernel/pci-calgary_64.c size = PAGE_ALIGN(size); PAGE_ALIGN 316 arch/x86/kernel/setup.c u64 area_size = PAGE_ALIGN(ramdisk_size); PAGE_ALIGN 347 arch/x86/kernel/setup.c u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size); PAGE_ALIGN 360 arch/x86/kernel/setup.c u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size); PAGE_ALIGN 153 arch/x86/kernel/sys_x86_64.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 97 arch/x86/kernel/sysfb_simplefb.c length = PAGE_ALIGN(length); PAGE_ALIGN 666 arch/x86/kernel/unwind_orc.c void *next_page = (void *)PAGE_ALIGN((unsigned long)state->sp); PAGE_ALIGN 788 arch/x86/mm/init.c begin_aligned = PAGE_ALIGN(begin); PAGE_ALIGN 883 arch/x86/mm/init.c free_init_pages("initrd", start, PAGE_ALIGN(end)); PAGE_ALIGN 218 arch/x86/mm/ioremap.c size = PAGE_ALIGN(last_addr+1) - phys_addr; PAGE_ALIGN 322 arch/x86/mm/mem_encrypt_identity.c initrd_end = PAGE_ALIGN(initrd_start + initrd_len); PAGE_ALIGN 103 arch/x86/mm/mmap.c return PAGE_ALIGN(task_size - gap - rnd); PAGE_ALIGN 52 arch/x86/power/hibernate.c nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; PAGE_ALIGN 47 arch/x86/realmode/init.c size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob); PAGE_ALIGN 125 arch/x86/realmode/init.c size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob); PAGE_ALIGN 128 arch/x86/realmode/init.c PAGE_ALIGN(real_mode_header->ro_end) - PAGE_ALIGN 132 arch/x86/realmode/init.c PAGE_ALIGN(real_mode_header->ro_end) - PAGE_ALIGN 1227 arch/x86/xen/mmu_pv.c size = PAGE_ALIGN(xen_start_info->nr_pages * sizeof(unsigned long)); PAGE_ALIGN 1248 arch/x86/xen/mmu_pv.c size = PAGE_ALIGN(xen_start_info->nr_pages * PAGE_ALIGN 2067 arch/x86/xen/mmu_pv.c size = PAGE_ALIGN(xen_start_info->nr_pages * sizeof(unsigned long)); PAGE_ALIGN 591 arch/x86/xen/setup.c start = PAGE_ALIGN(start); PAGE_ALIGN 144 arch/xtensa/kernel/pci-dma.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 188 arch/xtensa/kernel/pci-dma.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 84 arch/xtensa/kernel/syscall.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 27 arch/xtensa/mm/ioremap.c size = PAGE_ALIGN(offset + size); PAGE_ALIGN 165 drivers/acpi/apei/ghes.c ghes_estatus_pool_size_request = PAGE_ALIGN(len); PAGE_ALIGN 166 drivers/acpi/apei/ghes.c addr = (unsigned long)vmalloc(PAGE_ALIGN(len)); PAGE_ALIGN 176 drivers/acpi/apei/ghes.c rc = gen_pool_add(ghes_estatus_pool, addr, PAGE_ALIGN(len), -1); PAGE_ALIGN 456 drivers/android/binder_alloc.c (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); PAGE_ALIGN 460 drivers/android/binder_alloc.c PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); PAGE_ALIGN 500 drivers/android/binder_alloc.c PAGE_ALIGN((uintptr_t)buffer->user_data), PAGE_ALIGN 624 drivers/android/binder_alloc.c (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data), PAGE_ALIGN 100 drivers/android/binder_alloc_selftest.c end = (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); PAGE_ALIGN 375 drivers/base/firmware_loader/fallback.c PAGE_ALIGN(min_size) >> PAGE_SHIFT); PAGE_ALIGN 260 drivers/block/zram/zram_drv.c zram->limit_pages = PAGE_ALIGN(limit) >> PAGE_SHIFT; PAGE_ALIGN 1724 drivers/block/zram/zram_drv.c disksize = PAGE_ALIGN(disksize); PAGE_ALIGN 2458 drivers/char/random.c range -= PAGE_ALIGN(start) - start; PAGE_ALIGN 2459 drivers/char/random.c start = PAGE_ALIGN(start); PAGE_ALIGN 698 drivers/dma/sh/rcar-dmac.c size = PAGE_ALIGN(size); PAGE_ALIGN 3216 drivers/firewire/ohci.c end_page = PAGE_ALIGN(payload_index + p->payload_length) >> PAGE_SHIFT; PAGE_ALIGN 260 drivers/firmware/efi/arm-init.c PAGE_ALIGN(params.mmap_size + PAGE_ALIGN 58 drivers/firmware/google/framebuffer-coreboot.c length = PAGE_ALIGN(fb->y_resolution * fb->bytes_per_line); PAGE_ALIGN 98 drivers/firmware/iscsi_ibft_find.c *sizep = PAGE_ALIGN(ibft_addr->header.length); PAGE_ALIGN 172 drivers/firmware/qcom_scm-32.c cmd = kzalloc(PAGE_ALIGN(alloc_len), GFP_KERNEL); PAGE_ALIGN 90 drivers/firmware/qcom_scm-64.c args_virt = kzalloc(PAGE_ALIGN(alloc_len), GFP_KERNEL); PAGE_ALIGN 96 drivers/firmware/raspberrypi.c buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, PAGE_ALIGN 125 drivers/firmware/raspberrypi.c dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr); PAGE_ALIGN 76 drivers/fpga/dfl-afu-region.c region_size = PAGE_ALIGN(region_size); PAGE_ALIGN 591 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c fpfn = PAGE_ALIGN(offset) >> PAGE_SHIFT; PAGE_ALIGN 595 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c lpfn = (0x100000000ULL - PAGE_ALIGN(offset)) >> PAGE_SHIFT; PAGE_ALIGN 103 drivers/gpu/drm/armada/armada_gem.c memset(obj->addr, 0, PAGE_ALIGN(size)); PAGE_ALIGN 181 drivers/gpu/drm/drm_bufs.c map->size = PAGE_ALIGN(map->size); PAGE_ALIGN 737 drivers/gpu/drm/drm_bufs.c ? PAGE_ALIGN(size) : size; PAGE_ALIGN 914 drivers/gpu/drm/drm_bufs.c ? PAGE_ALIGN(size) : size; PAGE_ALIGN 1112 drivers/gpu/drm/drm_bufs.c ? PAGE_ALIGN(size) : size; PAGE_ALIGN 81 drivers/gpu/drm/drm_dumb_buffers.c if (PAGE_ALIGN(size) == 0) PAGE_ALIGN 55 drivers/gpu/drm/drm_gem_shmem_helper.c size = PAGE_ALIGN(size); PAGE_ALIGN 660 drivers/gpu/drm/drm_gem_shmem_helper.c size_t size = PAGE_ALIGN(attach->dmabuf->size); PAGE_ALIGN 63 drivers/gpu/drm/drm_memory.c PAGE_ALIGN(size) / PAGE_SIZE; PAGE_ALIGN 69 drivers/gpu/drm/drm_memory.c size = PAGE_ALIGN(size); PAGE_ALIGN 608 drivers/gpu/drm/etnaviv/etnaviv_gem.c size = PAGE_ALIGN(size); PAGE_ALIGN 110 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c size_t size = PAGE_ALIGN(attach->dmabuf->size); PAGE_ALIGN 475 drivers/gpu/drm/exynos/exynos_drm_g2d.c end = PAGE_ALIGN(userptr + size); PAGE_ALIGN 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c size = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height); PAGE_ALIGN 139 drivers/gpu/drm/i915/display/intel_fbdev.c size = PAGE_ALIGN(size); PAGE_ALIGN 27 drivers/gpu/drm/i915/gem/i915_gem_mman.c (vma->vm_end - vma->vm_start) == PAGE_ALIGN(size); PAGE_ALIGN 122 drivers/gpu/drm/i915/gt/intel_engine_pool.c size = PAGE_ALIGN(size); PAGE_ALIGN 137 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c const u32 size = PAGE_ALIGN(sizeof(struct __guc_ads_blob)); PAGE_ALIGN 317 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c PAGE_ALIGN(sizeof(struct guc_stage_desc) * PAGE_ALIGN 1361 drivers/gpu/drm/i915/gvt/kvmgt.c PAGE_ALIGN(vgpu_aperture_offset(vgpu)); PAGE_ALIGN 102 drivers/gpu/drm/i915/i915_gpu_error.c e->size = PAGE_ALIGN(len + 1); PAGE_ALIGN 41 drivers/gpu/drm/lima/lima_object.c size = PAGE_ALIGN(size); PAGE_ALIGN 83 drivers/gpu/drm/meson/meson_drv.c args->size = PAGE_ALIGN(args->pitch * args->height); PAGE_ALIGN 100 drivers/gpu/drm/mga/mga_warp.c size = PAGE_ALIGN(size); PAGE_ALIGN 908 drivers/gpu/drm/msm/adreno/a6xx_gmu.c bo->size = PAGE_ALIGN(size); PAGE_ALIGN 526 drivers/gpu/drm/msm/msm_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); PAGE_ALIGN 1031 drivers/gpu/drm/msm/msm_gem.c size = PAGE_ALIGN(size); PAGE_ALIGN 1122 drivers/gpu/drm/msm/msm_gem.c size = PAGE_ALIGN(dmabuf->size); PAGE_ALIGN 122 drivers/gpu/drm/omapdrm/omap_fbdev.c mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]); PAGE_ALIGN 127 drivers/gpu/drm/omapdrm/omap_fbdev.c .bytes = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height), PAGE_ALIGN 598 drivers/gpu/drm/omapdrm/omap_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); PAGE_ALIGN 1191 drivers/gpu/drm/omapdrm/omap_gem.c size = PAGE_ALIGN(gsize.bytes); PAGE_ALIGN 1240 drivers/gpu/drm/omapdrm/omap_gem.c gsize.bytes = PAGE_ALIGN(size); PAGE_ALIGN 1135 drivers/gpu/drm/tegra/drm.c size = PAGE_ALIGN(size); PAGE_ALIGN 1191 drivers/gpu/drm/tegra/drm.c size = PAGE_ALIGN(size); PAGE_ALIGN 1434 drivers/gpu/drm/ttm/ttm_bo.c unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; PAGE_ALIGN 1448 drivers/gpu/drm/ttm/ttm_bo.c unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; PAGE_ALIGN 673 drivers/gpu/drm/ttm/ttm_memory.c return PAGE_ALIGN(size); PAGE_ALIGN 181 drivers/gpu/drm/v3d/v3d_bo.c bo = v3d_bo_create(dev, file_priv, PAGE_ALIGN(args->size)); PAGE_ALIGN 370 drivers/gpu/drm/vgem/vgem_drv.c npages = PAGE_ALIGN(attach->dmabuf->size) / PAGE_SIZE; PAGE_ALIGN 786 drivers/gpu/drm/vmwgfx/ttm_object.c prime->size = PAGE_ALIGN(size); PAGE_ALIGN 434 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c size_t num_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 803 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c info.page_size = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1232 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c size = PAGE_ALIGN(size); PAGE_ALIGN 3335 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c PAGE_ALIGN(sw_context->cmd_bounce_size + PAGE_ALIGN 991 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c ret = ttm_bo_kmap(&buf->base, 0, PAGE_ALIGN(size) >> PAGE_SHIFT, PAGE_ALIGN 367 drivers/gpu/ipu-v3/ipu-image-convert.c buf->len = PAGE_ALIGN(size); PAGE_ALIGN 25 drivers/hv/channel.c ((PAGE_ALIGN(addr + len) >> PAGE_SHIFT) - (addr >> PAGE_SHIFT)) PAGE_ALIGN 101 drivers/iio/buffer/industrialio-buffer-dma.c dma_free_coherent(block->queue->dev, PAGE_ALIGN(block->size), PAGE_ALIGN 175 drivers/iio/buffer/industrialio-buffer-dma.c block->vaddr = dma_alloc_coherent(queue->dev, PAGE_ALIGN(size), PAGE_ALIGN 301 drivers/iio/buffer/industrialio-buffer-dma.c if (PAGE_ALIGN(queue->fileio.block_size) == PAGE_ALIGN(size)) PAGE_ALIGN 225 drivers/infiniband/core/umem.c PAGE_ALIGN(addr + size) < (addr + size)) PAGE_ALIGN 857 drivers/infiniband/hw/bnxt_re/ib_verbs.c bytes = PAGE_ALIGN(bytes); PAGE_ALIGN 870 drivers/infiniband/hw/bnxt_re/ib_verbs.c bytes = PAGE_ALIGN(bytes); PAGE_ALIGN 1324 drivers/infiniband/hw/bnxt_re/ib_verbs.c bytes = PAGE_ALIGN(bytes); PAGE_ALIGN 182 drivers/infiniband/hw/cxgb3/iwch_provider.c mm->len = PAGE_ALIGN((1UL << uresp.size_log2) * PAGE_ALIGN 186 drivers/infiniband/hw/cxgb3/iwch_provider.c mm->len = PAGE_ALIGN(((1UL << uresp.size_log2) + 1) * PAGE_ALIGN 837 drivers/infiniband/hw/cxgb3/iwch_provider.c mm1->len = PAGE_ALIGN(wqsize * sizeof(union t3_wr)); PAGE_ALIGN 2294 drivers/infiniband/hw/cxgb4/qp.c sq_key_mm->len = PAGE_ALIGN(qhp->wq.sq.memsize); PAGE_ALIGN 2299 drivers/infiniband/hw/cxgb4/qp.c rq_key_mm->len = PAGE_ALIGN(qhp->wq.rq.memsize); PAGE_ALIGN 2769 drivers/infiniband/hw/cxgb4/qp.c srq_key_mm->len = PAGE_ALIGN(srq->wq.memsize); PAGE_ALIGN 534 drivers/infiniband/hw/efa/efa_verbs.c PAGE_ALIGN(params->sq_ring_size_in_bytes + PAGE_ALIGN 714 drivers/infiniband/hw/efa/efa_verbs.c qp->rq_size = PAGE_ALIGN(create_qp_params.rq_ring_size_in_bytes); PAGE_ALIGN 987 drivers/infiniband/hw/efa/efa_verbs.c cq->size = PAGE_ALIGN(cmd.cq_entry_size * entries * cmd.num_sub_cqs); PAGE_ALIGN 393 drivers/infiniband/hw/hfi1/file_ops.c memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE); PAGE_ALIGN 554 drivers/infiniband/hw/hfi1/file_ops.c memlen = PAGE_ALIGN(sizeof(*cq->comps) * cq->nentries); PAGE_ALIGN 354 drivers/infiniband/hw/hfi1/hfi.h return PAGE_ALIGN(rcd->rcvhdrq_cnt * PAGE_ALIGN 955 drivers/infiniband/hw/hfi1/init.c len = PAGE_ALIGN(chip_rcv_contexts(dd) * HFI1_MAX_SHARED_CTXTS * PAGE_ALIGN 92 drivers/infiniband/hw/hfi1/mmu_rb.c return PAGE_ALIGN(node->addr + node->len) - 1; PAGE_ALIGN 226 drivers/infiniband/hw/hfi1/user_sdma.c cq->comps = vmalloc_user(PAGE_ALIGN(sizeof(*cq->comps) PAGE_ALIGN 4181 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + PAGE_ALIGN 4236 drivers/infiniband/hw/hns/hns_roce_hw_v1.c num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + PAGE_ALIGN 5567 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ba_num = DIV_ROUND_UP(PAGE_ALIGN(eq->entries * eq->eqe_size), PAGE_ALIGN 1060 drivers/infiniband/hw/mthca/mthca_qp.c size = PAGE_ALIGN(qp->send_wqe_offset + PAGE_ALIGN 1083 drivers/infiniband/hw/mthca/mthca_qp.c mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset + PAGE_ALIGN 953 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.page_size = PAGE_ALIGN(cq->len); PAGE_ALIGN 1087 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c PAGE_ALIGN(cq->len)); PAGE_ALIGN 1200 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.sq_page_size = PAGE_ALIGN(qp->sq.len); PAGE_ALIGN 1206 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.rq_page_size = PAGE_ALIGN(qp->rq.len); PAGE_ALIGN 1733 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c PAGE_ALIGN(qp->sq.len)); PAGE_ALIGN 1736 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c PAGE_ALIGN(qp->rq.len)); PAGE_ALIGN 1879 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c PAGE_ALIGN(srq->rq.len)); PAGE_ALIGN 108 drivers/infiniband/hw/usnic/usnic_uiom.c if (((addr + size) < addr) || PAGE_ALIGN(addr + size) < (addr + size)) PAGE_ALIGN 123 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(size + (addr & ~PAGE_MASK)) >> PAGE_SHIFT; PAGE_ALIGN 224 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT; PAGE_ALIGN 355 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(size + offset) >> PAGE_SHIFT; PAGE_ALIGN 431 drivers/infiniband/hw/usnic/usnic_uiom.c return PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT; PAGE_ALIGN 171 drivers/infiniband/sw/rdmavt/mmap.c size = PAGE_ALIGN(size); PAGE_ALIGN 201 drivers/infiniband/sw/rdmavt/mmap.c size = PAGE_ALIGN(size); PAGE_ALIGN 156 drivers/infiniband/sw/rxe/rxe_mmap.c size = PAGE_ALIGN(size); PAGE_ALIGN 384 drivers/infiniband/sw/siw/siw_mem.c num_pages = PAGE_ALIGN(start + len - first_page_va) >> PAGE_SHIFT; PAGE_ALIGN 385 drivers/infiniband/sw/siw/siw_qp_tx.c i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; PAGE_ALIGN 52 drivers/infiniband/sw/siw/siw_verbs.c uobj->size = PAGE_ALIGN(size); PAGE_ALIGN 1321 drivers/infiniband/sw/siw/siw_verbs.c (PAGE_ALIGN(len + (start & ~PAGE_MASK))) >> PAGE_SHIFT; PAGE_ALIGN 643 drivers/infiniband/ulp/ipoib/ipoib_cm.c frags = PAGE_ALIGN(wc->byte_len - PAGE_ALIGN 2707 drivers/iommu/amd_iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 2754 drivers/iommu/amd_iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 2134 drivers/iommu/amd_iommu_init.c e->address_start = PAGE_ALIGN(m->range_start); PAGE_ALIGN 2135 drivers/iommu/amd_iommu_init.c e->address_end = e->address_start + PAGE_ALIGN(m->range_length); PAGE_ALIGN 591 drivers/iommu/dma-iommu.c count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 649 drivers/iommu/dma-iommu.c return vm_map_pages(vma, pages, PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_ALIGN 924 drivers/iommu/dma-iommu.c size_t alloc_size = PAGE_ALIGN(size); PAGE_ALIGN 964 drivers/iommu/dma-iommu.c size_t alloc_size = PAGE_ALIGN(size); PAGE_ALIGN 1013 drivers/iommu/dma-iommu.c cpu_addr = dma_alloc_from_pool(PAGE_ALIGN(size), &page, gfp); PAGE_ALIGN 1032 drivers/iommu/dma-iommu.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 1071 drivers/iommu/dma-iommu.c PAGE_ALIGN(size) >> PAGE_SHIFT, PAGE_ALIGN 1082 drivers/iommu/dma-iommu.c sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); PAGE_ALIGN 2192 drivers/iommu/intel-iommu.c return PAGE_ALIGN(host_addr + size) >> VTD_PAGE_SHIFT; PAGE_ALIGN 3643 drivers/iommu/intel-iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 3679 drivers/iommu/intel-iommu.c size = PAGE_ALIGN(size); PAGE_ALIGN 224 drivers/iommu/s390-iommu.c nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 209 drivers/media/common/videobuf2/videobuf2-core.c unsigned long size = PAGE_ALIGN(vb->planes[plane].length); PAGE_ALIGN 313 drivers/media/common/videobuf2/videobuf2-core.c off = PAGE_ALIGN(p->m.offset + p->length); PAGE_ALIGN 323 drivers/media/common/videobuf2/videobuf2-core.c off = PAGE_ALIGN(off); PAGE_ALIGN 2201 drivers/media/common/videobuf2/videobuf2-core.c length = PAGE_ALIGN(vb->planes[plane].length); PAGE_ALIGN 216 drivers/media/common/videobuf2/videobuf2-vmalloc.c int num_pages = PAGE_ALIGN(buf->size) / PAGE_SIZE; PAGE_ALIGN 446 drivers/media/dvb-frontends/rtl2832_sdr.c sizes[0] = PAGE_ALIGN(dev->buffersize); PAGE_ALIGN 384 drivers/media/pci/cx23885/cx23885-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_ALIGN 526 drivers/media/pci/cx25821/cx25821-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_ALIGN 476 drivers/media/pci/cx88/cx88-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_ALIGN 68 drivers/media/pci/meye/meye.c size = PAGE_ALIGN(size); PAGE_ALIGN 1807 drivers/media/pci/meye/meye.c gbufsize = PAGE_ALIGN(gbufsize); PAGE_ALIGN 297 drivers/media/pci/netup_unidvb/netup_unidvb_core.c sizes[0] = PAGE_ALIGN(NETUP_DMA_PACKETS_COUNT * 188); PAGE_ALIGN 185 drivers/media/pci/saa7134/saa7134-core.c size = PAGE_ALIGN(size); PAGE_ALIGN 128 drivers/media/platform/omap/omap_vout_vrfb.c vout->smsshado_size = PAGE_ALIGN(image_width * image_height * 2 * 2); PAGE_ALIGN 310 drivers/media/platform/omap/omap_voutlib.c size = PAGE_ALIGN(buf_size); PAGE_ALIGN 334 drivers/media/platform/omap/omap_voutlib.c size = PAGE_ALIGN(buf_size); PAGE_ALIGN 2662 drivers/media/platform/omap3isp/ispccdc.c ccdc->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 1103 drivers/media/platform/omap3isp/ispccp2.c ccp2->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 1259 drivers/media/platform/omap3isp/ispcsi2.c csi2->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 2301 drivers/media/platform/omap3isp/isppreview.c prev->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3; PAGE_ALIGN 2306 drivers/media/platform/omap3isp/isppreview.c prev->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3; PAGE_ALIGN 1743 drivers/media/platform/omap3isp/ispresizer.c res->video_in.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3; PAGE_ALIGN 1748 drivers/media/platform/omap3isp/ispresizer.c res->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 2 * 3; PAGE_ALIGN 589 drivers/media/platform/omap3isp/ispstat.c buf_size = PAGE_ALIGN(buf_size); PAGE_ALIGN 591 drivers/media/platform/omap3isp/ispstat.c buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE); PAGE_ALIGN 342 drivers/media/platform/omap3isp/ispvideo.c *count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0])); PAGE_ALIGN 434 drivers/media/platform/rcar_drif.c sizes[0] = PAGE_ALIGN(sdr->fmt->buffersize); PAGE_ALIGN 489 drivers/media/usb/airspy/airspy.c sizes[0] = PAGE_ALIGN(s->buffersize); PAGE_ALIGN 86 drivers/media/usb/cpia2/cpia2_core.c size = PAGE_ALIGN(size); PAGE_ALIGN 110 drivers/media/usb/cpia2/cpia2_core.c size = PAGE_ALIGN(size); PAGE_ALIGN 424 drivers/media/usb/gspca/gspca.c if (gspca_dev->image_len + len > PAGE_ALIGN(gspca_dev->pixfmt.sizeimage)) { PAGE_ALIGN 427 drivers/media/usb/gspca/gspca.c PAGE_ALIGN(gspca_dev->pixfmt.sizeimage)); PAGE_ALIGN 1292 drivers/media/usb/gspca/gspca.c unsigned int size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage); PAGE_ALIGN 1304 drivers/media/usb/gspca/gspca.c unsigned long size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage); PAGE_ALIGN 763 drivers/media/usb/hackrf/hackrf.c sizes[0] = PAGE_ALIGN(dev->buffersize); PAGE_ALIGN 610 drivers/media/usb/msi2500/msi2500.c sizes[0] = PAGE_ALIGN(dev->buffersize); PAGE_ALIGN 12 drivers/media/usb/pvrusb2/pvrusb2-dvb.h #define PVR2_DVB_BUFFER_SIZE PAGE_ALIGN(0x4000) PAGE_ALIGN 17 drivers/media/usb/pvrusb2/pvrusb2-ioread.c #define BUFFER_SIZE PAGE_ALIGN(0x4000) PAGE_ALIGN 620 drivers/media/usb/pwc/pwc-if.c sizes[0] = PAGE_ALIGN(pwc_image_sizes[size][0] * PAGE_ALIGN 521 drivers/media/usb/stkwebcam/stk-webcam.c buf->v4lbuf.length = PAGE_ALIGN(dev->frame_size); PAGE_ALIGN 106 drivers/media/usb/usbvision/usbvision-core.c size = PAGE_ALIGN(size); PAGE_ALIGN 129 drivers/media/usb/usbvision/usbvision-core.c size = PAGE_ALIGN(size); PAGE_ALIGN 1756 drivers/media/usb/usbvision/usbvision-core.c usbvision->max_frame_size = PAGE_ALIGN(usbvision->curwidth * PAGE_ALIGN 692 drivers/media/usb/usbvision/usbvision-video.c vb->m.offset = vb->index * PAGE_ALIGN(usbvision->max_frame_size); PAGE_ALIGN 1016 drivers/media/usb/usbvision/usbvision-video.c size != PAGE_ALIGN(usbvision->max_frame_size)) { PAGE_ALIGN 1021 drivers/media/usb/usbvision/usbvision-video.c if (((PAGE_ALIGN(usbvision->max_frame_size)*i) >> PAGE_SHIFT) == PAGE_ALIGN 408 drivers/media/v4l2-core/videobuf-core.c q->bufs[i]->boff = PAGE_ALIGN(bsize) * i; PAGE_ALIGN 483 drivers/media/v4l2-core/videobuf-core.c (unsigned int)((count * PAGE_ALIGN(size)) >> PAGE_SHIFT)); PAGE_ALIGN 972 drivers/media/v4l2-core/videobuf-core.c size = PAGE_ALIGN(size); PAGE_ALIGN 169 drivers/media/v4l2-core/videobuf-dma-contig.c mem->size = PAGE_ALIGN(vb->size + offset); PAGE_ALIGN 261 drivers/media/v4l2-core/videobuf-dma-contig.c if (__videobuf_dc_alloc(q->dev, mem, PAGE_ALIGN(vb->size), PAGE_ALIGN 298 drivers/media/v4l2-core/videobuf-dma-contig.c if (__videobuf_dc_alloc(q->dev, mem, PAGE_ALIGN(buf->bsize), PAGE_ALIGN 523 drivers/media/v4l2-core/videobuf-dma-sg.c pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; PAGE_ALIGN 559 drivers/media/v4l2-core/videobuf-dma-sg.c pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; PAGE_ALIGN 607 drivers/media/v4l2-core/videobuf-dma-sg.c size = PAGE_ALIGN(q->bufs[first]->bsize); PAGE_ALIGN 633 drivers/media/v4l2-core/videobuf-dma-sg.c size += PAGE_ALIGN(q->bufs[i]->bsize); PAGE_ALIGN 176 drivers/media/v4l2-core/videobuf-vmalloc.c pages = PAGE_ALIGN(vb->size); PAGE_ALIGN 233 drivers/media/v4l2-core/videobuf-vmalloc.c pages = PAGE_ALIGN(vma->vm_end - vma->vm_start); PAGE_ALIGN 1250 drivers/misc/habanalabs/memory.c PAGE_ALIGN(addr + size) < (addr + size)) { PAGE_ALIGN 1259 drivers/misc/habanalabs/memory.c end = PAGE_ALIGN(addr + size); PAGE_ALIGN 31 drivers/misc/mic/bus/vop_bus.h #define VOP_INT_DMA_BUF_SIZE PAGE_ALIGN(64 * 1024ULL) PAGE_ALIGN 324 drivers/misc/mic/vop/vop_main.c vr_size = PAGE_ALIGN(_vr_size + sizeof(struct _mic_vring_info)); PAGE_ALIGN 339 drivers/misc/mic/vop/vop_main.c vdev->used_size[index] = PAGE_ALIGN(sizeof(__u16) * 3 + PAGE_ALIGN 63 drivers/misc/mic/vop/vop_vringh.c used_size = PAGE_ALIGN(sizeof(u16) * 3 + PAGE_ALIGN 299 drivers/misc/mic/vop/vop_vringh.c vr_size = PAGE_ALIGN(vring_size(num, MIC_VIRTIO_RING_ALIGN) + PAGE_ALIGN 103 drivers/misc/sram-exec.c pages = PAGE_ALIGN(size) / PAGE_SIZE; PAGE_ALIGN 80 drivers/mtd/maps/uclinux.c mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); PAGE_ALIGN 3045 drivers/net/ethernet/broadcom/bnx2.c int pages = PAGE_ALIGN(raw_len - hdr_len) >> PAGE_SHIFT; PAGE_ALIGN 3070 drivers/net/ethernet/broadcom/bnx2.c pages = PAGE_ALIGN(frag_size) >> PAGE_SHIFT; PAGE_ALIGN 3218 drivers/net/ethernet/broadcom/bnx2.c pages = PAGE_ALIGN(len - hdr_len) >> PAGE_SHIFT; PAGE_ALIGN 5407 drivers/net/ethernet/broadcom/bnx2.c int pages = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT; PAGE_ALIGN 3448 drivers/net/ethernet/broadcom/bnxt/bnxt.c jumbo_factor = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT; PAGE_ALIGN 987 drivers/net/ethernet/mellanox/mlx4/eq.c npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; PAGE_ALIGN 1097 drivers/net/ethernet/mellanox/mlx4/eq.c int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; PAGE_ALIGN 445 drivers/net/ethernet/mellanox/mlx4/icm.c chunk_size = PAGE_ALIGN(size - PAGE_ALIGN 104 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(16384) PAGE_ALIGN 1321 drivers/net/ethernet/nxp/lpc_eth.c pldat->dma_buff_size = PAGE_ALIGN(pldat->dma_buff_size); PAGE_ALIGN 1344 drivers/net/ethernet/sfc/ef10.c uc_mem_map_size = PAGE_ALIGN((channel_vis - 1) * efx->vi_stride + PAGE_ALIGN 1351 drivers/net/ethernet/sfc/ef10.c wc_mem_map_size = (PAGE_ALIGN((pio_write_vi_base + PAGE_ALIGN 650 drivers/net/ethernet/sgi/meth.c void *buffer2_data = (void *)PAGE_ALIGN((unsigned long)skb->data); PAGE_ALIGN 683 drivers/net/ethernet/sgi/meth.c } else if (PAGE_ALIGN((unsigned long)skb->data) != PAGE_ALIGN 684 drivers/net/ethernet/sgi/meth.c PAGE_ALIGN((unsigned long)skb->data + skb->len - 1)) { PAGE_ALIGN 1118 drivers/of/fdt.c base = PAGE_ALIGN(base); PAGE_ALIGN 4874 drivers/pci/quirks.c PAGE_ALIGN(INTEL_UPDCR_REG)); PAGE_ALIGN 203 drivers/pcmcia/electra_cf.c cf->mem_size = PAGE_ALIGN(resource_size(&mem)); PAGE_ALIGN 205 drivers/pcmcia/electra_cf.c cf->io_size = PAGE_ALIGN(resource_size(&io)); PAGE_ALIGN 856 drivers/rapidio/devices/rio_mport_cdev.c nr_pages = PAGE_ALIGN(xfer->length + offset) >> PAGE_SHIFT; PAGE_ALIGN 327 drivers/remoteproc/remoteproc_core.c size = PAGE_ALIGN(vring_size(rvring->len, rvring->align)); PAGE_ALIGN 227 drivers/s390/net/ism_drv.c if (PAGE_ALIGN(dmb->dmb_len) > dma_get_max_seg_size(&ism->pdev->dev)) PAGE_ALIGN 4326 drivers/scsi/ipr.c len = PAGE_ALIGN(off) - off; PAGE_ALIGN 1844 drivers/scsi/lpfc/lpfc_debugfs.c size = PAGE_ALIGN(size); PAGE_ALIGN 1894 drivers/scsi/lpfc/lpfc_debugfs.c size = PAGE_ALIGN(size); PAGE_ALIGN 1055 drivers/scsi/qla4xxx/ql4_os.c stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); PAGE_ALIGN 1796 drivers/scsi/qla4xxx/ql4_os.c stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); PAGE_ALIGN 420 drivers/scsi/sun_esp.c u32 end = PAGE_ALIGN(addr + dma_count + 16U); PAGE_ALIGN 545 drivers/soc/ti/knav_qmss_acc.c mem_size = PAGE_ALIGN(list_size * 2); PAGE_ALIGN 383 drivers/staging/android/ashmem.c if (vma->vm_end - vma->vm_start > PAGE_ALIGN(asma->size)) { PAGE_ALIGN 770 drivers/staging/android/ashmem.c pin.len = PAGE_ALIGN(asma->size) - pin.offset; PAGE_ALIGN 778 drivers/staging/android/ashmem.c if (PAGE_ALIGN(asma->size) < pin.offset + pin.len) PAGE_ALIGN 373 drivers/staging/android/ion/ion.c len = PAGE_ALIGN(len); PAGE_ALIGN 34 drivers/staging/android/ion/ion_cma_heap.c unsigned long size = PAGE_ALIGN(len); PAGE_ALIGN 87 drivers/staging/android/ion/ion_cma_heap.c unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; PAGE_ALIGN 28 drivers/staging/android/ion/ion_heap.c int npages = PAGE_ALIGN(buffer->size) / PAGE_SIZE; PAGE_ALIGN 42 drivers/staging/android/ion/ion_heap.c int npages_this_entry = PAGE_ALIGN(sg->length) / PAGE_SIZE; PAGE_ALIGN 110 drivers/staging/android/ion/ion_system_heap.c unsigned long size_remaining = PAGE_ALIGN(size); PAGE_ALIGN 301 drivers/staging/android/ion/ion_system_heap.c len = PAGE_ALIGN(len); PAGE_ALIGN 334 drivers/staging/android/ion/ion_system_heap.c unsigned long pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; PAGE_ALIGN 1306 drivers/staging/media/allegro-dvt/allegro-core.c n, PAGE_ALIGN(size)); PAGE_ALIGN 684 drivers/staging/media/imx/imx-media-utils.c buf->len = PAGE_ALIGN(size); PAGE_ALIGN 66 drivers/staging/media/ipu3/ipu3-css-fw.c obgrid_size = PAGE_ALIGN(width * height * PAGE_ALIGN 98 drivers/staging/media/ipu3/ipu3-dmamap.c size_t size = PAGE_ALIGN(len); PAGE_ALIGN 316 drivers/staging/media/ipu3/ipu3-mmu.c s_length = PAGE_ALIGN(s->length); PAGE_ALIGN 1288 drivers/staging/media/omap4iss/iss_csi2.c csi2->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 756 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 798 drivers/staging/media/omap4iss/iss_resizer.c resizer->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; PAGE_ALIGN 314 drivers/staging/media/omap4iss/iss_video.c *count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0])); PAGE_ALIGN 104 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c slot_mem_size = PAGE_ALIGN(TOTAL_SLOTS * VCHIQ_SLOT_SIZE); PAGE_ALIGN 105 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c frag_mem_size = PAGE_ALIGN(g_fragments_size * MAX_FRAGMENTS); PAGE_ALIGN 775 drivers/usb/gadget/function/f_fs.c n_pages = PAGE_ALIGN(sz) >> PAGE_SHIFT; PAGE_ALIGN 1223 drivers/vfio/pci/vfio_pci.c phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); PAGE_ALIGN 938 drivers/video/fbdev/acornfb.c virtual_start = PAGE_ALIGN(virtual_start); PAGE_ALIGN 939 drivers/video/fbdev/acornfb.c virtual_end = PAGE_ALIGN(virtual_end); PAGE_ALIGN 1029 drivers/video/fbdev/acornfb.c size = PAGE_ALIGN(size); PAGE_ALIGN 820 drivers/video/fbdev/amba-clcd.c framesize = PAGE_ALIGN(fb->panel->mode.xres * fb->panel->mode.yres * PAGE_ALIGN 2094 drivers/video/fbdev/atafb.c fix->smem_len = PAGE_ALIGN(external_len); PAGE_ALIGN 3135 drivers/video/fbdev/atafb.c mem_req = PAGE_ALIGN(mem_req) + PAGE_SIZE; PAGE_ALIGN 462 drivers/video/fbdev/au1100fb.c PAGE_ALIGN(fbdev->fb_len), PAGE_ALIGN 1694 drivers/video/fbdev/au1200fb.c PAGE_ALIGN(fbdev->fb_len), PAGE_ALIGN 315 drivers/video/fbdev/bw2.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 488 drivers/video/fbdev/cg14.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 380 drivers/video/fbdev/cg3.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 768 drivers/video/fbdev/cg6.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 294 drivers/video/fbdev/controlfb.c mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; PAGE_ALIGN 1363 drivers/video/fbdev/core/fbmem.c mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; PAGE_ALIGN 1450 drivers/video/fbdev/core/fbmem.c unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); PAGE_ALIGN 943 drivers/video/fbdev/ffb.c par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4); PAGE_ALIGN 458 drivers/video/fbdev/grvga.c page < PAGE_ALIGN(virtual_start + grvga_mem_size); PAGE_ALIGN 976 drivers/video/fbdev/imxfb.c fbi->map_size = PAGE_ALIGN(info->fix.smem_len); PAGE_ALIGN 575 drivers/video/fbdev/leo.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 608 drivers/video/fbdev/mmp/fb/mmpfb.c fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), PAGE_ALIGN 647 drivers/video/fbdev/mmp/fb/mmpfb.c dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, PAGE_ALIGN 40 drivers/video/fbdev/mmp/fb/mmpfb.h #define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2)) PAGE_ALIGN 334 drivers/video/fbdev/ocfb.c fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize), PAGE_ALIGN 374 drivers/video/fbdev/ocfb.c dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt, PAGE_ALIGN 386 drivers/video/fbdev/ocfb.c dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbdev->info.fix.smem_len), PAGE_ALIGN 628 drivers/video/fbdev/omap/lcdc.c frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res); PAGE_ALIGN 138 drivers/video/fbdev/omap/omapfb_main.c PAGE_ALIGN(def_vram[i]); PAGE_ALIGN 152 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); PAGE_ALIGN 825 drivers/video/fbdev/omap/omapfb_main.c size = PAGE_ALIGN(mi->size); PAGE_ALIGN 214 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c size = PAGE_ALIGN(mi->size); PAGE_ALIGN 1377 drivers/video/fbdev/omap2/omapfb/omapfb-main.c size = PAGE_ALIGN(size); PAGE_ALIGN 1597 drivers/video/fbdev/omap2/omapfb/omapfb-main.c size = PAGE_ALIGN(size); PAGE_ALIGN 437 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c size = PAGE_ALIGN(size); PAGE_ALIGN 279 drivers/video/fbdev/p9100.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 678 drivers/video/fbdev/pxa168fb.c info->fix.smem_len = PAGE_ALIGN(DEFAULT_FB_SIZE); PAGE_ALIGN 59 drivers/video/fbdev/pxa3xx-gcu.c #define SHARED_SIZE PAGE_ALIGN(sizeof(struct pxa3xx_gcu_shared)) PAGE_ALIGN 832 drivers/video/fbdev/pxafb.c size = PAGE_ALIGN(ofb->fb.fix.line_length * var->yres_virtual); PAGE_ALIGN 916 drivers/video/fbdev/pxafb.c ofb->video_mem = alloc_pages_exact(PAGE_ALIGN(pxafb->video_mem_size), PAGE_ALIGN 922 drivers/video/fbdev/pxafb.c ofb->video_mem_size = PAGE_ALIGN(pxafb->video_mem_size); PAGE_ALIGN 1712 drivers/video/fbdev/pxafb.c int size = PAGE_ALIGN(fbi->video_mem_size); PAGE_ALIGN 2320 drivers/video/fbdev/pxafb.c fbi->dma_buff_size = PAGE_ALIGN(sizeof(struct pxafb_dma_buff)); PAGE_ALIGN 1101 drivers/video/fbdev/s3c-fb.c size = PAGE_ALIGN(size); PAGE_ALIGN 1130 drivers/video/fbdev/s3c-fb.c dma_free_wc(sfb->dev, PAGE_ALIGN(fbi->fix.smem_len), PAGE_ALIGN 644 drivers/video/fbdev/s3c2410fb.c unsigned map_size = PAGE_ALIGN(info->fix.smem_len); PAGE_ALIGN 670 drivers/video/fbdev/s3c2410fb.c dma_free_wc(fbi->dev, PAGE_ALIGN(info->fix.smem_len), PAGE_ALIGN 1049 drivers/video/fbdev/sa1100fb.c fbi->map_size = PAGE_ALIGN(fbi->fb.fix.smem_len + PAGE_SIZE); PAGE_ALIGN 1302 drivers/video/fbdev/smscufx.c if (PAGE_ALIGN(new_len) > old_len) { PAGE_ALIGN 1316 drivers/video/fbdev/smscufx.c info->fix.smem_len = PAGE_ALIGN(new_len); PAGE_ALIGN 392 drivers/video/fbdev/tcx.c info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); PAGE_ALIGN 1225 drivers/video/fbdev/udlfb.c new_len = PAGE_ALIGN(new_len); PAGE_ALIGN 429 drivers/video/fbdev/vfb.c unsigned int size = PAGE_ALIGN(videomemorysize); PAGE_ALIGN 363 drivers/video/fbdev/vt8500lcdfb.c fbi->palette_size = PAGE_ALIGN(512); PAGE_ALIGN 288 drivers/video/fbdev/xilinxfb.c drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), PAGE_ALIGN 366 drivers/video/fbdev/xilinxfb.c dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt, PAGE_ALIGN 390 drivers/video/fbdev/xilinxfb.c dma_free_coherent(dev, PAGE_ALIGN(drvdata->info.fix.smem_len), PAGE_ALIGN 75 drivers/virt/vboxguest/vboxguest_core.c size = PAGE_ALIGN(req->hypervisor_size) + SZ_4M; PAGE_ALIGN 69 drivers/virt/vboxguest/vboxguest_utils.c int order = get_order(PAGE_ALIGN(len)); PAGE_ALIGN 92 drivers/virt/vboxguest/vboxguest_utils.c free_pages((unsigned long)req, get_order(PAGE_ALIGN(len))); PAGE_ALIGN 190 drivers/virt/vboxguest/vboxguest_utils.c u32 size = PAGE_ALIGN(len + ((unsigned long)buf & ~PAGE_MASK)); PAGE_ALIGN 279 drivers/virtio/virtio_ring.c void *queue = alloc_pages_exact(PAGE_ALIGN(size), flag); PAGE_ALIGN 297 drivers/virtio/virtio_ring.c free_pages_exact(queue, PAGE_ALIGN(size)); PAGE_ALIGN 311 drivers/virtio/virtio_ring.c free_pages_exact(queue, PAGE_ALIGN(size)); PAGE_ALIGN 202 drivers/xen/swiotlb-xen.c xen_io_tlb_start = memblock_alloc(PAGE_ALIGN(bytes), PAGE_ALIGN 206 drivers/xen/swiotlb-xen.c __func__, PAGE_ALIGN(bytes), PAGE_SIZE); PAGE_ALIGN 236 drivers/xen/swiotlb-xen.c PAGE_ALIGN(bytes)); PAGE_ALIGN 47 fs/binfmt_aout.c start = PAGE_ALIGN(start); PAGE_ALIGN 48 fs/binfmt_aout.c end = PAGE_ALIGN(end); PAGE_ALIGN 319 fs/binfmt_aout.c len = PAGE_ALIGN(ex.a_text + ex.a_data); PAGE_ALIGN 408 fs/binfmt_elf_fdpic.c PAGE_ALIGN(current->mm->start_brk); PAGE_ALIGN 872 fs/binfmt_elf_fdpic.c load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); PAGE_ALIGN 952 fs/binfmt_elf_fdpic.c load_addr += PAGE_ALIGN(top - base); PAGE_ALIGN 1095 fs/binfmt_elf_fdpic.c load_addr += PAGE_ALIGN(phdr->p_memsz + disp); PAGE_ALIGN 575 fs/binfmt_flat.c len = PAGE_ALIGN(len); PAGE_ALIGN 619 fs/binfmt_flat.c len = PAGE_ALIGN(len); PAGE_ALIGN 1508 fs/btrfs/ioctl.c cluster = (PAGE_ALIGN(defrag_end) >> PAGE_ALIGN 5213 fs/btrfs/send.c ext_len = PAGE_ALIGN(ext_len); PAGE_ALIGN 5354 fs/btrfs/send.c len = PAGE_ALIGN(len); PAGE_ALIGN 5487 fs/btrfs/send.c right_len = PAGE_ALIGN(right_len); PAGE_ALIGN 1025 fs/ceph/file.c PAGE_ALIGN(pos + len) - 1); PAGE_ALIGN 1108 fs/cifs/cifsfs.c PAGE_ALIGN(destoff + len)-1); PAGE_ALIGN 35 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_ALIGN 147 fs/erofs/decompressor.c const uint nr = PAGE_ALIGN(rq->pageofs_out + PAGE_ALIGN 223 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_ALIGN 294 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_ALIGN 719 fs/exec.c stack_base = PAGE_ALIGN(stack_top - stack_base); PAGE_ALIGN 726 fs/exec.c stack_top = PAGE_ALIGN(stack_top); PAGE_ALIGN 1301 fs/ext2/inode.c PAGE_ALIGN(newsize) - newsize, NULL, PAGE_ALIGN 947 fs/gfs2/rgrp.c rgd->rd_gl->gl_vm.end = PAGE_ALIGN((rgd->rd_addr + PAGE_ALIGN 2051 fs/nfs/pnfs.c arg.length = PAGE_ALIGN(arg.length); PAGE_ALIGN 65 fs/ntfs/runlist.c old_size = PAGE_ALIGN(old_size * sizeof(*rl)); PAGE_ALIGN 66 fs/ntfs/runlist.c new_size = PAGE_ALIGN(new_size * sizeof(*rl)); PAGE_ALIGN 111 fs/ntfs/runlist.c old_size = PAGE_ALIGN(old_size * sizeof(*rl)); PAGE_ALIGN 112 fs/ntfs/runlist.c new_size = PAGE_ALIGN(new_size * sizeof(*rl)); PAGE_ALIGN 6889 fs/ocfs2/alloc.c last_page_bytes = PAGE_ALIGN(end); PAGE_ALIGN 337 fs/orangefs/orangefs-bufmap.c if (PAGE_ALIGN((unsigned long)user_desc->ptr) != PAGE_ALIGN 344 fs/orangefs/orangefs-bufmap.c if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) PAGE_ALIGN 115 fs/proc/kcore.c *data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + *phdrs_len + PAGE_ALIGN 155 fs/proc/kcore.c end = PAGE_ALIGN(end); PAGE_ALIGN 54 fs/proc/task_mmu.c text = PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK); PAGE_ALIGN 93 fs/proc/task_mmu.c *text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK)) PAGE_ALIGN 118 fs/proc/task_nommu.c *text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK)) PAGE_ALIGN 120 fs/proc/task_nommu.c *data = (PAGE_ALIGN(mm->start_stack) - (mm->start_data & PAGE_MASK)) PAGE_ALIGN 924 fs/xfs/xfs_buf.c page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; PAGE_ALIGN 1706 ipc/shm.c size = PAGE_ALIGN(size); PAGE_ALIGN 246 kernel/dma/coherent.c int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 267 kernel/dma/contiguous.c PAGE_ALIGN(size) >> PAGE_SHIFT)) PAGE_ALIGN 89 kernel/dma/direct.c size_t alloc_size = PAGE_ALIGN(size); PAGE_ALIGN 135 kernel/dma/mapping.c sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); PAGE_ALIGN 195 kernel/dma/mapping.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 97 kernel/dma/remap.c unmap_kernel_range((unsigned long)cpu_addr, PAGE_ALIGN(size)); PAGE_ALIGN 220 kernel/dma/remap.c size = PAGE_ALIGN(size); PAGE_ALIGN 254 kernel/dma/remap.c if (!dma_free_from_pool(vaddr, PAGE_ALIGN(size))) { PAGE_ALIGN 195 kernel/dma/swiotlb.c bytes = PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT); PAGE_ALIGN 216 kernel/dma/swiotlb.c alloc_size = PAGE_ALIGN(io_tlb_nslabs * sizeof(int)); PAGE_ALIGN 222 kernel/dma/swiotlb.c alloc_size = PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t)); PAGE_ALIGN 260 kernel/dma/swiotlb.c vstart = memblock_alloc_low(PAGE_ALIGN(bytes), PAGE_SIZE); PAGE_ALIGN 266 kernel/dma/swiotlb.c PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); PAGE_ALIGN 396 kernel/dma/swiotlb.c PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); PAGE_ALIGN 398 kernel/dma/swiotlb.c PAGE_ALIGN(io_tlb_nslabs * sizeof(int))); PAGE_ALIGN 400 kernel/dma/swiotlb.c PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); PAGE_ALIGN 128 kernel/relay.c *size = PAGE_ALIGN(*size); PAGE_ALIGN 592 kernel/relay.c chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); PAGE_ALIGN 614 lib/scatterlist.c return PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT; PAGE_ALIGN 638 lib/scatterlist.c return PAGE_ALIGN(sg->offset + sg_dma_len(sg)) >> PAGE_SHIFT; PAGE_ALIGN 139 mm/early_ioremap.c size = PAGE_ALIGN(last_addr + 1) - phys_addr; PAGE_ALIGN 201 mm/early_ioremap.c nrpages = PAGE_ALIGN(offset + size) >> PAGE_SHIFT; PAGE_ALIGN 384 mm/memblock.c size = PAGE_ALIGN(sizeof(struct memblock_region) * PAGE_ALIGN 391 mm/memblock.c size = PAGE_ALIGN(sizeof(struct memblock_region) * PAGE_ALIGN 436 mm/memblock.c old_alloc_size = PAGE_ALIGN(old_size); PAGE_ALIGN 437 mm/memblock.c new_alloc_size = PAGE_ALIGN(new_size); PAGE_ALIGN 1901 mm/memory.c unsigned long end = addr + PAGE_ALIGN(size); PAGE_ALIGN 1930 mm/memory.c err = track_pfn_remap(vma, &prot, remap_pfn, addr, PAGE_ALIGN(size)); PAGE_ALIGN 1949 mm/memory.c untrack_pfn(vma, remap_pfn, PAGE_ALIGN(size)); PAGE_ALIGN 4294 mm/memory.c maddr = ioremap_prot(phys_addr, PAGE_ALIGN(len + offset), prot); PAGE_ALIGN 185 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; PAGE_ALIGN 194 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; PAGE_ALIGN 218 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; PAGE_ALIGN 231 mm/memory_hotplug.c nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT; PAGE_ALIGN 591 mm/mlock.c VM_BUG_ON(len != PAGE_ALIGN(len)); PAGE_ALIGN 682 mm/mlock.c len = PAGE_ALIGN(len + (offset_in_page(start))); PAGE_ALIGN 742 mm/mlock.c len = PAGE_ALIGN(len + (offset_in_page(start))); PAGE_ALIGN 229 mm/mmap.c newbrk = PAGE_ALIGN(brk); PAGE_ALIGN 230 mm/mmap.c oldbrk = PAGE_ALIGN(mm->brk); PAGE_ALIGN 1332 mm/mmap.c return PAGE_ALIGN(mmap_min_addr); PAGE_ALIGN 1421 mm/mmap.c len = PAGE_ALIGN(len); PAGE_ALIGN 2116 mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 2157 mm/mmap.c addr = PAGE_ALIGN(addr); PAGE_ALIGN 2743 mm/mmap.c len = PAGE_ALIGN(len); PAGE_ALIGN 3072 mm/mmap.c len = PAGE_ALIGN(request); PAGE_ALIGN 506 mm/mprotect.c len = PAGE_ALIGN(len); PAGE_ALIGN 630 mm/mremap.c old_len = PAGE_ALIGN(old_len); PAGE_ALIGN 631 mm/mremap.c new_len = PAGE_ALIGN(new_len); PAGE_ALIGN 807 mm/nommu.c rlen = PAGE_ALIGN(len); PAGE_ALIGN 1125 mm/nommu.c len = PAGE_ALIGN(len); PAGE_ALIGN 1491 mm/nommu.c len = PAGE_ALIGN(len); PAGE_ALIGN 1604 mm/nommu.c old_len = PAGE_ALIGN(old_len); PAGE_ALIGN 1605 mm/nommu.c new_len = PAGE_ALIGN(new_len); PAGE_ALIGN 4948 mm/page_alloc.c unsigned long used = addr + PAGE_ALIGN(size); PAGE_ALIGN 5023 mm/page_alloc.c unsigned long end = addr + PAGE_ALIGN(size); PAGE_ALIGN 6675 mm/page_alloc.c return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT; PAGE_ALIGN 7498 mm/page_alloc.c start = (void *)PAGE_ALIGN((unsigned long)start); PAGE_ALIGN 90 mm/shmem.c #define VM_ACCT(size) (PAGE_ALIGN(size) >> PAGE_SHIFT) PAGE_ALIGN 448 mm/sparse.c return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION); PAGE_ALIGN 712 mm/sparse.c nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) PAGE_ALIGN 317 mm/util.c return PAGE_ALIGN(stack_top) + random_variable; PAGE_ALIGN 319 mm/util.c return PAGE_ALIGN(stack_top) - random_variable; PAGE_ALIGN 383 mm/util.c return PAGE_ALIGN(STACK_TOP - gap - rnd); PAGE_ALIGN 510 mm/util.c if (unlikely(offset + PAGE_ALIGN(len) < offset)) PAGE_ALIGN 2049 mm/vmalloc.c size = PAGE_ALIGN(size); PAGE_ALIGN 2488 mm/vmalloc.c size = PAGE_ALIGN(size); PAGE_ALIGN 3003 mm/vmalloc.c size = PAGE_ALIGN(size); PAGE_ALIGN 167 net/ceph/crypto.c unsigned int chunk_len = PAGE_ALIGN(off + buf_len); PAGE_ALIGN 646 net/core/datagram.c truesize = PAGE_ALIGN(copied + start); PAGE_ALIGN 722 net/packet/af_packet.c end = (u8 *)PAGE_ALIGN((unsigned long)pkc1->pkblk_end); PAGE_ALIGN 2380 net/packet/af_packet.c end = (u8 *) PAGE_ALIGN((unsigned long) h.raw + PAGE_ALIGN 188 net/rds/info.c nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK)) PAGE_ALIGN 61 net/rds/rds.h #define RDS_CONG_MAP_PAGES (PAGE_ALIGN(RDS_CONG_MAP_BYTES) / PAGE_SIZE) PAGE_ALIGN 972 net/sunrpc/xprtrdma/rpc_rdma.c npages = PAGE_ALIGN(page_base + pagelist_len) >> PAGE_SHIFT; PAGE_ALIGN 609 net/sunrpc/xprtrdma/svc_rdma_rw.c sge_no = PAGE_ALIGN(info->ri_pageoff + len) >> PAGE_SHIFT; PAGE_ALIGN 1632 net/unix/af_unix.c data_len = PAGE_ALIGN(data_len); PAGE_ALIGN 1832 net/unix/af_unix.c data_len = min_t(size_t, size, PAGE_ALIGN(data_len)); PAGE_ALIGN 422 samples/mic/mpssd/mpssd.c vr_size = PAGE_ALIGN(_vring_size(MIC_VRING_ENTRIES, PAGE_ALIGN 1069 samples/mic/mpssd/mpssd.c vr_size = PAGE_ALIGN(_vring_size(MIC_VRING_ENTRIES, PAGE_ALIGN 332 sound/core/info.c char *nbuf = kvzalloc(PAGE_ALIGN(next), GFP_KERNEL); PAGE_ALIGN 339 sound/core/info.c buf->len = PAGE_ALIGN(next); PAGE_ALIGN 39 sound/core/memalloc.c PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_ALIGN 49 sound/core/memalloc.c PAGE_ALIGN(dmab->bytes) >> PAGE_SHIFT); PAGE_ALIGN 946 sound/core/pcm.c size = PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status)); PAGE_ALIGN 954 sound/core/pcm.c size = PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control)); PAGE_ALIGN 958 sound/core/pcm.c PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status))); PAGE_ALIGN 989 sound/core/pcm.c PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status))); PAGE_ALIGN 991 sound/core/pcm.c PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control))); PAGE_ALIGN 3264 sound/core/pcm_native.c if (size != PAGE_ALIGN(sizeof(struct snd_pcm_mmap_status))) PAGE_ALIGN 3300 sound/core/pcm_native.c if (size != PAGE_ALIGN(sizeof(struct snd_pcm_mmap_control))) PAGE_ALIGN 3376 sound/core/pcm_native.c dma_bytes = PAGE_ALIGN(runtime->dma_bytes); PAGE_ALIGN 3494 sound/core/pcm_native.c dma_bytes = PAGE_ALIGN(runtime->dma_bytes); PAGE_ALIGN 433 sound/isa/sscape.c if (!get_dmabuf(s, &dma, PAGE_ALIGN(32 * 1024))) PAGE_ALIGN 331 sound/pci/atiixp.c PAGE_ALIGN(ATI_MAX_DESCRIPTORS * sizeof(struct atiixp_dma_desc)) PAGE_ALIGN 299 sound/pci/atiixp_modem.c PAGE_ALIGN(ATI_MAX_DESCRIPTORS * sizeof(struct atiixp_dma_desc)) PAGE_ALIGN 133 sound/pci/bt87x.c #define MAX_RISC_SIZE ((1 + 255 + (PAGE_ALIGN(255 * 4092) / PAGE_SIZE - 1) + 1 + 1) * 8) PAGE_ALIGN 221 sound/pci/bt87x.c PAGE_ALIGN(MAX_RISC_SIZE), &chip->dma_risc) < 0) PAGE_ALIGN 103 sound/pci/cs5535audio/cs5535audio_pcm.c PAGE_ALIGN(CS5535AUDIO_MAX_DESCRIPTORS * sizeof(struct cs5535audio_dma_desc)) PAGE_ALIGN 831 sound/pci/lx6464es/lx6464es.c size = PAGE_ALIGN(size); PAGE_ALIGN 1361 sound/pci/mixart/mixart.c size = PAGE_ALIGN( (MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS * PAGE_ALIGN 1372 sound/pci/mixart/mixart.c size = PAGE_ALIGN( (MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS * PAGE_ALIGN 1646 sound/pci/pcxhr/pcxhr.c size = PAGE_ALIGN(sizeof(struct pcxhr_hostport)); PAGE_ALIGN 423 sound/pci/via82xx.c PAGE_ALIGN(VIA_TABLE_SIZE * 2 * 8), PAGE_ALIGN 276 sound/pci/via82xx_modem.c PAGE_ALIGN(VIA_TABLE_SIZE * 2 * 8), PAGE_ALIGN 987 sound/soc/amd/acp-pcm-dma.c rtd->num_of_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_ALIGN 356 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_ALIGN 143 sound/usb/usx2y/us122l.c if (offset < PAGE_ALIGN(s->read_size)) PAGE_ALIGN 146 sound/usb/usx2y/us122l.c offset -= PAGE_ALIGN(s->read_size); PAGE_ALIGN 147 sound/usb/usx2y/us122l.c if (offset >= PAGE_ALIGN(s->write_size)) PAGE_ALIGN 243 sound/usb/usx2y/us122l.c if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { PAGE_ALIGN 58 sound/usb/usx2y/usX2Yhwdep.c if (size > PAGE_ALIGN(sizeof(struct us428ctls_sharedmem))) { PAGE_ALIGN 674 sound/usb/usx2y/usx2yhwdeppcm.c if (size > PAGE_ALIGN(sizeof(struct snd_usX2Y_hwdep_pcm_shm))) { PAGE_ALIGN 190 tools/testing/selftests/vm/mlock-random-test.c if (locked_vm_size > PAGE_ALIGN(alloc_size, page_size) + page_size) { PAGE_ALIGN 703 virt/kvm/arm/mmu.c end = PAGE_ALIGN(end); PAGE_ALIGN 761 virt/kvm/arm/mmu.c end = PAGE_ALIGN(end); PAGE_ALIGN 795 virt/kvm/arm/mmu.c size = PAGE_ALIGN(size + offset_in_page(phys_addr));