ALIGN 117 arch/alpha/kernel/osf_sys.c unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); ALIGN 169 arch/alpha/kernel/pci.c start = ALIGN(start, alignto); ALIGN 174 arch/alpha/kernel/pci.c start = ALIGN(start, alignto); ALIGN 179 arch/alpha/kernel/pci.c start = ALIGN(start, alignto); ALIGN 154 arch/alpha/kernel/pci_iommu.c p = ALIGN(arena->next_entry, mask + 1); ALIGN 160 arch/alpha/kernel/pci_iommu.c p = ALIGN(p + 1, mask + 1); ALIGN 165 arch/alpha/kernel/pci_iommu.c p = ALIGN(p + i + 1, mask + 1), i = 0; ALIGN 56 arch/arc/include/asm/linkage.h ALIGN ASM_NL \ ALIGN 32 arch/arm/include/asm/memory.h #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M) ALIGN 35 arch/arm/kernel/stacktrace.c high = ALIGN(low, THREAD_SIZE); ALIGN 383 arch/arm/kernel/unwind.c ctrl.sp_high = ALIGN(low, THREAD_SIZE); ALIGN 29 arch/arm/kernel/vmlinux.lds.h . = ALIGN(4); \ ALIGN 44 arch/arm/kernel/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 80 arch/arm/kernel/vmlinux.lds.h . = ALIGN(4); \ ALIGN 86 arch/arm/kernel/vmlinux.lds.h . = ALIGN(8); \ ALIGN 120 arch/arm/kernel/vmlinux.lds.h __itcm_start = ALIGN(4); \ ALIGN 125 arch/arm/kernel/vmlinux.lds.h . = ALIGN(4); \ ALIGN 134 arch/arm/kernel/vmlinux.lds.h . = ALIGN(4); \ ALIGN 61 arch/arm/mach-omap2/omap-secure.c size = ALIGN(size, SECTION_SIZE); ALIGN 151 arch/arm/mach-omap2/omap4-common.c dram_sync_size = ALIGN(PAGE_SIZE, SZ_1M); ALIGN 1157 arch/arm/mm/cache-l2x0.c ALIGN(filter[0] + filter[1], SZ_1M); ALIGN 1378 arch/arm/mm/cache-l2x0.c end = ALIGN(end, CACHE_LINE_SIZE); ALIGN 201 arch/arm/mm/cache-uniphier.c size = ALIGN(size, data->line_size); ALIGN 374 arch/arm/mm/init.c ALIGN(prev_end, PAGES_PER_SECTION)); ALIGN 395 arch/arm/mm/init.c prev_end = ALIGN(memblock_region_memory_end_pfn(reg), ALIGN 402 arch/arm/mm/init.c ALIGN(prev_end, PAGES_PER_SECTION)); ALIGN 350 arch/arm/net/bpf_jit_32.c #define STACK_SIZE ALIGN(_STACK_SIZE, STACK_ALIGNMENT) ALIGN 781 arch/arm64/kernel/ptrace.c return ALIGN(header->size, SVE_VQ_BYTES); ALIGN 504 arch/arm64/mm/init.c start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); ALIGN 518 arch/arm64/mm/init.c prev_end = ALIGN(__phys_to_pfn(reg->base + reg->size), ALIGN 524 arch/arm64/mm/init.c free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); ALIGN 489 arch/ia64/hp/common/sba_iommu.c boundary_size = ALIGN(boundary_size, 1ULL << iovp_shift) >> iovp_shift; ALIGN 1621 arch/ia64/hp/common/sba_iommu.c ASSERT(ALIGN((unsigned long) ioc->pdir_base, 4*1024) == (unsigned long) ioc->pdir_base); ALIGN 1301 arch/ia64/kernel/efi.c start = ALIGN(md->phys_addr, alignment); ALIGN 1307 arch/ia64/kernel/efi.c start = ALIGN(__pa(r[i].end), alignment); ALIGN 248 arch/ia64/kernel/signal.c new_rbs = ALIGN(current->sas_ss_sp, ALIGN 197 arch/ia64/mm/contig.c map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * ALIGN 608 arch/ia64/mm/discontig.c VMALLOC_END -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * ALIGN 413 arch/ia64/mm/init.c (end_address != ALIGN(end_address, 1UL << PMD_SHIFT))) ALIGN 17 arch/m68k/include/asm/dvma.h #define DVMA_PAGE_ALIGN(addr) ALIGN(addr, DVMA_PAGE_SIZE) ALIGN 240 arch/mips/cavium-octeon/dma-octeon.c swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); ALIGN 295 arch/mips/cavium-octeon/executive/cvmx-bootmem.c address_min = ALIGN(address_min, alignment); ALIGN 333 arch/mips/cavium-octeon/executive/cvmx-bootmem.c ALIGN(max(address_min, ent_addr), alignment); ALIGN 782 arch/mips/cavium-octeon/executive/cvmx-bootmem.c size = ALIGN(size, CVMX_BOOTMEM_ALIGNMENT_SIZE); ALIGN 266 arch/mips/kernel/relocate.c offset += ALIGN(kernel_length, 0xffff); ALIGN 349 arch/mips/kernel/relocate.c RELOCATED(ALIGN((long)&_end, PAGE_SIZE)); ALIGN 240 arch/mips/kernel/setup.c for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) ALIGN 173 arch/mips/kernel/vpe.c ret = ALIGN(*size, sechdr->sh_addralign ? : 1); ALIGN 312 arch/mips/kvm/mips.c gebase = kzalloc(ALIGN(size, PAGE_SIZE), GFP_KERNEL); ALIGN 319 arch/mips/kvm/mips.c ALIGN(size, PAGE_SIZE), gebase); ALIGN 375 arch/mips/kvm/mips.c (unsigned long)gebase + ALIGN(size, PAGE_SIZE)); ALIGN 288 arch/mips/mm/init.c cfg->lower = ALIGN(PFN_PHYS(start_pfn), maar_align); ALIGN 171 arch/mips/oprofile/backtrace.c const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); ALIGN 23 arch/nds32/include/asm/memory.h #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_32M) ALIGN 21 arch/parisc/include/asm/linkage.h ALIGN !\ ALIGN 476 arch/parisc/kernel/irq.c irq_stack = ALIGN(irq_stack + sizeof(irq_stack_union.slock), ALIGN 61 arch/parisc/kernel/kexec_file.c kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8); ALIGN 350 arch/parisc/kernel/module.c me->core_layout.size = ALIGN(me->core_layout.size, 16); ALIGN 354 arch/parisc/kernel/module.c me->core_layout.size = ALIGN(me->core_layout.size, 16); ALIGN 432 arch/parisc/kernel/module.c loc0 = ALIGN(loc0, sizeof(struct stub_entry)); ALIGN 250 arch/parisc/kernel/process.c usp = ALIGN(usp, 4); ALIGN 41 arch/parisc/mm/hugetlbpage.c addr = ALIGN(addr, huge_page_size(h)); ALIGN 53 arch/powerpc/kernel/eeh_pe.c alloc_size = ALIGN(alloc_size, cache_line_size()); ALIGN 67 arch/powerpc/kernel/eeh_pe.c pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), ALIGN 458 arch/powerpc/kernel/fadump.c ALIGN(fw_dump.boot_memory_size, align); ALIGN 240 arch/powerpc/kernel/iommu.c boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 243 arch/powerpc/kernel/iommu.c boundary_size = ALIGN(1UL << 32, 1 << tbl->it_page_shift); ALIGN 749 arch/powerpc/kernel/prom.c limit = ALIGN(memory_limit ?: memblock_phys_mem_size(), PAGE_SIZE); ALIGN 792 arch/powerpc/kernel/prom_init.c prom_memory_limit = ALIGN(prom_memory_limit, 0x1000000); ALIGN 186 arch/powerpc/kernel/vdso.c vdso_base = ALIGN(vdso_base, VDSO_ALIGNMENT); ALIGN 38 arch/powerpc/kvm/book3s_64_vio.c return ALIGN(iommu_pages * sizeof(u64), PAGE_SIZE) / PAGE_SIZE; ALIGN 46 arch/powerpc/kvm/book3s_64_vio.c return tce_pages + ALIGN(stt_bytes, PAGE_SIZE) / PAGE_SIZE; ALIGN 1975 arch/powerpc/kvm/book3s_hv.c ALIGN(set_reg_val(id, *val), 1UL << 24); ALIGN 424 arch/powerpc/mm/book3s64/hash_pgtable.c end = ALIGN(end, step); // aligns up ALIGN 75 arch/powerpc/mm/book3s64/radix_hugetlbpage.c addr = ALIGN(addr, huge_page_size(h)); ALIGN 79 arch/powerpc/mm/slice.c unsigned long align_end = ALIGN(end, (1UL << SLICE_HIGH_SHIFT)); ALIGN 157 arch/powerpc/mm/slice.c unsigned long align_end = ALIGN(end, (1UL << SLICE_HIGH_SHIFT)); ALIGN 2684 arch/powerpc/xmon/xmon.c count = ALIGN(count, 16); ALIGN 2780 arch/powerpc/xmon/xmon.c ndump = ALIGN(ndump, 16); ALIGN 43 arch/riscv/include/asm/processor.h - ALIGN(sizeof(struct pt_regs), STACK_ALIGN))) ALIGN 311 arch/riscv/kernel/asm-offsets.c DEFINE(PT_SIZE_ON_STACK, ALIGN(sizeof(struct pt_regs), STACK_ALIGN)); ALIGN 52 arch/riscv/kernel/stacktrace.c high = ALIGN(sp, THREAD_SIZE); ALIGN 65 arch/s390/boot/compressed/decompressor.c #define decompress_offset ALIGN((unsigned long)_end + HEAP_SIZE, PAGE_SIZE) ALIGN 104 arch/s390/boot/kaslr.c safe_addr = ALIGN(safe_addr, THREAD_SIZE); ALIGN 26 arch/s390/boot/mem_detect.c unsigned long offset = ALIGN(mem_safe_offset(), sizeof(u64)); ALIGN 30 arch/s390/boot/mem_detect.c offset = ALIGN(INITRD_START + INITRD_SIZE, sizeof(u64)); ALIGN 15 arch/s390/include/asm/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 28 arch/s390/include/asm/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 1766 arch/s390/kernel/ipl.c report->size = ALIGN(ipib->hdr.len, 8); ALIGN 42 arch/s390/kernel/kexec_elf.c buf.mem = ALIGN(phdr->p_paddr, phdr->p_align); ALIGN 46 arch/s390/kernel/kexec_elf.c data->memsz = ALIGN(data->memsz, phdr->p_align) + buf.memsz; ALIGN 93 arch/s390/kernel/kexec_elf.c size = ALIGN(size, phdr->p_align); ALIGN 101 arch/s390/kernel/kexec_elf.c size += ALIGN(phdr->p_filesz, phdr->p_align); ALIGN 124 arch/s390/kernel/machine_kexec_file.c data->memsz = ALIGN(data->memsz, PAGE_SIZE); ALIGN 148 arch/s390/kernel/machine_kexec_file.c data->memsz = ALIGN(data->memsz, PAGE_SIZE); ALIGN 176 arch/s390/kernel/machine_kexec_file.c data->memsz = ALIGN(data->memsz, PAGE_SIZE); ALIGN 164 arch/s390/kernel/module.c me->core_layout.size = ALIGN(me->core_layout.size, 4); ALIGN 680 arch/s390/kernel/setup.c crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); ALIGN 681 arch/s390/kernel/setup.c crash_size = ALIGN(crash_size, KEXEC_CRASH_MEM_ALIGN); ALIGN 346 arch/s390/mm/hugetlbpage.c addr = ALIGN(addr, huge_page_size(h)); ALIGN 266 arch/s390/pci/pci_dma.c boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 439 arch/sh/mm/pmb.c aligned = ALIGN(last_addr, pmb_sizes[i].size) - phys; ALIGN 170 arch/sparc/kernel/iommu-common.c boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 173 arch/sparc/kernel/iommu-common.c boundary_size = ALIGN(1ULL << 32, 1 << iommu->table_shift); ALIGN 475 arch/sparc/kernel/iommu.c seg_boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 26 arch/sparc/kernel/iommu_common.h #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE) ALIGN 511 arch/sparc/kernel/pci_sun4v.c seg_boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 121 arch/sparc/mm/hugetlbpage.c addr = ALIGN(addr, huge_page_size(h)); ALIGN 2611 arch/sparc/mm/init_64.c vend = ALIGN(vend, PMD_SIZE); ALIGN 40 arch/unicore32/kernel/stacktrace.c high = ALIGN(low, THREAD_SIZE); ALIGN 255 arch/unicore32/mm/init.c prev_bank_end = ALIGN(bank_pfn_end(bank), MAX_ORDER_NR_PAGES); ALIGN 514 arch/x86/boot/compressed/kaslr.c addr = ALIGN(region->start, PUD_SIZE); ALIGN 611 arch/x86/boot/compressed/kaslr.c region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); ALIGN 812 arch/x86/boot/compressed/kaslr.c minimum = ALIGN(minimum, CONFIG_PHYSICAL_ALIGN); ALIGN 827 arch/x86/boot/compressed/kaslr.c minimum = ALIGN(minimum, CONFIG_PHYSICAL_ALIGN); ALIGN 829 arch/x86/boot/compressed/kaslr.c image_size = ALIGN(image_size, CONFIG_PHYSICAL_ALIGN); ALIGN 396 arch/x86/boot/compressed/misc.c needed_size = ALIGN(needed_size, MIN_KERNEL_ALIGN); ALIGN 314 arch/x86/crypto/aesni-intel_glue.c return (struct crypto_aes_ctx *)ALIGN(addr, align); ALIGN 42 arch/x86/include/asm/page_types.h #define __PHYSICAL_START ALIGN(CONFIG_PHYSICAL_START, \ ALIGN 76 arch/x86/include/asm/realmode.h return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); ALIGN 98 arch/x86/kernel/amd_gart_64.c base_index = ALIGN(iommu_bus_base & dma_get_seg_boundary(dev), ALIGN 100 arch/x86/kernel/amd_gart_64.c boundary_size = ALIGN((u64)dma_get_seg_boundary(dev) + 1, ALIGN 312 arch/x86/kernel/cpu/mtrr/cleanup.c range_basek = ALIGN(state->range_startk, gran_sizek); ALIGN 317 arch/x86/kernel/cpu/mtrr/cleanup.c range_sizek = ALIGN(state->range_sizek, gran_sizek); ALIGN 328 arch/x86/kernel/cpu/mtrr/cleanup.c range0_sizek = ALIGN(state->range_sizek, chunk_sizek); ALIGN 152 arch/x86/kernel/fpu/init.c BUILD_BUG_ON(sizeof(TYPE) != ALIGN(offsetofend(TYPE, MEMBER), \ ALIGN 381 arch/x86/kernel/fpu/xstate.c ALIGN(xstate_comp_offsets[i], 64); ALIGN 593 arch/x86/kernel/fpu/xstate.c paranoid_xstate_size = ALIGN(paranoid_xstate_size, 64); ALIGN 412 arch/x86/kernel/kexec-bzimage64.c params_cmdline_sz = ALIGN(params_cmdline_sz, 16); ALIGN 413 arch/x86/kernel/kexec-bzimage64.c kbuf.bufsz = params_cmdline_sz + ALIGN(efi_map_sz, 16) + ALIGN 421 arch/x86/kernel/kexec-bzimage64.c efi_setup_data_offset = efi_map_offset + ALIGN(efi_map_sz, 16); ALIGN 222 arch/x86/kernel/pci-calgary_64.c boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, ALIGN 802 arch/x86/kernel/setup.c memblock_reserve(0, ALIGN(reserve_low, PAGE_SIZE)); ALIGN 125 arch/x86/lib/usercopy_64.c dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); ALIGN 144 arch/x86/lib/usercopy_64.c unsigned len = min_t(unsigned, size, ALIGN(dest, 8) - dest); ALIGN 131 arch/x86/mm/init_64.c for (addr = start; addr <= end; addr = ALIGN(addr + 1, PGDIR_SIZE)) { ALIGN 168 arch/x86/mm/init_64.c for (addr = start; addr <= end; addr = ALIGN(addr + 1, PGDIR_SIZE)) { ALIGN 216 arch/x86/mm/mem_encrypt_identity.c ppd->vaddr_end = ALIGN(ppd->vaddr, PMD_PAGE_SIZE); ALIGN 310 arch/x86/mm/mem_encrypt_identity.c kernel_end = ALIGN(__pa_symbol(_end), PMD_PAGE_SIZE); ALIGN 368 arch/x86/mm/mem_encrypt_identity.c workarea_end = ALIGN(workarea_start + workarea_len, PMD_PAGE_SIZE); ALIGN 857 arch/x86/mm/mpx.c unsigned long next_unmap_start = ALIGN(one_unmap_start+1, ALIGN 260 arch/x86/mm/numa_emulation.c min_size = ALIGN(max(min_size, FAKE_NODE_MIN_SIZE), FAKE_NODE_MIN_SIZE); ALIGN 610 arch/x86/mm/pti.c unsigned long end = ALIGN((unsigned long)_end, PMD_PAGE_SIZE); ALIGN 182 arch/x86/net/bpf_jit_comp32.c #define STACK_SIZE ALIGN(_STACK_SIZE, STACK_ALIGNMENT) ALIGN 899 arch/x86/platform/efi/efi.c num_pages = ALIGN(efi.memmap.nr_map * efi.memmap.desc_size, PAGE_SIZE); ALIGN 300 arch/x86/xen/p2m.c xen_p2m_size = ALIGN(xen_start_info->nr_pages, P2M_PER_PAGE); ALIGN 424 arch/x86/xen/p2m.c vm.size = ALIGN(sizeof(unsigned long) * max(xen_max_p2m_pfn, p2m_limit), ALIGN 176 arch/xtensa/kernel/stacktrace.c sp_end = ALIGN(a1, THREAD_SIZE); ALIGN 29 arch/xtensa/mm/mmu.c n_pages = ALIGN(n_pages, PTRS_PER_PTE); ALIGN 2313 block/blk-mq.c BUILD_BUG_ON(ALIGN(offsetof(struct blk_mq_hw_ctx, srcu), ALIGN 143 crypto/ablkcipher.c unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); ALIGN 148 crypto/ablkcipher.c n = ALIGN(sizeof(struct ablkcipher_buffer), alignmask + 1); ALIGN 158 crypto/ablkcipher.c dst = (u8 *)ALIGN((unsigned long)base, alignmask + 1); ALIGN 183 crypto/ablkcipher.c unsigned aligned_bs = ALIGN(bs, alignmask + 1); ALIGN 193 crypto/ablkcipher.c iv = (u8 *)ALIGN((unsigned long)walk->iv_buffer, alignmask + 1); ALIGN 309 crypto/ablkcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 40 crypto/aead.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 90 crypto/ahash.c walk->offset = ALIGN(walk->offset, alignmask + 1); ALIGN 181 crypto/ahash.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 154 crypto/authenc.c hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), ALIGN 301 crypto/authenc.c hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), ALIGN 435 crypto/authenc.c ctx->reqoff = ALIGN(2 * auth->digestsize + auth_base->cra_alignmask, ALIGN 360 crypto/authencesn.c ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth), ALIGN 73 crypto/blkcipher.c addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); ALIGN 145 crypto/blkcipher.c unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); ALIGN 161 crypto/blkcipher.c walk->dst.virt.addr = (u8 *)ALIGN((unsigned long)walk->buffer, ALIGN 272 crypto/blkcipher.c unsigned aligned_bs = ALIGN(bs, walk->alignmask + 1); ALIGN 283 crypto/blkcipher.c iv = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); ALIGN 382 crypto/blkcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 447 crypto/blkcipher.c len = ALIGN(len, (unsigned long)alg->cra_alignmask + 1); ALIGN 480 crypto/blkcipher.c addr = ALIGN(addr, align); ALIGN 481 crypto/blkcipher.c addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); ALIGN 725 crypto/ccm.c ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + ALIGN 947 crypto/ccm.c inst->alg.descsize = ALIGN(sizeof(struct cbcmac_desc_ctx), ALIGN 33 crypto/cipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 67 crypto/cipher.c u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 265 crypto/cmac.c ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) ALIGN 270 crypto/cmac.c ALIGN(sizeof(struct cmac_tfm_ctx), crypto_tfm_ctx_alignment()) ALIGN 305 crypto/cts.c reqsize = ALIGN(sizeof(struct crypto_cts_reqctx) + ALIGN 847 crypto/gcm.c ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + ALIGN 1075 crypto/gcm.c ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + ALIGN 30 crypto/hmac.c return (void *)ALIGN((unsigned long)p, align); ALIGN 213 crypto/hmac.c ss = ALIGN(ss, alg->cra_alignmask + 1); ALIGN 218 crypto/hmac.c ALIGN(ss * 2, crypto_tfm_ctx_alignment()); ALIGN 44 crypto/shash.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 97 crypto/skcipher.c addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); ALIGN 406 crypto/skcipher.c aligned_bs = ALIGN(bs, alignmask + 1); ALIGN 811 crypto/skcipher.c alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ALIGN 228 crypto/xcbc.c inst->alg.descsize = ALIGN(sizeof(struct xcbc_desc_ctx), ALIGN 234 crypto/xcbc.c inst->alg.base.cra_ctxsize = ALIGN(sizeof(struct xcbc_tfm_ctx), ALIGN 66 drivers/acpi/nfit/mce.c ALIGN(mce->addr, L1_CACHE_BYTES), ALIGN 2279 drivers/android/binder.c off_start_offset = ALIGN(buffer->data_size, sizeof(void *)); ALIGN 3122 drivers/android/binder.c added_size = ALIGN(secctx_sz, sizeof(u64)); ALIGN 3151 drivers/android/binder.c size_t buf_offset = ALIGN(tr->data_size, sizeof(void *)) + ALIGN 3152 drivers/android/binder.c ALIGN(tr->offsets_size, sizeof(void *)) + ALIGN 3153 drivers/android/binder.c ALIGN(extra_buffers_size, sizeof(void *)) - ALIGN 3154 drivers/android/binder.c ALIGN(secctx_sz, sizeof(u64)); ALIGN 3188 drivers/android/binder.c ALIGN(tr->data_size, sizeof(void *)), ALIGN 3216 drivers/android/binder.c off_start_offset = ALIGN(tr->data_size, sizeof(void *)); ALIGN 3219 drivers/android/binder.c sg_buf_offset = ALIGN(off_end_offset, sizeof(void *)); ALIGN 3221 drivers/android/binder.c ALIGN(secctx_sz, sizeof(u64)); ALIGN 3389 drivers/android/binder.c sg_buf_offset += ALIGN(bp->length, sizeof(u64)); ALIGN 4496 drivers/android/binder.c ALIGN(t->buffer->data_size, ALIGN 365 drivers/android/binder_alloc.c data_offsets_size = ALIGN(data_size, sizeof(void *)) + ALIGN 366 drivers/android/binder_alloc.c ALIGN(offsets_size, sizeof(void *)); ALIGN 374 drivers/android/binder_alloc.c size = data_offsets_size + ALIGN(extra_buffers_size, sizeof(void *)); ALIGN 601 drivers/android/binder_alloc.c size = ALIGN(buffer->data_size, sizeof(void *)) + ALIGN 602 drivers/android/binder_alloc.c ALIGN(buffer->offsets_size, sizeof(void *)) + ALIGN 603 drivers/android/binder_alloc.c ALIGN(buffer->extra_buffers_size, sizeof(void *)); ALIGN 266 drivers/android/binder_alloc_selftest.c end = ALIGN(end, PAGE_SIZE); ALIGN 544 drivers/atm/nicstar.c writel(ALIGN(card->tsq.dma, NS_TSQ_ALIGNMENT), card->membase + TSQB); ALIGN 563 drivers/atm/nicstar.c writel(ALIGN(card->rsq.dma, NS_RSQ_ALIGNMENT), card->membase + RSQB); ALIGN 598 drivers/block/drbd/drbd_bitmap.c do_now = min_t(size_t, ALIGN(offset + 1, LWPP), end) - offset; ALIGN 668 drivers/block/drbd/drbd_bitmap.c bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); ALIGN 675 drivers/block/drbd/drbd_bitmap.c words = ALIGN(bits, 64) >> LN2_BPL; ALIGN 688 drivers/block/drbd/drbd_bitmap.c want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT; ALIGN 832 drivers/block/drbd/drbd_bitmap.c do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; ALIGN 883 drivers/block/drbd/drbd_bitmap.c do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; ALIGN 1477 drivers/block/drbd/drbd_bitmap.c unsigned long sl = ALIGN(s,BITS_PER_LONG); ALIGN 853 drivers/block/drbd/drbd_nl.c md_size_sect = ALIGN(md_size_sect, BM_SECT_PER_EXT); ALIGN 855 drivers/block/drbd/drbd_nl.c md_size_sect = ALIGN(md_size_sect, 8); ALIGN 1480 drivers/block/null_blk_main.c tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; ALIGN 655 drivers/block/ps3vram.c ddr_size = ALIGN(memparse(size, &rest), 1024*1024); ALIGN 262 drivers/crypto/amcc/crypto4xx_alg.c unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / ALIGN 1475 drivers/crypto/atmel-sha.c sg->length = ALIGN(len, sizeof(u32)); ALIGN 841 drivers/crypto/axis/artpec6_crypto.c ALIGN(addr, ARTPEC_CACHE_LINE_MAX) - ALIGN 1183 drivers/crypto/axis/artpec6_crypto.c unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / ALIGN 1803 drivers/crypto/axis/artpec6_crypto.c size_t pad = ALIGN(areq->cryptlen, AES_BLOCK_SIZE) - ALIGN 126 drivers/crypto/bcm/cipher.h u8 bcm_spu_req_hdr[ALIGN(SPU2_HEADER_ALLOC_LEN, SPU_MSG_ALIGN)]; ALIGN 129 drivers/crypto/bcm/cipher.h u8 iv_ctr[ALIGN(2 * AES_BLOCK_SIZE, SPU_MSG_ALIGN)]; ALIGN 132 drivers/crypto/bcm/cipher.h u8 digest[ALIGN(MAX_DIGEST_SIZE, SPU_MSG_ALIGN)]; ALIGN 135 drivers/crypto/bcm/cipher.h u8 spu_req_pad[ALIGN(SPU_PAD_LEN_MAX, SPU_MSG_ALIGN)]; ALIGN 138 drivers/crypto/bcm/cipher.h u8 tx_stat[ALIGN(SPU_TX_STATUS_LEN, SPU_MSG_ALIGN)]; ALIGN 143 drivers/crypto/bcm/cipher.h u8 spu_resp_hdr[ALIGN(SPU2_HEADER_ALLOC_LEN, SPU_MSG_ALIGN)]; ALIGN 146 drivers/crypto/bcm/cipher.h u8 rx_stat_pad[ALIGN(SPU_STAT_PAD_MAX, SPU_MSG_ALIGN)]; ALIGN 149 drivers/crypto/bcm/cipher.h u8 rx_stat[ALIGN(SPU_RX_STATUS_LEN, SPU_MSG_ALIGN)]; ALIGN 158 drivers/crypto/bcm/cipher.h u8 supdt_tweak[ALIGN(SPU_SUPDT_LEN, SPU_MSG_ALIGN)]; ALIGN 164 drivers/crypto/bcm/cipher.h u8 gcmpad[ALIGN(AES_BLOCK_SIZE, SPU_MSG_ALIGN)]; ALIGN 167 drivers/crypto/bcm/cipher.h u8 req_aad_pad[ALIGN(SPU_PAD_LEN_MAX, SPU_MSG_ALIGN)]; ALIGN 170 drivers/crypto/bcm/cipher.h u8 resp_aad[ALIGN(MAX_ASSOC_SIZE + MAX_IV_SIZE, ALIGN 221 drivers/crypto/bcm/cipher.h u8 bcm_spu_req_hdr[ALIGN(SPU2_HEADER_ALLOC_LEN, SPU_MSG_ALIGN)]; ALIGN 81 drivers/crypto/caam/desc_constr.h return ALIGN(sg_nents, 4); ALIGN 581 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - ALIGN 589 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - ALIGN 590 drivers/crypto/caam/desc_constr.h ALIGN(adata->keylen, CAAM_CMD_SZ)) / ALIGN 36 drivers/crypto/caam/key_gen.h return ALIGN(split_key_len(hash), 16); ALIGN 503 drivers/crypto/ccp/psp-dev.c data_size = ALIGN(sizeof(struct sev_data_download_firmware), 32); ALIGN 667 drivers/crypto/ccp/psp-dev.c data_size = ALIGN(sizeof(struct sev_data_get_id), 8); ALIGN 145 drivers/crypto/hisilicon/qm.c #define QMC_ALIGN(sz) ALIGN(sz, 32) ALIGN 45 drivers/crypto/omap-aes-gcm.c alen = ALIGN(dd->assoc_len, AES_BLOCK_SIZE); ALIGN 46 drivers/crypto/omap-aes-gcm.c clen = ALIGN(dd->total, AES_BLOCK_SIZE); ALIGN 106 drivers/crypto/omap-aes-gcm.c alen = ALIGN(assoclen, AES_BLOCK_SIZE); ALIGN 107 drivers/crypto/omap-aes-gcm.c clen = ALIGN(cryptlen, AES_BLOCK_SIZE); ALIGN 62 drivers/crypto/omap-crypto.c new_len = ALIGN(total, bs); ALIGN 92 drivers/crypto/padlock-aes.c return (struct aes_ctx *)ALIGN(addr, align); ALIGN 28 drivers/crypto/qce/dma.h ALIGN(sizeof(struct qce_result_dump), QCE_BAM_BURST_SIZE) ALIGN 459 drivers/crypto/s5p-sss.c len = ALIGN(dev->req->nbytes, AES_BLOCK_SIZE); ALIGN 526 drivers/crypto/s5p-sss.c len = ALIGN(dev->req->nbytes, AES_BLOCK_SIZE); ALIGN 352 drivers/crypto/stm32/stm32-cryp.c total_in = ALIGN(cryp->total_in, cryp->hw_blocksize); ALIGN 356 drivers/crypto/stm32/stm32-cryp.c total_out = ALIGN(cryp->total_out, cryp->hw_blocksize); ALIGN 655 drivers/crypto/stm32/stm32-cryp.c len = ALIGN(cryp->total_in_save, cryp->hw_blocksize); ALIGN 659 drivers/crypto/stm32/stm32-cryp.c len = ALIGN(cryp->total_out_save, cryp->hw_blocksize); ALIGN 490 drivers/crypto/stm32/stm32-hash.c ALIGN(ctx->keylen, sizeof(u32))); ALIGN 570 drivers/crypto/stm32/stm32-hash.c len = (ALIGN(sg->length, 16) - 16); ALIGN 581 drivers/crypto/stm32/stm32-hash.c sg->length = ALIGN(sg->length, ALIGN 151 drivers/crypto/ux500/hash/hash_core.c sg->length = ALIGN(sg->length, HASH_DMA_ALIGN_SIZE); ALIGN 43 drivers/dax/kmem.c kmem_start = ALIGN(res->start, memory_block_size_bytes()); ALIGN 2646 drivers/dma/coh901318.c ALIGN(sizeof(struct coh901318_base), 4) + ALIGN 2653 drivers/dma/coh901318.c base->chans = ((void *)base) + ALIGN(sizeof(struct coh901318_base), 4); ALIGN 481 drivers/dma/fsl_raid.c gfmq_len = ALIGN(src_cnt, 4); ALIGN 366 drivers/dma/mic_x100_dma.c desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); ALIGN 395 drivers/dma/mic_x100_dma.c desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); ALIGN 462 drivers/dma/qcom/bam_dma.c writel_relaxed(ALIGN(bchan->fifo_phys, sizeof(struct bam_desc_hw)), ALIGN 955 drivers/dma/sh/rcar-dmac.c size = ALIGN(dev_addr, 1ULL << 32) - dev_addr; ALIGN 959 drivers/dma/sh/rcar-dmac.c size = ALIGN(mem_addr, 1ULL << 32) - mem_addr; ALIGN 1002 drivers/dma/ste_dma40.c u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); ALIGN 3197 drivers/dma/ste_dma40.c base = kzalloc(ALIGN(sizeof(struct d40_base), 4) + ALIGN 3214 drivers/dma/ste_dma40.c base->phy_chans = ((void *)base) + ALIGN(sizeof(struct d40_base), 4); ALIGN 197 drivers/dma/ste_dma40_ll.c u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); ALIGN 206 drivers/dma/ste_dma40_ll.c return ALIGN(size / 2, max_w); ALIGN 245 drivers/dma/ste_dma40_ll.c next = ALIGN(next + sizeof(struct d40_phy_lli), ALIGN 294 drivers/dma/ste_dma40_ll.c l_phys = ALIGN(lli_phys + (lli - lli_sg) * ALIGN 43 drivers/firmware/efi/capsule-loader.c pages_needed = ALIGN(cap_info->total_size, PAGE_SIZE) / PAGE_SIZE; ALIGN 459 drivers/firmware/qcom_scm.c ptr_sz = ALIGN(src_sz, SZ_64) + ALIGN(mem_to_map_sz, SZ_64) + ALIGN 460 drivers/firmware/qcom_scm.c ALIGN(dest_sz, SZ_64); ALIGN 474 drivers/firmware/qcom_scm.c mem_to_map = ptr + ALIGN(src_sz, SZ_64); ALIGN 475 drivers/firmware/qcom_scm.c mem_to_map_phys = ptr_phys + ALIGN(src_sz, SZ_64); ALIGN 481 drivers/firmware/qcom_scm.c destvm = ptr + ALIGN(mem_to_map_sz, SZ_64) + ALIGN(src_sz, SZ_64); ALIGN 482 drivers/firmware/qcom_scm.c dest_phys = ptr_phys + ALIGN(mem_to_map_sz, SZ_64) + ALIGN(src_sz, SZ_64); ALIGN 545 drivers/firmware/tegra/ivc.c return ALIGN(size, TEGRA_IVC_ALIGN); ALIGN 108 drivers/fpga/dfl-fme-pr.c length = ALIGN(port_pr.buffer_size, 4); ALIGN 1747 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u8 align_num_bytes = ALIGN(num_bytes, 4); ALIGN 174 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c len = ALIGN(len, 4); ALIGN 226 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE); ALIGN 458 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 145 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c height = ALIGN(mode_cmd->height, 8); ALIGN 147 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c aligned_size = ALIGN(size, PAGE_SIZE); ALIGN 402 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index = ALIGN(adev->uvd.fw->size, 8); ALIGN 768 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->size = ALIGN(args->size, PAGE_SIZE); ALIGN 187 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c size_af = max_mc_address + 1 - ALIGN(mc->fb_end + 1, four_gb); ALIGN 233 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c ALIGN(mc->gart_end + 1, sixteen_gb); ALIGN 234 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c size_af = mc->mc_mask + 1 - ALIGN(mc->fb_end + 1, sixteen_gb); ALIGN 238 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c ALIGN(mc->fb_end + 1, sixteen_gb); ALIGN 245 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c mc->agp_start = ALIGN(mc->fb_end + 1, sixteen_gb); ALIGN 369 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size = ALIGN(size, PAGE_SIZE); ALIGN 532 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c page_align = ALIGN(bp->byte_align, 4); ALIGN 533 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size = ALIGN(size, 4) << PAGE_SHIFT; ALIGN 536 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 537 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size = ALIGN(size, PAGE_SIZE); ALIGN 1123 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->aligned_element_size = ALIGN(data->element_size, 8); ALIGN 1217 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c unsigned int align_space = ALIGN(new_space, 1024); ALIGN 541 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), ALIGN 610 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); ALIGN 612 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c fw_offset += ALIGN(ucode->ucode_size, PAGE_SIZE); ALIGN 525 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned height_in_mb = ALIGN(height / 16, 2); ALIGN 533 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c image_size = ALIGN(image_size, 1024); ALIGN 593 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c min_dpb_size += ALIGN(tmp * 7 * 16, 64); ALIGN 611 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); ALIGN 667 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2; ALIGN 668 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c image_size = ALIGN(image_size, 256); ALIGN 952 drivers/gpu/drm/amd/amdgpu/cik.c length_dw = ALIGN(length_bytes, 4) / 4; ALIGN 781 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 788 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 795 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 802 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 812 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(adev->gfx.rlc.save_restore_list_cntl_size_bytes, PAGE_SIZE); ALIGN 818 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(adev->gfx.rlc.save_restore_list_gpm_size_bytes, PAGE_SIZE); ALIGN 824 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(adev->gfx.rlc.save_restore_list_srm_size_bytes, PAGE_SIZE); ALIGN 833 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes) - ALIGN 840 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); ALIGN 849 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes) - ALIGN 856 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, ALIGN 2009 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c rlc_toc->offset = ALIGN(rlc_toc->offset * 4, PAGE_SIZE); ALIGN 4758 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gds_addr = ALIGN(csa_addr + AMDGPU_CSA_SIZE - adev->gds.gds_size, ALIGN 3320 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c adev->gfx.rlc.cp_table_size = ALIGN(CP_ME_TABLE_SIZE * 5 * 4, 2048); /* CP JT */ ALIGN 1169 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1176 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1183 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1190 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1197 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1202 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); ALIGN 1209 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(64 * PAGE_SIZE), PAGE_SIZE); ALIGN 1218 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1315 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.rlc.cp_table_size = ALIGN(96 * 5 * 4, 2048) + (64 * 1024); /* JT + GDS */ ALIGN 1574 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c total_size = ALIGN(total_size, 256); ALIGN 1576 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c total_size += ALIGN(sizeof(vgpr_init_compute_shader), 256); ALIGN 1113 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1120 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1127 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1239 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1249 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(adev->gfx.rlc.save_restore_list_cntl_size_bytes, PAGE_SIZE); ALIGN 1255 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(adev->gfx.rlc.save_restore_list_gpm_size_bytes, PAGE_SIZE); ALIGN 1261 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(adev->gfx.rlc.save_restore_list_srm_size_bytes, PAGE_SIZE); ALIGN 1321 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); ALIGN 1327 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); ALIGN 1336 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); ALIGN 1345 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, ALIGN 1658 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.rlc.cp_table_size = ALIGN(96 * 5 * 4, 2048) + (64 * 1024); /* JT + GDS */ ALIGN 2025 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.ngg.gds_reserve_size = ALIGN(5 * 4, 0x40); ALIGN 4284 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c total_size = ALIGN(total_size, 256); ALIGN 4286 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c total_size += ALIGN(sizeof(vgpr_init_compute_shader), 256); ALIGN 172 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 329 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 522 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 218 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 1174 drivers/gpu/drm/amd/amdgpu/si.c length_dw = ALIGN(length_bytes, 4) / 4; ALIGN 326 drivers/gpu/drm/amd/amdgpu/soc15.c length_dw = ALIGN(length_bytes, 4) / 4; ALIGN 436 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 442 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 456 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 119 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 151 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 150 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 156 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); ALIGN 436 drivers/gpu/drm/amd/amdgpu/vi.c length_dw = ALIGN(length_bytes, 4) / 4; ALIGN 97 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c memset(m, 0, ALIGN(sizeof(struct cik_mqd), 256)); ALIGN 84 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c ALIGN(q->ctl_stack_size, PAGE_SIZE) + ALIGN 85 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c ALIGN(sizeof(struct v10_compute_mqd), PAGE_SIZE), ALIGN 99 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c ALIGN(q->ctl_stack_size, PAGE_SIZE) + ALIGN 100 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c ALIGN(sizeof(struct v9_mqd), PAGE_SIZE), ALIGN 863 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ALIGN(le32_to_cpu(hdr->header.ucode_size_bytes) - le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE); ALIGN 868 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ALIGN(le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE); ALIGN 196 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); ALIGN 760 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c ALIGN(UCODE_ID_RLC_SCRATCH_SIZE_BYTE, 32) + ALIGN 761 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c ALIGN(UCODE_ID_RLC_SRM_ARAM_SIZE_BYTE, 32) + ALIGN 762 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c ALIGN(UCODE_ID_RLC_SRM_DRAM_SIZE_BYTE, 32) + ALIGN 763 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c ALIGN(sizeof(struct SMU8_MultimediaPowerLogData), 32) + ALIGN 764 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c ALIGN(sizeof(struct SMU8_Fusion_ClkTable), 32); ALIGN 79 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c kfb->aligned_w = ALIGN(fb->width, alignment_w); ALIGN 80 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c kfb->aligned_h = ALIGN(fb->height, alignment_h); ALIGN 88 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c kfb->offset_payload = ALIGN(n_blocks * AFBC_HEADER_SIZE, ALIGN 93 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c ALIGN(bpp * AFBC_SUPERBLK_PIXELS / 8, ALIGN 33 drivers/gpu/drm/arm/display/komeda/komeda_kms.c args->pitch = ALIGN(pitch, mdev->chip.bus_width); ALIGN 931 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_h = ALIGN(dflow->in_h, 2) / 2 + l_dflow->overlap; ALIGN 935 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_h = ALIGN(dflow->in_h, 2) / 2 + l_dflow->overlap; ALIGN 939 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_h = ALIGN(((dflow->in_h + 1) >> 1), 2); ALIGN 951 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_h = ALIGN(l_dflow->in_h, 2); ALIGN 952 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c r_dflow->in_h = ALIGN(r_dflow->in_h, 2); ALIGN 961 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_w = ALIGN(dflow->in_w, 2) / 2 + l_dflow->overlap; ALIGN 964 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_w = ALIGN(dflow->in_w, 2) / 2 + l_dflow->overlap; ALIGN 967 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_w = ALIGN(((dflow->in_w + 1) >> 1), 2); ALIGN 973 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->in_w = ALIGN(l_dflow->in_w, 2); ALIGN 974 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c r_dflow->in_w = ALIGN(r_dflow->in_w, 2); ALIGN 988 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c l_dflow->out_w = ALIGN(((dflow->out_w + 1) >> 1), 2); ALIGN 332 drivers/gpu/drm/arm/malidp_drv.c afbc_size = ALIGN(n_superblocks * AFBC_HEADER_SIZE, AFBC_SUPERBLK_ALIGNMENT); ALIGN 333 drivers/gpu/drm/arm/malidp_drv.c afbc_size += n_superblocks * ALIGN(afbc_superblock_size, AFBC_SUPERBLK_ALIGNMENT); ALIGN 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); ALIGN 37 drivers/gpu/drm/armada/armada_drm.h return ALIGN(pitch, 128); ALIGN 304 drivers/gpu/drm/bridge/tc358767.c int ret, count = ALIGN(size, sizeof(u32)); ALIGN 318 drivers/gpu/drm/bridge/tc358767.c int ret, count = ALIGN(size, sizeof(u32)); ALIGN 767 drivers/gpu/drm/bridge/tc358767.c FIELD_PREP(HBPR, ALIGN(left_margin, 2)) | ALIGN 768 drivers/gpu/drm/bridge/tc358767.c FIELD_PREP(HPW, ALIGN(hsync_len, 2))); ALIGN 773 drivers/gpu/drm/bridge/tc358767.c FIELD_PREP(HDISPR, ALIGN(mode->hdisplay, 2)) | ALIGN 774 drivers/gpu/drm/bridge/tc358767.c FIELD_PREP(HFPR, ALIGN(right_margin, 2))); ALIGN 109 drivers/gpu/drm/drm_plane.c blob_size += ALIGN(formats_size, 8); ALIGN 123 drivers/gpu/drm/drm_plane.c ALIGN(blob_data->formats_offset + formats_size, 8); ALIGN 39 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 50 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 57 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 65 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 75 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 208 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 226 drivers/gpu/drm/etnaviv/etnaviv_buffer.c buffer->user_size = ALIGN(buffer->user_size, 8); ALIGN 169 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c len = ALIGN(1 + n, 2); ALIGN 93 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c order = order_base_2(ALIGN(size, SUBALLOC_GRANULE) / SUBALLOC_GRANULE); ALIGN 121 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c int order = order_base_2(ALIGN(cmdbuf->size, SUBALLOC_GRANULE) / ALIGN 532 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ALIGN(args->stream_size, 8) + 8); ALIGN 334 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); ALIGN 337 drivers/gpu/drm/gma500/framebuffer.c size = ALIGN(size, PAGE_SIZE); ALIGN 362 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); ALIGN 365 drivers/gpu/drm/gma500/framebuffer.c size = ALIGN(size, PAGE_SIZE); ALIGN 475 drivers/gpu/drm/gma500/framebuffer.c fb_size = ALIGN(sizes->surface_width * bytespp, 64) * ALIGN 477 drivers/gpu/drm/gma500/framebuffer.c fb_size = ALIGN(fb_size, PAGE_SIZE); ALIGN 103 drivers/gpu/drm/gma500/gem.c args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); ALIGN 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 16); ALIGN 1969 drivers/gpu/drm/i915/display/intel_display.c return ALIGN(height, tile_height); ALIGN 2402 drivers/gpu/drm/i915/display/intel_display.c height = ALIGN(height, intel_tile_height(fb, color_plane)); ALIGN 133 drivers/gpu/drm/i915/display/intel_fbdev.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ALIGN 543 drivers/gpu/drm/i915/display/intel_overlay.c sw = ALIGN((offset & 31) + width, 32); ALIGN 545 drivers/gpu/drm/i915/display/intel_overlay.c sw = ALIGN((offset & 63) + width, 64); ALIGN 160 drivers/gpu/drm/i915/gt/intel_renderstate.c so->aux_size = ALIGN(so->aux_size, 8); ALIGN 94 drivers/gpu/drm/i915/gt/intel_workarounds.c list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*wa), ALIGN 53 drivers/gpu/drm/i915/gvt/aperture_gm.c start = ALIGN(gvt_hidden_gmadr_base(gvt), I915_GTT_PAGE_SIZE); ALIGN 54 drivers/gpu/drm/i915/gvt/aperture_gm.c end = ALIGN(gvt_hidden_gmadr_end(gvt), I915_GTT_PAGE_SIZE); ALIGN 59 drivers/gpu/drm/i915/gvt/aperture_gm.c start = ALIGN(gvt_aperture_gmadr_base(gvt), I915_GTT_PAGE_SIZE); ALIGN 60 drivers/gpu/drm/i915/gvt/aperture_gm.c end = ALIGN(gvt_aperture_gmadr_end(gvt), I915_GTT_PAGE_SIZE); ALIGN 258 drivers/gpu/drm/i915/gvt/aperture_gm.c vgpu_aperture_sz(vgpu) = ALIGN(request, I915_GTT_PAGE_SIZE); ALIGN 269 drivers/gpu/drm/i915/gvt/aperture_gm.c vgpu_hidden_sz(vgpu) = ALIGN(request, I915_GTT_PAGE_SIZE); ALIGN 1161 drivers/gpu/drm/i915/i915_cmd_parser.c ALIGN(batch_len, 16)); ALIGN 212 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->width * cpp, 64); ALIGN 217 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->pitch, 4096); ALIGN 459 drivers/gpu/drm/i915/i915_gem_gtt.h ({ u32 temp = ALIGN(start+1, 1 << GEN6_PDE_SHIFT); \ ALIGN 99 drivers/gpu/drm/i915/i915_gpu_error.c e->size = ALIGN(len + 1, SZ_64K); ALIGN 257 drivers/gpu/drm/i915/intel_wopcm.c guc_wopcm_base = ALIGN(guc_wopcm_base, GUC_WOPCM_OFFSET_ALIGNMENT); ALIGN 82 drivers/gpu/drm/meson/meson_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), SZ_64); ALIGN 45 drivers/gpu/drm/mga/mga_warp.c #define WARP_UCODE_SIZE(size) ALIGN(size, MGA_WARP_CODE_ALIGN) ALIGN 950 drivers/gpu/drm/msm/adreno/a6xx_gmu.c gmu->uncached_iova_base += ALIGN(size, SZ_1M); ALIGN 434 drivers/gpu/drm/msm/msm_drv.h return bytespp * ALIGN(width, 32); ALIGN 366 drivers/gpu/drm/msm/msm_rd.c rd_write_section(rd, RD_CMD, msg, ALIGN(n, 4)); ALIGN 381 drivers/gpu/drm/msm/msm_rd.c rd_write_section(rd, RD_CMD, msg, ALIGN(n, 4)); ALIGN 229 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.pitch = ALIGN(asyh->core.w, 64) * 4; ALIGN 510 drivers/gpu/drm/nouveau/nouveau_dmem.c size = ALIGN(drm->client.device.info.ram_user, DMEM_CHUNK_SIZE); ALIGN 140 drivers/gpu/drm/nouveau/nouveau_mem.c u64 size = ALIGN(reg->num_pages << PAGE_SHIFT, 1 << page); ALIGN 110 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (image->height << 16) | ALIGN(image->width, 8)); ALIGN 114 drivers/gpu/drm/nouveau/nv04_fbcon.c dsize = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; ALIGN 129 drivers/gpu/drm/nouveau/nv50_fbcon.c dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; ALIGN 129 drivers/gpu/drm/nouveau/nvc0_fbcon.c dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; ALIGN 2283 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c const u8 tile_nr = ALIGN(gr->tpc_total, 32); ALIGN 128 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c const u8 tile_nr = ALIGN(gr->tpc_total, 32); ALIGN 99 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue->position += ALIGN(size, QUEUE_ALIGNMENT); ALIGN 161 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c size = ALIGN(size, QUEUE_ALIGNMENT); ALIGN 187 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue->position += ALIGN(size, QUEUE_ALIGNMENT); ALIGN 423 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c tail += ALIGN(hdr->size, QUEUE_ALIGNMENT); ALIGN 113 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c u32 max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT; ALIGN 192 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c size = ALIGN(size, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 651 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u64 part = ALIGN(addr, next) - addr; ALIGN 1712 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr = ALIGN(addr, vmm->func->page_block); ALIGN 1713 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr = ALIGN(addr, 1ULL << align); ALIGN 285 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; ALIGN 321 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c offset = ALIGN(offset, LSF_LSB_HEADER_ALIGN); ALIGN 329 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c offset = ALIGN(offset, LSF_UCODE_DATA_ALIGN); ALIGN 341 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->bl_code_size = ALIGN(desc->bootloader_size, ALIGN 343 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, ALIGN 345 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + ALIGN 365 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->bl_data_size = ALIGN(func->bl_desc_size, LSF_BL_DATA_SIZE_ALIGN); ALIGN 370 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c offset = ALIGN(offset, LSF_BL_DATA_ALIGN); ALIGN 539 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c image_wpr_size = ALIGN(image_wpr_size, WPR_ALIGNMENT); ALIGN 692 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = nvkm_gpuobj_new(subdev->device, ALIGN(hsbin_hdr->data_size, 256), ALIGN 815 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c code_size = ALIGN(hsbl_desc->code_size, 256); ALIGN 180 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c offset = ALIGN(offset, LSF_LSB_HEADER_ALIGN); ALIGN 188 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c offset = ALIGN(offset, LSF_UCODE_DATA_ALIGN); ALIGN 200 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->bl_code_size = ALIGN(desc->bootloader_size, ALIGN 202 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, ALIGN 204 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + ALIGN 224 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->bl_data_size = ALIGN(func->bl_desc_size, LSF_BL_DATA_SIZE_ALIGN); ALIGN 229 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c offset = ALIGN(offset, LSF_BL_DATA_ALIGN); ALIGN 85 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c ALIGN(lhdr->apps[0], 0x100), ALIGN 52 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c desc->bootloader_size = ALIGN(bl_desc->code_size, sizeof(u32)); ALIGN 56 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c pos = ALIGN(pos + desc->bootloader_size, BL_DESC_BLK_SIZE); ALIGN 58 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c desc->app_size = ALIGN(code->size, BL_DESC_BLK_SIZE) + ALIGN 59 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c ALIGN(data->size, BL_DESC_BLK_SIZE); ALIGN 64 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c desc->app_resident_code_size = ALIGN(code->size, BL_DESC_BLK_SIZE); ALIGN 66 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c pos = ALIGN(pos + desc->app_resident_code_size, BL_DESC_BLK_SIZE); ALIGN 68 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c desc->app_resident_data_size = ALIGN(data->size, BL_DESC_BLK_SIZE); ALIGN 70 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c desc->image_size = ALIGN(bl_desc->code_size, BL_DESC_BLK_SIZE) + ALIGN 62 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c img->ucode_size = ALIGN(img->ucode_desc.app_start_offset + img->ucode_desc.app_size, 256); ALIGN 559 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c align = (align > min_align) ? ALIGN(align, min_align) : min_align; ALIGN 110 drivers/gpu/drm/omapdrm/tcm-sita.c curr_bit = ALIGN(*pos, slots_per_band) + bit_offset; ALIGN 116 drivers/gpu/drm/omapdrm/tcm-sita.c curr_bit = ALIGN(*pos, slot_stride) + bit_offset; ALIGN 148 drivers/gpu/drm/omapdrm/tcm-sita.c curr_bit = ALIGN(*pos, slots_per_band) + bit_offset; ALIGN 471 drivers/gpu/drm/panfrost/panfrost_drv.c next_seg = ALIGN(*start, PFN_4G); ALIGN 475 drivers/gpu/drm/panfrost/panfrost_drv.c *end = min(*end, ALIGN(*start, PFN_4G) - 1); ALIGN 44 drivers/gpu/drm/qxl/qxl_dumb.c args->size = ALIGN(args->size, PAGE_SIZE); ALIGN 62 drivers/gpu/drm/radeon/atombios_dp.c u8 align_num_bytes = ALIGN(num_bytes, 4); ALIGN 2010 drivers/gpu/drm/radeon/cik.c smc_req_size = ALIGN(BONAIRE_SMC_UCODE_SIZE, 4); ALIGN 2026 drivers/gpu/drm/radeon/cik.c smc_req_size = ALIGN(HAWAII_SMC_UCODE_SIZE, 4); ALIGN 8339 drivers/gpu/drm/radeon/cik.c rdev->rlc.cp_table_size = ALIGN(CP_ME_TABLE_SIZE * 5 * 4, 2048); /* CP JT */ ALIGN 826 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = ALIGN(surf.nby, surf.halign); ALIGN 899 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = ALIGN(surf.nbx, surf.palign); ALIGN 900 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = ALIGN(surf.nby, surf.halign); ALIGN 732 drivers/gpu/drm/radeon/ni.c smc_req_size = ALIGN(BARTS_SMC_UCODE_SIZE, 4); ALIGN 741 drivers/gpu/drm/radeon/ni.c smc_req_size = ALIGN(TURKS_SMC_UCODE_SIZE, 4); ALIGN 750 drivers/gpu/drm/radeon/ni.c smc_req_size = ALIGN(CAICOS_SMC_UCODE_SIZE, 4); ALIGN 759 drivers/gpu/drm/radeon/ni.c smc_req_size = ALIGN(CAYMAN_SMC_UCODE_SIZE, 4); ALIGN 2478 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(RV770_SMC_UCODE_SIZE, 4); ALIGN 2484 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(RV730_SMC_UCODE_SIZE, 4); ALIGN 2490 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(RV710_SMC_UCODE_SIZE, 4); ALIGN 2496 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(RV740_SMC_UCODE_SIZE, 4); ALIGN 2502 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(CEDAR_SMC_UCODE_SIZE, 4); ALIGN 2508 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(REDWOOD_SMC_UCODE_SIZE, 4); ALIGN 2514 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(JUNIPER_SMC_UCODE_SIZE, 4); ALIGN 2521 drivers/gpu/drm/radeon/r600.c smc_req_size = ALIGN(CYPRESS_SMC_UCODE_SIZE, 4); ALIGN 148 drivers/gpu/drm/radeon/radeon_fb.c height = ALIGN(mode_cmd->height, 8); ALIGN 150 drivers/gpu/drm/radeon/radeon_fb.c aligned_size = ALIGN(size, PAGE_SIZE); ALIGN 849 drivers/gpu/drm/radeon/radeon_fence.c index = ALIGN(rdev->uvd_fw->size, 8); ALIGN 761 drivers/gpu/drm/radeon/radeon_gem.c args->size = ALIGN(args->size, PAGE_SIZE); ALIGN 195 drivers/gpu/drm/radeon/radeon_object.c size = ALIGN(size, PAGE_SIZE); ALIGN 363 drivers/gpu/drm/radeon/radeon_uvd.c unsigned height_in_mb = ALIGN(height / 16, 2); ALIGN 369 drivers/gpu/drm/radeon/radeon_uvd.c image_size = ALIGN(image_size, 1024); ALIGN 400 drivers/gpu/drm/radeon/radeon_uvd.c min_dpb_size += ALIGN(tmp * 7 * 16, 64); ALIGN 418 drivers/gpu/drm/radeon/radeon_uvd.c min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); ALIGN 763 drivers/gpu/drm/radeon/radeon_vm.c uint64_t frag_start = ALIGN(pe_start, frag_align); ALIGN 1699 drivers/gpu/drm/radeon/si.c smc_req_size = ALIGN(TAHITI_SMC_UCODE_SIZE, 4); ALIGN 1714 drivers/gpu/drm/radeon/si.c smc_req_size = ALIGN(PITCAIRN_SMC_UCODE_SIZE, 4); ALIGN 1735 drivers/gpu/drm/radeon/si.c smc_req_size = ALIGN(VERDE_SMC_UCODE_SIZE, 4); ALIGN 1753 drivers/gpu/drm/radeon/si.c smc_req_size = ALIGN(OLAND_SMC_UCODE_SIZE, 4); ALIGN 1774 drivers/gpu/drm/radeon/si.c smc_req_size = ALIGN(HAINAN_SMC_UCODE_SIZE, 4); ALIGN 421 drivers/gpu/drm/rockchip/rockchip_drm_gem.c args->pitch = ALIGN(min_pitch, 64); ALIGN 1063 drivers/gpu/drm/sti/sti_hqvdp.c dst_w = ALIGN(dst_w, 2); ALIGN 1064 drivers/gpu/drm/sti/sti_hqvdp.c dst_h = ALIGN(dst_h, 2); ALIGN 1192 drivers/gpu/drm/sti/sti_hqvdp.c dst_w = ALIGN(dst_w, 2); ALIGN 1193 drivers/gpu/drm/sti/sti_hqvdp.c dst_h = ALIGN(dst_h, 2); ALIGN 153 drivers/gpu/drm/sti/sti_vid.c dst_w = ALIGN(dst_w, 2); ALIGN 154 drivers/gpu/drm/sti/sti_vid.c dst_h = ALIGN(dst_h, 2); ALIGN 36 drivers/gpu/drm/sun4i/sun4i_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); ALIGN 36 drivers/gpu/drm/udl/udl_fb.c #define DL_ALIGN_UP(x, a) ALIGN(x, a) ALIGN 374 drivers/gpu/drm/udl/udl_fb.c size = ALIGN(size, PAGE_SIZE); ALIGN 510 drivers/gpu/drm/udl/udl_fb.c size = ALIGN(size, PAGE_SIZE); ALIGN 98 drivers/gpu/drm/virtio/virtgpu_gem.c args->size = ALIGN(args->size, PAGE_SIZE); ALIGN 41 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c (1024 - ALIGN(sizeof(SVGACBHeader), VMW_CMDBUF_INLINE_ALIGN)) ALIGN 231 drivers/gpu/drm/vmwgfx/vmwgfx_validation.h return ALIGN(val, sizeof(long)); ALIGN 128 drivers/greybus/manifest.c expected_size = ALIGN(expected_size, 4); ALIGN 753 drivers/hv/channel.c u32 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); ALIGN 809 drivers/hv/channel.c packetlen_aligned = ALIGN(packetlen, sizeof(u64)); ALIGN 853 drivers/hv/channel.c packetlen_aligned = ALIGN(packetlen, sizeof(u64)); ALIGN 227 drivers/hwtracing/stm/core.c for (pos = start; pos < end + 1; pos = ALIGN(pos, width)) { ALIGN 1067 drivers/i2c/busses/i2c-tegra.c xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); ALIGN 45 drivers/iio/adc/ad7476.c unsigned char data[ALIGN(2, sizeof(s64)) + sizeof(s64)] ALIGN 53 drivers/iio/adc/ad7766.c unsigned char data[ALIGN(3, sizeof(s64)) + sizeof(s64)] ALIGN 68 drivers/iio/adc/ad7887.c unsigned char data[ALIGN(4, sizeof(s64)) + sizeof(s64)] ALIGN 73 drivers/iio/common/ssp_sensors/ssp_spi.c #define SSP_HEADER_SIZE_ALIGNED (ALIGN(SSP_HEADER_SIZE, 4)) ALIGN 165 drivers/iio/humidity/hts221_buffer.c u8 buffer[ALIGN(2 * HTS221_DATA_SIZE, sizeof(s64)) + sizeof(s64)]; ALIGN 329 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c #define ST_LSM6DSX_IIO_BUFF_SIZE (ALIGN(ST_LSM6DSX_SAMPLE_SIZE, \ ALIGN 575 drivers/iio/industrialio-buffer.c bytes = ALIGN(bytes, length); ALIGN 582 drivers/iio/industrialio-buffer.c bytes = ALIGN(bytes, length); ALIGN 587 drivers/iio/industrialio-buffer.c bytes = ALIGN(bytes, largest); ALIGN 1431 drivers/iio/industrialio-core.c alloc_size = ALIGN(alloc_size, IIO_ALIGN); ALIGN 237 drivers/iio/light/st_uvis25_core.c u8 buffer[ALIGN(sizeof(u8), sizeof(s64)) + sizeof(s64)]; ALIGN 105 drivers/iio/light/vcnl4035.c u8 buffer[ALIGN(sizeof(u16), sizeof(s64)) + sizeof(s64)]; ALIGN 225 drivers/infiniband/core/umem_odp.c ALIGN(umem_odp->interval_tree.last, page_size); ALIGN 635 drivers/infiniband/core/umem_odp.c ALIGN(bcnt, PAGE_SIZE) / PAGE_SIZE, ALIGN 1991 drivers/infiniband/core/uverbs_cmd.c if (num_sge >= (U32_MAX - ALIGN(wr_size, sizeof (struct ib_sge))) / ALIGN 1995 drivers/infiniband/core/uverbs_cmd.c return kmalloc(ALIGN(wr_size, sizeof (struct ib_sge)) + ALIGN 2150 drivers/infiniband/core/uverbs_cmd.c ALIGN(next_size, sizeof(struct ib_sge)); ALIGN 2237 drivers/infiniband/core/uverbs_cmd.c (U32_MAX - ALIGN(sizeof *next, sizeof (struct ib_sge))) / ALIGN 2243 drivers/infiniband/core/uverbs_cmd.c next = kmalloc(ALIGN(sizeof *next, sizeof (struct ib_sge)) + ALIGN 2263 drivers/infiniband/core/uverbs_cmd.c ALIGN(sizeof *next, sizeof (struct ib_sge)); ALIGN 2739 drivers/infiniband/core/uverbs_cmd.c if (kern_filter_sz != ALIGN(kern_filter_sz, 4)) ALIGN 86 drivers/infiniband/core/uverbs_ioctl.c ALIGN(bundle_size + 256, sizeof(*pbundle->internal_buffer)); ALIGN 129 drivers/infiniband/core/uverbs_ioctl.c ALIGN(new_used, sizeof(*pbundle->internal_buffer)); ALIGN 604 drivers/infiniband/core/uverbs_ioctl.c pbundle->internal_used = ALIGN(pbundle->method_elm->key_bitmap_len * ALIGN 781 drivers/infiniband/hw/bnxt_re/qplib_res.c stats->size = ALIGN(sizeof(struct ctx_hw_stats), 128); ALIGN 537 drivers/infiniband/hw/i40iw/i40iw_main.c newva = ALIGN(va, (mask + 1)); ALIGN 760 drivers/infiniband/hw/i40iw/i40iw_utils.c mem->size = ALIGN(size, alignment); ALIGN 314 drivers/infiniband/hw/mlx4/qp.c ALIGN(MLX4_IB_UD_HEADER_SIZE + ALIGN 319 drivers/infiniband/hw/mlx4/qp.c ALIGN(4 + ALIGN 2992 drivers/infiniband/hw/mlx4/qp.c ALIGN(i * sizeof (struct mlx4_wqe_inline_seg) + header_size, 16); ALIGN 3285 drivers/infiniband/hw/mlx4/qp.c ALIGN(i * sizeof (struct mlx4_wqe_inline_seg) + header_size, 16); ALIGN 3443 drivers/infiniband/hw/mlx4/qp.c ALIGN(i * sizeof (struct mlx4_wqe_inline_seg) + sizeof (hdr), 16); ALIGN 3495 drivers/infiniband/hw/mlx4/qp.c unsigned halign = ALIGN(sizeof *wqe + wr->hlen, 16); ALIGN 1628 drivers/infiniband/hw/mlx5/main.c req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); ALIGN 1633 drivers/infiniband/hw/mlx5/main.c bfregi->num_dyn_bfregs = ALIGN(calc_dynamic_bfregs(uars_per_sys_page), bfregs_per_sys_page); ALIGN 1802 drivers/infiniband/hw/mlx5/main.c req.total_num_bfregs = ALIGN(req.total_num_bfregs, ALIGN 744 drivers/infiniband/hw/mlx5/mr.c npages = ALIGN(len + offset, page_size) >> page_shift; ALIGN 956 drivers/infiniband/hw/mlx5/mr.c pages_to_map = ALIGN(npages, page_align); ALIGN 1012 drivers/infiniband/hw/mlx5/mr.c sg.length = ALIGN(npages * desc_size, ALIGN 1696 drivers/infiniband/hw/mlx5/mr.c int ndescs = ALIGN(max_num_sg + max_num_meta_sg, 4); ALIGN 1827 drivers/infiniband/hw/mlx5/mr.c int ndescs = ALIGN(max_num_sg, 4); ALIGN 982 drivers/infiniband/hw/mlx5/odp.c wqe += ALIGN(sizeof(struct mlx5_wqe_inline_seg) + bcnt, ALIGN 1257 drivers/infiniband/hw/mlx5/odp.c return (ALIGN(address + length, PAGE_SIZE) - ALIGN 447 drivers/infiniband/hw/mlx5/qp.c ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB) < MLX5_SIG_WQE_SIZE) ALIGN 450 drivers/infiniband/hw/mlx5/qp.c return ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB); ALIGN 4063 drivers/infiniband/hw/mlx5/qp.c stride = !n ? ALIGN(copysz, 16) : copysz; ALIGN 4123 drivers/infiniband/hw/mlx5/qp.c stride = ALIGN(sizeof(struct mlx5_wqe_eth_seg) - ALIGN 4160 drivers/infiniband/hw/mlx5/qp.c return ALIGN(bytes, MLX5_IB_UMR_XLT_ALIGNMENT) / ALIGN 4345 drivers/infiniband/hw/mlx5/qp.c int ndescs = ALIGN(mr->ndescs + mr->meta_ndescs, 8) >> 1; ALIGN 4399 drivers/infiniband/hw/mlx5/qp.c dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); ALIGN 4477 drivers/infiniband/hw/mlx5/qp.c *wqe_sz += ALIGN(inl + sizeof(seg->byte_count), 16) / 16; ALIGN 4635 drivers/infiniband/hw/mlx5/qp.c wqe_size = ALIGN(sizeof(*data_klm), 64); ALIGN 4681 drivers/infiniband/hw/mlx5/qp.c wqe_size = ALIGN(sizeof(*sblock_ctrl) + sizeof(*data_sentry) + ALIGN 4855 drivers/infiniband/hw/mlx5/qp.c *size = ALIGN(*size, MLX5_SEND_WQE_BB >> 4); ALIGN 861 drivers/infiniband/hw/mthca/mthca_cmd.c ALIGN(dev->fw.arbel.fw_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> ALIGN 1096 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), ALIGN 1596 drivers/infiniband/hw/mthca/mthca_cmd.c *aux_pages = ALIGN(*aux_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> ALIGN 480 drivers/infiniband/hw/mthca/mthca_eq.c npages = ALIGN(eq->nent * MTHCA_EQ_ENTRY_SIZE, PAGE_SIZE) / PAGE_SIZE; ALIGN 418 drivers/infiniband/hw/mthca/mthca_main.c mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, ALIGN 1049 drivers/infiniband/hw/mthca/mthca_qp.c qp->send_wqe_offset = ALIGN(qp->rq.max << qp->rq.wqe_shift, ALIGN 1281 drivers/infiniband/hw/mthca/mthca_qp.c ALIGN(cap->max_inline_data + MTHCA_INLINE_HEADER_SIZE, ALIGN 693 drivers/infiniband/hw/qedr/verbs.c aligned_size = ALIGN(size, PAGE_SIZE); ALIGN 283 drivers/infiniband/hw/qib/qib_diag.c u32 tot2k = dd->piobcnt2k * ALIGN(dd->piosize2k, dd->palign); ALIGN 1252 drivers/infiniband/hw/qib/qib_file_ops.c size = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * ALIGN 1490 drivers/infiniband/hw/qib/qib_iba6120.c ALIGN(dd->rcvhdrcnt * ALIGN 3116 drivers/infiniband/hw/qib/qib_iba6120.c dd->align4k = ALIGN(dd->piosize4k, dd->palign); ALIGN 3121 drivers/infiniband/hw/qib/qib_iba6120.c dd->pioavregs = ALIGN(piobufs, sizeof(u64) * BITS_PER_BYTE / 2) / ALIGN 3824 drivers/infiniband/hw/qib/qib_iba7220.c dd->align4k = ALIGN(dd->piosize4k, dd->palign); ALIGN 3829 drivers/infiniband/hw/qib/qib_iba7220.c dd->pioavregs = ALIGN(piobufs, sizeof(u64) * BITS_PER_BYTE / 2) / ALIGN 5785 drivers/infiniband/hw/qib/qib_iba7322.c dd->align4k = ALIGN(dd->piosize4k, dd->palign); ALIGN 5789 drivers/infiniband/hw/qib/qib_iba7322.c dd->pioavregs = ALIGN(piobufs, sizeof(u64) * BITS_PER_BYTE / 2) / ALIGN 1552 drivers/infiniband/hw/qib/qib_init.c amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * ALIGN 175 drivers/infiniband/sw/rdmavt/mmap.c rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); ALIGN 177 drivers/infiniband/sw/rdmavt/mmap.c rdi->mmap_offset += ALIGN(size, SHMLBA); ALIGN 161 drivers/infiniband/sw/rxe/rxe_mmap.c rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); ALIGN 164 drivers/infiniband/sw/rxe/rxe_mmap.c rxe->mmap_offset += ALIGN(size, SHMLBA); ALIGN 141 drivers/infiniband/sw/rxe/rxe_pool.c size = ALIGN(type->size, RXE_POOL_ALIGN); ALIGN 211 drivers/infiniband/sw/rxe/rxe_pool.c pool->elem_size = ALIGN(size, RXE_POOL_ALIGN); ALIGN 74 drivers/infiniband/ulp/ipoib/ipoib.h IPOIB_CM_RX_SG = ALIGN(IPOIB_CM_BUF_SIZE, PAGE_SIZE) / PAGE_SIZE, ALIGN 68 drivers/infiniband/ulp/ipoib/ipoib_cm.c #define IPOIB_CM_RX_RESERVE (ALIGN(IPOIB_HARD_LEN, 16) - IPOIB_ENCAP_LEN) ALIGN 151 drivers/infiniband/ulp/ipoib/ipoib_cm.c skb = dev_alloc_skb(ALIGN(IPOIB_CM_HEAD_SIZE + IPOIB_PSEUDO_LEN, 16)); ALIGN 62 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c ALIGN((OPA_VNIC_HDR_LEN + OPA_VNIC_SKB_MDATA_LEN), 8) ALIGN 2554 drivers/iommu/amd_iommu.c boundary_size = mask + 1 ? ALIGN(mask + 1, PAGE_SIZE) >> PAGE_SHIFT : ALIGN 3844 drivers/iommu/amd_iommu.c for (index = ALIGN(table->min_index, alignment), c = 0; ALIGN 3850 drivers/iommu/amd_iommu.c index = ALIGN(index + 1, alignment); ALIGN 586 drivers/iommu/dma-iommu.c size = ALIGN(size, min_size); ALIGN 1622 drivers/iommu/intel-iommu.c size = (ALIGN(ndomains, 256) >> 8) * sizeof(struct dmar_domain **); ALIGN 1688 drivers/iommu/intel-iommu.c int elems = ALIGN(cap_ndoms(iommu->cap), 256) >> 8; ALIGN 3811 drivers/iommu/intel-iommu.c size_t aligned_size = ALIGN(size, VTD_PAGE_SIZE); ALIGN 3897 drivers/iommu/intel-iommu.c size_t aligned_size = ALIGN(size, VTD_PAGE_SIZE); ALIGN 649 drivers/iommu/iommu.c start = ALIGN(entry->start, pg_size); ALIGN 650 drivers/iommu/iommu.c end = ALIGN(entry->start + entry->length, pg_size); ALIGN 681 drivers/iommu/mtk_iommu.c data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); ALIGN 574 drivers/iommu/mtk_iommu_v1.c data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); ALIGN 56 drivers/irqchip/irq-gic-v3-its.c #define LPI_PROPBASE_SZ ALIGN(BIT(LPI_NRBITS), SZ_64K) ALIGN 57 drivers/irqchip/irq-gic-v3-its.c #define LPI_PENDBASE_SZ ALIGN(BIT(LPI_NRBITS) / 8, SZ_64K) ALIGN 431 drivers/irqchip/irq-gic-v3-its.c itt_addr = ALIGN(itt_addr, ITS_ITT_ALIGN); ALIGN 912 drivers/mailbox/omap-mailbox.c mbox_kfifo_size = ALIGN(mbox_kfifo_size, sizeof(u32)); ALIGN 922 drivers/md/dm-crypt.c return (u8 *)ALIGN((unsigned long)(dmreq + 1), ALIGN 925 drivers/md/dm-crypt.c return (u8 *)ALIGN((unsigned long)(dmreq + 1), ALIGN 2622 drivers/md/dm-crypt.c cc->dmreq_start = ALIGN(cc->dmreq_start, __alignof__(struct dm_crypt_request)); ALIGN 2651 drivers/md/dm-crypt.c ALIGN(sizeof(struct dm_crypt_io) + cc->dmreq_start + additional_req_size, ALIGN 191 drivers/md/dm-linear.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 205 drivers/md/dm-linear.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 274 drivers/md/dm-log-writes.c num_pages = ALIGN(datalen, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 294 drivers/md/dm-log-writes.c pg_sectorlen = ALIGN(pg_datalen, lc->sectorsize); ALIGN 937 drivers/md/dm-log-writes.c block->nr_sectors = ALIGN(bytes, lc->sectorsize) >> lc->sectorshift; ALIGN 969 drivers/md/dm-log-writes.c if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 992 drivers/md/dm-log-writes.c if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 352 drivers/md/dm-stripe.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 371 drivers/md/dm-stripe.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) ALIGN 1164 drivers/media/common/siano/smscoreapi.c fw_buf = kmalloc(ALIGN(fw->size + sizeof(struct sms_firmware), ALIGN 97 drivers/media/firewire/firedtv-avc.c int to = ALIGN(from, 4); ALIGN 604 drivers/media/firewire/firedtv-avc.c fdtv->avc_data_length = ALIGN(3 + pos, 4); ALIGN 656 drivers/media/firewire/firedtv-avc.c fdtv->avc_data_length = ALIGN(3 + pos, 4); ALIGN 860 drivers/media/firewire/firedtv-avc.c fdtv->avc_data_length = ALIGN(3 + pos, 4); ALIGN 1211 drivers/media/firewire/firedtv-avc.c fdtv->avc_data_length = ALIGN(3 + write_pos, 4); ALIGN 272 drivers/media/i2c/mt9m001.c rect.height = ALIGN(rect.height, 2); ALIGN 275 drivers/media/i2c/mt9m001.c rect.width = ALIGN(rect.width, 2); ALIGN 276 drivers/media/i2c/mt9m001.c rect.left = ALIGN(rect.left, 2); ALIGN 396 drivers/media/i2c/mt9m001.c mf->height = ALIGN(mf->height - 1, 2); ALIGN 451 drivers/media/i2c/mt9m032.c rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN, ALIGN 453 drivers/media/i2c/mt9m032.c rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, ALIGN 455 drivers/media/i2c/mt9m032.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), ALIGN 457 drivers/media/i2c/mt9m032.c rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), ALIGN 654 drivers/media/i2c/mt9m111.c rect->width = ALIGN(rect->width, 2); ALIGN 655 drivers/media/i2c/mt9m111.c rect->height = ALIGN(rect->height, 2); ALIGN 559 drivers/media/i2c/mt9p031.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), ALIGN 563 drivers/media/i2c/mt9p031.c height = clamp_t(unsigned int, ALIGN(format->format.height, 2), ALIGN 609 drivers/media/i2c/mt9p031.c rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, ALIGN 611 drivers/media/i2c/mt9p031.c rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, ALIGN 613 drivers/media/i2c/mt9p031.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), ALIGN 616 drivers/media/i2c/mt9p031.c rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), ALIGN 390 drivers/media/i2c/mt9t001.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), ALIGN 394 drivers/media/i2c/mt9t001.c height = clamp_t(unsigned int, ALIGN(format->format.height, 2), ALIGN 440 drivers/media/i2c/mt9t001.c rect.left = clamp(ALIGN(sel->r.left, 2), ALIGN 443 drivers/media/i2c/mt9t001.c rect.top = clamp(ALIGN(sel->r.top, 2), ALIGN 446 drivers/media/i2c/mt9t001.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), ALIGN 449 drivers/media/i2c/mt9t001.c rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), ALIGN 510 drivers/media/i2c/mt9v032.c width = clamp(ALIGN(format->format.width, 2), ALIGN 514 drivers/media/i2c/mt9v032.c height = clamp(ALIGN(format->format.height, 2), ALIGN 566 drivers/media/i2c/mt9v032.c rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, ALIGN 569 drivers/media/i2c/mt9v032.c rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, ALIGN 572 drivers/media/i2c/mt9v032.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), ALIGN 575 drivers/media/i2c/mt9v032.c rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), ALIGN 34 drivers/media/i2c/smiapp/smiapp-core.c ? ALIGN((dim), 2) \ ALIGN 66 drivers/media/mc/mc-entity.c idx_max = ALIGN(idx_max, BITS_PER_LONG); ALIGN 184 drivers/media/mmc/siano/smssdio.c size = ALIGN(size, SMSSDIO_BLOCK_SIZE); ALIGN 462 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c frame_size = ALIGN(vop_jpeg_size(vh) + solo_enc->jpeg_len, DMA_ALIGN); ALIGN 499 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c frame_size = ALIGN(vop_mpeg_size(vh) + skip, DMA_ALIGN); ALIGN 234 drivers/media/platform/am437x/am437x-vpfe.c pix->bytesperline = ALIGN(pix->width * *bpp, 32); ALIGN 822 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.bytesperline = ALIGN(win->width * bpp, 32); ALIGN 826 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.bytesperline = ALIGN(win->width * bpp, 32); ALIGN 335 drivers/media/platform/coda/coda.h return (int)(ctx->bitstream_fifo.kfifo.in - ALIGN(pos, 256)) > 512; ALIGN 785 drivers/media/platform/davinci/dm355_ccdc.c return ALIGN(len, 32); ALIGN 639 drivers/media/platform/davinci/dm644x_ccdc.c return ALIGN(len, 32); ALIGN 817 drivers/media/platform/davinci/isif.c return ALIGN(len, 32); ALIGN 1199 drivers/media/platform/davinci/vpfe_capture.c if (!ALIGN(addr, 32)) ALIGN 640 drivers/media/platform/exynos4-is/fimc-capture.c 64/(ALIGN(depth, 8))); ALIGN 680 drivers/media/platform/exynos4-is/fimc-capture.c align_sz = 64/ALIGN(depth, 8); ALIGN 470 drivers/media/platform/exynos4-is/fimc-m2m.c halign, 64/(ALIGN(depth, 8))); ALIGN 336 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ((ALIGN(pix_fmt_mp->width, 16) * 2) * 16); ALIGN 342 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (ALIGN(pix_fmt_mp->width, 16) * 16); ALIGN 351 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ((ALIGN(pix_fmt_mp->width, 16) / 2) * 16); ALIGN 1209 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ((ALIGN(q_data->coded_width, 16) * 2) * 16); ALIGN 1213 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (ALIGN(q_data->coded_width, 16) * 16); ALIGN 1405 drivers/media/platform/omap3isp/isppreview.c preview_config_inlineoffset(prev, ALIGN(format->width, 0x20) * ALIGN 1429 drivers/media/platform/omap3isp/isppreview.c ALIGN(format->width, 0x10) * 2); ALIGN 874 drivers/media/platform/omap3isp/ispresizer.c output->width = ALIGN(output->width, width_alignment); ALIGN 970 drivers/media/platform/omap3isp/ispresizer.c resizer_set_input_offset(res, ALIGN(informat->width, 0x10) * 2); ALIGN 979 drivers/media/platform/omap3isp/ispresizer.c resizer_set_output_offset(res, ALIGN(outformat->width * 2, 32)); ALIGN 172 drivers/media/platform/omap3isp/ispvideo.c bpl = ALIGN(bpl, video->bpl_alignment); ALIGN 259 drivers/media/platform/qcom/camss/camss-video.c bytesperline = ALIGN(bytesperline, alignment); ALIGN 619 drivers/media/platform/qcom/camss/camss-video.c bpl = ALIGN(bpl, video->bpl_alignment); ALIGN 644 drivers/media/platform/qcom/camss/camss-video.c p->bytesperline = ALIGN(bytesperline[i], 8); ALIGN 369 drivers/media/platform/qcom/venus/helpers.c mbs = (ALIGN(inst->width, 16) / 16) * (ALIGN(inst->height, 16) / 16); ALIGN 672 drivers/media/platform/qcom/venus/helpers.c y_stride = ALIGN(width, 128); ALIGN 673 drivers/media/platform/qcom/venus/helpers.c uv_stride = ALIGN(width, 128); ALIGN 674 drivers/media/platform/qcom/venus/helpers.c y_sclines = ALIGN(height, 32); ALIGN 675 drivers/media/platform/qcom/venus/helpers.c uv_sclines = ALIGN(((height + 1) >> 1), 16); ALIGN 681 drivers/media/platform/qcom/venus/helpers.c return ALIGN(size, SZ_4K); ALIGN 692 drivers/media/platform/qcom/venus/helpers.c y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); ALIGN 693 drivers/media/platform/qcom/venus/helpers.c y_meta_plane = y_meta_stride * ALIGN(DIV_ROUND_UP(height, 8), 16); ALIGN 694 drivers/media/platform/qcom/venus/helpers.c y_meta_plane = ALIGN(y_meta_plane, SZ_4K); ALIGN 696 drivers/media/platform/qcom/venus/helpers.c y_stride = ALIGN(width, 128); ALIGN 697 drivers/media/platform/qcom/venus/helpers.c y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); ALIGN 699 drivers/media/platform/qcom/venus/helpers.c uv_meta_stride = ALIGN(DIV_ROUND_UP(width / 2, 16), 64); ALIGN 700 drivers/media/platform/qcom/venus/helpers.c uv_meta_plane = uv_meta_stride * ALIGN(DIV_ROUND_UP(height / 2, 8), 16); ALIGN 701 drivers/media/platform/qcom/venus/helpers.c uv_meta_plane = ALIGN(uv_meta_plane, SZ_4K); ALIGN 703 drivers/media/platform/qcom/venus/helpers.c uv_stride = ALIGN(width, 128); ALIGN 704 drivers/media/platform/qcom/venus/helpers.c uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); ALIGN 706 drivers/media/platform/qcom/venus/helpers.c return ALIGN(y_meta_plane + y_plane + uv_meta_plane + uv_plane + ALIGN 752 drivers/media/platform/qcom/venus/helpers.c sz = ALIGN(height, 32) * ALIGN(width, 32) * 3 / 2 / 2; ALIGN 753 drivers/media/platform/qcom/venus/helpers.c return ALIGN(sz, SZ_4K); ALIGN 91 drivers/media/platform/qcom/venus/hfi_venus.c #define ALIGNED_QDSS_SIZE ALIGN(QDSS_SIZE, SZ_4K) ALIGN 92 drivers/media/platform/qcom/venus/hfi_venus.c #define ALIGNED_SFR_SIZE ALIGN(SFR_SIZE, SZ_4K) ALIGN 93 drivers/media/platform/qcom/venus/hfi_venus.c #define ALIGNED_QUEUE_SIZE ALIGN(QUEUE_SIZE, SZ_4K) ALIGN 94 drivers/media/platform/qcom/venus/hfi_venus.c #define SHARED_QSIZE ALIGN(ALIGNED_SFR_SIZE + ALIGNED_QUEUE_SIZE + \ ALIGN 331 drivers/media/platform/qcom/venus/hfi_venus.c desc->size = ALIGN(size, SZ_4K); ALIGN 168 drivers/media/platform/qcom/venus/vdec.c pixmp->height = ALIGN(pixmp->height, 32); ALIGN 180 drivers/media/platform/qcom/venus/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); ALIGN 593 drivers/media/platform/qcom/venus/vdec.c if (width > 1920 && height > ALIGN(1080, 32)) ALIGN 1257 drivers/media/platform/qcom/venus/vdec.c inst->height = ALIGN(frame_height_min(inst), 32); ALIGN 319 drivers/media/platform/qcom/venus/venc.c pixmp->height = ALIGN(pixmp->height, 32); ALIGN 321 drivers/media/platform/qcom/venus/venc.c pixmp->width = ALIGN(pixmp->width, 2); ALIGN 322 drivers/media/platform/qcom/venus/venc.c pixmp->height = ALIGN(pixmp->height, 2); ALIGN 332 drivers/media/platform/qcom/venus/venc.c pfmt[0].sizeimage = max(ALIGN(pfmt[0].sizeimage, SZ_4K), sizeimage); ALIGN 335 drivers/media/platform/qcom/venus/venc.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); ALIGN 1131 drivers/media/platform/qcom/venus/venc.c inst->height = ALIGN(720, 32); ALIGN 715 drivers/media/platform/rcar-vin/rcar-dma.c ALIGN(vin->format.width * vin->format.height, 0x80), ALIGN 95 drivers/media/platform/rcar-vin/rcar-v4l2.c return ALIGN(pix->width, align) * fmt->bpp; ALIGN 47 drivers/media/platform/rcar_jpu.c #define JPU_JPEG_HDR_SIZE (ALIGN(0x258, L1_CACHE_BYTES)) ALIGN 320 drivers/media/platform/rcar_jpu.c #define QTBL_SIZE (ALIGN(JPU_JPEG_QTBL_SIZE, \ ALIGN 322 drivers/media/platform/rcar_jpu.c #define HDCTBL_SIZE (ALIGN(JPU_JPEG_HDCTBL_SIZE, \ ALIGN 324 drivers/media/platform/rcar_jpu.c #define HACTBL_SIZE (ALIGN(JPU_JPEG_HACTBL_SIZE, \ ALIGN 74 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_y_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) ALIGN 75 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); ALIGN 76 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_y_size = ALIGN(enc_ref_y_size, S5P_FIMV_NV12MT_SALIGN); ALIGN 79 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(ctx->img_width, ALIGN 81 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN(ctx->img_height >> 1, ALIGN 83 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(enc_ref_c_size, ALIGN 86 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c guard_width = ALIGN(ctx->img_width + 16, ALIGN 88 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c guard_height = ALIGN((ctx->img_height >> 1) + 4, ALIGN 90 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(guard_width * guard_height, ALIGN 102 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(S5P_FIMV_DEC_NB_IP_SIZE + ALIGN 109 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(S5P_FIMV_DEC_NB_DCAC_SIZE + ALIGN 120 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(S5P_FIMV_DEC_OVERLAP_TRANSFORM_SIZE + ALIGN 134 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(S5P_FIMV_DEC_OVERLAP_TRANSFORM_SIZE + ALIGN 278 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN); ALIGN 279 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); ALIGN 286 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, ALIGN 288 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->chroma_size = ALIGN(ctx->buf_width * ALIGN 289 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN((ctx->img_height >> 1), ALIGN 292 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->mv_size = ALIGN(ctx->buf_width * ALIGN 293 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN((ctx->buf_height >> 2), ALIGN 298 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->img_width + 24, S5P_FIMV_NV12MT_HALIGN); ALIGN 300 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->img_height + 16, S5P_FIMV_NV12MT_VALIGN); ALIGN 301 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(guard_width * guard_height, ALIGN 305 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->img_width + 16, S5P_FIMV_NV12MT_HALIGN); ALIGN 307 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN((ctx->img_height >> 1) + 4, ALIGN 309 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->chroma_size = ALIGN(guard_width * guard_height, ALIGN 319 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN); ALIGN 321 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) ALIGN 322 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN(ctx->img_height, S5P_FIMV_NV12M_LVALIGN); ALIGN 323 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) ALIGN 324 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12M_CVALIGN); ALIGN 326 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); ALIGN 328 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); ALIGN 330 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN); ALIGN 332 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) ALIGN 333 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); ALIGN 335 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) ALIGN 336 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12MT_VALIGN); ALIGN 338 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); ALIGN 340 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); ALIGN 552 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_y_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) ALIGN 553 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); ALIGN 554 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_y_size = ALIGN(enc_ref_y_size, S5P_FIMV_NV12MT_SALIGN); ALIGN 556 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) ALIGN 557 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12MT_VALIGN); ALIGN 558 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(enc_ref_c_size, S5P_FIMV_NV12MT_SALIGN); ALIGN 560 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c guard_width = ALIGN(ctx->img_width + 16, ALIGN 562 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c guard_height = ALIGN((ctx->img_height >> 1) + 4, ALIGN 564 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c enc_ref_c_size = ALIGN(guard_width * guard_height, ALIGN 79 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V8(mb_width, mb_height), ALIGN 83 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V6(mb_width, mb_height), ALIGN 90 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN((mb_width * 16), 64) ALIGN 91 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c * ALIGN((mb_height * 16), 32) ALIGN 94 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN((mb_width * 16), 64) ALIGN 99 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN((lcu_width * 32), 64) ALIGN 100 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c * ALIGN((lcu_height * 32), 32) ALIGN 103 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN((lcu_width * 32), 64) ALIGN 108 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->luma_dpb_size = ALIGN((mb_width * mb_height) * ALIGN 111 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->chroma_dpb_size = ALIGN((mb_width * mb_height) * ALIGN 116 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V8( ALIGN 121 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V6( ALIGN 148 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 169 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 183 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 199 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 216 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 236 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(ENC_V100_H264_ME_SIZE(mb_width, mb_height), 16); ALIGN 247 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 260 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(ENC_V100_MPEG4_ME_SIZE(mb_width, ALIGN 267 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 279 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(ENC_V100_VP8_ME_SIZE(mb_width, mb_height), ALIGN 291 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, ALIGN 302 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ALIGN(ENC_V100_HEVC_ME_SIZE(lcu_width, lcu_height), 16); ALIGN 303 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, 256); ALIGN 439 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN_V6); ALIGN 440 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN_V6); ALIGN 465 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->mv_size = ALIGN(ctx->mv_size, 32); ALIGN 478 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN_V6); ALIGN 479 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); ALIGN 480 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); ALIGN 576 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c buf_addr1 = ALIGN(buf_addr1, 16); ALIGN 77 drivers/media/platform/sh_veu.c #define VIDEO_MEM_LIMIT ALIGN(2048 * 1536 * 2 * 3, 1024 * 1024) ALIGN 520 drivers/media/platform/sh_veu.c y_line = ALIGN(vfmt->frame.width, 16); ALIGN 720 drivers/media/platform/sh_veu.c return ALIGN((size_in * crop_out) / size_out, 4); ALIGN 742 drivers/media/platform/sh_veu.c return ALIGN((size_in * crop_out) / size_out, 4); ALIGN 756 drivers/media/platform/sh_veu.c src_stride = ALIGN(veu->vfmt_in.frame.width, 16); ALIGN 952 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.left = ALIGN(in->left, frame->fmt->w_align); ALIGN 953 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.top = ALIGN(in->top, frame->fmt->h_align); ALIGN 965 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width = ALIGN(in->width, frame->fmt->w_align); ALIGN 966 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.height = ALIGN(in->height, frame->fmt->w_align); ALIGN 251 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_width = ALIGN(frameinfo->width, ALIGN 253 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_height = ALIGN(frameinfo->height, ALIGN 580 drivers/media/platform/sti/delta/delta-v4l2.c width = ALIGN(pix->width, DELTA_WIDTH_ALIGNMENT); ALIGN 581 drivers/media/platform/sti/delta/delta-v4l2.c height = ALIGN(pix->height, DELTA_HEIGHT_ALIGNMENT); ALIGN 1187 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_width = ALIGN(streaminfo->width, ALIGN 1189 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_height = ALIGN(streaminfo->height, ALIGN 785 drivers/media/platform/sti/hva/hva-h264.c td->addr_spatial_context = ALIGN(paddr, 0x100); ALIGN 788 drivers/media/platform/sti/hva/hva-h264.c td->addr_temporal_context = ALIGN(paddr, 0x100); ALIGN 791 drivers/media/platform/sti/hva/hva-h264.c td->addr_temporal_context = ALIGN(paddr, 0x100); ALIGN 794 drivers/media/platform/sti/hva/hva-h264.c td->addr_spatial_context = ALIGN(paddr, 0x100); ALIGN 799 drivers/media/platform/sti/hva/hva-h264.c td->addr_brc_in_out_parameter = ALIGN(paddr, 0x100); ALIGN 802 drivers/media/platform/sti/hva/hva-h264.c td->addr_slice_header = ALIGN(paddr, 0x100); ALIGN 803 drivers/media/platform/sti/hva/hva-h264.c td->addr_external_sw = ALIGN(addr_esram, 0x100); ALIGN 806 drivers/media/platform/sti/hva/hva-h264.c td->addr_local_rec_buffer = ALIGN(addr_esram, 0x100); ALIGN 809 drivers/media/platform/sti/hva/hva-h264.c td->addr_lctx = ALIGN(addr_esram, 0x100); ALIGN 812 drivers/media/platform/sti/hva/hva-h264.c td->addr_cabac_context_buffer = ALIGN(addr_esram, 0x100); ALIGN 99 drivers/media/platform/sti/hva/hva-v4l2.c frameinfo->aligned_width = ALIGN(frameinfo->width, ALIGN 101 drivers/media/platform/sti/hva/hva-v4l2.c frameinfo->aligned_height = ALIGN(frameinfo->height, ALIGN 433 drivers/media/platform/sti/hva/hva-v4l2.c width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); ALIGN 434 drivers/media/platform/sti/hva/hva-v4l2.c height = ALIGN(pix->height, HVA_HEIGHT_ALIGNMENT); ALIGN 506 drivers/media/platform/sti/hva/hva-v4l2.c ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); ALIGN 507 drivers/media/platform/sti/hva/hva-v4l2.c ctx->frameinfo.aligned_height = ALIGN(pix->height, ALIGN 119 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c width = ALIGN(pix->width, _fmt->hsub); ALIGN 120 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c height = ALIGN(pix->height, _fmt->vsub); ALIGN 74 drivers/media/platform/ti-vpe/cal.c #define bytes_per_line(pixel, bpp) (ALIGN(pixel * bpp, 16)) ALIGN 874 drivers/media/platform/ti-vpe/vpe.c bytes_per_line = ALIGN((s_q_data->width * mv->depth) >> 3, ALIGN 1027 drivers/media/platform/ti-vpe/vpe.c stride = ALIGN((q_data->width * vpdma_fmt->depth) >> 3, ALIGN 1091 drivers/media/platform/ti-vpe/vpe.c stride = ALIGN((q_data->width * vpdma_fmt->depth) >> 3, ALIGN 1675 drivers/media/platform/ti-vpe/vpe.c plane_fmt->bytesperline = ALIGN(plane_fmt->bytesperline, ALIGN 445 drivers/media/platform/vsp1/vsp1_dl.c cmd_size = ALIGN(cmd_size, 16); ALIGN 1117 drivers/media/platform/vsp1/vsp1_dl.c header_size = ALIGN(header_size, 8); ALIGN 215 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.left = ALIGN(sel->r.left, 2); ALIGN 216 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.top = ALIGN(sel->r.top, 2); ALIGN 369 drivers/media/v4l2-core/v4l2-common.c plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; ALIGN 378 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); ALIGN 379 drivers/media/v4l2-core/v4l2-common.c aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); ALIGN 392 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); ALIGN 393 drivers/media/v4l2-core/v4l2-common.c aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); ALIGN 423 drivers/media/v4l2-core/v4l2-common.c pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; ALIGN 432 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); ALIGN 433 drivers/media/v4l2-core/v4l2-common.c aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); ALIGN 3193 drivers/message/fusion/mptbase.c facts->FWImageSize = ALIGN(facts->FWImageSize, 4); ALIGN 1668 drivers/message/fusion/mptctl.c newFwSize = ALIGN(karg.newImageSize, 4); ALIGN 104 drivers/misc/cardreader/rtsx_usb.c u16 cmd_len = ALIGN(SEQ_WRITE_DATA_OFFSET + len, 4); ALIGN 257 drivers/misc/cardreader/rtsx_usb.c rsp_len = ALIGN(rsp_len, 4); ALIGN 698 drivers/misc/fastrpc.c size = ALIGN(metalen, FASTRPC_ALIGN); ALIGN 703 drivers/misc/fastrpc.c size = ALIGN(size, FASTRPC_ALIGN); ALIGN 804 drivers/misc/fastrpc.c rlen -= ALIGN(args, FASTRPC_ALIGN) - args; ALIGN 805 drivers/misc/fastrpc.c args = ALIGN(args, FASTRPC_ALIGN); ALIGN 1017 drivers/misc/fastrpc.c memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4), ALIGN 286 drivers/misc/habanalabs/command_buffer.c if ((vma->vm_end - vma->vm_start) != ALIGN(cb->size, PAGE_SIZE)) { ALIGN 37 drivers/misc/mic/host/mic_smpt.c return ALIGN(pa - mic_system_page_mask(mdev), ALIGN 43 drivers/misc/mic/host/mic_smpt.c return ALIGN(pa, mdev->smpt->info.page_size); ALIGN 350 drivers/misc/mic/scif/scif_dma.c aligned_len = ALIGN(len, PAGE_SIZE); ALIGN 1594 drivers/misc/mic/scif/scif_dma.c work->len = ALIGN(work->len + src_cache_off, L1_CACHE_BYTES); ALIGN 1704 drivers/misc/mic/scif/scif_dma.c req.nr_bytes = ALIGN(len + (addr & ~PAGE_MASK), ALIGN 229 drivers/misc/mic/scif/scif_mmap.c (ALIGN(offset, PAGE_SIZE) != offset) || ALIGN 230 drivers/misc/mic/scif/scif_mmap.c (ALIGN(len, PAGE_SIZE) != len)) ALIGN 365 drivers/misc/mic/scif/scif_rma.c window->nr_lookup = ALIGN(nr_pages * PAGE_SIZE, ALIGN 828 drivers/misc/mic/scif/scif_rma.c nr_lookup = ALIGN(nr_contig_chunks, SCIF_NR_ADDR_IN_PAGE) ALIGN 1329 drivers/misc/mic/scif/scif_rma.c (ALIGN((u64)addr, PAGE_SIZE) != (u64)addr) || ALIGN 1330 drivers/misc/mic/scif/scif_rma.c (ALIGN((u64)len, PAGE_SIZE) != (u64)len)) ALIGN 1488 drivers/misc/mic/scif/scif_rma.c ((ALIGN(offset, PAGE_SIZE) != offset) || ALIGN 1591 drivers/misc/mic/scif/scif_rma.c ((ALIGN(offset, PAGE_SIZE) != offset) || ALIGN 1601 drivers/misc/mic/scif/scif_rma.c if (!len || (ALIGN((u64)addr, PAGE_SIZE) != (u64)addr) || ALIGN 1602 drivers/misc/mic/scif/scif_rma.c (ALIGN(len, PAGE_SIZE) != len)) ALIGN 1706 drivers/misc/mic/scif/scif_rma.c (ALIGN((u64)len, PAGE_SIZE) != (u64)len)) ALIGN 1710 drivers/misc/mic/scif/scif_rma.c if ((ALIGN(offset, PAGE_SIZE) != offset) || ALIGN 415 drivers/misc/mic/scif/scif_rma.h size_t align = ALIGN(size, PAGE_SIZE); ALIGN 431 drivers/misc/mic/scif/scif_rma.h size_t align = ALIGN(size, PAGE_SIZE); ALIGN 556 drivers/misc/mic/vop/vop_vringh.c ALIGN(partlen, dma_alignment)); ALIGN 613 drivers/misc/mic/vop/vop_vringh.c } else if (ALIGN(len, dma_alignment) > dlen) { ALIGN 640 drivers/misc/mic/vop/vop_vringh.c ALIGN(partlen, dma_alignment)); ALIGN 81 drivers/misc/sgi-xp/xp.h ALIGN(XPC_MSG_HDR_MAX_SIZE + (_payload_size), \ ALIGN 426 drivers/mmc/core/mmc_test.c len = ALIGN(size / min_sg_len, 512); ALIGN 216 drivers/mmc/core/sdio_io.c return ALIGN(sz, 4); ALIGN 63 drivers/mmc/host/cavium-octeon.c end = ALIGN(start + len - 1, CVMX_CACHE_LINE_SIZE); ALIGN 64 drivers/mmc/host/cavium-octeon.c start = ALIGN(start, CVMX_CACHE_LINE_SIZE); ALIGN 79 drivers/mmc/host/cavium-octeon.c end = ALIGN(start + len - 1, CVMX_CACHE_LINE_SIZE); ALIGN 80 drivers/mmc/host/cavium-octeon.c start = ALIGN(start, CVMX_CACHE_LINE_SIZE); ALIGN 1903 drivers/mtd/mtdcore.c *size = ALIGN(*size, mtd->writesize); ALIGN 355 drivers/mtd/nand/raw/atmel/pmecc.c size = ALIGN(size, sizeof(u16)); ALIGN 362 drivers/mtd/nand/raw/atmel/pmecc.c size = ALIGN(size, sizeof(s32)); ALIGN 2199 drivers/mtd/nand/raw/brcmnand/brcmnand.c return ALIGN(ilog2(size) - ilog2(writesize), 8) >> 3; ALIGN 350 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); ALIGN 351 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c geo->auxiliary_size = ALIGN(geo->metadata_size, 4) ALIGN 352 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c + ALIGN(geo->ecc_chunk_count, 4); ALIGN 446 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c metadata_size = ALIGN(geo->metadata_size, 4); ALIGN 447 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c status_size = ALIGN(geo->ecc_chunk_count, 4); ALIGN 1346 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c status = this->auxiliary_virt + ALIGN(meta, 4); ALIGN 822 drivers/mtd/nand/raw/marvell_nand.c unsigned int dma_len = min_t(int, ALIGN(len, 32), MAX_CHUNK_SIZE); ALIGN 1231 drivers/mtd/nand/raw/marvell_nand.c (ALIGN(lt->ecc_bytes, 32) * chunk), ALIGN 1494 drivers/mtd/nand/raw/marvell_nand.c ecc_offset += ALIGN(ecc_len, 32); ALIGN 207 drivers/mtd/nand/raw/meson_nand.c ecc_bytes = ALIGN(ecc_bytes, 2); ALIGN 825 drivers/mtd/nand/raw/nand_bbt.c len = ALIGN(len, mtd->writesize); ALIGN 834 drivers/mtd/nand/raw/nand_bbt.c len = ALIGN(len, mtd->writesize); ALIGN 1683 drivers/mtd/nand/raw/sunxi_nand.c ecc->bytes = ALIGN(ecc->bytes, 2); ALIGN 259 drivers/mtd/parsers/cmdlinepart.c ALIGN((unsigned long)this_mtd, sizeof(void *)); ALIGN 647 drivers/mtd/ubi/build.c ubi->ec_hdr_alsize = ALIGN(UBI_EC_HDR_SIZE, ubi->hdrs_min_io_size); ALIGN 648 drivers/mtd/ubi/build.c ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); ALIGN 669 drivers/mtd/ubi/build.c ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); ALIGN 203 drivers/mtd/ubi/cdev.c tbuf_size = ALIGN(count, ubi->min_io_size); ALIGN 284 drivers/mtd/ubi/cdev.c tbuf_size = ALIGN(count, ubi->min_io_size); ALIGN 1124 drivers/mtd/ubi/eba.c len = ALIGN(data_size, ubi->min_io_size); ALIGN 1319 drivers/mtd/ubi/eba.c aldata_size = ALIGN(data_size, ubi->min_io_size); ALIGN 34 drivers/mtd/ubi/misc.c length = ALIGN(i + 1, ubi->min_io_size); ALIGN 183 drivers/mtd/ubi/upd.c vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); ALIGN 225 drivers/mtd/ubi/upd.c int l = ALIGN(len, ubi->min_io_size); ALIGN 401 drivers/mtd/ubi/upd.c int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size); ALIGN 799 drivers/mtd/ubi/vtbl.c ubi->vtbl_size = ALIGN(ubi->vtbl_size, ubi->min_io_size); ALIGN 730 drivers/net/can/dev.c size = ALIGN(sizeof_priv, NETDEV_ALIGN) + sizeof(struct can_ml_priv); ALIGN 733 drivers/net/can/dev.c size = ALIGN(size, sizeof(struct sk_buff *)) + ALIGN 744 drivers/net/can/dev.c dev->ml_priv = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); ALIGN 945 drivers/net/can/grcan.c size_t lsize = ALIGN(maxs, GRCAN_BUFFER_ALIGNMENT); ALIGN 963 drivers/net/can/grcan.c large->handle = ALIGN(dma->base_handle, GRCAN_BUFFER_ALIGNMENT); ALIGN 481 drivers/net/can/peak_canfd/peak_canfd.c msg_ptr += ALIGN(msg_size, 4); ALIGN 642 drivers/net/can/peak_canfd/peak_canfd.c msg_size = ALIGN(sizeof(*msg) + cf->len, 4); ALIGN 537 drivers/net/can/slcan.c size = ALIGN(sizeof(*sl), NETDEV_ALIGN) + sizeof(struct can_ml_priv); ALIGN 544 drivers/net/can/slcan.c dev->ml_priv = (void *)sl + ALIGN(sizeof(*sl), NETDEV_ALIGN); ALIGN 1375 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *cmd_len = ALIGN(sizeof(struct kvaser_cmd_ext) - ALIGN 1449 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *cmd_len = ALIGN(sizeof(struct kvaser_cmd), 8); ALIGN 719 drivers/net/can/usb/peak_usb/pcan_usb_fd.c tx_msg_size = ALIGN(sizeof(struct pucan_tx_msg) + cfd->len, 4); ALIGN 150 drivers/net/can/vxcan.c dev->ml_priv = netdev_priv(dev) + ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN); ALIGN 286 drivers/net/can/vxcan.c .priv_size = ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN) + sizeof(struct can_ml_priv), ALIGN 1676 drivers/net/dsa/lantiq_gswip.c dev_addr = ALIGN(dma_addr, XRX200_GPHY_FW_ALIGN); ALIGN 558 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c aq_nic_cfg->rxds = ALIGN(aq_nic_cfg->rxds, AQ_HW_RXD_MULTIPLE); ALIGN 562 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c aq_nic_cfg->txds = ALIGN(aq_nic_cfg->txds, AQ_HW_TXD_MULTIPLE); ALIGN 376 drivers/net/ethernet/aquantia/atlantic/aq_ring.c ALIGN(hdr_len, sizeof(long))); ALIGN 83 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_RXD_MULTIPLE)) ALIGN 85 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_TXD_MULTIPLE)) ALIGN 144 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_RXD_MULTIPLE)) ALIGN 146 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_TXD_MULTIPLE)) ALIGN 349 drivers/net/ethernet/atheros/alx/hw.h #define ALX_MAX_FRAME_LEN(_mtu) (ALIGN((ALX_RAW_MTU(_mtu) + ALX_FRAME_PAD), 8)) ALIGN 1629 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->rx_skb_size = ALIGN(actual_mtu + ETH_FCS_LEN, ALIGN 874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h #define MAC_PAD (ALIGN(ETH_ALEN, sizeof(u32)) - ETH_ALEN) ALIGN 35 drivers/net/ethernet/broadcom/cnic_if.h #define CNIC_PAGE_ALIGN(addr) ALIGN(addr, CNIC_PAGE_SIZE) ALIGN 634 drivers/net/ethernet/broadcom/sb1250-mac.c ALIGN((unsigned long)d->sbdma_dscrtable_unaligned, ALIGN 1868 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_COM].res_u.mem_info.len = ALIGN( ALIGN 1878 drivers/net/ethernet/brocade/bna/bna_enet.c ALIGN(bfa_nw_ioc_meminfo(), PAGE_SIZE); ALIGN 1891 drivers/net/ethernet/brocade/bna/bna_enet.c ALIGN(sizeof(struct bfi_enet_stats), ALIGN 2150 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cq_size = ALIGN(cq_size, PAGE_SIZE); ALIGN 2155 drivers/net/ethernet/brocade/bna/bna_tx_rx.c dq_size = ALIGN(dq_size, PAGE_SIZE); ALIGN 2161 drivers/net/ethernet/brocade/bna/bna_tx_rx.c hq_size = ALIGN(hq_size, PAGE_SIZE); ALIGN 3329 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q_size = ALIGN(q_size, PAGE_SIZE); ALIGN 728 drivers/net/ethernet/calxeda/xgmac.c bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); ALIGN 126 drivers/net/ethernet/cavium/thunder/nicvf_queues.h #define NICVF_ALIGNED_ADDR(ADDR, ALIGN_BYTES) ALIGN(ADDR, ALIGN_BYTES) ALIGN 151 drivers/net/ethernet/chelsio/cxgb4/sge.c return ALIGN(s->pktshift + ETH_HLEN + VLAN_HLEN + mtu, s->fl_align); ALIGN 3198 drivers/net/ethernet/chelsio/cxgb4/sge.c q->offset += ALIGN(fp->size, s->fl_align); ALIGN 1840 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->offset += ALIGN(fp->size, s->fl_align); ALIGN 176 drivers/net/ethernet/cisco/enic/vnic_dev.c ring->desc_count = ALIGN(desc_count, count_align); ALIGN 178 drivers/net/ethernet/cisco/enic/vnic_dev.c ring->desc_size = ALIGN(desc_size, desc_align); ALIGN 206 drivers/net/ethernet/cisco/enic/vnic_dev.c ring->base_addr = ALIGN(ring->base_addr_unaligned, ALIGN 175 drivers/net/ethernet/ec_bhf.c iowrite32((ALIGN(len, 8) << 24) | addr, priv->fifo_io + FIFO_TX_REG); ALIGN 285 drivers/net/ethernet/emulex/benet/be_ethtool.c chunk_size = ALIGN(chunk_size, 4); ALIGN 709 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq_base_aligned = ALIGN(fq_base, DPAA_ETH_PCD_RXQ_NUM); ALIGN 2773 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return ALIGN(headroom, DPAA_FD_DATA_ALIGNMENT); ALIGN 1757 drivers/net/ethernet/freescale/enetc/enetc.c alloc_size = ALIGN(alloc_size, ENETC_SI_ALIGN); ALIGN 142 drivers/net/ethernet/freescale/enetc/enetc.h return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); ALIGN 136 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_align = ALIGN(dma, RFSE_ALIGN); ALIGN 172 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_align = ALIGN(dma, RSSE_ALIGN); ALIGN 62 drivers/net/ethernet/freescale/enetc/enetc_vf.c msg.size = ALIGN(sizeof(struct enetc_msg_cmd_set_primary_mac), 64); ALIGN 2499 drivers/net/ethernet/freescale/fman/fman.c fsl_fm_rx_extra_headroom = ALIGN(fsl_fm_rx_extra_headroom, 16); ALIGN 427 drivers/net/ethernet/hisilicon/hns/hns_enet.c truesize = ALIGN(size, L1_CACHE_BYTES); ALIGN 579 drivers/net/ethernet/hisilicon/hns/hns_enet.c memcpy(__skb_put(skb, length), va, ALIGN(length, sizeof(long))); ALIGN 598 drivers/net/ethernet/hisilicon/hns/hns_enet.c ALIGN(pull_len, sizeof(long))); ALIGN 2659 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c memcpy(__skb_put(skb, length), va, ALIGN(length, sizeof(long))); ALIGN 2922 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ALIGN(ring->pull_len, sizeof(long))); ALIGN 2933 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ALIGN(ring->pull_len, sizeof(long))); ALIGN 968 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c new_tx_desc_num = ALIGN(param->tx_pending, HNS3_RING_BD_MULTIPLE); ALIGN 969 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c new_rx_desc_num = ALIGN(param->rx_pending, HNS3_RING_BD_MULTIPLE); ALIGN 51 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c #define SIZE_8BYTES(size) (ALIGN((size), 8) >> 3) ALIGN 52 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c #define SIZE_4BYTES(size) (ALIGN((size), 4) >> 2) ALIGN 160 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell_data_size = ALIGN(API_CMD_CELL_DESC_SIZE + ALIGN 366 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c num_wqebbs = ALIGN(WQE_LCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; ALIGN 444 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c num_wqebbs = ALIGN(WQE_SCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; ALIGN 27 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c (ALIGN((eq)->q_len * (eq)->elem_size, pg_size) / (pg_size)) ALIGN 173 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c ALIGN((msg_len - MGMT_MSG_LEN_MIN), ALIGN 49 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c #define SIZE_16BYTES(size) (ALIGN(size, 16) >> 4) ALIGN 50 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) ALIGN 408 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); ALIGN 437 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); ALIGN 640 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c prod_idx += ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; ALIGN 733 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *wqe_size = ALIGN(*wqe_size, sq->wq->wqebb_size); ALIGN 879 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c wqe_size = ALIGN(wqe_size, wq->wqebb_size); ALIGN 52 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h ALIGN(HINIC_SQ_WQE_SIZE(1), (wq)->wqebb_size) ALIGN 311 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); ALIGN 452 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; ALIGN 531 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) ALIGN 628 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) ALIGN 750 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) >> wq->wqebb_size_shift; ALIGN 790 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; ALIGN 804 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) ALIGN 823 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) ALIGN 895 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; ALIGN 60 drivers/net/ethernet/huawei/hinic/hinic_main.c #define VLAN_BITMAP_SIZE(nic_dev) (ALIGN(VLAN_N_VID, 8) / 8) ALIGN 599 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr->count = ALIGN(rxdr->count, REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 603 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->count = ALIGN(txdr->count, REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 993 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->size = ALIGN(txdr->size, 4096); ALIGN 622 drivers/net/ethernet/intel/e1000/e1000_main.c min_tx_space = ALIGN(min_tx_space, 1024); ALIGN 626 drivers/net/ethernet/intel/e1000/e1000_main.c min_rx_space = ALIGN(min_rx_space, 1024); ALIGN 1506 drivers/net/ethernet/intel/e1000/e1000_main.c txdr->size = ALIGN(txdr->size, 4096); ALIGN 1698 drivers/net/ethernet/intel/e1000/e1000_main.c rxdr->size = ALIGN(rxdr->size, 4096); ALIGN 3043 drivers/net/ethernet/intel/e1000/e1000_main.c skb_fifo_len = ALIGN(skb_fifo_len, E1000_FIFO_HDR); ALIGN 275 drivers/net/ethernet/intel/e1000/e1000_param.c tx_ring->count = ALIGN(tx_ring->count, ALIGN 304 drivers/net/ethernet/intel/e1000/e1000_param.c rx_ring->count = ALIGN(rx_ring->count, ALIGN 677 drivers/net/ethernet/intel/e1000e/ethtool.c new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 681 drivers/net/ethernet/intel/e1000e/ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 1185 drivers/net/ethernet/intel/e1000e/ethtool.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 2334 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 2380 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 3974 drivers/net/ethernet/intel/e1000e/netdev.c min_tx_space = ALIGN(min_tx_space, 1024); ALIGN 3978 drivers/net/ethernet/intel/e1000e/netdev.c min_rx_space = ALIGN(min_rx_space, 1024); ALIGN 533 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c new_tx_count = ALIGN(new_tx_count, FM10K_REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 537 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c new_rx_count = ALIGN(new_rx_count, FM10K_REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 261 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int truesize = ALIGN(size, 512); ALIGN 269 drivers/net/ethernet/intel/fm10k/fm10k_main.c memcpy(__skb_put(skb, size), va, ALIGN(size, sizeof(long))); ALIGN 286 drivers/net/ethernet/intel/fm10k/fm10k_main.c memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); ALIGN 30 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 98 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 1962 drivers/net/ethernet/intel/i40e/i40e_ethtool.c new_tx_count = ALIGN(ring->tx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE); ALIGN 1963 drivers/net/ethernet/intel/i40e/i40e_ethtool.c new_rx_count = ALIGN(ring->rx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE); ALIGN 120 drivers/net/ethernet/intel/i40e/i40e_main.c mem->size = ALIGN(size, alignment); ALIGN 10535 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 10538 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_rx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 10549 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_tx_desc = ALIGN(I40E_FDIR_RING_COUNT, ALIGN 10551 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_rx_desc = ALIGN(I40E_FDIR_RING_COUNT, ALIGN 10559 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 10562 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_rx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 10570 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 10573 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->num_rx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, ALIGN 1319 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 1447 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 2043 drivers/net/ethernet/intel/i40e/i40e_txrx.c ALIGN(headlen, sizeof(long))); ALIGN 143 drivers/net/ethernet/intel/i40e/i40e_txrx.h page_size = ALIGN(rx_buf_len, PAGE_SIZE / 2); ALIGN 608 drivers/net/ethernet/intel/iavf/iavf_ethtool.c new_tx_count = ALIGN(new_tx_count, IAVF_REQ_DESCRIPTOR_MULTIPLE); ALIGN 613 drivers/net/ethernet/intel/iavf/iavf_ethtool.c new_rx_count = ALIGN(new_rx_count, IAVF_REQ_DESCRIPTOR_MULTIPLE); ALIGN 81 drivers/net/ethernet/intel/iavf/iavf_main.c mem->size = ALIGN(size, alignment); ALIGN 631 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 749 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 1330 drivers/net/ethernet/intel/iavf/iavf_txrx.c memcpy(__skb_put(skb, headlen), va, ALIGN(headlen, sizeof(long))); ALIGN 123 drivers/net/ethernet/intel/iavf/iavf_txrx.h page_size = ALIGN(rx_buf_len, PAGE_SIZE / 2); ALIGN 282 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c ALIGN(adapter->rx_rings[i].rx_buf_len, ALIGN 2596 drivers/net/ethernet/intel/ice/ice_ethtool.c new_tx_cnt = ALIGN(ring->tx_pending, ICE_REQ_DESC_MULTIPLE); ALIGN 2601 drivers/net/ethernet/intel/ice/ice_ethtool.c new_rx_cnt = ALIGN(ring->rx_pending, ICE_REQ_DESC_MULTIPLE); ALIGN 242 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->size = ALIGN(tx_ring->count * sizeof(struct ice_tx_desc), ALIGN 354 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->size = ALIGN(rx_ring->count * sizeof(union ice_32byte_rx_desc), ALIGN 718 drivers/net/ethernet/intel/ice/ice_txrx.c memcpy(__skb_put(skb, headlen), va, ALIGN(headlen, sizeof(long))); ALIGN 882 drivers/net/ethernet/intel/igb/igb_ethtool.c new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 886 drivers/net/ethernet/intel/igb/igb_ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 4051 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 4200 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 8043 drivers/net/ethernet/intel/igb/igb_main.c memcpy(__skb_put(skb, headlen), va, ALIGN(headlen, sizeof(long))); ALIGN 205 drivers/net/ethernet/intel/igbvf/ethtool.c new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 209 drivers/net/ethernet/intel/igbvf/ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 427 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 467 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 1340 drivers/net/ethernet/intel/igbvf/netdev.c srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> ALIGN 497 drivers/net/ethernet/intel/igc/igc_ethtool.c new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 501 drivers/net/ethernet/intel/igc/igc_ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 307 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 465 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 1317 drivers/net/ethernet/intel/igc/igc_main.c memcpy(__skb_put(skb, headlen), va, ALIGN(headlen, sizeof(long))); ALIGN 502 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c rxdr->count = ALIGN(rxdr->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 506 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c txdr->count = ALIGN(txdr->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 681 drivers/net/ethernet/intel/ixgb/ixgb_main.c txdr->size = ALIGN(txdr->size, 4096); ALIGN 764 drivers/net/ethernet/intel/ixgb/ixgb_main.c rxdr->size = ALIGN(rxdr->size, 4096); ALIGN 261 drivers/net/ethernet/intel/ixgb/ixgb_param.c tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 280 drivers/net/ethernet/intel/ixgb/ixgb_param.c rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 89 drivers/net/ethernet/intel/ixgbe/ixgbe.h page_size = ALIGN(rx_buf_len, PAGE_SIZE / 2); ALIGN 1045 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 1049 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 1807 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c skb_copy_to_linear_data(skb, va, ALIGN(pull_len, sizeof(long))); ALIGN 2139 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c xdp->data, ALIGN(size, sizeof(long))); ALIGN 6463 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 6557 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 253 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); ALIGN 257 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); ALIGN 904 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ALIGN(headlen, sizeof(long))); ALIGN 3397 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->size = ALIGN(tx_ring->size, 4096); ALIGN 3475 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->size = ALIGN(rx_ring->size, 4096); ALIGN 571 drivers/net/ethernet/jme.c txring->desc = (void *)ALIGN((unsigned long)(txring->alloc), ALIGN 573 drivers/net/ethernet/jme.c txring->dma = ALIGN(txring->dmaalloc, RING_DESC_ALIGN); ALIGN 817 drivers/net/ethernet/jme.c rxring->desc = (void *)ALIGN((unsigned long)(rxring->alloc), ALIGN 819 drivers/net/ethernet/jme.c rxring->dma = ALIGN(rxring->dmaalloc, RING_DESC_ALIGN); ALIGN 321 drivers/net/ethernet/marvell/mvneta.c ALIGN((mtu) + MVNETA_MH_SIZE + MVNETA_VLAN_TAG_LEN + \ ALIGN 970 drivers/net/ethernet/marvell/mvneta.c buf_size, ALIGN(buf_size, 8)); ALIGN 971 drivers/net/ethernet/marvell/mvneta.c buf_size = ALIGN(buf_size, 8); ALIGN 3276 drivers/net/ethernet/marvell/mvneta.c mtu, ALIGN(MVNETA_RX_PKT_SIZE(mtu), 8)); ALIGN 3277 drivers/net/ethernet/marvell/mvneta.c mtu = ALIGN(MVNETA_RX_PKT_SIZE(mtu), 8); ALIGN 323 drivers/net/ethernet/marvell/mvneta_bm.c i, size, ALIGN(size, ALIGN 325 drivers/net/ethernet/marvell/mvneta_bm.c size = ALIGN(size, MVNETA_BM_POOL_CAP_ALIGN); ALIGN 628 drivers/net/ethernet/marvell/mvpp2/mvpp2.h ALIGN((mtu) + MVPP2_MH_SIZE + MVPP2_VLAN_TAG_LEN + \ ALIGN 404 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c val = ALIGN(buf_size, 1 << MVPP2_POOL_BUF_SIZE_OFFSET); ALIGN 3505 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_rx_pending = ALIGN(ring->rx_pending, 16); ALIGN 3510 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_tx_pending = ALIGN(ring->tx_pending, 32); ALIGN 3516 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_tx_pending = ALIGN(MVPP2_MAX_SKB_DESCS, 32); ALIGN 3883 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c ALIGN(MVPP2_RX_PKT_SIZE(mtu), 8)); ALIGN 3884 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mtu = ALIGN(MVPP2_RX_PKT_SIZE(mtu), 8); ALIGN 74 drivers/net/ethernet/marvell/octeontx2/af/common.h aligned_addr = ALIGN((u64)qmem->iova, OTX2_ALIGN); ALIGN 18 drivers/net/ethernet/marvell/octeontx2/af/mbox.c static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); ALIGN 203 drivers/net/ethernet/marvell/octeontx2/af/mbox.c size = ALIGN(size, MBOX_MSG_ALIGN); ALIGN 204 drivers/net/ethernet/marvell/octeontx2/af/mbox.c size_rsp = ALIGN(size_rsp, MBOX_MSG_ALIGN); ALIGN 1446 drivers/net/ethernet/marvell/octeontx2/af/rvu.c offset = mbox->rx_start + ALIGN(sizeof(*req_hdr), MBOX_MSG_ALIGN); ALIGN 1531 drivers/net/ethernet/marvell/octeontx2/af/rvu.c offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); ALIGN 2685 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c ALIGN(sizeof(struct nix_aq_res_s), 128) + 256); ALIGN 433 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c ALIGN(sizeof(struct npa_aq_res_s), 128) + 256); ALIGN 86 drivers/net/ethernet/mellanox/mlx4/alloc.c start = ALIGN(start, align); ALIGN 1685 drivers/net/ethernet/mellanox/mlx4/cmd.c ALIGN(sizeof(struct mlx4_vhcr_cmd), ALIGN 1822 drivers/net/ethernet/mellanox/mlx4/cmd.c ALIGN(sizeof(struct mlx4_vhcr), ALIGN 2834 drivers/net/ethernet/mellanox/mlx4/en_netdev.c MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); ALIGN 505 drivers/net/ethernet/mellanox/mlx4/en_rx.c u32 sz_align = ALIGN(frag_size, SMP_CACHE_BYTES); ALIGN 1022 drivers/net/ethernet/mellanox/mlx4/en_rx.c frag_stride = ALIGN(frag_size, SMP_CACHE_BYTES); ALIGN 88 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->buf_size = ALIGN(size * ring->sp_stride, MLX4_EN_PAGE_SIZE); ALIGN 599 drivers/net/ethernet/mellanox/mlx4/en_tx.c return ALIGN(skb->len + CTRL_SIZE + ALIGN 602 drivers/net/ethernet/mellanox/mlx4/en_tx.c return ALIGN(skb->len + CTRL_SIZE + 2 * ALIGN 623 drivers/net/ethernet/mellanox/mlx4/en_tx.c ALIGN(*lso_header_size + 4, DS_SIZE); ALIGN 876 drivers/net/ethernet/mellanox/mlx4/en_tx.c desc_size = ALIGN(real_size, TXBB_SIZE); ALIGN 928 drivers/net/ethernet/mellanox/mlx4/en_tx.c int lso_align = ALIGN(lso_header_size + 4, DS_SIZE); ALIGN 1729 drivers/net/ethernet/mellanox/mlx4/fw.c ALIGN(fw->fw_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> ALIGN 2588 drivers/net/ethernet/mellanox/mlx4/fw.c *aux_pages = ALIGN(*aux_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> ALIGN 1696 drivers/net/ethernet/mellanox/mlx4/main.c ALIGN(dev->caps.reserved_mtts * dev->caps.mtt_entry_sz, ALIGN 794 drivers/net/ethernet/mellanox/mlx4/qp.c dev->phys_caps.base_sqpn = ALIGN(bottom_reserved_for_rss_bitmap, 8); ALIGN 1898 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->dma = ALIGN(cmd->alloc_dma, MLX5_ADAPTER_PAGE_SIZE); ALIGN 94 drivers/net/ethernet/mellanox/mlx5/core/en.h #define MLX5_MTT_OCTW(npages) (ALIGN(npages, 8) / 2) ALIGN 95 drivers/net/ethernet/mellanox/mlx5/core/en.h #define MLX5E_REQUIRED_WQE_MTTS (ALIGN(MLX5_MPWRQ_PAGES_PER_WQE, 8)) ALIGN 146 drivers/net/ethernet/mellanox/mlx5/core/en.h ALIGN(MLX5_MPWRQ_PAGES_PER_WQE * sizeof(struct mlx5_mtt), \ ALIGN 427 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c unsigned int len = ALIGN(headlen, sizeof(long)); ALIGN 1108 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ALIGN(MLX5E_RX_MAX_HEAD, sizeof(long))); ALIGN 1248 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ALIGN(MLX5E_RX_MAX_HEAD, sizeof(long))); ALIGN 1265 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); ALIGN 188 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c ALIGN(last_id - bulk_base_id + 1, 4)); ALIGN 408 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c inlen = ALIGN(cmd_total_sz + reformat_size - cmd_data_sz, 4); ALIGN 548 drivers/net/ethernet/micrel/ks8851.c rxalign = ALIGN(rxlen, 4); ALIGN 685 drivers/net/ethernet/micrel/ks8851.c return ALIGN(len + 4, 4); ALIGN 727 drivers/net/ethernet/micrel/ks8851.c xfer->len = ALIGN(txp->len, 4); ALIGN 455 drivers/net/ethernet/micrel/ks8851_mll.c ks_inblk(ks, buf, ALIGN(len, 4)); ALIGN 700 drivers/net/ethernet/micrel/ks8851_mll.c ks_outblk(ks, (u16 *)pdata, ALIGN(len, 4)); ALIGN 1715 drivers/net/ethernet/microchip/lan743x_main.c ring_allocation_size = ALIGN(tx->ring_size * ALIGN 2262 drivers/net/ethernet/microchip/lan743x_main.c ring_allocation_size = ALIGN(rx->ring_size * ALIGN 388 drivers/net/ethernet/myricom/myri10ge/myri10ge.c buf = (struct mcp_cmd *)ALIGN((unsigned long)buf_bytes, 8); ALIGN 1977 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ALIGN((unsigned long)ss->tx.req_bytes, 8); ALIGN 15 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c #define ALIGN8(x) ALIGN(x, 8) ALIGN 970 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c ALIGN(r_addr + 1, NFP_CPP_SAFE_AREA_SIZE) - r_addr); ALIGN 1039 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c ALIGN(w_addr + 1, NFP_CPP_SAFE_AREA_SIZE) - w_addr); ALIGN 357 drivers/net/ethernet/pensando/ionic/ionic_lif.c total_size = ALIGN(q_size, PAGE_SIZE) + ALIGN(cq_size, PAGE_SIZE); ALIGN 364 drivers/net/ethernet/pensando/ionic/ionic_lif.c total_size += ALIGN(sg_size, PAGE_SIZE); ALIGN 447 drivers/net/ethernet/pensando/ionic/ionic_lif.c cq_base = (void *)ALIGN((uintptr_t)q_base + q_size, PAGE_SIZE); ALIGN 448 drivers/net/ethernet/pensando/ionic/ionic_lif.c cq_base_pa = ALIGN(q_base_pa + q_size, PAGE_SIZE); ALIGN 451 drivers/net/ethernet/pensando/ionic/ionic_lif.c sg_base = (void *)ALIGN((uintptr_t)cq_base + cq_size, ALIGN 453 drivers/net/ethernet/pensando/ionic/ionic_lif.c sg_base_pa = ALIGN(cq_base_pa + cq_size, PAGE_SIZE); ALIGN 1690 drivers/net/ethernet/pensando/ionic/ionic_lif.c lif->info_sz = ALIGN(sizeof(*lif->info), PAGE_SIZE); ALIGN 476 drivers/net/ethernet/pensando/ionic/ionic_main.c idev->port_info_sz = ALIGN(sizeof(*idev->port_info), PAGE_SIZE); ALIGN 1807 drivers/net/ethernet/qlogic/qed/qed_iwarp.c #define QED_IWARP_PDU_DATA_LEN_WITH_PAD(data_len) ALIGN(data_len, 4) ALIGN 2615 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ALIGN((mtu) + ETH_HLEN + 2 * VLAN_HLEN + 2 + ETH_CACHE_LINE_SIZE, \ ALIGN 451 drivers/net/ethernet/qualcomm/emac/emac-mac.c ALIGN(max_frame, 8) : EMAC_DEF_RX_BUF_SIZE; ALIGN 689 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(tx_q->tpd.size, 8); ALIGN 733 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(rx_q->rrd.size, 8); ALIGN 737 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(rx_q->rfd.size, 8); ALIGN 777 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used = ALIGN(ring_header->dma_addr, 8) - ALIGN 287 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c padding = ALIGN(map_datalen, 4) - map_datalen; ALIGN 1320 drivers/net/ethernet/renesas/sh_eth.c ALIGN(mdp->rx_buf_sz, 32), ALIGN 1383 drivers/net/ethernet/renesas/sh_eth.c buf_len = ALIGN(mdp->rx_buf_sz, 32); ALIGN 1682 drivers/net/ethernet/renesas/sh_eth.c phys_to_virt(ALIGN(dma_addr, 4)), ALIGN 1688 drivers/net/ethernet/renesas/sh_eth.c ALIGN(mdp->rx_buf_sz, 32), ALIGN 1709 drivers/net/ethernet/renesas/sh_eth.c buf_len = ALIGN(mdp->rx_buf_sz, 32); ALIGN 465 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); ALIGN 663 drivers/net/ethernet/sfc/efx.c 2 * ALIGN(NET_IP_ALIGN + EFX_RX_USR_BUF_SIZE, ALIGN 617 drivers/net/ethernet/sfc/falcon/efx.c 2 * ALIGN(NET_IP_ALIGN + EF4_RX_USR_BUF_SIZE, ALIGN 227 drivers/net/ethernet/sfc/falcon/farch.c len = ALIGN(len, EF4_BUF_SIZE); ALIGN 1294 drivers/net/ethernet/sfc/falcon/net_driver.h (ALIGN(((mtu) + ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN + EF4_FRAME_PAD), 8)) ALIGN 94 drivers/net/ethernet/sfc/falcon/rx.c efx->rx_page_buf_step = ALIGN(efx->rx_dma_len + efx->rx_ip_align, ALIGN 232 drivers/net/ethernet/sfc/farch.c len = ALIGN(len, EFX_BUF_SIZE); ALIGN 989 drivers/net/ethernet/sfc/mcdi.c async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), ALIGN 2129 drivers/net/ethernet/sfc/mcdi.c ALIGN(MC_CMD_NVRAM_WRITE_IN_LEN(length), 4), ALIGN 1575 drivers/net/ethernet/sfc/net_driver.h (ALIGN(((mtu) + ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN + EFX_FRAME_PAD), 8)) ALIGN 94 drivers/net/ethernet/sfc/rx.c efx->rx_page_buf_step = ALIGN(efx->rx_dma_len + efx->rx_ip_align, ALIGN 28 drivers/net/ethernet/sfc/tx.c #define EFX_PIOBUF_SIZE_DEF ALIGN(256, L1_CACHE_BYTES) ALIGN 316 drivers/net/ethernet/sfc/tx.c ALIGN(skb->len, L1_CACHE_BYTES) >> 3); ALIGN 48 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c #define STMMAC_ALIGN(x) ALIGN(ALIGN(x, SMP_CACHE_BYTES), 16) ALIGN 69 drivers/net/ethernet/ti/cpsw.c #define CPSW_HEADROOM ALIGN(CPSW_HEADROOM_NA, sizeof(long)) ALIGN 85 drivers/net/ethernet/ti/cpsw.c #define CPSW_XMETA_OFFSET ALIGN(sizeof(struct xdp_frame), sizeof(long)) ALIGN 224 drivers/net/ethernet/ti/davinci_cpdma.c pool->desc_size = ALIGN(sizeof(struct cpdma_desc), ALIGN 859 drivers/net/ethernet/ti/tlan.c ALIGN((unsigned long)priv->dma_storage, 8); ALIGN 860 drivers/net/ethernet/ti/tlan.c priv->rx_list_dma = ALIGN(priv->dma_storage_dma, 8); ALIGN 378 drivers/net/ethernet/toshiba/ps3_gelic_net.c bufsize = ALIGN(GELIC_NET_MAX_MTU, GELIC_NET_RXBUF_ALIGN); ALIGN 1076 drivers/net/ethernet/wiznet/w5100.c ALIGN(sizeof(struct w5100_priv), NETDEV_ALIGN); ALIGN 1091 drivers/net/ethernet/wiznet/w5100.c alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); ALIGN 58 drivers/net/ethernet/xscale/ixp4xx_eth.c #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4) ALIGN 649 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN((desc->data & 3) + desc->buf_len, 4), ALIGN 723 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN(NET_IP_ALIGN + desc->pkt_len, 4)); ALIGN 745 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN(NET_IP_ALIGN + desc->pkt_len, 4) / 4); ALIGN 852 drivers/net/ethernet/xscale/ixp4xx_eth.c bytes = ALIGN(offset + len, 4); ALIGN 1162 drivers/net/fddi/defxx.c curr_p = ALIGN(top_p, PI_ALIGN_K_DESC_BLK); ALIGN 2935 drivers/net/fddi/defxx.c v = ALIGN(x, n); /* Where we want to be */ ALIGN 112 drivers/net/fddi/defza.c y = ALIGN(x, v); ALIGN 629 drivers/net/macsec.c size = ALIGN(size, __alignof__(struct scatterlist)); ALIGN 149 drivers/net/phy/mdio_bus.c size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); ALIGN 1676 drivers/net/tun.c alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES); ALIGN 1047 drivers/net/usb/cdc_ncm.c size_t align = ALIGN(skb->len, modulus) - skb->len + remainder; ALIGN 1129 drivers/net/usb/cdc_ncm.c delayed_ndp_size = ALIGN(ctx->max_ndp_size, ctx->tx_ndp_modulus); ALIGN 1517 drivers/net/usb/r8152.c return (void *)ALIGN((uintptr_t)data, RX_ALIGN); ALIGN 1522 drivers/net/usb/r8152.c return (void *)ALIGN((uintptr_t)data, TX_ALIGN); ALIGN 1162 drivers/net/virtio_net.c return ALIGN(len, L1_CACHE_BYTES); ALIGN 616 drivers/net/wan/ixp4xx_hss.c ALIGN((desc->data & 3) + desc->buf_len, 4), ALIGN 759 drivers/net/wan/ixp4xx_hss.c ALIGN(desc->pkt_len, 4) / 4); ALIGN 855 drivers/net/wan/ixp4xx_hss.c bytes = ALIGN(offset + len, 4); ALIGN 648 drivers/net/wimax/i2400m/fw.c size_t chunk_len = ALIGN(__chunk_len, I2400M_PL_ALIGN); ALIGN 718 drivers/net/wimax/i2400m/fw.c section_size = ALIGN(sizeof(*bh) + data_size, 4); ALIGN 1264 drivers/net/wimax/i2400m/rx.c pl_itr = ALIGN(pl_itr, I2400M_PL_ALIGN); ALIGN 1282 drivers/net/wimax/i2400m/rx.c pl_itr += ALIGN(pl_size, I2400M_PL_ALIGN); ALIGN 644 drivers/net/wimax/i2400m/tx.c hdr_size = ALIGN(hdr_size, I2400M_PL_ALIGN); ALIGN 653 drivers/net/wimax/i2400m/tx.c aligned_size = ALIGN(tx_msg_moved->size, i2400m->bus_tx_block_size); ALIGN 727 drivers/net/wimax/i2400m/tx.c padded_len = ALIGN(buf_len, I2400M_PL_ALIGN); ALIGN 190 drivers/net/wimax/i2400m/usb-fw.c size_t cmd_size_a = ALIGN(cmd_size, 16); /* USB restriction */ ALIGN 588 drivers/net/wireless/ath/ar5523/ar5523.c pad = ALIGN(hdrlen, 4) - hdrlen; ALIGN 1551 drivers/net/wireless/ath/ath10k/ce.c ALIGN(src_ring->base_addr_ce_space_unaligned, ALIGN 1608 drivers/net/wireless/ath/ath10k/ce.c ALIGN(src_ring->base_addr_ce_space_unaligned, ALIGN 1665 drivers/net/wireless/ath/ath10k/ce.c ALIGN(dest_ring->base_addr_ce_space_unaligned, ALIGN 1714 drivers/net/wireless/ath/ath10k/ce.c ALIGN(dest_ring->base_addr_ce_space_unaligned, ALIGN 1177 drivers/net/wireless/ath/ath10k/core.c if (buf_len < ALIGN(board_ie_len, 4)) { ALIGN 1179 drivers/net/wireless/ath/ath10k/core.c buf_len, ALIGN(board_ie_len, 4)); ALIGN 1231 drivers/net/wireless/ath/ath10k/core.c board_ie_len = ALIGN(board_ie_len, 4); ALIGN 1261 drivers/net/wireless/ath/ath10k/core.c if (len < ALIGN(ie_len, 4)) { ALIGN 1291 drivers/net/wireless/ath/ath10k/core.c ie_len = ALIGN(ie_len, 4); ALIGN 1338 drivers/net/wireless/ath/ath10k/core.c magic_len = ALIGN(magic_len, 4); ALIGN 1798 drivers/net/wireless/ath/ath10k/core.c magic_len = ALIGN(magic_len, 4); ALIGN 1919 drivers/net/wireless/ath/ath10k/core.c ie_len = ALIGN(ie_len, 4); ALIGN 1076 drivers/net/wireless/ath/ath10k/coredump.c size = ALIGN(size, 16); ALIGN 2266 drivers/net/wireless/ath/ath10k/wmi.c len = ALIGN(le32_to_cpu(arg->buf_len), 4); ALIGN 2310 drivers/net/wireless/ath/ath10k/wmi.c len = ALIGN(le32_to_cpu(arg->buf_len), 4); ALIGN 158 drivers/net/wireless/ath/ath6kl/core.h #define ATH6KL_CAPABILITY_LEN (ALIGN(ATH6KL_FW_CAPABILITY_MAX, 32) / 32) ALIGN 319 drivers/net/wireless/ath/ath6kl/main.c length = ALIGN(length, 4); ALIGN 1037 drivers/net/wireless/ath/ath6kl/txrx.c frame_8023_len = ALIGN(frame_8023_len, 4); ALIGN 887 drivers/net/wireless/ath/carl9170/rx.c wlen = ALIGN(clen, 4); ALIGN 132 drivers/net/wireless/ath/wil6210/wil6210.h return ALIGN(mtu + WIL_MAX_MPDU_OVERHEAD, 8); ALIGN 1947 drivers/net/wireless/ath/wil6210/wmi.c evt = kmalloc(ALIGN(offsetof(struct pending_wmi_event, ALIGN 404 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c req_sz = ALIGN(req_sz, func->cur_blksize); ALIGN 329 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ret = pskb_expand_head(skb, ALIGN(head_delta, NET_SKB_PAD), 0, ALIGN 182 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c len -= ALIGN(tlv_len, 4); ALIGN 183 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c data += sizeof(*tlv) + ALIGN(tlv_len, 4); ALIGN 663 drivers/net/wireless/intel/iwlwifi/iwl-drv.c len -= ALIGN(tlv_len, 4); ALIGN 664 drivers/net/wireless/intel/iwlwifi/iwl-drv.c data += sizeof(*tlv) + ALIGN(tlv_len, 4); ALIGN 1545 drivers/net/wireless/intel/iwlwifi/mvm/d3.c data_size = ALIGN(le32_to_cpu(v6->wake_packet_bufsize), 4); ALIGN 1602 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ALIGN(le32_to_cpu(v7->wake_packet_bufsize), 4))) { ALIGN 1867 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.len = cpu_to_le32(min(ALIGN(count + delta, 4) / 4, ALIGN 1928 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd_size = sizeof(*cmd) + ALIGN(data_size, 4); ALIGN 129 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c u32 aligned_lci_len = ALIGN(params->lci_len + 2, 4); ALIGN 130 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c u32 aligned_civicloc_len = ALIGN(params->civicloc_len + 2, 4); ALIGN 2560 drivers/net/wireless/intel/iwlwifi/mvm/sta.c reorder_buf_size = ALIGN(reorder_buf_size, SMP_CACHE_BYTES); ALIGN 305 drivers/net/wireless/intel/iwlwifi/pcie/internal.h #define IWL_FIRST_TB_SIZE_ALIGN ALIGN(IWL_FIRST_TB_SIZE, 64) ALIGN 1352 drivers/net/wireless/intel/iwlwifi/pcie/rx.c offset += ALIGN(len, FH_RSCSR_FRAME_ALIGN); ALIGN 495 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c tb1_len = ALIGN(len, 4); ALIGN 2409 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tb1_len = ALIGN(len, 4); ALIGN 801 drivers/net/wireless/intersil/orinoco/main.c ALIGN(datalen, 2), rxfid, ALIGN 915 drivers/net/wireless/intersil/orinoco/main.c ALIGN(length, 2), rxfid, ALIGN 1275 drivers/net/wireless/intersil/orinoco/orinoco_usb.c tx_size = ALIGN(buf - ctx->buf->data, 2); ALIGN 713 drivers/net/wireless/marvell/libertas/if_spi.c card->cmd_buffer, ALIGN(len, 4)); ALIGN 768 drivers/net/wireless/marvell/libertas/if_spi.c err = spu_read(card, IF_SPI_DATA_RDWRPORT_REG, data, ALIGN(len, 4)); ALIGN 949 drivers/net/wireless/marvell/libertas/if_spi.c blen = ALIGN(nb, 4); ALIGN 440 drivers/net/wireless/ti/wl1251/boot.c nvs_len = ALIGN(nvs_len, 4); ALIGN 401 drivers/net/wireless/ti/wl1251/cmd.c cmd_len = ALIGN(sizeof(*cmd) + buf_len, 4); ALIGN 1606 drivers/net/wireless/ti/wl18xx/main.c return ALIGN(buf_offset, WL12XX_BUS_BLOCK_SIZE); ALIGN 1812 drivers/net/wireless/ti/wlcore/acx.c acx_size = ALIGN(sizeof(*acx) + fields_size, 4); ALIGN 400 drivers/net/wireless/ti/wlcore/boot.c ALIGN(nvs_ptr - (u8 *)wl->nvs + 7, 4); ALIGN 1307 drivers/net/wireless/ti/wlcore/main.c #define TOTAL_TX_DUMMY_PACKET_SIZE (ALIGN(1400, 512)) ALIGN 40 drivers/net/wireless/ti/wlcore/rx.c return ALIGN(pkt_len, WL12XX_BUS_BLOCK_SIZE); ALIGN 184 drivers/net/wireless/ti/wlcore/tx.c return ALIGN(packet_length, WL1271_TX_ALIGN_TO); ALIGN 186 drivers/net/wireless/ti/wlcore/tx.c return ALIGN(packet_length, WL12XX_BUS_BLOCK_SIZE); ALIGN 836 drivers/ntb/ntb_transport.c dma_addr = ALIGN(dma_addr, align); ALIGN 256 drivers/nvdimm/claim.c unsigned int sz_align = ALIGN(size + (offset & (512 - 1)), 512); ALIGN 44 drivers/nvdimm/label.c return ALIGN(sizeof(struct nd_namespace_index) + DIV_ROUND_UP(nslot, 8), ALIGN 677 drivers/nvdimm/label.c u32 nfree = ALIGN(nslot, BITS_PER_LONG); ALIGN 397 drivers/nvdimm/pfn_devs.c zero_len = ALIGN(num_bad << 9, PAGE_SIZE); ALIGN 640 drivers/nvdimm/pfn_devs.c return ALIGN(SZ_8K, PAGE_SIZE); ALIGN 770 drivers/nvdimm/pfn_devs.c offset = ALIGN(start + SZ_8K + MAX_STRUCT_PAGE_SIZE * npfns, align) ALIGN 773 drivers/nvdimm/pfn_devs.c offset = ALIGN(start + SZ_8K, align) - start; ALIGN 398 drivers/of/fdt.c size = ALIGN(size, 4); ALIGN 359 drivers/parisc/ccio-dma.c boundary_size = ALIGN((unsigned long long)dma_get_seg_boundary(dev) + 1, ALIGN 666 drivers/parisc/ccio-dma.c saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); ALIGN 746 drivers/parisc/ccio-dma.c size = ALIGN(size + offset, IOVP_SIZE); ALIGN 822 drivers/parisc/ccio-dma.c size = ALIGN(size, IOVP_SIZE); ALIGN 149 drivers/parisc/iommu-helpers.h if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > ALIGN 172 drivers/parisc/iommu-helpers.h dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); ALIGN 345 drivers/parisc/sba_iommu.c boundary_size = ALIGN((unsigned long long)dma_get_seg_boundary(dev) + 1, ALIGN 379 drivers/parisc/sba_iommu.c uint bitshiftcnt = ALIGN(ioc->res_bitshift, o); ALIGN 814 drivers/parisc/sba_iommu.c size = ALIGN(size, IOVP_SIZE); ALIGN 131 drivers/pci/endpoint/pci-epc-mem.c size = ALIGN(size, mem->page_size); ALIGN 169 drivers/pci/endpoint/pci-epc-mem.c size = ALIGN(size, mem->page_size); ALIGN 127 drivers/pci/endpoint/pci-epf-core.c size = ALIGN(size, align); ALIGN 798 drivers/pci/setup-bus.c size = ALIGN(max(size, add_size) + children_add_size, align); ALIGN 816 drivers/pci/setup-bus.c size = ALIGN(max(size, add_size) + children_add_size, align); ALIGN 944 drivers/pci/setup-bus.c else if (ALIGN(align + min_align, min_align) < align1) ALIGN 1956 drivers/pci/setup-bus.c io = min(ALIGN(io, align), remaining_io); ALIGN 1961 drivers/pci/setup-bus.c mmio = min(ALIGN(mmio, align), remaining_mmio); ALIGN 1966 drivers/pci/setup-bus.c mmio_pref = min(ALIGN(mmio_pref, align), remaining_mmio_pref); ALIGN 36 drivers/phy/phy-core-mipi-dphy.c ui = ALIGN(PSEC_PER_SEC, hs_clk_rate); ALIGN 93 drivers/phy/phy-core-mipi-dphy.c ui = ALIGN(PSEC_PER_SEC, cfg->hs_clk_rate); ALIGN 894 drivers/rapidio/devices/tsi721.c win_base = ALIGN(win_base, align); ALIGN 376 drivers/remoteproc/qcom_q6v5_mss.c return qcom_scm_assign_mem(addr, ALIGN(size, SZ_4K), ALIGN 981 drivers/remoteproc/qcom_q6v5_mss.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); ALIGN 413 drivers/rpmsg/qcom_glink_native.c int req_len = ALIGN(sizeof(req.msg) + name_len, 8); ALIGN 761 drivers/rpmsg/qcom_glink_native.c extra = ALIGN(extra, 8); ALIGN 894 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(hdr) + chunk_size, 8)); ALIGN 958 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(msglen, 8)); ALIGN 1009 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(msg), 8)); ALIGN 1019 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(msg), 8)); ALIGN 1029 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(msg), 8)); ALIGN 1033 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(msg), 8)); ALIGN 1037 drivers/rpmsg/qcom_glink_native.c qcom_glink_rx_advance(glink, ALIGN(sizeof(msg), 8)); ALIGN 176 drivers/rpmsg/qcom_glink_rpm.c pad = ALIGN(tlen, 8) - ALIGN_DOWN(tlen, 4); ALIGN 170 drivers/rpmsg/qcom_glink_smem.c head = ALIGN(head, 8); ALIGN 4679 drivers/s390/block/dasd_eckd.c size = ALIGN(size, 8); ALIGN 161 drivers/s390/block/scm_blk.c unsigned long bytes = ALIGN(_aidaw, PAGE_SIZE) - _aidaw; ALIGN 48 drivers/s390/char/vmcp.c vmcp_cma_size = ALIGN(memparse(p, NULL), PAGE_SIZE); ALIGN 66 drivers/s390/char/vmcp.c nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 90 drivers/s390/char/vmcp.c nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 112 drivers/s390/cio/fcx.c offset += sizeof(struct dcw) + ALIGN((int) dcw->cd_count, 4); ALIGN 132 drivers/s390/cio/fcx.c cbc_data = 4 + ALIGN(data_count, 4) - data_count; ALIGN 176 drivers/s390/cio/fcx.c tcat->count = ALIGN(count, 4) + 4; ALIGN 304 drivers/s390/cio/fcx.c size = ALIGN(sizeof(struct dcw) + cd_count, 4); ALIGN 142 drivers/s390/cio/itcw.c addr = ALIGN(*start, align); ALIGN 144 drivers/s390/cio/itcw.c addr = ALIGN(addr, 4096); ALIGN 145 drivers/s390/cio/itcw.c addr = ALIGN(addr, align); ALIGN 662 drivers/s390/net/qeth_core.h return (struct ccw1 *)(iob->data + ALIGN(iob->length, 8)); ALIGN 710 drivers/s390/net/qeth_core_main.c iob->data = kzalloc(ALIGN(length, 8) + ccws * sizeof(struct ccw1), ALIGN 527 drivers/scsi/aic94xx/aic94xx_hwi.c dma_addr = ALIGN((unsigned long) dma_handle, ASD_DDB_SIZE); ALIGN 563 drivers/scsi/aic94xx/aic94xx_hwi.c dma_addr = ALIGN((unsigned long) dma_handle, ASD_SCB_SIZE); ALIGN 1543 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.param_len = ALIGN(ioctl->param.req.param_len + 1, 4); ALIGN 1746 drivers/scsi/csiostor/csio_lnode.c wr_size += ALIGN(pld_len, 8); ALIGN 1752 drivers/scsi/csiostor/csio_lnode.c wr_size = ALIGN(wr_size, 16); ALIGN 1782 drivers/scsi/csiostor/csio_lnode.c csio_wr_copy_to_wrp(&dsgl, &wrp, ALIGN(wr_off, 8), ALIGN 242 drivers/scsi/csiostor/csio_scsi.c ALIGN((_imm), 16)) /* Immed data */ ALIGN 245 drivers/scsi/csiostor/csio_scsi.c (ALIGN(CSIO_SCSI_CMD_WR_SZ((_imm)), 16)) ALIGN 398 drivers/scsi/csiostor/csio_scsi.c sizeof(struct fw_scsi_read_wr) + ALIGN(imm, 16)); ALIGN 451 drivers/scsi/csiostor/csio_scsi.c sizeof(struct fw_scsi_write_wr) + ALIGN(imm, 16)); ALIGN 461 drivers/scsi/csiostor/csio_scsi.c ALIGN((imm), 16) + /* Immed data */ \ ALIGN 466 drivers/scsi/csiostor/csio_scsi.c (ALIGN(((req)->nsge - 1), 2) / 2)); \ ALIGN 487 drivers/scsi/csiostor/csio_scsi.c size = ALIGN(size, 16); ALIGN 524 drivers/scsi/csiostor/csio_scsi.c size = ALIGN(size, 16); ALIGN 678 drivers/scsi/csiostor/csio_scsi.c uint32_t size = ALIGN(sizeof(struct fw_scsi_abrt_cls_wr), 16); ALIGN 204 drivers/scsi/csiostor/csio_wr.c qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); ALIGN 223 drivers/scsi/csiostor/csio_wr.c qsz = ALIGN(qsize/wrsize, 16) * wrsize; ALIGN 227 drivers/scsi/csiostor/csio_wr.c qsz = ALIGN(qsize/wrsize, 8) * wrsize + csio_wr_qstat_pgsz(hw); ALIGN 872 drivers/scsi/csiostor/csio_wr.c uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); ALIGN 913 drivers/scsi/csiostor/csio_wr.c q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / ALIGN 1096 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); ALIGN 70 drivers/scsi/esas2r/esas2r_init.c mem_desc->phys_addr = ALIGN(mem_desc->phys_addr, align); ALIGN 749 drivers/scsi/esas2r/esas2r_init.c + ALIGN(ESAS2R_DISC_BUF_LEN, 8) ALIGN 750 drivers/scsi/esas2r/esas2r_init.c + ALIGN(sizeof(u32), 8) /* outbound list copy pointer */ ALIGN 753 drivers/scsi/esas2r/esas2r_init.c + ALIGN((num_requests + num_ae_requests + 1 + ALIGN 757 drivers/scsi/esas2r/esas2r_init.c + ALIGN((num_requests + num_ae_requests + 1 + ALIGN 77 drivers/scsi/fnic/fnic_res.c c->wq_enet_desc_count = ALIGN(c->wq_enet_desc_count, 16); ALIGN 83 drivers/scsi/fnic/fnic_res.c c->wq_copy_desc_count = ALIGN(c->wq_copy_desc_count, 16); ALIGN 89 drivers/scsi/fnic/fnic_res.c c->rq_desc_count = ALIGN(c->rq_desc_count, 16); ALIGN 203 drivers/scsi/fnic/vnic_dev.c ring->desc_count = ALIGN(desc_count, count_align); ALIGN 205 drivers/scsi/fnic/vnic_dev.c ring->desc_size = ALIGN(desc_size, desc_align); ALIGN 234 drivers/scsi/fnic/vnic_dev.c ring->base_addr = ALIGN(ring->base_addr_unaligned, ALIGN 8200 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.bmbx.aphys = ALIGN(dmabuf->phys, ALIGN 14524 drivers/scsi/lpfc/lpfc_sli.c pgcnt = ALIGN(entry_size * entry_count, hw_page_size) / hw_page_size; ALIGN 1186 drivers/scsi/qedf/qedf_main.c fcport->sq_mem_size = ALIGN(fcport->sq_mem_size, QEDF_PAGE_SIZE); ALIGN 2841 drivers/scsi/qedf/qedf_main.c ALIGN(qedf->bdq_pbl_mem_size, QEDF_PAGE_SIZE); ALIGN 2955 drivers/scsi/qedf/qedf_main.c ALIGN(qedf->global_queues[i]->cq_mem_size, QEDF_PAGE_SIZE); ALIGN 2961 drivers/scsi/qedf/qedf_main.c ALIGN(qedf->global_queues[i]->cq_pbl_size, QEDF_PAGE_SIZE); ALIGN 3068 drivers/scsi/qedf/qedf_main.c sq_mem_size = ALIGN(sq_mem_size, QEDF_PAGE_SIZE); ALIGN 3073 drivers/scsi/qedf/qedf_main.c cq_mem_size = ALIGN(cq_mem_size, QEDF_PAGE_SIZE); ALIGN 63 drivers/scsi/qedi/qedi.h #define QEDI_PAGE_ALIGN(addr) ALIGN(addr, QEDI_PAGE_SIZE) ALIGN 1490 drivers/scsi/qedi/qedi_main.c qedi->bdq_pbl_mem_size = ALIGN(qedi->bdq_pbl_mem_size, QEDI_PAGE_SIZE); ALIGN 1885 drivers/scsi/sg.c blk_size = ALIGN(blk_size, SG_SECTOR_SZ); ALIGN 69 drivers/scsi/snic/snic_res.c c->wq_enet_desc_count = ALIGN(c->wq_enet_desc_count, 16); ALIGN 208 drivers/scsi/snic/vnic_dev.c ring->desc_count = ALIGN(desc_count, count_align); ALIGN 210 drivers/scsi/snic/vnic_dev.c ring->desc_size = ALIGN(desc_size, desc_align); ALIGN 238 drivers/scsi/snic/vnic_dev.c ring->base_addr = ALIGN(ring->base_addr_unaligned, ALIGN 1968 drivers/scsi/storvsc_drv.c ALIGN(MAX_MULTIPAGE_BUFFER_PACKET + ALIGN 327 drivers/scsi/wd719x.c wd->fw_size = ALIGN(fw_wcs->size, 4) + fw_risc->size; ALIGN 339 drivers/scsi/wd719x.c memcpy(wd->fw_virt + ALIGN(fw_wcs->size, 4), fw_risc->data, ALIGN 358 drivers/scsi/wd719x.c risc_init[1] = wd->fw_phys + ALIGN(fw_wcs->size, 4); /* RISC FW */ ALIGN 356 drivers/soc/bcm/brcmstb/pm/pm-arm.c unsigned int size = ALIGN(len, FNCPY_ALIGN); ALIGN 62 drivers/soc/qcom/mdt_loader.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); ALIGN 194 drivers/soc/qcom/mdt_loader.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); ALIGN 388 drivers/soc/qcom/qcom-geni-se.c int ceil_bpw = ALIGN(bpw, BITS_PER_BYTE); ALIGN 174 drivers/soc/qcom/smd-rpm.c len = min_t(u32, ALIGN(msg_length, 4), sizeof(msgbuf)); ALIGN 292 drivers/soc/qcom/smem.c return p + le32_to_cpu(phdr->size) - ALIGN(sizeof(*e), cacheline); ALIGN 325 drivers/soc/qcom/smem.c return p - le32_to_cpu(e->size) - ALIGN(sizeof(*e), cacheline); ALIGN 371 drivers/soc/qcom/smem.c alloc_size = sizeof(*hdr) + ALIGN(size, 8); ALIGN 379 drivers/soc/qcom/smem.c hdr->size = cpu_to_le32(ALIGN(size, 8)); ALIGN 411 drivers/soc/qcom/smem.c size = ALIGN(size, 8); ALIGN 705 drivers/soc/ti/knav_qmss_queue.c dma_size = ALIGN(pool->desc_size, SMP_CACHE_BYTES); ALIGN 942 drivers/soc/ti/knav_qmss_queue.c size = ALIGN(size, SMP_CACHE_BYTES); ALIGN 1280 drivers/spi/spi-bcm2835.c ctlr = spi_alloc_master(&pdev->dev, ALIGN(sizeof(*bs), ALIGN 688 drivers/spi/spi-nxp-fspi.c for (j = 0; j < ALIGN(op->data.nbytes - i, 4); j += 4) { ALIGN 2217 drivers/spi/spi.c size_t ctlr_size = ALIGN(sizeof(*ctlr), dma_get_cache_alignment()); ALIGN 165 drivers/staging/gdm724x/gdm_mux.c total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); ALIGN 362 drivers/staging/gdm724x/gdm_mux.c total_len = ALIGN(MUX_HEADER_SIZE + len, 4); ALIGN 612 drivers/staging/ks7010/ks_hostif.h return ALIGN(size, KS7010_SIZE_ALIGNMENT); ALIGN 131 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c addr += ALIGN(ctx->dst_fmt.width, 16); ALIGN 133 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c addr += ALIGN(ctx->dst_fmt.width, 16); ALIGN 65 drivers/staging/media/ipu3/ipu3-css-fw.c width = ALIGN(width, IPU3_UAPI_ISP_VEC_ELEMS / 4); ALIGN 754 drivers/staging/media/ipu3/ipu3-css-params.c stripe_input_width_y = ALIGN(stripe_input_width_y, 8); ALIGN 1776 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f); ALIGN 1819 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f); ALIGN 1851 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, 2 * f) / 2; ALIGN 2351 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); ALIGN 2358 drivers/staging/media/ipu3/ipu3-css-params.c width = ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); ALIGN 2544 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); ALIGN 2872 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int blocks_x = ALIGN(DIV_ROUND_UP(frame_out_x, ALIGN 148 drivers/staging/media/ipu3/ipu3-css.c f->width = ALIGN(clamp_t(u32, f->width, ALIGN 150 drivers/staging/media/ipu3/ipu3-css.c f->height = ALIGN(clamp_t(u32, f->height, ALIGN 152 drivers/staging/media/ipu3/ipu3-css.c queue->width_pad = ALIGN(f->width, queue->css_fmt->width_align); ALIGN 715 drivers/staging/media/ipu3/ipu3-css.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, ALIGN 831 drivers/staging/media/ipu3/ipu3-css.c ALIGN(DIV_ROUND_UP(css_pipe->rect[IPU3_CSS_RECT_GDC].width, ALIGN 1286 drivers/staging/media/ipu3/ipu3-css.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].height, ALIGN 1289 drivers/staging/media/ipu3/ipu3-css.c w = ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, ALIGN 1314 drivers/staging/media/ipu3/ipu3-css.c size = w * ALIGN(h * 3 / 2 + 3, 2); /* +3 for vf_pp prefetch */ ALIGN 1488 drivers/staging/media/ipu3/ipu3-css.c ALIGN(sizeof(struct imgu_abi_ddr_address_map), ALIGN 37 drivers/staging/media/meson/vdec/vdec.c return ALIGN(width * height, SZ_64K); ALIGN 504 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); ALIGN 508 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64); ALIGN 513 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); ALIGN 517 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64) / 2; ALIGN 521 drivers/staging/media/meson/vdec/vdec.c pfmt[2].bytesperline = ALIGN(pixmp->width, 64) / 2; ALIGN 157 drivers/staging/media/meson/vdec/vdec_helpers.c u32 width = ALIGN(sess->width, 64); ALIGN 158 drivers/staging/media/meson/vdec/vdec_helpers.c u32 height = ALIGN(sess->height, 64); ALIGN 137 drivers/staging/media/omap4iss/iss_video.c min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; ALIGN 150 drivers/staging/media/omap4iss/iss_video.c bpl = ALIGN(bpl, video->bpl_alignment); ALIGN 305 drivers/staging/media/soc_camera/mt9t031.c rect.width = ALIGN(rect.width, 2); ALIGN 306 drivers/staging/media/soc_camera/mt9t031.c rect.height = ALIGN(rect.height, 2); ALIGN 291 drivers/staging/media/soc_camera/soc_mt9v022.c rect.width = ALIGN(rect.width, 2); ALIGN 292 drivers/staging/media/soc_camera/soc_mt9v022.c rect.height = ALIGN(rect.height, 2); ALIGN 546 drivers/staging/media/soc_camera/soc_ov9740.c *width = ALIGN(*width, 4); ALIGN 209 drivers/staging/media/sunxi/cedrus/cedrus_h264.c size = min_t(size_t, ALIGN(num_ref, 4), sizeof(sram_array)); ALIGN 77 drivers/staging/media/sunxi/cedrus/cedrus_hw.c chroma_size = ALIGN(width, 16) * ALIGN(height, 16) / 2; ALIGN 85 drivers/staging/media/sunxi/cedrus/cedrus_hw.c reg = VE_PRIMARY_FB_LINE_STRIDE_LUMA(ALIGN(width, 16)) | ALIGN 86 drivers/staging/media/sunxi/cedrus/cedrus_hw.c VE_PRIMARY_FB_LINE_STRIDE_CHROMA(ALIGN(width, 16) / 2); ALIGN 115 drivers/staging/media/sunxi/cedrus/cedrus_video.c bytesperline = ALIGN(width, 32); ALIGN 118 drivers/staging/media/sunxi/cedrus/cedrus_video.c height = ALIGN(height, 32); ALIGN 130 drivers/staging/media/sunxi/cedrus/cedrus_video.c bytesperline = ALIGN(width, 16); ALIGN 133 drivers/staging/media/sunxi/cedrus/cedrus_video.c height = ALIGN(height, 16); ALIGN 752 drivers/staging/media/tegra-vde/vde.c cstride = ALIGN(ctx.pic_width_in_mbs * 8, 16); ALIGN 435 drivers/staging/octeon-usb/octeon-hcd.c temp = kmalloc(ALIGN(urb->transfer_buffer_length, sizeof(u32)) + ALIGN 322 drivers/staging/sm750fb/sm750.c line_length = ALIGN(line_length, crtc->line_pad); ALIGN 570 drivers/staging/sm750fb/sm750.c request = ALIGN(request, crtc->line_pad); ALIGN 860 drivers/staging/sm750fb/sm750.c line_length = ALIGN((var->xres_virtual * var->bits_per_pixel / 8), ALIGN 324 drivers/staging/sm750fb/sm750_hw.c reg = ALIGN(reg, crtc->line_pad); ALIGN 359 drivers/staging/sm750fb/sm750_hw.c reg = ALIGN(reg, crtc->line_pad) << CRT_FB_WIDTH_WIDTH_SHIFT; ALIGN 2257 drivers/target/iscsi/iscsi_target.c rx_size = ALIGN(payload_length, 4); ALIGN 52 drivers/target/iscsi/iscsi_target_erl1.c buf_len = ALIGN(buf_len, 4); ALIGN 377 drivers/thunderbolt/dma_port.c ALIGN(nbytes, 4)); ALIGN 925 drivers/tty/hvc/hvc_console.c hp = kzalloc(ALIGN(sizeof(*hp), sizeof(long)) + outbuf_size, ALIGN 934 drivers/tty/hvc/hvc_console.c hp->outbuf = &((char *)hp)[ALIGN(sizeof(*hp), sizeof(long))]; ALIGN 528 drivers/tty/serial/qcom_geni_serial.c u32 words = ALIGN(bytes, num_bytes_pw) / num_bytes_pw; ALIGN 971 drivers/usb/gadget/function/f_ncm.c ndp_pad = ALIGN(ncm->skb_tx_data->len, ndp_align) - ALIGN 1064 drivers/usb/gadget/function/f_ncm.c dgram_pad = ALIGN(ncb_len, div) + rem - ncb_len; ALIGN 1112 drivers/usb/gadget/function/f_ncm.c dgram_pad = ALIGN(ncb_len, div) + rem - ncb_len; ALIGN 188 drivers/usb/host/isp116x-hcd.c buflen -= ALIGN(ep->length, 4); ALIGN 218 drivers/usb/host/isp116x-hcd.c buflen -= ALIGN(ep->length, 4); ALIGN 286 drivers/usb/host/isp116x-hcd.c isp116x->atl_buflen = isp116x->atl_bufshrt + ALIGN(len, 4); ALIGN 510 drivers/usb/storage/uas.c len = ALIGN(len, 4); ALIGN 709 drivers/vhost/net.c alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES); ALIGN 462 drivers/video/fbdev/i740fb.c xres = ALIGN(var->xres, 8); ALIGN 463 drivers/video/fbdev/i740fb.c vxres = ALIGN(var->xres_virtual, 16); ALIGN 467 drivers/video/fbdev/i740fb.c xoffset = ALIGN(var->xoffset, 8); ALIGN 471 drivers/video/fbdev/i740fb.c left = ALIGN(var->left_margin, 8); ALIGN 472 drivers/video/fbdev/i740fb.c right = ALIGN(var->right_margin, 8); ALIGN 473 drivers/video/fbdev/i740fb.c hslen = ALIGN(var->hsync_len, 8); ALIGN 129 drivers/video/fbdev/omap2/omapfb/vrfb.c *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; ALIGN 130 drivers/video/fbdev/omap2/omapfb/vrfb.c *height = ALIGN(*height, VRFB_PAGE_HEIGHT); ALIGN 199 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp; ALIGN 200 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb_height = ALIGN(height, VRFB_PAGE_HEIGHT); ALIGN 431 drivers/video/fbdev/pxafb.c line_length = ALIGN(line_length, 4); ALIGN 383 drivers/video/fbdev/s3c-fb.c return ALIGN(pix, pix_per_word); ALIGN 813 drivers/video/fbdev/smscufx.c size_t packed_line_len = ALIGN((width * 2), 4); ALIGN 852 drivers/video/fbdev/smscufx.c size_t packed_line_len = ALIGN((width * 2), 4); ALIGN 639 drivers/video/fbdev/vermilion/vermilion.c pitch = ALIGN((var->xres * var->bits_per_pixel) >> 3, 0x40); ALIGN 773 drivers/video/fbdev/vermilion/vermilion.c vinfo->stride = ALIGN(var->xres_virtual * vinfo->bytes_per_pixel, 0x40); ALIGN 139 drivers/video/fbdev/via/viafbdev.c info->fix.line_length = ALIGN(info->var.xres_virtual * bpp / 8, ALIGN 231 drivers/video/fbdev/via/viafbdev.c line = ALIGN(var->xres_virtual * var->bits_per_pixel / 8, ALIGN 1737 drivers/video/fbdev/via/viafbdev.c viafb_par_length = ALIGN(sizeof(struct viafb_par), BITS_PER_LONG/8); ALIGN 1743 drivers/video/fbdev/via/viafbdev.c ALIGN(sizeof(struct viafb_shared), BITS_PER_LONG/8), ALIGN 150 drivers/xen/swiotlb-xen.c xen_io_tlb_nslabs = ALIGN(xen_io_tlb_nslabs, IO_TLB_SEGSIZE); ALIGN 588 fs/binfmt_flat.c datapos = ALIGN(realdatastart, FLAT_DATA_ALIGN); ALIGN 633 fs/binfmt_flat.c datapos = ALIGN(realdatastart, FLAT_DATA_ALIGN); ALIGN 945 fs/binfmt_flat.c stack_len = ALIGN(stack_len, FLAT_STACK_ALIGN); ALIGN 1310 fs/btrfs/compression.c bitlen = ALIGN(buf_num, RADIX_BASE * 2); ALIGN 23 fs/btrfs/delalloc-space.c bytes = ALIGN(bytes, fs_info->sectorsize); ALIGN 335 fs/btrfs/delalloc-space.c num_bytes = ALIGN(num_bytes, fs_info->sectorsize); ALIGN 404 fs/btrfs/delalloc-space.c num_bytes = ALIGN(num_bytes, fs_info->sectorsize); ALIGN 1239 fs/btrfs/extent-tree.c u64 aligned_start = ALIGN(start, 1 << 9); ALIGN 3141 fs/btrfs/extent_io.c iosize = ALIGN(iosize, blocksize); ALIGN 3483 fs/btrfs/extent_io.c iosize = ALIGN(iosize, blocksize); ALIGN 4393 fs/btrfs/extent_io.c start += ALIGN(offset, blocksize); ALIGN 4506 fs/btrfs/extent_io.c len = ALIGN(len, sectorsize); ALIGN 963 fs/btrfs/file-item.c extent_end = ALIGN(extent_start + size, ALIGN 998 fs/btrfs/file.c extent_end = ALIGN(extent_end, ALIGN 3297 fs/btrfs/file.c last_byte = ALIGN(last_byte, blocksize); ALIGN 317 fs/btrfs/inode-map.c max_bitmaps = ALIGN(max_ino, INODES_PER_BITMAP) / INODES_PER_BITMAP; ALIGN 490 fs/btrfs/inode-map.c prealloc = ALIGN(prealloc, PAGE_SIZE); ALIGN 279 fs/btrfs/inode.c u64 aligned_end = ALIGN(end, fs_info->sectorsize); ALIGN 659 fs/btrfs/inode.c total_compressed = ALIGN(total_compressed, blocksize); ALIGN 666 fs/btrfs/inode.c total_in = ALIGN(total_in, PAGE_SIZE); ALIGN 991 fs/btrfs/inode.c num_bytes = ALIGN(end - start + 1, blocksize); ALIGN 1539 fs/btrfs/inode.c extent_end = ALIGN(extent_end, fs_info->sectorsize); ALIGN 4766 fs/btrfs/inode.c btrfs_drop_extent_cache(BTRFS_I(inode), ALIGN(new_size, ALIGN 4864 fs/btrfs/inode.c extent_num_bytes = ALIGN(new_size - ALIGN 5209 fs/btrfs/inode.c u64 hole_start = ALIGN(oldsize, fs_info->sectorsize); ALIGN 5210 fs/btrfs/inode.c u64 block_end = ALIGN(size, fs_info->sectorsize); ALIGN 5240 fs/btrfs/inode.c last_byte = ALIGN(last_byte, fs_info->sectorsize); ALIGN 7126 fs/btrfs/inode.c extent_end = ALIGN(extent_start + size, ALIGN 7184 fs/btrfs/inode.c em->len = ALIGN(copy_size, fs_info->sectorsize); ALIGN 9598 fs/btrfs/inode.c stat->blocks = (ALIGN(inode_get_bytes(inode), blocksize) + ALIGN 9599 fs/btrfs/inode.c ALIGN(delalloc_bytes, blocksize)) >> 9; ALIGN 10812 fs/btrfs/inode.c first_ppage = ALIGN(bsi->block_start, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 3255 fs/btrfs/ioctl.c ret = btrfs_clone(src, dst, loff, len, ALIGN(len, bs), dst_loff, 1); ALIGN 3376 fs/btrfs/ioctl.c const u64 aligned_end = ALIGN(new_key->offset + datal, ALIGN 3711 fs/btrfs/ioctl.c last_dest_end = ALIGN(new_key.offset + datal, ALIGN 3784 fs/btrfs/ioctl.c len = ALIGN(src->i_size, bs) - off; ALIGN 3868 fs/btrfs/ioctl.c wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); ALIGN 3870 fs/btrfs/ioctl.c wb_len = ALIGN(*len, bs); ALIGN 824 fs/btrfs/ordered-data.c offset = ALIGN(offset, btrfs_inode_sectorsize(inode)); ALIGN 5608 fs/btrfs/send.c extent_end = ALIGN(key.offset + size, ALIGN 5672 fs/btrfs/send.c extent_end = ALIGN(key.offset + size, ALIGN 5717 fs/btrfs/send.c extent_end = ALIGN(key->offset + size, ALIGN 119 fs/btrfs/tree-checker.c end = ALIGN(key->offset + len, leaf->fs_info->sectorsize); ALIGN 613 fs/btrfs/tree-log.c extent_end = ALIGN(start + size, ALIGN 2617 fs/btrfs/tree-log.c from = ALIGN(i_size_read(inode), ALIGN 4666 fs/btrfs/tree-log.c prev_extent_end = ALIGN(key.offset + len, ALIGN 4681 fs/btrfs/tree-log.c hole_len = ALIGN(i_size - prev_extent_end, fs_info->sectorsize); ALIGN 306 fs/ceph/super.c fsopt->wsize = ALIGN(intval, PAGE_SIZE); ALIGN 311 fs/ceph/super.c fsopt->rsize = ALIGN(intval, PAGE_SIZE); ALIGN 316 fs/ceph/super.c fsopt->rasize = ALIGN(intval, PAGE_SIZE); ALIGN 1130 fs/dax.c const size_t size = ALIGN(length + offset, PAGE_SIZE); ALIGN 1049 fs/direct-io.c i_size_aligned = ALIGN(i_size_read(dio->inode), ALIGN 51 fs/erofs/zmap.c pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + ALIGN 265 fs/erofs/zmap.c const erofs_off_t ebase = ALIGN(iloc(EROFS_I_SB(inode), vi->nid) + ALIGN 279 fs/ext4/ext4.h #define EXT4_BLOCK_ALIGN(size, blkbits) ALIGN((size), (1 << (blkbits))) ALIGN 129 fs/ext4/file.c if (pos >= ALIGN(i_size_read(inode), sb->s_blocksize)) ALIGN 3592 fs/ext4/inode.c ALIGN(inode->i_size, 1 << blkbits)) { ALIGN 2611 fs/f2fs/file.c len = ALIGN(src->i_size, F2FS_BLKSIZE) - pos_in; ALIGN 105 fs/fuse/readdir.c end = ALIGN(fi->rdc.size, PAGE_SIZE); ALIGN 553 fs/fuse/readdir.c ff->readdir.cache_off = ALIGN(ff->readdir.cache_off, PAGE_SIZE); ALIGN 233 fs/gfs2/rgrp.c const __le64 *end = (__le64 *)(buf + ALIGN(len, sizeof(u64))); ALIGN 45 fs/gfs2/xattr.c *size = ALIGN(sizeof(struct gfs2_ea_header) + nsize + dsize, 8); ALIGN 51 fs/gfs2/xattr.c *size = ALIGN(sizeof(struct gfs2_ea_header) + nsize + ALIGN 17 fs/gfs2/xattr.h ALIGN(sizeof(struct gfs2_ea_header) + (ea)->ea_name_len + \ ALIGN 25 fs/gfs2/xattr.h ALIGN(sizeof(struct gfs2_ea_header) + (er)->er_name_len + (er)->er_data_len, 8) ALIGN 31 fs/gfs2/xattr.h ((__be64 *)(GFS2_EA2NAME(ea) + ALIGN((ea)->ea_name_len, 8))) ALIGN 219 fs/hugetlbfs/inode.c addr = ALIGN(addr, huge_page_size(h)); ALIGN 3366 fs/io_uring.c off = ALIGN(off, SMP_CACHE_BYTES); ALIGN 42 fs/iomap/swapfile.c first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT; ALIGN 92 fs/minix/dir.c ctx->pos = pos = ALIGN(pos, chunk_size); ALIGN 3654 fs/nfsd/nfs4xdr.c xdr_truncate_encode(xdr, length_offset + 4 + ALIGN(maxcount, 4)); ALIGN 1864 fs/nfsd/vfs.c reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); ALIGN 1927 fs/nfsd/vfs.c reclen = ALIGN(sizeof(*de) + de->namlen, ALIGN 109 fs/proc/kcore.c 3 * ALIGN(sizeof(CORE_STR), 4) + ALIGN 111 fs/proc/kcore.c ALIGN(sizeof(struct elf_prstatus), 4) + ALIGN 112 fs/proc/kcore.c ALIGN(sizeof(struct elf_prpsinfo), 4) + ALIGN 113 fs/proc/kcore.c ALIGN(arch_task_struct_size, 4) + ALIGN 114 fs/proc/kcore.c ALIGN(vmcoreinfo_size, 4)); ALIGN 308 fs/proc/kcore.c *i = ALIGN(*i + note->n_namesz, 4); ALIGN 310 fs/proc/kcore.c *i = ALIGN(*i + descsz, 4); ALIGN 225 fs/readdir.c int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, ALIGN 315 fs/readdir.c int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, ALIGN 486 fs/readdir.c int reclen = ALIGN(offsetof(struct compat_linux_dirent, d_name) + ALIGN 601 fs/ubifs/budget.c req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8); ALIGN 1698 fs/ubifs/debug.c add = ALIGN(add, 8); ALIGN 2555 fs/ubifs/debug.c to = min(len, ALIGN(from + 1, c->max_write_size)); ALIGN 696 fs/ubifs/dir.c .dirtied_ino_d = ALIGN(ui->data_len, 8) }; ALIGN 1042 fs/ubifs/dir.c req.new_ino_d = ALIGN(devlen, 8); ALIGN 1113 fs/ubifs/dir.c .new_ino_d = ALIGN(len, 8), ALIGN 1263 fs/ubifs/dir.c .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; ALIGN 1418 fs/ubifs/dir.c ALIGN(ubifs_inode(whiteout)->data_len, 8) }; ALIGN 1609 fs/ubifs/dir.c size = ALIGN(size, UBIFS_BLOCK_SIZE); ALIGN 1221 fs/ubifs/file.c .dirtied_ino_d = ALIGN(ui->data_len, 8) }; ALIGN 1377 fs/ubifs/file.c .dirtied_ino_d = ALIGN(ui->data_len, 8) }; ALIGN 1420 fs/ubifs/file.c .dirtied_ino_d = ALIGN(ui->data_len, 8) }; ALIGN 370 fs/ubifs/io.c len = ALIGN(len, 8); ALIGN 371 fs/ubifs/io.c pad = ALIGN(len, c->min_io_size) - len; ALIGN 564 fs/ubifs/io.c sync_len = ALIGN(wbuf->used, c->min_io_size); ALIGN 587 fs/ubifs/io.c wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; ALIGN 628 fs/ubifs/io.c wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; ALIGN 721 fs/ubifs/io.c int err, written, n, aligned_len = ALIGN(len, 8); ALIGN 905 fs/ubifs/io.c int err, buf_len = ALIGN(len, c->min_io_size); ALIGN 247 fs/ubifs/journal.c node += ALIGN(nodelen, 8); ALIGN 248 fs/ubifs/journal.c len -= ALIGN(nodelen, 8); ALIGN 570 fs/ubifs/journal.c aligned_dlen = ALIGN(dlen, 8); ALIGN 571 fs/ubifs/journal.c aligned_ilen = ALIGN(ilen, 8); ALIGN 576 fs/ubifs/journal.c len += ALIGN(host_ui->data_len, 8) + ubifs_auth_node_sz(c); ALIGN 782 fs/ubifs/journal.c write_len = ALIGN(dlen, 8) + auth_len; ALIGN 864 fs/ubifs/journal.c write_len += ALIGN(ilen, 8) + ubifs_auth_node_sz(c); ALIGN 1071 fs/ubifs/journal.c aligned_dlen1 = ALIGN(dlen1, 8); ALIGN 1072 fs/ubifs/journal.c aligned_dlen2 = ALIGN(dlen2, 8); ALIGN 1074 fs/ubifs/journal.c len = aligned_dlen1 + aligned_dlen2 + ALIGN(plen, 8); ALIGN 1131 fs/ubifs/journal.c p += ALIGN(plen, 8); ALIGN 1170 fs/ubifs/journal.c offs += ALIGN(plen, 8); ALIGN 1247 fs/ubifs/journal.c aligned_dlen1 = ALIGN(dlen1, 8); ALIGN 1248 fs/ubifs/journal.c aligned_dlen2 = ALIGN(dlen2, 8); ALIGN 1249 fs/ubifs/journal.c len = aligned_dlen1 + aligned_dlen2 + ALIGN(ilen, 8) + ALIGN(plen, 8); ALIGN 1308 fs/ubifs/journal.c p += ALIGN(ilen, 8); ALIGN 1322 fs/ubifs/journal.c p += ALIGN(plen, 8); ALIGN 1384 fs/ubifs/journal.c offs += ALIGN(ilen, 8); ALIGN 1393 fs/ubifs/journal.c offs += ALIGN(plen, 8); ALIGN 1575 fs/ubifs/journal.c len += ALIGN(dlen, 8) + ubifs_auth_node_sz(c); ALIGN 1684 fs/ubifs/journal.c aligned_xlen = ALIGN(xlen, 8); ALIGN 1686 fs/ubifs/journal.c len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); ALIGN 1804 fs/ubifs/journal.c aligned_len1 = ALIGN(len1, 8); ALIGN 1805 fs/ubifs/journal.c aligned_len = aligned_len1 + ALIGN(len2, 8); ALIGN 368 fs/ubifs/log.c max_len = ALIGN(max_len, c->min_io_size); ALIGN 418 fs/ubifs/log.c ubifs_pad(c, buf + len, ALIGN(len, c->min_io_size) - len); ALIGN 432 fs/ubifs/log.c len = ALIGN(len, c->min_io_size); ALIGN 618 fs/ubifs/log.c int sz = ALIGN(*offs, c->min_io_size), err; ALIGN 628 fs/ubifs/log.c *offs += ALIGN(len, 8); ALIGN 697 fs/ubifs/log.c int sz = ALIGN(offs, c->min_io_size); ALIGN 703 fs/ubifs/log.c offs = ALIGN(offs, c->min_io_size); ALIGN 573 fs/ubifs/lprops.c free = ALIGN(free, 8); ALIGN 586 fs/ubifs/lprops.c dirty = ALIGN(dirty, 8); ALIGN 1139 fs/ubifs/lprops.c used += ALIGN(snod->len, 8); ALIGN 115 fs/ubifs/lpt.c tot_wastage += ALIGN(sz, c->min_io_size) - sz; ALIGN 658 fs/ubifs/lpt.c node_sz = ALIGN(ubifs_idx_node_sz(c, 1), 8); ALIGN 659 fs/ubifs/lpt.c iopos = ALIGN(node_sz, c->min_io_size); ALIGN 665 fs/ubifs/lpt.c iopos = ALIGN(node_sz, c->min_io_size); ALIGN 702 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); ALIGN 735 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); ALIGN 783 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); ALIGN 808 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); ALIGN 823 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); ALIGN 840 fs/ubifs/lpt.c c->nhead_offs = ALIGN(len, c->min_io_size); ALIGN 223 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); ALIGN 266 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); ALIGN 286 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); ALIGN 302 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); ALIGN 404 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); ALIGN 463 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); ALIGN 489 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); ALIGN 512 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); ALIGN 519 fs/ubifs/lpt_commit.c err = dbg_chk_lpt_sz(c, 3, ALIGN(offs, c->min_io_size)); ALIGN 524 fs/ubifs/lpt_commit.c c->nhead_offs = ALIGN(offs, c->min_io_size); ALIGN 1040 fs/ubifs/lpt_commit.c pad_len = ALIGN(offs, c->min_io_size) - offs; ALIGN 312 fs/ubifs/orphan.c len = ALIGN(len, c->min_io_size); ALIGN 386 fs/ubifs/orphan.c c->ohead_offs += ALIGN(len, c->min_io_size); ALIGN 387 fs/ubifs/orphan.c c->ohead_offs = ALIGN(c->ohead_offs, 8); ALIGN 411 fs/ubifs/recovery.c empty_offs = ALIGN(offs + 1, c->max_write_size); ALIGN 437 fs/ubifs/recovery.c empty_offs = ALIGN(*offs, c->min_io_size); ALIGN 465 fs/ubifs/recovery.c skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; ALIGN 477 fs/ubifs/recovery.c skip = ALIGN(offs + dlen, c->max_write_size) - offs; ALIGN 528 fs/ubifs/recovery.c int len = ALIGN(endpt, c->min_io_size); ALIGN 538 fs/ubifs/recovery.c int pad_len = len - ALIGN(endpt, 8); ALIGN 656 fs/ubifs/recovery.c node_len = ALIGN(le32_to_cpu(ch->len), 8); ALIGN 1012 fs/ubifs/recovery.c node_len = ALIGN(le32_to_cpu(ch->len), 8); ALIGN 1044 fs/ubifs/recovery.c len = ALIGN(ucleb->endpt, c->min_io_size); ALIGN 1046 fs/ubifs/recovery.c int pad_len = len - ALIGN(ucleb->endpt, 8); ALIGN 1438 fs/ubifs/recovery.c len = ALIGN(len + 1, c->min_io_size); ALIGN 399 fs/ubifs/replay.c *used += ALIGN(len, 8); ALIGN 454 fs/ubifs/replay.c *used += ALIGN(len, 8); ALIGN 161 fs/ubifs/sb.c sup = kzalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_KERNEL); ALIGN 164 fs/ubifs/sb.c idx = kzalloc(ALIGN(idx_node_size, c->min_io_size), GFP_KERNEL); ALIGN 165 fs/ubifs/sb.c ino = kzalloc(ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size), GFP_KERNEL); ALIGN 166 fs/ubifs/sb.c cs = kzalloc(ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size), GFP_KERNEL); ALIGN 234 fs/ubifs/sb.c mst->ihead_offs = cpu_to_le32(ALIGN(tmp, c->min_io_size)); ALIGN 235 fs/ubifs/sb.c mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); ALIGN 252 fs/ubifs/sb.c tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); ALIGN 253 fs/ubifs/sb.c tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); ALIGN 256 fs/ubifs/sb.c tmp64 = ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); ALIGN 257 fs/ubifs/sb.c ino_waste = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size) - ALIGN 260 fs/ubifs/sb.c tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), 8); ALIGN 525 fs/ubifs/sb.c sup = kmalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_NOFS); ALIGN 616 fs/ubifs/sb.c int len = ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size); ALIGN 850 fs/ubifs/sb.c ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size)); ALIGN 107 fs/ubifs/scan.c lnum, offs, ALIGN(offs + node_len + pad_len, 8)); ALIGN 169 fs/ubifs/scan.c sleb->endpt = ALIGN(offs, c->min_io_size); ALIGN 307 fs/ubifs/scan.c node_len = ALIGN(le32_to_cpu(ch->len), 8); ALIGN 563 fs/ubifs/super.c c->ref_node_alsz = ALIGN(UBIFS_REF_NODE_SZ, c->min_io_size); ALIGN 564 fs/ubifs/super.c c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); ALIGN 608 fs/ubifs/super.c c->dead_wm = ALIGN(MIN_WRITE_SZ, c->min_io_size); ALIGN 609 fs/ubifs/super.c c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); ALIGN 669 fs/ubifs/super.c c->min_idx_node_sz = ALIGN(tmp, 8); ALIGN 673 fs/ubifs/super.c c->max_idx_node_sz = ALIGN(tmp, 8); ALIGN 677 fs/ubifs/super.c tmp = ALIGN(tmp, c->min_io_size); ALIGN 1317 fs/ubifs/super.c sz = ALIGN(c->max_idx_node_sz, c->min_io_size) * 2; ALIGN 232 fs/ubifs/tnc.c c->calc_idx_sz -= ALIGN(dirt, 8); ALIGN 1543 fs/ubifs/tnc.c offs = ALIGN(znode->zbranch[n].offs + len, 8); ALIGN 1565 fs/ubifs/tnc.c offs = ALIGN(zbr->offs + zbr->len, 8); ALIGN 1578 fs/ubifs/tnc.c offs += ALIGN(zbr->len, 8); ALIGN 1579 fs/ubifs/tnc.c len = ALIGN(len, 8) + zbr->len; ALIGN 1790 fs/ubifs/tnc.c buf = buf + ALIGN(bu->zbranch[i].len, 8); ALIGN 79 fs/ubifs/tnc_commit.c c->calc_idx_sz += ALIGN(len, 8); ALIGN 124 fs/ubifs/tnc_commit.c const int alen = ALIGN(len, 8); ALIGN 142 fs/ubifs/tnc_commit.c c->ileb_len = ALIGN(gap_pos, c->min_io_size); ALIGN 268 fs/ubifs/tnc_commit.c dirt += ALIGN(snod->len, 8); ALIGN 283 fs/ubifs/tnc_commit.c gap_start = ALIGN(snod->offs + snod->len, 8); ALIGN 443 fs/ubifs/tnc_commit.c buf_len = ALIGN(buf_len, c->min_io_size); ALIGN 491 fs/ubifs/tnc_commit.c c->calc_idx_sz += ALIGN(len, 8); ALIGN 511 fs/ubifs/tnc_commit.c used += ALIGN(len, 8); ALIGN 512 fs/ubifs/tnc_commit.c avail -= ALIGN(len, 8); ALIGN 523 fs/ubifs/tnc_commit.c blen = ALIGN(wlen, c->min_io_size); ALIGN 843 fs/ubifs/tnc_commit.c buf_len = ALIGN(c->max_idx_node_sz, c->min_io_size); ALIGN 967 fs/ubifs/tnc_commit.c used += ALIGN(len, 8); ALIGN 968 fs/ubifs/tnc_commit.c avail -= ALIGN(len, 8); ALIGN 986 fs/ubifs/tnc_commit.c wlen = ALIGN(wlen, 8); ALIGN 987 fs/ubifs/tnc_commit.c blen = ALIGN(wlen, c->min_io_size); ALIGN 111 fs/ubifs/ubifs.h #define CALC_DENT_SIZE(name_len) ALIGN(UBIFS_DENT_NODE_SZ + (name_len) + 1, 8) ALIGN 114 fs/ubifs/ubifs.h #define CALC_XATTR_BYTES(data_len) ALIGN(UBIFS_INO_NODE_SZ + (data_len) + 1, 8) ALIGN 88 fs/ubifs/xattr.c .new_ino_d = ALIGN(size, 8), .dirtied_ino = 1, ALIGN 89 fs/ubifs/xattr.c .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; ALIGN 199 fs/ubifs/xattr.c .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; ALIGN 458 fs/ubifs/xattr.c .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; ALIGN 369 fs/udf/namei.c nfidlen = ALIGN(sizeof(struct fileIdentDesc) + namelen, UDF_NAME_PAD); ALIGN 1613 fs/udf/super.c unsigned int new_size = ALIGN(partnum, PART_DESC_ALLOC_STEP); ALIGN 129 fs/udf/udfdecl.h return ALIGN(sizeof(struct fileIdentDesc) + ALIGN 58 include/asm-generic/vmlinux.lds.h #define ALIGN_FUNCTION() . = ALIGN(8) ALIGN 90 include/asm-generic/vmlinux.lds.h #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT) ALIGN 114 include/asm-generic/vmlinux.lds.h #define MCOUNT_REC() . = ALIGN(8); \ ALIGN 119 include/asm-generic/vmlinux.lds.h #define MCOUNT_REC() . = ALIGN(8); \ ALIGN 145 include/asm-generic/vmlinux.lds.h #define KPROBE_BLACKLIST() . = ALIGN(8); \ ALIGN 163 include/asm-generic/vmlinux.lds.h #define FTRACE_EVENTS() . = ALIGN(8); \ ALIGN 187 include/asm-generic/vmlinux.lds.h #define TRACE_SYSCALLS() . = ALIGN(8); \ ALIGN 205 include/asm-generic/vmlinux.lds.h #define EARLYCON_TABLE() . = ALIGN(8); \ ALIGN 214 include/asm-generic/vmlinux.lds.h #define LSM_TABLE() . = ALIGN(8); \ ALIGN 218 include/asm-generic/vmlinux.lds.h #define EARLY_LSM_TABLE() . = ALIGN(8); \ ALIGN 232 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 246 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 256 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 287 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 301 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 304 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 308 include/asm-generic/vmlinux.lds.h . = ALIGN(page_align); \ ALIGN 312 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ ALIGN 314 include/asm-generic/vmlinux.lds.h . = ALIGN(align); ALIGN 317 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ ALIGN 321 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ ALIGN 331 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 352 include/asm-generic/vmlinux.lds.h . = ALIGN((align)); \ ALIGN 357 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 503 include/asm-generic/vmlinux.lds.h . = ALIGN((align)); \ ALIGN 586 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ ALIGN 611 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ ALIGN 617 include/asm-generic/vmlinux.lds.h #define KERNEL_CTORS() . = ALIGN(8); \ ALIGN 679 include/asm-generic/vmlinux.lds.h . = ALIGN(sbss_align); \ ALIGN 695 include/asm-generic/vmlinux.lds.h . = ALIGN(bss_align); \ ALIGN 757 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 769 include/asm-generic/vmlinux.lds.h . = ALIGN(4); \ ALIGN 775 include/asm-generic/vmlinux.lds.h . = ALIGN(2); \ ALIGN 781 include/asm-generic/vmlinux.lds.h . = ALIGN(4); \ ALIGN 794 include/asm-generic/vmlinux.lds.h . = ALIGN(4); \ ALIGN 812 include/asm-generic/vmlinux.lds.h . = ALIGN(initsetup_align); \ ALIGN 843 include/asm-generic/vmlinux.lds.h . = ALIGN(4); \ ALIGN 846 include/asm-generic/vmlinux.lds.h . = ALIGN(8); \ ALIGN 862 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 864 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); ALIGN 902 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 904 include/asm-generic/vmlinux.lds.h . = ALIGN(cacheline); \ ALIGN 906 include/asm-generic/vmlinux.lds.h . = ALIGN(cacheline); \ ALIGN 956 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 982 include/asm-generic/vmlinux.lds.h . = ALIGN(PAGE_SIZE); \ ALIGN 995 include/asm-generic/vmlinux.lds.h . = ALIGN(inittext_align); \ ALIGN 1012 include/asm-generic/vmlinux.lds.h . = ALIGN(sbss_align); \ ALIGN 1016 include/asm-generic/vmlinux.lds.h . = ALIGN(stop_align); \ ALIGN 10 include/linux/crash_core.h #define CRASH_CORE_NOTE_HEAD_BYTES ALIGN(sizeof(struct elf_note), 4) ALIGN 11 include/linux/crash_core.h #define CRASH_CORE_NOTE_NAME_BYTES ALIGN(sizeof(CRASH_CORE_NOTE_NAME), 4) ALIGN 12 include/linux/crash_core.h #define CRASH_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4) ALIGN 25 include/linux/crash_core.h #define VMCOREINFO_NOTE_NAME_BYTES ALIGN(sizeof(VMCOREINFO_NOTE_NAME), 4) ALIGN 35 include/linux/ihex.h return p + ALIGN(ihex_binrec_size(rec), 4); ALIGN 27 include/linux/iio/common/st_sensors.h #define ST_SENSORS_MAX_BUFFER_SIZE (ALIGN(2 * 3, sizeof(s64)) + \ ALIGN 681 include/linux/iio/iio.h return (char *)indio_dev + ALIGN(sizeof(struct iio_dev), IIO_ALIGN); ALIGN 687 include/linux/iio/iio.h ALIGN(sizeof(struct iio_dev), IIO_ALIGN)); ALIGN 122 include/linux/iova.h return ALIGN(size, iovad->granule); ALIGN 36 include/linux/kernel.h #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) ALIGN 355 include/linux/kvm_host.h return ALIGN(memslot->npages, BITS_PER_LONG) / 8; ALIGN 91 include/linux/linkage.h ALIGN ASM_NL \ ALIGN 99 include/linux/linkage.h ALIGN ASM_NL \ ALIGN 216 include/linux/mm.h #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) ALIGN 1171 include/linux/mmzone.h #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION) ALIGN 2193 include/linux/netdevice.h return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); ALIGN 228 include/linux/skbuff.h #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) ALIGN 3122 include/linux/skbuff.h return pskb_expand_head(skb, ALIGN(delta, NET_SKB_PAD), 0, ALIGN 4456 include/net/mac80211.h #define IEEE80211_TX_STATUS_HEADROOM ALIGN(14, 4) ALIGN 153 include/net/neighbour.h unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); ALIGN 244 include/net/neighbour.h #define NEIGH_ENTRY_SIZE(size) ALIGN((size), NEIGH_PRIV_ALIGN) ALIGN 572 include/net/netfilter/nf_tables.h tmpl->len = ALIGN(tmpl->len, nft_set_ext_types[id].align); ALIGN 813 include/net/netfilter/nf_tables.h ALIGN(size, __alignof__(struct nft_expr))) ALIGN 65 include/rdma/ib_umem.h return (ALIGN(umem->address + umem->length, PAGE_SIZE) - ALIGN 60 include/scsi/scsi_transport.h t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); ALIGN 67 include/scsi/scsi_transport.h t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); ALIGN 54 include/trace/perf.h __entry_size = ALIGN(__data_size + sizeof(*entry) + sizeof(u32),\ ALIGN 130 include/uapi/linux/a.out.h #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) ALIGN 100 include/video/udlfb.h #define DL_ALIGN_UP(x, a) ALIGN(x, a) ALIGN 647 ipc/shm.c hugesize = ALIGN(size, huge_page_size(hs)); ALIGN 182 kernel/bpf/stackmap.c ALIGN(sizeof("GNU"), 4) + sizeof(Elf32_Nhdr), ALIGN 189 kernel/bpf/stackmap.c ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4); ALIGN 287 kernel/compat.c bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); ALIGN 316 kernel/compat.c bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); ALIGN 706 kernel/debug/kdb/kdb_support.c #define dah_overhead ALIGN(sizeof(struct debug_alloc_header), dah_align) ALIGN 759 kernel/debug/kdb/kdb_support.c size = ALIGN(size, dah_align); ALIGN 117 kernel/dma/swiotlb.c io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); ALIGN 254 kernel/dma/swiotlb.c io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); ALIGN 286 kernel/dma/swiotlb.c io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); ALIGN 478 kernel/dma/swiotlb.c offset_slots = ALIGN(tbl_dma_addr, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; ALIGN 484 kernel/dma/swiotlb.c ? ALIGN(mask + 1, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT ALIGN 491 kernel/dma/swiotlb.c nslots = ALIGN(alloc_size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; ALIGN 508 kernel/dma/swiotlb.c index = ALIGN(io_tlb_index, stride); ALIGN 585 kernel/dma/swiotlb.c int i, count, nslots = ALIGN(alloc_size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; ALIGN 605 kernel/dma/swiotlb.c count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? ALIGN 7184 kernel/events/core.c size = ALIGN(strlen(comm)+1, sizeof(u64)); ALIGN 235 kernel/gcov/gcc_3_4.c size = ALIGN(size, __alignof__(struct gcov_fn_info)); ALIGN 507 kernel/kexec_file.c temp_start = ALIGN(temp_start, kbuf->buf_align); ALIGN 687 kernel/kexec_file.c kbuf->memsz = ALIGN(kbuf->memsz, PAGE_SIZE); ALIGN 852 kernel/kexec_file.c kbuf->bufsz = ALIGN(kbuf->bufsz, align); ALIGN 857 kernel/kexec_file.c bss_sz = ALIGN(bss_sz, align); ALIGN 861 kernel/kexec_file.c kbuf->bufsz = ALIGN(kbuf->bufsz, bss_align); ALIGN 924 kernel/kexec_file.c bss_addr = ALIGN(bss_addr, align); ALIGN 930 kernel/kexec_file.c offset = ALIGN(offset, align); ALIGN 1265 kernel/kexec_file.c elf_sz = ALIGN(elf_sz, ELF_CORE_HEADER_ALIGN); ALIGN 190 kernel/locking/qspinlock_paravirt.h int pv_hash_size = ALIGN(4 * num_possible_cpus(), PV_HE_PER_LINE); ALIGN 72 kernel/module.c # define debug_align(X) ALIGN(X, PAGE_SIZE) ALIGN 1550 kernel/module.c size[0] = ALIGN(struct_size(sect_attrs, attrs, nloaded), ALIGN 2411 kernel/module.c ret = ALIGN(*size, sechdr->sh_addralign ?: 1); ALIGN 2718 kernel/module.c info->symoffs = ALIGN(mod->core_layout.size, symsect->sh_addralign ?: 1); ALIGN 2732 kernel/module.c mod->init_layout.size = ALIGN(mod->init_layout.size, ALIGN 622 kernel/resource.c avail.start = ALIGN(tmp.start, constraint->align); ALIGN 1653 kernel/resource.c size = ALIGN(size, 1UL << PA_SECTION_SHIFT); ALIGN 2577 kernel/sched/fair.c end = ALIGN(start + (pages << PAGE_SHIFT), HPAGE_SIZE); ALIGN 1228 kernel/trace/ring_buffer.c bpage = kzalloc_node(ALIGN(sizeof(*bpage), cache_line_size()), ALIGN 1293 kernel/trace/ring_buffer.c cpu_buffer = kzalloc_node(ALIGN(sizeof(*cpu_buffer), cache_line_size()), ALIGN 1309 kernel/trace/ring_buffer.c bpage = kzalloc_node(ALIGN(sizeof(*bpage), cache_line_size()), ALIGN 1387 kernel/trace/ring_buffer.c buffer = kzalloc(ALIGN(sizeof(*buffer), cache_line_size()), ALIGN 1410 kernel/trace/ring_buffer.c buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()), ALIGN 2387 kernel/trace/ring_buffer.c length = ALIGN(length, RB_ALIGNMENT); ALIGN 451 kernel/trace/trace_event_perf.c #define ENTRY_SIZE (ALIGN(sizeof(struct ftrace_entry) + sizeof(u32), \ ALIGN 4652 kernel/trace/trace_events_hist.c key_size = ALIGN(key_size, sizeof(u64)); ALIGN 1405 kernel/trace/trace_kprobe.c size = ALIGN(__size + sizeof(u32), sizeof(u64)); ALIGN 1441 kernel/trace/trace_kprobe.c size = ALIGN(__size + sizeof(u32), sizeof(u64)); ALIGN 611 kernel/trace/trace_syscalls.c size = ALIGN(size + sizeof(u32), sizeof(u64)); ALIGN 709 kernel/trace/trace_syscalls.c size = ALIGN(sizeof(*rec) + sizeof(u32), sizeof(u64)); ALIGN 1342 kernel/trace/trace_uprobe.c size = ALIGN(size + sizeof(u32), sizeof(u64)) - sizeof(u32); ALIGN 36 lib/cpu_rmap.c obj_offset = ALIGN(offsetof(struct cpu_rmap, near[nr_cpu_ids]), ALIGN 22 lib/iommu-helper.c start = ALIGN(shift + index, boundary_size) - shift; ALIGN 83 lib/lzo/lzo1x_compress.c ALIGN((uintptr_t)ir, 4)) && ALIGN 110 lib/stackdepot.c required_size = ALIGN(required_size, 1 << STACK_ALLOC_ALIGN); ALIGN 1140 lib/vsprintf.c i = ALIGN(nr_bits, CHUNKSZ) - CHUNKSZ; ALIGN 613 lib/zstd/compress.c spaceUsed32 += ALIGN(sizeof(S16) * (MaxSeq + 1), sizeof(U32)) >> 2; ALIGN 774 lib/zstd/decompress.c size_t const spaceUsed32 = ALIGN(sizeof(S16) * (MaxSeq + 1), sizeof(U32)) >> 2; ALIGN 110 lib/zstd/fse_compress.c spaceUsed32 += ALIGN(sizeof(FSE_FUNCTION_TYPE) * ((size_t)1 << tableLog), sizeof(U32)) >> 2; ALIGN 311 lib/zstd/fse_decompress.c spaceUsed32 += ALIGN(sizeof(short) * (FSE_MAX_SYMBOL_VALUE + 1), sizeof(U32)) >> 2; ALIGN 103 lib/zstd/huf_compress.c spaceUsed32 += ALIGN(sizeof(S16) * (HUF_TABLELOG_MAX + 1), sizeof(U32)) >> 2; ALIGN 162 lib/zstd/huf_compress.c spaceUsed32 += ALIGN(HUF_TABLELOG_MAX + 1, sizeof(U32)) >> 2; ALIGN 164 lib/zstd/huf_compress.c spaceUsed32 += ALIGN(HUF_SYMBOLVALUE_MAX, sizeof(U32)) >> 2; ALIGN 215 lib/zstd/huf_compress.c spaceUsed32 += ALIGN(HUF_SYMBOLVALUE_MAX + 1, sizeof(U32)) >> 2; ALIGN 105 lib/zstd/huf_decompress.c spaceUsed32 += ALIGN(HUF_SYMBOLVALUE_MAX + 1, sizeof(U32)) >> 2; ALIGN 508 lib/zstd/huf_decompress.c spaceUsed32 += ALIGN(sizeof(sortedSymbol_t) * (HUF_SYMBOLVALUE_MAX + 1), sizeof(U32)) >> 2; ALIGN 510 lib/zstd/huf_decompress.c spaceUsed32 += ALIGN(HUF_SYMBOLVALUE_MAX + 1, sizeof(U32)) >> 2; ALIGN 235 lib/zstd/zstd_internal.h #define ZSTD_ALIGN(x) ALIGN(x, sizeof(size_t)) ALIGN 80 mm/cma.c return ALIGN(pages, 1UL << cma->order_per_bit) >> cma->order_per_bit; ALIGN 199 mm/cma.c if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) ALIGN 287 mm/cma.c base = ALIGN(base, alignment); ALIGN 288 mm/cma.c size = ALIGN(size, alignment); ALIGN 49 mm/compaction.c #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) ALIGN 148 mm/dmapool.c size = ALIGN(size, align); ALIGN 3021 mm/filemap.c bcount = ALIGN(size_in, bs) - pos_in; ALIGN 1129 mm/hugetlb.c pfn = ALIGN(zone->zone_start_pfn, nr_pages); ALIGN 4953 mm/hugetlb.c *addr = ALIGN(*addr, HPAGE_SIZE * PTRS_PER_PTE) - HPAGE_SIZE; ALIGN 1391 mm/mempolicy.c unsigned long copy = ALIGN(maxnode-1, 64) / 8; ALIGN 1605 mm/mempolicy.c alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; ALIGN 1617 mm/mempolicy.c err |= clear_user(nmask, ALIGN(maxnode-1, 8) / 8); ALIGN 1632 mm/mempolicy.c alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; ALIGN 1654 mm/mempolicy.c alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; ALIGN 1679 mm/mempolicy.c size = ALIGN(nr_bits, BITS_PER_LONG) / 8; ALIGN 42 mm/memtest.c start_phys_aligned = ALIGN(start_phys, incr); ALIGN 1590 mm/mmap.c len = ALIGN(len, huge_page_size(hstate_file(file))); ALIGN 1602 mm/mmap.c len = ALIGN(len, huge_page_size(hs)); ALIGN 1548 mm/page_alloc.c block_end_pfn = ALIGN(block_start_pfn + 1, pageblock_nr_pages); ALIGN 1727 mm/page_alloc.c unsigned long mo_pfn = ALIGN(*start_pfn + 1, MAX_ORDER_NR_PAGES); ALIGN 1846 mm/page_alloc.c unsigned long nr_pages_needed = ALIGN(1 << order, PAGES_PER_SECTION); ALIGN 6843 mm/page_alloc.c end = ALIGN(end, MAX_ORDER_NR_PAGES); ALIGN 8313 mm/page_alloc.c return ALIGN(pfn, max_t(unsigned long, MAX_ORDER_NR_PAGES, ALIGN 385 mm/page_ext.c pfn = ALIGN(pfn + 1, PAGES_PER_SECTION)) { ALIGN 276 mm/page_owner.c pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); ALIGN 280 mm/page_owner.c block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); ALIGN 561 mm/page_owner.c pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); ALIGN 565 mm/page_owner.c block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); ALIGN 439 mm/percpu.c *bits = ALIGN(block->contig_hint_start, align) - ALIGN 458 mm/percpu.c *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free, ALIGN 1089 mm/percpu.c bit_off = ALIGN(chunk_md->contig_hint_start, align) - ALIGN 1327 mm/percpu.c region_size = ALIGN(start_offset + map_size, lcm_align); ALIGN 1610 mm/percpu.c size = ALIGN(size, PCPU_MIN_ALLOC_SIZE); ALIGN 2128 mm/percpu.c base_size = ALIGN(struct_size(ai, groups, nr_groups), ALIGN 2419 mm/percpu.c static_size = ALIGN(ai->static_size, PCPU_MIN_ALLOC_SIZE); ALIGN 114 mm/shuffle.c start_pfn = ALIGN(start_pfn, order_pages); ALIGN 1939 mm/slab.c size = ALIGN(size, BYTES_PER_WORD); ALIGN 1945 mm/slab.c size = ALIGN(size, REDZONE_ALIGN); ALIGN 1994 mm/slab.c size = ALIGN(size, cachep->align); ALIGN 2000 mm/slab.c size = ALIGN(SLAB_OBJ_MIN_SIZE, cachep->align); ALIGN 2013 mm/slab.c size_t tmp_size = ALIGN(size, PAGE_SIZE); ALIGN 303 mm/slab_common.c return ALIGN(align, sizeof(void *)); ALIGN 343 mm/slab_common.c size = ALIGN(size, sizeof(void *)); ALIGN 345 mm/slab_common.c size = ALIGN(size, align); ALIGN 256 mm/slob.c (ALIGN((unsigned long)cur + align_offset, align) ALIGN 3522 mm/slub.c size = ALIGN(size, sizeof(void *)); ALIGN 3588 mm/slub.c s->red_left_pad = ALIGN(s->red_left_pad, s->align); ALIGN 3598 mm/slub.c size = ALIGN(size, s->align); ALIGN 4304 mm/slub.c s->inuse = max(s->inuse, ALIGN(size, sizeof(void *))); ALIGN 4308 mm/slub.c c->inuse = max(c->inuse, ALIGN(size, sizeof(void *))); ALIGN 119 mm/sparse-vmemmap.c nr_align = ALIGN(pfn, nr_align) - pfn; ALIGN 259 mm/sparse-vmemmap.c end = ALIGN(pfn + nr_pages, PAGES_PER_SUBSECTION); ALIGN 442 mm/sparse.c return ALIGN(sizeof(struct page) * PAGES_PER_SECTION, PMD_SIZE); ALIGN 771 mm/vmalloc.c nva_start_addr = ALIGN(va->va_start, align); ALIGN 773 mm/vmalloc.c nva_start_addr = ALIGN(vstart, align); ALIGN 1021 mm/vmalloc.c nva_start_addr = ALIGN(va->va_start, align); ALIGN 1023 mm/vmalloc.c nva_start_addr = ALIGN(vstart, align); ALIGN 1852 mm/vmalloc.c addr = ALIGN(VMALLOC_START + vm_init_off, align); ALIGN 3229 mm/vmalloc.c const unsigned long vmalloc_start = ALIGN(VMALLOC_START, align); ALIGN 90 net/compat.c #define CMSG_COMPAT_ALIGN(len) ALIGN((len), sizeof(s32)) ALIGN 4259 net/core/dev.c hroom > 0 ? ALIGN(hroom, NET_SKB_PAD) : 0, ALIGN 9492 net/core/dev.c alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); ALIGN 1705 net/core/neighbour.c tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + ALIGN 4100 net/core/skbuff.c #define SKB_EXT_CHUNKSIZEOF(x) (ALIGN((sizeof(x)), SKB_EXT_ALIGN_VALUE) / SKB_EXT_ALIGN_VALUE) ALIGN 34 net/ipv4/ah4.c len = ALIGN(len, crypto_tfm_ctx_alignment()); ALIGN 37 net/ipv4/ah4.c len = ALIGN(len, __alignof__(struct scatterlist)); ALIGN 71 net/ipv4/ah4.c return (void *)ALIGN((unsigned long)(req + 1) + ALIGN 55 net/ipv4/esp4.c len = ALIGN(len, crypto_tfm_ctx_alignment()); ALIGN 59 net/ipv4/esp4.c len = ALIGN(len, __alignof__(struct scatterlist)); ALIGN 91 net/ipv4/esp4.c return (void *)ALIGN((unsigned long)(req + 1) + ALIGN 305 net/ipv4/esp4.c allocsize = ALIGN(tailen, L1_CACHE_BYTES); ALIGN 421 net/ipv4/esp4.c allocsize = ALIGN(skb->data_len, L1_CACHE_BYTES); ALIGN 511 net/ipv4/esp4.c blksize = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 512 net/ipv4/esp4.c esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); ALIGN 994 net/ipv4/esp4.c align = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 240 net/ipv4/esp4_offload.c blksize = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 241 net/ipv4/esp4_offload.c esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); ALIGN 880 net/ipv4/tcp.c size = ALIGN(size, 4); ALIGN 277 net/ipv4/tcp_output.c new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); ALIGN 2758 net/ipv4/tcp_output.c window = ALIGN(window, (1 << tp->rx_opt.rcv_wscale)); ALIGN 58 net/ipv6/ah6.c len = ALIGN(len, crypto_tfm_ctx_alignment()); ALIGN 61 net/ipv6/ah6.c len = ALIGN(len, __alignof__(struct scatterlist)); ALIGN 100 net/ipv6/ah6.c return (void *)ALIGN((unsigned long)(req + 1) + ALIGN 64 net/ipv6/esp6.c len = ALIGN(len, crypto_tfm_ctx_alignment()); ALIGN 68 net/ipv6/esp6.c len = ALIGN(len, __alignof__(struct scatterlist)); ALIGN 100 net/ipv6/esp6.c return (void *)ALIGN((unsigned long)(req + 1) + ALIGN 250 net/ipv6/esp6.c allocsize = ALIGN(tailen, L1_CACHE_BYTES); ALIGN 362 net/ipv6/esp6.c allocsize = ALIGN(skb->data_len, L1_CACHE_BYTES); ALIGN 452 net/ipv6/esp6.c blksize = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 453 net/ipv6/esp6.c esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); ALIGN 886 net/ipv6/esp6.c align = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 271 net/ipv6/esp6_offload.c blksize = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 272 net/ipv6/esp6_offload.c esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); ALIGN 1751 net/mac80211/iface.c int size = ALIGN(sizeof(*sdata) + local->hw.vif_data_size, ALIGN 547 net/mac80211/main.c priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; ALIGN 609 net/mac80211/main.c local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); ALIGN 148 net/mac80211/rx.c len = ALIGN(len, 8); ALIGN 159 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 165 net/mac80211/rx.c len = ALIGN(len, 4); ALIGN 170 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 175 net/mac80211/rx.c len = ALIGN(len, 8); ALIGN 181 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 188 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 197 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 228 net/mac80211/rx.c len = ALIGN(len, 2); ALIGN 233 net/mac80211/rx.c len = ALIGN(len, rtap->align); ALIGN 377 net/mac80211/sta_info.c ALIGN(hw->txq_data_size, sizeof(void *)); ALIGN 287 net/mac80211/status.c len = ALIGN(len, 2) + 12; ALIGN 289 net/mac80211/status.c len = ALIGN(len, 2) + 12; ALIGN 294 net/mac80211/status.c len = ALIGN(len, 2) + 12; ALIGN 391 net/mac80211/status.c pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); ALIGN 436 net/mac80211/status.c pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); ALIGN 529 net/mac80211/status.c pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); ALIGN 75 net/mac802154/main.c priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; ALIGN 88 net/mac802154/main.c local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); ALIGN 76 net/mpls/internal.h #define MAX_VIA_ALEN (ALIGN(MAX_ADDR_LEN, VIA_ALEN_ALIGN)) ALIGN 106 net/mpls/internal.h ALIGN(sizeof(struct mpls_nh) + (num_labels) * sizeof(u32), \ ALIGN 114 net/mpls/internal.h ALIGN((max_via_alen), VIA_ALEN_ALIGN)) ALIGN 57 net/ncsi/ncsi-cmd.c ALIGN(nca->payload, 4)); ALIGN 59 net/ncsi/ncsi-rsp.c pchecksum = (__be32 *)((void *)(h + 1) + ALIGN(payload, 4) - 4); ALIGN 385 net/netfilter/ipset/ip_set_core.c len = ALIGN(len, ip_set_extensions[id].align); ALIGN 390 net/netfilter/ipset/ip_set_core.c return ALIGN(len, align); ALIGN 414 net/netfilter/ipvs/ip_vs_proto_sctp.c sch = skb_header_pointer(skb, cofs + ALIGN(clen, 4), ALIGN 66 net/netfilter/nf_conntrack_extend.c newoff = ALIGN(oldlen, t->align); ALIGN 1786 net/netlink/af_netlink.c if (put_user(ALIGN(nlk->ngroups / 8, sizeof(u32)), optlen)) ALIGN 20 net/netlink/af_netlink.h #define NLGRPSZ(x) (ALIGN(x, sizeof(unsigned long) * 8) / 8) ALIGN 126 net/openvswitch/vport.c alloc_size = ALIGN(alloc_size, VPORT_ALIGN); ALIGN 153 net/openvswitch/vport.h return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); ALIGN 168 net/openvswitch/vport.h return (struct vport *)((u8 *)priv - ALIGN(sizeof(struct vport), VPORT_ALIGN)); ALIGN 169 net/packet/af_packet.c #define BLK_HDR_LEN (ALIGN(sizeof(struct tpacket_block_desc), V3_ALIGNMENT)) ALIGN 172 net/packet/af_packet.c (BLK_HDR_LEN + ALIGN((sz_of_priv), V3_ALIGNMENT)) ALIGN 873 net/packet/af_packet.c #define TOTAL_PKT_LEN_INCL_ALIGN(length) (ALIGN((length), V3_ALIGNMENT)) ALIGN 199 net/qrtr/qrtr.c skb_put_padto(skb, ALIGN(len, 4) + sizeof(*hdr)); ALIGN 311 net/qrtr/qrtr.c if (len != ALIGN(size, 4) + hdrlen) ALIGN 109 net/rds/page.c rem->r_offset += ALIGN(bytes, 8); ALIGN 2639 net/sctp/socket.c } else if (optlen == ALIGN(offsetof(struct sctp_paddrparams, ALIGN 5942 net/sctp/socket.c else if (len >= ALIGN(offsetof(struct sctp_paddrparams, ALIGN 5944 net/sctp/socket.c len = ALIGN(offsetof(struct sctp_paddrparams, ALIGN 350 net/sctp/tsnmap.c inc = ALIGN((size - map->len), BITS_PER_LONG) + SCTP_TSN_MAP_INCREMENT; ALIGN 76 net/vmw_vsock/hyperv_transport.c ALIGN((payload_len), 8) + \ ALIGN 358 net/vmw_vsock/hyperv_transport.c sndbuf = ALIGN(sndbuf, PAGE_SIZE); ALIGN 361 net/vmw_vsock/hyperv_transport.c rcvbuf = ALIGN(rcvbuf, PAGE_SIZE); ALIGN 699 net/wireless/reg.c if ((u8 *)coll + ALIGN(coll->len, 2) + ALIGN 707 net/wireless/reg.c rules_ptr = (void *)((u8 *)coll + ALIGN(coll->len, 2)); ALIGN 901 net/wireless/reg.c __be16 *rules_ptr = (void *)((u8 *)coll + ALIGN(coll->len, 2)); ALIGN 960 net/wireless/reg.c __be16 *rules_ptr = (void *)((u8 *)coll + ALIGN(coll->len, 2)); ALIGN 658 net/wireless/util.c unsigned int hlen = ALIGN(extra_headroom, 4); ALIGN 2421 net/xfrm/xfrm_state.c blksize = ALIGN(crypto_aead_blocksize(aead), 4); ALIGN 223 scripts/dtc/data.c int newlen = ALIGN(d.len, align); ALIGN 18 scripts/dtc/fdtdump.c #define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a)))) ALIGN 329 scripts/dtc/flattree.c reserve_off = ALIGN(vi->hdr_size, 8); ALIGN 390 scripts/dtc/flattree.c padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) ALIGN 601 scripts/dtc/flattree.c inb->ptr = inb->base + ALIGN(off, align); ALIGN 117 security/apparmor/include/match.h return ALIGN(sizeof(struct table_header) + len * el_size, 8); ALIGN 454 security/apparmor/policy_unpack.c size_t pad = ALIGN(sz, 8) - sz; ALIGN 102 security/integrity/ima/ima_kexec.c kexec_segment_size = ALIGN(ima_get_binary_runtime_size() + ALIGN 18 sound/core/sgbuf.c #define sgbuf_align_table(tbl) ALIGN((tbl), SGBUF_TBL_ALIGN) ALIGN 53 sound/firewire/iso-resources.c bytes = 3 * 4 + ALIGN(max_payload_bytes, 4); ALIGN 152 sound/isa/gus/gus_mem.c ptr1 = ALIGN(pblock->ptr + pblock->size, align); ALIGN 1078 sound/isa/wavefront/wavefront_synth.c blocksize = ALIGN(length - written, 8); ALIGN 706 sound/pci/bt87x.c ALIGN(255 * 4092, 1024)); ALIGN 31 sound/pci/ctxfi/ctvmem.h #define CT_PAGE_ALIGN(addr) ALIGN(addr, CT_PAGE_SIZE) ALIGN 1349 sound/pci/es1968.c size = ALIGN(size, ESM_MEM_ALIGN); ALIGN 2196 sound/pci/maestro3.c data_bytes = ALIGN(data_bytes, 256); ALIGN 3721 sound/pci/rme9652/hdsp.c cb_bus = ALIGN(hdsp->capture_dma_buf.addr, 0x10000ul); ALIGN 3722 sound/pci/rme9652/hdsp.c pb_bus = ALIGN(hdsp->playback_dma_buf.addr, 0x10000ul); ALIGN 1767 sound/pci/rme9652/rme9652.c cb_bus = ALIGN(rme9652->capture_dma_buf.addr, 0x10000ul); ALIGN 1768 sound/pci/rme9652/rme9652.c pb_bus = ALIGN(rme9652->playback_dma_buf.addr, 0x10000ul); ALIGN 3346 sound/pci/trident/trident_main.c trident->tlb.entries = (__le32 *)ALIGN((unsigned long)trident->tlb.buffer.area, SNDRV_TRIDENT_MAX_PAGES * 4); ALIGN 3347 sound/pci/trident/trident_main.c trident->tlb.entries_dmaaddr = ALIGN(trident->tlb.buffer.addr, SNDRV_TRIDENT_MAX_PAGES * 4); ALIGN 2104 sound/pci/ymfpci/ymfpci_main.c size = ALIGN(playback_ctrl_size, 0x100) + ALIGN 2105 sound/pci/ymfpci/ymfpci_main.c ALIGN(chip->bank_size_playback * 2 * YDSXG_PLAYBACK_VOICES, 0x100) + ALIGN 2106 sound/pci/ymfpci/ymfpci_main.c ALIGN(chip->bank_size_capture * 2 * YDSXG_CAPTURE_VOICES, 0x100) + ALIGN 2107 sound/pci/ymfpci/ymfpci_main.c ALIGN(chip->bank_size_effect * 2 * YDSXG_EFFECT_VOICES, 0x100) + ALIGN 2122 sound/pci/ymfpci/ymfpci_main.c ptr += ALIGN(playback_ctrl_size, 0x100); ALIGN 2123 sound/pci/ymfpci/ymfpci_main.c ptr_addr += ALIGN(playback_ctrl_size, 0x100); ALIGN 2134 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ALIGN 2135 sound/pci/ymfpci/ymfpci_main.c ptr_addr = ALIGN(ptr_addr, 0x100); ALIGN 2144 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ALIGN 2145 sound/pci/ymfpci/ymfpci_main.c ptr_addr = ALIGN(ptr_addr, 0x100); ALIGN 2154 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ALIGN 2155 sound/pci/ymfpci/ymfpci_main.c ptr_addr = ALIGN(ptr_addr, 0x100); ALIGN 354 sound/soc/codecs/sigmadsp.c pos += ALIGN(length, sizeof(__le32)); ALIGN 379 sound/soc/codecs/sigmadsp.c payload = ALIGN(payload, 2); ALIGN 2021 sound/soc/intel/haswell/sst-haswell-ipc.c request.size = ALIGN(payload_size, 4); ALIGN 367 sound/soc/qcom/qdsp6/q6asm.c buf_sz = ALIGN(buf_sz, 4096); ALIGN 266 sound/soc/sof/debug.c size = ALIGN(count, 4); ALIGN 162 tools/firmware/ihex2fw.c record_size = ALIGN(sizeof(*record) + len, 4); ALIGN 276 tools/firmware/ihex2fw.c uint16_t writelen = ALIGN(ihex_binrec_size(p), 4); ALIGN 37 tools/testing/scatterlist/linux/mm.h #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) ALIGN 154 tools/virtio/vringh_test.c mapsize = vring_size(RINGSIZE, ALIGN) ALIGN 188 tools/virtio/vringh_test.c vring_init(&vrh.vring, RINGSIZE, host_map, ALIGN); ALIGN 300 tools/virtio/vringh_test.c data = guest_map + vring_size(RINGSIZE, ALIGN); ALIGN 317 tools/virtio/vringh_test.c vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, ALIGN 481 tools/virtio/vringh_test.c memset(__user_addr_min, 0, vring_size(RINGSIZE, ALIGN)); ALIGN 484 tools/virtio/vringh_test.c vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, false, ALIGN 490 tools/virtio/vringh_test.c vring_init(&vrh.vring, RINGSIZE, __user_addr_min, ALIGN); ALIGN 509 tools/virtio/vringh_test.c __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); ALIGN 559 tools/virtio/vringh_test.c __kfree_ignore_start = __user_addr_min + vring_size(RINGSIZE, ALIGN); ALIGN 578 tools/virtio/vringh_test.c __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); ALIGN 667 tools/virtio/vringh_test.c vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, ALIGN 683 tools/virtio/vringh_test.c vring_init(&vring, RINGSIZE, __user_addr_min, ALIGN); ALIGN 2195 virt/kvm/arm/mmu.c hyp_idmap_end = ALIGN(hyp_idmap_end, PAGE_SIZE); ALIGN 1327 virt/kvm/kvm_main.c n = ALIGN(log->num_pages, BITS_PER_LONG) / 8;