align 128 arch/alpha/kernel/pci.c resource_size_t size, resource_size_t align) align 168 arch/alpha/kernel/pci.c alignto = max_t(resource_size_t, 0x1000, align); align 60 arch/alpha/kernel/pci_iommu.c unsigned long window_size, unsigned long align) align 71 arch/alpha/kernel/pci_iommu.c if (align < mem_size) align 72 arch/alpha/kernel/pci_iommu.c align = mem_size; align 77 arch/alpha/kernel/pci_iommu.c arena = memblock_alloc_node(sizeof(*arena), align, nid); align 88 arch/alpha/kernel/pci_iommu.c arena->ptes = memblock_alloc_node(sizeof(*arena), align, nid); align 93 arch/alpha/kernel/pci_iommu.c arena->ptes = memblock_alloc(mem_size, align); align 96 arch/alpha/kernel/pci_iommu.c __func__, mem_size, align); align 105 arch/alpha/kernel/pci_iommu.c arena->ptes = memblock_alloc(mem_size, align); align 108 arch/alpha/kernel/pci_iommu.c __func__, mem_size, align); align 127 arch/alpha/kernel/pci_iommu.c unsigned long window_size, unsigned long align) align 129 arch/alpha/kernel/pci_iommu.c return iommu_arena_new_node(0, hose, base, window_size, align); align 193 arch/alpha/kernel/pci_iommu.c unsigned int align) align 203 arch/alpha/kernel/pci_iommu.c mask = max(align, arena->align_entry) - 1; align 273 arch/alpha/kernel/pci_iommu.c unsigned int align = 0; align 317 arch/alpha/kernel/pci_iommu.c align = 8; align 318 arch/alpha/kernel/pci_iommu.c dma_ofs = iommu_arena_alloc(dev, arena, npages, align); align 32 arch/arc/include/asm/linkage.h #define __ALIGN .align 4 align 239 arch/arc/kernel/ptrace.c .align = sizeof(unsigned long), align 248 arch/arc/kernel/ptrace.c .align = sizeof(unsigned long), align 246 arch/arm/include/asm/assembler.h .align 3; \ align 384 arch/arm/include/asm/assembler.h .align 3 align 425 arch/arm/include/asm/assembler.h .align 3 align 481 arch/arm/include/asm/assembler.h .align 2 align 5 arch/arm/include/asm/linkage.h #define __ALIGN .align 0 align 35 arch/arm/include/asm/mach/pci.h resource_size_t align); align 8 arch/arm/include/asm/memblock.h phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align); align 593 arch/arm/kernel/bios32.c resource_size_t size, resource_size_t align) align 602 arch/arm/kernel/bios32.c start = (start + align - 1) & ~(align - 1); align 608 arch/arm/kernel/bios32.c start, size, align); align 742 arch/arm/kernel/ptrace.c .align = sizeof(u32), align 754 arch/arm/kernel/ptrace.c .align = sizeof(u32), align 767 arch/arm/kernel/ptrace.c .align = sizeof(u32), align 1144 arch/arm/mm/dma-mapping.c unsigned int align = 0; align 1155 arch/arm/mm/dma-mapping.c align = (1 << order) - 1; align 1160 arch/arm/mm/dma-mapping.c mapping->bits, 0, count, align); align 1181 arch/arm/mm/dma-mapping.c mapping->bits, 0, count, align); align 190 arch/arm/mm/init.c phys_addr_t __init arm_memblock_steal(phys_addr_t size, phys_addr_t align) align 196 arch/arm/mm/init.c phys = memblock_phys_alloc(size, align); align 164 arch/arm64/include/asm/alternative.h .align 2 /* So GAS knows label 661 is suitably aligned */ align 27 arch/arm64/include/asm/asm-bug.h .align 2; \ align 140 arch/arm64/include/asm/assembler.h .align 3 align 158 arch/arm64/include/asm/assembler.h .align 7 align 4 arch/arm64/include/asm/linkage.h #define __ALIGN .align 2 align 1137 arch/arm64/kernel/ptrace.c .align = sizeof(u64), align 1149 arch/arm64/kernel/ptrace.c .align = sizeof(u32), align 1158 arch/arm64/kernel/ptrace.c .align = sizeof(void *), align 1167 arch/arm64/kernel/ptrace.c .align = sizeof(u32), align 1175 arch/arm64/kernel/ptrace.c .align = sizeof(u32), align 1184 arch/arm64/kernel/ptrace.c .align = sizeof(int), align 1194 arch/arm64/kernel/ptrace.c .align = SVE_VQ_BYTES, align 1205 arch/arm64/kernel/ptrace.c .align = sizeof(u64), align 1214 arch/arm64/kernel/ptrace.c .align = sizeof(__uint128_t), align 1222 arch/arm64/kernel/ptrace.c .align = sizeof(__uint128_t), align 1452 arch/arm64/kernel/ptrace.c .align = sizeof(compat_elf_greg_t), align 1460 arch/arm64/kernel/ptrace.c .align = sizeof(compat_ulong_t), align 1477 arch/arm64/kernel/ptrace.c .align = sizeof(compat_elf_greg_t), align 1485 arch/arm64/kernel/ptrace.c .align = sizeof(compat_ulong_t), align 1493 arch/arm64/kernel/ptrace.c .align = sizeof(compat_ulong_t), align 1502 arch/arm64/kernel/ptrace.c .align = sizeof(u32), align 1510 arch/arm64/kernel/ptrace.c .align = sizeof(u32), align 1519 arch/arm64/kernel/ptrace.c .align = sizeof(int), align 155 arch/arm64/mm/numa.c size_t align) align 159 arch/arm64/mm/numa.c return memblock_alloc_try_nid(size, align, align 7 arch/c6x/include/asm/linkage.h #define __ALIGN .align 2 align 79 arch/c6x/kernel/ptrace.c .align = sizeof(u32), align 170 arch/csky/kernel/ptrace.c .align = sizeof(u32), align 178 arch/csky/kernel/ptrace.c .align = sizeof(u32), align 141 arch/h8300/kernel/ptrace.c .align = sizeof(long), align 9 arch/hexagon/include/asm/linkage.h #define __ALIGN .align 4 align 161 arch/hexagon/kernel/ptrace.c .align = sizeof(unsigned long), align 12 arch/ia64/include/asm/asmmacro.h .align 32; \ align 17 arch/ia64/include/asm/asmmacro.h .align 16; \ align 123 arch/ia64/include/asm/asmmacro.h # define TEXT_ALIGN(n) .align n align 2115 arch/ia64/kernel/ptrace.c .size = sizeof(elf_greg_t), .align = sizeof(elf_greg_t), align 2122 arch/ia64/kernel/ptrace.c .size = sizeof(elf_fpreg_t), .align = sizeof(elf_fpreg_t), align 28 arch/m68k/include/asm/dvma.h int align); align 29 arch/m68k/include/asm/dvma.h extern void *dvma_malloc_align(unsigned long len, unsigned long align); align 5 arch/m68k/include/asm/linkage.h #define __ALIGN .align 4 align 207 arch/m68k/include/asm/math-emu.h .align 4 align 224 arch/m68k/include/asm/math-emu.h .align 4 align 30 arch/m68k/kernel/pcibios.c resource_size_t size, resource_size_t align) align 37 arch/m68k/kernel/pcibios.c start = (start + align - 1) & ~(align - 1); align 76 arch/m68k/math-emu/fp_decode.h .align 4 align 88 arch/m68k/math-emu/fp_decode.h .align 4 align 118 arch/m68k/math-emu/fp_decode.h .align 4 align 172 arch/m68k/math-emu/fp_decode.h .align 4 align 182 arch/m68k/math-emu/fp_decode.h .align 4 align 152 arch/m68k/sun3/sun3dvma.c static inline unsigned long get_baddr(int len, unsigned long align) align 172 arch/m68k/sun3/sun3dvma.c if(align > DVMA_PAGE_SIZE) align 173 arch/m68k/sun3/sun3dvma.c newlen = len + ((hole->end - len) & (align-1)); align 284 arch/m68k/sun3/sun3dvma.c unsigned long dvma_map_align(unsigned long kaddr, int len, int align) align 305 arch/m68k/sun3/sun3dvma.c if(align == 0) align 306 arch/m68k/sun3/sun3dvma.c align = DVMA_PAGE_SIZE; align 308 arch/m68k/sun3/sun3dvma.c align = ((align + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); align 310 arch/m68k/sun3/sun3dvma.c baddr = get_baddr(len, align); align 339 arch/m68k/sun3/sun3dvma.c void *dvma_malloc_align(unsigned long len, unsigned long align) align 354 arch/m68k/sun3/sun3dvma.c if((baddr = (unsigned long)dvma_map_align(kaddr, len, align)) == 0) { align 94 arch/microblaze/kernel/cpu/cache.c int align = ~(cache_line_length - 1); \ align 97 arch/microblaze/kernel/cpu/cache.c start &= align; \ align 128 arch/microblaze/kernel/cpu/cache.c int align = ~(line_length - 1); \ align 130 arch/microblaze/kernel/cpu/cache.c end = ((end & align) == end) ? end - line_length : end & align; \ align 145 arch/microblaze/kernel/cpu/cache.c unsigned int align = ~(line_length - 1); \ align 146 arch/microblaze/kernel/cpu/cache.c end = ((end & align) == end) ? end - line_length : end & align; \ align 159 arch/mips/cavium-octeon/executive/cvmx-bootmem.c uint64_t max_addr, uint64_t align, align 165 arch/mips/cavium-octeon/executive/cvmx-bootmem.c align, name, 0); align 626 arch/mips/cavium-octeon/executive/cvmx-bootmem.c uint64_t max_addr, uint64_t align, align 645 arch/mips/cavium-octeon/executive/cvmx-bootmem.c align, name, align 28 arch/mips/include/asm/asm.h .align 2; \ align 40 arch/mips/include/asm/asm.h .align 2; \ align 206 arch/mips/include/asm/octeon/cvmx-bootmem.h uint64_t max_addr, uint64_t align, align 233 arch/mips/include/asm/octeon/cvmx-bootmem.h uint64_t align, align 27 arch/mips/include/asm/octeon/octeon.h uint64_t max_addr, uint64_t align, align 28 arch/mips/kernel/cpu-bugs64.c void align_mod(const int align, const int mod) align 39 arch/mips/kernel/cpu-bugs64.c : "n"(align), "n"(mod)); align 44 arch/mips/kernel/cpu-bugs64.c const int align, const int mod) align 73 arch/mips/kernel/cpu-bugs64.c align_mod(align, mod); align 104 arch/mips/kernel/cpu-bugs64.c align_mod(align, mod); align 1021 arch/mips/kernel/ptrace.c .align = sizeof(unsigned int), align 1029 arch/mips/kernel/ptrace.c .align = sizeof(u32), align 1039 arch/mips/kernel/ptrace.c .align = sizeof(elf_fpreg_t), align 1047 arch/mips/kernel/ptrace.c .align = sizeof(int), align 1057 arch/mips/kernel/ptrace.c .align = 16, align 1081 arch/mips/kernel/ptrace.c .align = sizeof(unsigned long), align 1089 arch/mips/kernel/ptrace.c .align = sizeof(u64), align 1099 arch/mips/kernel/ptrace.c .align = sizeof(int), align 1107 arch/mips/kernel/ptrace.c .align = sizeof(elf_fpreg_t), align 1117 arch/mips/kernel/ptrace.c .align = 16, align 25 arch/mips/pci/pci-generic.c resource_size_t size, resource_size_t align) align 34 arch/mips/pci/pci-generic.c start = (start + align - 1) & ~(align - 1); align 40 arch/mips/pci/pci-generic.c start, size, align); align 47 arch/mips/pci/pci-legacy.c resource_size_t size, resource_size_t align) align 35 arch/nds32/include/asm/assembler.h .align 3; \ align 8 arch/nds32/include/asm/linkage.h #define __ALIGN .align 2 align 43 arch/nds32/kernel/ptrace.c .align = sizeof(elf_greg_t), align 12 arch/nios2/include/asm/linkage.h #define __ALIGN .align 4 align 123 arch/nios2/kernel/ptrace.c .align = sizeof(unsigned long), align 18 arch/openrisc/include/asm/linkage.h #define __ALIGN .align 0 align 117 arch/openrisc/kernel/ptrace.c .align = sizeof(long), align 8 arch/parisc/include/asm/linkage.h #define __ALIGN .align 4 align 201 arch/parisc/kernel/pci.c resource_size_t mask, align, start = res->start; align 209 arch/parisc/kernel/pci.c align = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; align 212 arch/parisc/kernel/pci.c mask = max(alignment, align) - 1; align 591 arch/parisc/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 596 arch/parisc/kernel/ptrace.c .size = sizeof(__u64), .align = sizeof(__u64), align 675 arch/parisc/kernel/ptrace.c .size = sizeof(compat_long_t), .align = sizeof(compat_long_t), align 680 arch/parisc/kernel/ptrace.c .size = sizeof(__u64), .align = sizeof(__u64), align 13 arch/powerpc/boot/of.h unsigned long align); align 153 arch/powerpc/boot/oflib.c unsigned long align) align 160 arch/powerpc/boot/oflib.c if (align || !need_map) align 161 arch/powerpc/boot/oflib.c return of_call_prom("claim", 3, 1, virt, size, align); align 164 arch/powerpc/boot/oflib.c align, size, virt); align 168 arch/powerpc/boot/oflib.c align, size, virt); align 36 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 43 arch/powerpc/include/asm/feature-fixups.h .align 3; \ align 187 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 195 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 203 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 211 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 219 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 230 arch/powerpc/include/asm/feature-fixups.h .align 2; \ align 33 arch/powerpc/include/asm/fsl_85xx_cache_sram.h phys_addr_t *phys, unsigned int align); align 201 arch/powerpc/include/asm/ppc_asm.h .align 2 ; \ align 207 arch/powerpc/include/asm/ppc_asm.h .align 2 ; \ align 223 arch/powerpc/include/asm/ppc_asm.h .align 2 ; \ align 449 arch/powerpc/include/asm/ps3.h unsigned long align; align 35 arch/powerpc/include/asm/vdso.h .align 3; \ align 434 arch/powerpc/kernel/fadump.c u64 base, size, mem_boundary, bootmem_min, align = PAGE_SIZE; align 456 arch/powerpc/kernel/fadump.c align = FADUMP_CMA_ALIGNMENT; align 458 arch/powerpc/kernel/fadump.c ALIGN(fw_dump.boot_memory_size, align); align 527 arch/powerpc/kernel/fadump.c base = memblock_find_in_range(base, mem_boundary, size, align); align 303 arch/powerpc/kernel/head_booke.h .align 5; \ align 426 arch/powerpc/kernel/iommu.c unsigned int align; align 458 arch/powerpc/kernel/iommu.c align = 0; align 461 arch/powerpc/kernel/iommu.c align = PAGE_SHIFT - tbl->it_page_shift; align 463 arch/powerpc/kernel/iommu.c mask >> tbl->it_page_shift, align); align 802 arch/powerpc/kernel/iommu.c unsigned int npages, align; align 811 arch/powerpc/kernel/iommu.c align = 0; align 814 arch/powerpc/kernel/iommu.c align = PAGE_SHIFT - tbl->it_page_shift; align 817 arch/powerpc/kernel/iommu.c mask >> tbl->it_page_shift, align, align 26 arch/powerpc/kernel/paca.c static void *__init alloc_paca_data(unsigned long size, unsigned long align, align 44 arch/powerpc/kernel/paca.c ptr = memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, align 59 arch/powerpc/kernel/paca.c static void *__init alloc_shared_lppaca(unsigned long size, unsigned long align, align 1075 arch/powerpc/kernel/pci-common.c resource_size_t size, resource_size_t align) align 567 arch/powerpc/kernel/prom_init.c unsigned long align) align 570 arch/powerpc/kernel/prom_init.c if (align == 0 && (OF_WORKAROUNDS & OF_WA_CLAIM)) { align 580 arch/powerpc/kernel/prom_init.c align, size, virt); align 585 arch/powerpc/kernel/prom_init.c align, size, virt); align 597 arch/powerpc/kernel/prom_init.c (prom_arg_t)align); align 1434 arch/powerpc/kernel/prom_init.c static unsigned long __init alloc_up(unsigned long size, unsigned long align) align 1439 arch/powerpc/kernel/prom_init.c if (align) align 1440 arch/powerpc/kernel/prom_init.c base = _ALIGN_UP(base, align); align 1441 arch/powerpc/kernel/prom_init.c prom_debug("%s(%lx, %lx)\n", __func__, size, align); align 1445 arch/powerpc/kernel/prom_init.c if (align) align 1446 arch/powerpc/kernel/prom_init.c base = _ALIGN_UP(alloc_bottom, align); align 1451 arch/powerpc/kernel/prom_init.c base = _ALIGN_UP(base + 0x100000, align)) { align 1457 arch/powerpc/kernel/prom_init.c if (align == 0) align 1479 arch/powerpc/kernel/prom_init.c static unsigned long __init alloc_down(unsigned long size, unsigned long align, align 1484 arch/powerpc/kernel/prom_init.c prom_debug("%s(%lx, %lx, %s)\n", __func__, size, align, align 1491 arch/powerpc/kernel/prom_init.c addr = _ALIGN_DOWN(alloc_top_high - size, align); align 1509 arch/powerpc/kernel/prom_init.c base = _ALIGN_DOWN(alloc_top - size, align); align 1511 arch/powerpc/kernel/prom_init.c base = _ALIGN_DOWN(base - 0x100000, align)) { align 1925 arch/powerpc/kernel/prom_init.c u64 base, align; align 1982 arch/powerpc/kernel/prom_init.c align = max(minalign, minsize); align 1983 arch/powerpc/kernel/prom_init.c base = alloc_down(minsize, align, 1); align 2413 arch/powerpc/kernel/prom_init.c unsigned long needed, unsigned long align) align 2417 arch/powerpc/kernel/prom_init.c *mem_start = _ALIGN(*mem_start, align); align 1902 arch/powerpc/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 1907 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 1913 arch/powerpc/kernel/ptrace.c .size = sizeof(vector128), .align = sizeof(vector128), align 1920 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 1927 arch/powerpc/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 1934 arch/powerpc/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 1939 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 1944 arch/powerpc/kernel/ptrace.c .size = sizeof(vector128), .align = sizeof(vector128), align 1949 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 1954 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1959 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1964 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1969 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1976 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1981 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1988 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1993 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1998 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2005 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2195 arch/powerpc/kernel/ptrace.c .size = sizeof(compat_long_t), .align = sizeof(compat_long_t), align 2200 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 2206 arch/powerpc/kernel/ptrace.c .size = sizeof(vector128), .align = sizeof(vector128), align 2213 arch/powerpc/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 2220 arch/powerpc/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 2226 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 2231 arch/powerpc/kernel/ptrace.c .size = sizeof(vector128), .align = sizeof(vector128), align 2236 arch/powerpc/kernel/ptrace.c .size = sizeof(double), .align = sizeof(double), align 2241 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2246 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2251 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2256 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2263 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2268 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2275 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 2280 arch/powerpc/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 760 arch/powerpc/kernel/setup_64.c static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size, size_t align) align 762 arch/powerpc/kernel/setup_64.c return memblock_alloc_try_nid(size, align, __pa(MAX_DMA_ADDRESS), align 96 arch/powerpc/mm/init-common.c unsigned long align = table_size; align 118 arch/powerpc/mm/init-common.c align = max_t(unsigned long, align, minalign); align 120 arch/powerpc/mm/init-common.c new = kmem_cache_create(name, table_size, align, 0, ctor(shift)); align 283 arch/powerpc/mm/init_64.c altmap->free + altmap->alloc + altmap->align; align 147 arch/powerpc/mm/nohash/fsl_booke.c unsigned int align = __ffs(virt | phys); align 154 arch/powerpc/mm/nohash/fsl_booke.c align &= ~1U; align 160 arch/powerpc/mm/nohash/fsl_booke.c if (camsize > align) align 161 arch/powerpc/mm/nohash/fsl_booke.c camsize = align; align 3365 arch/powerpc/platforms/powernv/pci-ioda.c resource_size_t align; align 3384 arch/powerpc/platforms/powernv/pci-ioda.c align = pci_iov_resource_size(pdev, resno); align 3386 arch/powerpc/platforms/powernv/pci-ioda.c return align; align 3388 arch/powerpc/platforms/powernv/pci-ioda.c return max(align, (resource_size_t)phb->ioda.m64_segsize); align 3390 arch/powerpc/platforms/powernv/pci-ioda.c return pdn->vfs_expanded * align; align 117 arch/powerpc/platforms/ps3/setup.c p->address = memblock_alloc(p->size, p->align); align 120 arch/powerpc/platforms/ps3/setup.c __func__, p->size, p->align); align 131 arch/powerpc/platforms/ps3/setup.c .align = 1024*1024 /* the GPU requires 1 MiB alignment */ align 142 arch/powerpc/platforms/ps3/setup.c ps3fb_videomemory.align); align 154 arch/powerpc/platforms/ps3/setup.c .align = 256*1024 align 26 arch/powerpc/sysdev/fsl_85xx_cache_sram.c phys_addr_t *phys, unsigned int align) align 34 arch/powerpc/sysdev/fsl_85xx_cache_sram.c if (!size || (size > cache_sram->size) || (align > cache_sram->size)) { align 36 arch/powerpc/sysdev/fsl_85xx_cache_sram.c __func__, size, align); align 40 arch/powerpc/sysdev/fsl_85xx_cache_sram.c if ((align & (align - 1)) || align <= 1) { align 42 arch/powerpc/sysdev/fsl_85xx_cache_sram.c __func__, align); align 47 arch/powerpc/sysdev/fsl_85xx_cache_sram.c offset = rh_alloc_align(cache_sram->rh, size, align, NULL); align 100 arch/riscv/kernel/ptrace.c .align = sizeof(elf_greg_t), align 109 arch/riscv/kernel/ptrace.c .align = sizeof(elf_fpreg_t), align 7 arch/s390/include/asm/linkage.h #define __ALIGN .align 4, 0x07 align 26 arch/s390/include/asm/linkage.h .align 4 ; \ align 33 arch/s390/include/asm/linkage.h .align 4 ; \ align 75 arch/s390/kernel/os_info.c static void os_info_old_alloc(int nr, int align) align 87 arch/s390/kernel/os_info.c buf = kmalloc(size + align - 1, GFP_KERNEL); align 92 arch/s390/kernel/os_info.c buf_align = PTR_ALIGN(buf, align); align 1340 arch/s390/kernel/ptrace.c .align = sizeof(long), align 1348 arch/s390/kernel/ptrace.c .align = sizeof(long), align 1356 arch/s390/kernel/ptrace.c .align = sizeof(unsigned int), align 1364 arch/s390/kernel/ptrace.c .align = sizeof(long), align 1372 arch/s390/kernel/ptrace.c .align = 1, align 1380 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1388 arch/s390/kernel/ptrace.c .align = sizeof(__vector128), align 1396 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1404 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1412 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1584 arch/s390/kernel/ptrace.c .align = sizeof(compat_long_t), align 1592 arch/s390/kernel/ptrace.c .align = sizeof(compat_long_t), align 1600 arch/s390/kernel/ptrace.c .align = sizeof(compat_uint_t), align 1608 arch/s390/kernel/ptrace.c .align = sizeof(long), align 1616 arch/s390/kernel/ptrace.c .align = 1, align 1624 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1632 arch/s390/kernel/ptrace.c .align = sizeof(__vector128), align 1640 arch/s390/kernel/ptrace.c .align = sizeof(compat_long_t), align 1648 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1656 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 1664 arch/s390/kernel/ptrace.c .align = sizeof(__u64), align 550 arch/s390/numa/mode_emu.c .align = emu_align, align 75 arch/s390/numa/numa.c unsigned long cur_base, align, end_of_dram; align 79 arch/s390/numa/numa.c align = mode->align ? mode->align() : ULONG_MAX; align 90 arch/s390/numa/numa.c memblock_set_node(cur_base, align, &memblock.memory, nid); align 91 arch/s390/numa/numa.c cur_base += align; align 18 arch/s390/numa/numa_mode.h unsigned long (*align)(void); /* Minimum node alignment */ align 218 arch/s390/pci/pci.c resource_size_t align) align 173 arch/sh/drivers/pci/pci.c resource_size_t size, resource_size_t align) align 16 arch/sh/include/asm/romimage-macros.h .align 2 align 29 arch/sh/include/asm/romimage-macros.h .align 2 align 42 arch/sh/include/asm/romimage-macros.h .align 2 align 58 arch/sh/include/asm/romimage-macros.h .align 2 align 69 arch/sh/include/asm/romimage-macros.h .align 2 align 21 arch/sh/include/mach-ecovec24/mach/romimage.h .align 2 align 21 arch/sh/include/mach-kfr2r09/mach/romimage.h .align 2 align 223 arch/sh/kernel/hw_breakpoint.c unsigned int align; align 234 arch/sh/kernel/hw_breakpoint.c align = 0; align 237 arch/sh/kernel/hw_breakpoint.c align = 1; align 240 arch/sh/kernel/hw_breakpoint.c align = 3; align 243 arch/sh/kernel/hw_breakpoint.c align = 7; align 253 arch/sh/kernel/hw_breakpoint.c if (hw->address & align) align 327 arch/sh/kernel/ptrace_32.c .align = sizeof(long), align 337 arch/sh/kernel/ptrace_32.c .align = sizeof(long), align 348 arch/sh/kernel/ptrace_32.c .align = sizeof(long), align 353 arch/sh/kernel/ptrace_64.c .align = sizeof(long long), align 364 arch/sh/kernel/ptrace_64.c .align = sizeof(long long), align 226 arch/sparc/boot/piggyback.c st4(buffer + 8, align(end + 32)); align 238 arch/sparc/boot/piggyback.c st4(buffer, align(end + 32 + 8191) - (start & ~0x3fffffUL) + align 249 arch/sparc/boot/piggyback.c if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) align 24 arch/sparc/include/asm/bitext.h int bit_map_string_get(struct bit_map *t, int len, int align); align 151 arch/sparc/include/asm/oplib_64.h unsigned long align, unsigned long *paddr); align 15 arch/sparc/include/asm/pgalloc_32.h void *srmmu_get_nocache(int size, int align); align 67 arch/sparc/kernel/pci_common.c unsigned long align = (unsigned long) addr; align 69 arch/sparc/kernel/pci_common.c align &= ~1; align 70 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)align, &tmp16); align 178 arch/sparc/kernel/pci_common.c unsigned long align = (unsigned long) addr; align 181 arch/sparc/kernel/pci_common.c align &= ~1; align 182 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)align, &tmp16); align 190 arch/sparc/kernel/pci_common.c pci_config_write16((u16 *)align, tmp16); align 298 arch/sparc/kernel/ptrace_32.c .size = sizeof(u32), .align = sizeof(u32), align 314 arch/sparc/kernel/ptrace_32.c .size = sizeof(u32), .align = sizeof(u32), align 493 arch/sparc/kernel/ptrace_64.c .size = sizeof(u64), .align = sizeof(u64), align 505 arch/sparc/kernel/ptrace_64.c .size = sizeof(u64), .align = sizeof(u64), align 861 arch/sparc/kernel/ptrace_64.c .size = sizeof(u32), .align = sizeof(u32), align 877 arch/sparc/kernel/ptrace_64.c .size = sizeof(u32), .align = sizeof(u32), align 1583 arch/sparc/kernel/smp_64.c size_t align) align 1591 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_from(size, align, goal); align 1597 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_try_nid(size, align, goal, align 1604 arch/sparc/kernel/smp_64.c return memblock_alloc_from(size, align, goal); align 28 arch/sparc/lib/bitext.c int bit_map_string_get(struct bit_map *t, int len, int align) align 37 arch/sparc/lib/bitext.c color = align; align 38 arch/sparc/lib/bitext.c align = t->num_colors; align 41 arch/sparc/lib/bitext.c if (align == 0) align 42 arch/sparc/lib/bitext.c align = 1; align 44 arch/sparc/lib/bitext.c align1 = align - 1; align 45 arch/sparc/lib/bitext.c if ((align & align1) != 0) align 47 arch/sparc/lib/bitext.c if (align < 0 || align >= t->size) align 70 arch/sparc/lib/bitext.c t->size, t->used, offset, len, align, count); align 176 arch/sparc/mm/srmmu.c static void *__srmmu_get_nocache(int size, int align) align 191 arch/sparc/mm/srmmu.c BUG_ON(align > SRMMU_NOCACHE_ALIGN_MAX); align 195 arch/sparc/mm/srmmu.c align >> SRMMU_NOCACHE_BITMAP_SHIFT); align 207 arch/sparc/mm/srmmu.c void *srmmu_get_nocache(int size, int align) align 211 arch/sparc/mm/srmmu.c tmp = __srmmu_get_nocache(size, align); align 282 arch/sparc/prom/misc_64.c unsigned long align, unsigned long *paddr) align 291 arch/sparc/prom/misc_64.c args[5] = align; align 22 arch/um/drivers/cow.h extern void cow_sizes(int version, __u64 size, int sectorsize, int align, align 122 arch/um/drivers/cow_user.c #define ROUND_UP(x, align) DIV_ROUND(x, align) * (align) align 124 arch/um/drivers/cow_user.c void cow_sizes(int version, __u64 size, int sectorsize, int align, align 141 arch/um/drivers/cow_user.c *data_offset_out = ROUND_UP(*data_offset_out, align); align 562 arch/um/drivers/ubd_kern.c __u32 align; align 580 arch/um/drivers/ubd_kern.c &mtime, &size, §or_size, &align, &bitmap_offset); align 676 arch/um/drivers/ubd_kern.c __u32 version, align; align 709 arch/um/drivers/ubd_kern.c &size, §orsize, &align, bitmap_offset_out); align 727 arch/um/drivers/ubd_kern.c sectorsize, align, &size); align 739 arch/um/drivers/ubd_kern.c cow_sizes(version, size, sectorsize, align, *bitmap_offset_out, align 643 arch/um/os-Linux/file.c struct cmsghdr align; align 57 arch/unicore32/include/asm/assembler.h .align 3; \ align 110 arch/unicore32/include/asm/assembler.h .align 3 align 12 arch/unicore32/include/asm/linkage.h #define __ALIGN .align 0 align 328 arch/unicore32/kernel/pci.c resource_size_t size, resource_size_t align) align 335 arch/unicore32/kernel/pci.c start = (start + align - 1) & ~(align - 1); align 289 arch/x86/crypto/aesni-intel_glue.c unsigned long align = AESNI_ALIGN; align 291 arch/x86/crypto/aesni-intel_glue.c if (align <= crypto_tfm_ctx_alignment()) align 292 arch/x86/crypto/aesni-intel_glue.c align = 1; align 293 arch/x86/crypto/aesni-intel_glue.c return PTR_ALIGN(crypto_aead_ctx(tfm), align); align 299 arch/x86/crypto/aesni-intel_glue.c unsigned long align = AESNI_ALIGN; align 301 arch/x86/crypto/aesni-intel_glue.c if (align <= crypto_tfm_ctx_alignment()) align 302 arch/x86/crypto/aesni-intel_glue.c align = 1; align 303 arch/x86/crypto/aesni-intel_glue.c return PTR_ALIGN(crypto_aead_ctx(tfm), align); align 310 arch/x86/crypto/aesni-intel_glue.c unsigned long align = AESNI_ALIGN; align 312 arch/x86/crypto/aesni-intel_glue.c if (align <= crypto_tfm_ctx_alignment()) align 313 arch/x86/crypto/aesni-intel_glue.c align = 1; align 314 arch/x86/crypto/aesni-intel_glue.c return (struct crypto_aes_ctx *)ALIGN(addr, align); align 28 arch/x86/include/asm/e820/api.h extern u64 e820__memblock_alloc_reserved(u64 size, u64 align); align 41 arch/x86/include/asm/mcsafe_test.h .align 8 align 804 arch/x86/include/asm/paravirt.h .align algn; \ align 94 arch/x86/include/asm/setup.h void *extend_brk(size_t size, size_t align); align 256 arch/x86/kernel/cpu/mtrr/cleanup.c unsigned long max_align, align; align 265 arch/x86/kernel/cpu/mtrr/cleanup.c align = __fls(range_sizek); align 266 arch/x86/kernel/cpu/mtrr/cleanup.c if (align > max_align) align 267 arch/x86/kernel/cpu/mtrr/cleanup.c align = max_align; align 269 arch/x86/kernel/cpu/mtrr/cleanup.c sizek = 1UL << align; align 788 arch/x86/kernel/e820.c u64 __init e820__memblock_alloc_reserved(u64 size, u64 align) align 792 arch/x86/kernel/e820.c addr = memblock_phys_alloc(size, align); align 318 arch/x86/kernel/hw_breakpoint.c unsigned int align; align 328 arch/x86/kernel/hw_breakpoint.c align = 0; align 330 arch/x86/kernel/hw_breakpoint.c align = hw->mask; align 333 arch/x86/kernel/hw_breakpoint.c align = 1; align 336 arch/x86/kernel/hw_breakpoint.c align = 3; align 340 arch/x86/kernel/hw_breakpoint.c align = 7; align 352 arch/x86/kernel/hw_breakpoint.c if (hw->address & align) align 1221 arch/x86/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 1227 arch/x86/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 1232 arch/x86/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1239 arch/x86/kernel/ptrace.c .size = sizeof(long), .align = sizeof(long), align 1262 arch/x86/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 1268 arch/x86/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 1274 arch/x86/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 1279 arch/x86/kernel/ptrace.c .size = sizeof(u64), .align = sizeof(u64), align 1287 arch/x86/kernel/ptrace.c .align = sizeof(struct user_desc), align 1294 arch/x86/kernel/ptrace.c .size = sizeof(u32), .align = sizeof(u32), align 254 arch/x86/kernel/setup.c void * __init extend_brk(size_t size, size_t align) align 256 arch/x86/kernel/setup.c size_t mask = align - 1; align 260 arch/x86/kernel/setup.c BUG_ON(align & mask); align 101 arch/x86/kernel/setup_percpu.c unsigned long align) align 109 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_from(size, align, goal); align 115 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_try_nid(size, align, goal, align 124 arch/x86/kernel/setup_percpu.c return memblock_alloc_from(size, align, goal); align 131 arch/x86/kernel/setup_percpu.c static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size, size_t align) align 133 arch/x86/kernel/setup_percpu.c return pcpu_alloc_bootmem(cpu, size, align); align 156 arch/x86/pci/i386.c resource_size_t size, resource_size_t align) align 101 arch/xtensa/include/asm/coprocessor.h #define XCHAL_SA_REG(list,cc,abi,type,y,name,z,align,size,...) \ align 102 arch/xtensa/include/asm/coprocessor.h __REG ## list (cc, abi, type, name, size, align) align 74 arch/xtensa/include/asm/initialize_mmu.h .align 4 align 187 arch/xtensa/include/asm/initialize_mmu.h .align 4 align 6 arch/xtensa/include/asm/linkage.h #define __ALIGN .align 4 align 157 arch/xtensa/include/asm/processor.h int align[0] __attribute__ ((aligned(16))); align 75 arch/xtensa/include/asm/ptrace.h int align[0] __attribute__ ((aligned(16))); align 154 arch/xtensa/include/asm/uaccess.h #define __put_user_asm(x_, addr_, err_, align, insn, cb)\ align 156 arch/xtensa/include/asm/uaccess.h __check_align_##align \ align 220 arch/xtensa/include/asm/uaccess.h #define __get_user_asm(x_, addr_, err_, align, insn, cb) \ align 224 arch/xtensa/include/asm/uaccess.h __check_align_##align \ align 42 arch/xtensa/kernel/pci.c resource_size_t size, resource_size_t align) align 200 arch/xtensa/kernel/ptrace.c .align = sizeof(u32), align 208 arch/xtensa/kernel/ptrace.c .align = sizeof(u32), align 125 block/blk-map.c unsigned long align = q->dma_pad_mask | queue_dma_alignment(q); align 135 block/blk-map.c else if (iov_iter_alignment(iter) & align) align 87 block/sed-opal.c u64 align; align 375 block/sed-opal.c dev->align = be64_to_cpu(geo->alignment_granularity); align 472 crypto/blkcipher.c unsigned long align = crypto_tfm_alg_alignmask(tfm) + 1; align 480 crypto/blkcipher.c addr = ALIGN(addr, align); align 481 crypto/blkcipher.c addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); align 65 crypto/ccm.c unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); align 67 crypto/ccm.c return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); align 408 crypto/ccm.c unsigned long align; align 423 crypto/ccm.c align = crypto_aead_alignmask(tfm); align 424 crypto/ccm.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 427 crypto/ccm.c align + sizeof(struct crypto_ccm_req_priv_ctx) + align 712 crypto/ccm.c unsigned long align; align 720 crypto/ccm.c align = crypto_aead_alignmask(aead); align 721 crypto/ccm.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 726 crypto/ccm.c align + 32); align 514 crypto/chacha20poly1305.c unsigned long align; align 530 crypto/chacha20poly1305.c align = crypto_aead_alignmask(tfm); align 531 crypto/chacha20poly1305.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 534 crypto/chacha20poly1305.c align + offsetof(struct chachapoly_req_ctx, u) + align 200 crypto/ctr.c unsigned long align = crypto_skcipher_alignmask(tfm); align 202 crypto/ctr.c (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); align 229 crypto/ctr.c unsigned long align; align 238 crypto/ctr.c align = crypto_skcipher_alignmask(tfm); align 239 crypto/ctr.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 240 crypto/ctr.c reqsize = align + sizeof(struct crypto_rfc3686_req_ctx) + align 295 crypto/cts.c unsigned align; align 303 crypto/cts.c align = crypto_skcipher_alignmask(tfm); align 308 crypto/cts.c (align & ~(crypto_tfm_ctx_alignment() - 1)) + bsize; align 88 crypto/gcm.c unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); align 90 crypto/gcm.c return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); align 534 crypto/gcm.c unsigned long align; align 549 crypto/gcm.c align = crypto_aead_alignmask(tfm); align 550 crypto/gcm.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 552 crypto/gcm.c align + offsetof(struct crypto_gcm_req_priv_ctx, u) + align 834 crypto/gcm.c unsigned long align; align 842 crypto/gcm.c align = crypto_aead_alignmask(aead); align 843 crypto/gcm.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 848 crypto/gcm.c align + 24); align 1055 crypto/gcm.c unsigned long align; align 1070 crypto/gcm.c align = crypto_aead_alignmask(aead); align 1071 crypto/gcm.c align &= ~(crypto_tfm_ctx_alignment() - 1); align 1076 crypto/gcm.c align + GCM_AES_IV_SIZE); align 28 crypto/hmac.c static inline void *align_ptr(void *p, unsigned int align) align 30 crypto/hmac.c return (void *)ALIGN((unsigned long)p, align); align 252 drivers/android/binder_alloc_selftest.c int align; align 264 drivers/android/binder_alloc_selftest.c for (align = SAME_PAGE_UNALIGNED; align < LOOP_END; align++) { align 265 drivers/android/binder_alloc_selftest.c if (align % 2) align 186 drivers/atm/zatm.c int align,offset,free,count,size; align 193 drivers/atm/zatm.c align = 32; /* for 32 byte alignment */ align 197 drivers/atm/zatm.c align = 4096; align 201 drivers/atm/zatm.c size += align; align 223 drivers/atm/zatm.c align+offset-1) & ~(unsigned long) (align-1))-offset)- align 1082 drivers/base/devres.c size_t align) align 1087 drivers/base/devres.c pcpu = __alloc_percpu(size, align); align 596 drivers/block/drbd/drbd_worker.c int align, requeue = 0; align 678 drivers/block/drbd/drbd_worker.c align = 1; align 685 drivers/block/drbd/drbd_worker.c if (sector & ((1<<(align+3))-1)) align 703 drivers/block/drbd/drbd_worker.c if ((BM_BLOCK_SIZE << align) <= size) align 704 drivers/block/drbd/drbd_worker.c align++; align 524 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c struct rail_alignment *align) align 528 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c &align->step_uv)) align 529 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c align->step_uv = 0; align 533 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c &align->offset_uv)) align 534 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c align->offset_uv = 0; align 538 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c struct rail_alignment *align) align 545 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c align->offset_uv = regulator_list_voltage(reg, 0); align 546 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c align->step_uv = regulator_get_linear_step(reg); align 558 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c struct rail_alignment align; align 585 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c get_alignment_from_dt(&pdev->dev, &align); align 587 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c err = get_alignment_from_regulator(&pdev->dev, &align); align 596 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c &align, process_id, speedo_id, align 598 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c soc->alignment = align; align 26 drivers/clk/tegra/cvb.c const struct rail_alignment *align) align 30 drivers/clk/tegra/cvb.c int step = (align->step_uv ? : 1000) * v_scale; align 31 drivers/clk/tegra/cvb.c int offset = align->offset_uv * v_scale; align 34 drivers/clk/tegra/cvb.c uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; align 43 drivers/clk/tegra/cvb.c static int round_voltage(int mv, const struct rail_alignment *align, int up) align 45 drivers/clk/tegra/cvb.c if (align->step_uv) { align 48 drivers/clk/tegra/cvb.c uv = max(mv * 1000, align->offset_uv) - align->offset_uv; align 49 drivers/clk/tegra/cvb.c uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; align 50 drivers/clk/tegra/cvb.c return (uv * align->step_uv + align->offset_uv) / 1000; align 56 drivers/clk/tegra/cvb.c struct rail_alignment *align, align 61 drivers/clk/tegra/cvb.c min_mv = round_voltage(table->min_millivolts, align, UP); align 62 drivers/clk/tegra/cvb.c max_mv = round_voltage(table->max_millivolts, align, DOWN); align 73 drivers/clk/tegra/cvb.c align); align 103 drivers/clk/tegra/cvb.c size_t count, struct rail_alignment *align, align 119 drivers/clk/tegra/cvb.c ret = build_opp_table(dev, table, align, speedo_value, align 53 drivers/clk/tegra/cvb.h size_t count, struct rail_alignment *align, align 3417 drivers/crypto/chelsio/chcr_algo.c int align; align 3483 drivers/crypto/chelsio/chcr_algo.c align = KEYCTX_ALIGN_PAD(max_authsize); align 3484 drivers/crypto/chelsio/chcr_algo.c o_ptr = actx->h_iopad + param.result_size + align; align 3521 drivers/crypto/chelsio/chcr_algo.c (param.result_size + align) * 2; align 88 drivers/crypto/padlock-aes.c unsigned long align = PADLOCK_ALIGNMENT; align 90 drivers/crypto/padlock-aes.c if (align <= crypto_tfm_ctx_alignment()) align 91 drivers/crypto/padlock-aes.c align = 1; align 92 drivers/crypto/padlock-aes.c return (struct aes_ctx *)ALIGN(addr, align); align 71 drivers/crypto/rockchip/rk3288_crypto.c int in, out, align; align 79 drivers/crypto/rockchip/rk3288_crypto.c align = in && out; align 81 drivers/crypto/rockchip/rk3288_crypto.c return (align && (sg_src->length == sg_dst->length)); align 286 drivers/crypto/stm32/stm32-cryp.c size_t align) align 293 drivers/crypto/stm32/stm32-cryp.c if (!IS_ALIGNED(total, align)) align 300 drivers/crypto/stm32/stm32-cryp.c if (!IS_ALIGNED(sg->length, align)) align 184 drivers/dax/bus.c return sprintf(buf, "%u\n", dax_region->align); align 186 drivers/dax/bus.c static DEVICE_ATTR_RO(align); align 229 drivers/dax/bus.c struct resource *res, int target_node, unsigned int align, align 244 drivers/dax/bus.c if (!IS_ALIGNED(res->start, align) align 245 drivers/dax/bus.c || !IS_ALIGNED(resource_size(res), align)) align 257 drivers/dax/bus.c dax_region->align = align; align 13 drivers/dax/bus.h struct resource *res, int target_node, unsigned int align, align 33 drivers/dax/dax-private.h unsigned int align; align 35 drivers/dax/device.c mask = dax_region->align - 1; align 90 drivers/dax/device.c if (dax_region->align > PAGE_SIZE) { align 92 drivers/dax/device.c dax_region->align, fault_size); align 96 drivers/dax/device.c if (fault_size != dax_region->align) align 124 drivers/dax/device.c if (dax_region->align > PMD_SIZE) { align 126 drivers/dax/device.c dax_region->align, fault_size); align 136 drivers/dax/device.c if (fault_size < dax_region->align) align 138 drivers/dax/device.c else if (fault_size > dax_region->align) align 174 drivers/dax/device.c if (dax_region->align > PUD_SIZE) { align 176 drivers/dax/device.c dax_region->align, fault_size); align 186 drivers/dax/device.c if (fault_size < dax_region->align) align 188 drivers/dax/device.c else if (fault_size > dax_region->align) align 285 drivers/dax/device.c if (!IS_ALIGNED(addr, dax_region->align)) align 296 drivers/dax/device.c return dax_region->align; align 333 drivers/dax/device.c unsigned long off, off_end, off_align, len_align, addr_align, align; align 341 drivers/dax/device.c align = dax_region->align; align 344 drivers/dax/device.c off_align = round_up(off, align); align 346 drivers/dax/device.c if ((off_end <= off_align) || ((off_end - off_align) < align)) align 349 drivers/dax/device.c len_align = len + align; align 356 drivers/dax/device.c addr_align += (off - addr_align) & (align - 1); align 56 drivers/dax/pmem/core.c nd_region->target_node, le32_to_cpu(pfn_sb->align), align 149 drivers/dma/bestcomm/sram.c void* bcom_sram_alloc(int size, int align, phys_addr_t *phys) align 154 drivers/dma/bestcomm/sram.c offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); align 55 drivers/dma/coh901318.h size_t lli_nbr, size_t align); align 37 drivers/dma/coh901318_lli.c size_t size, size_t align) align 41 drivers/dma/coh901318_lli.c pool->dmapool = dma_pool_create("lli_pool", dev, size, align, 0); align 508 drivers/dma/dmatest.c unsigned int buf_size, u8 align) align 521 drivers/dma/dmatest.c d->raw[i] = kmalloc(buf_size + align, GFP_KERNEL); align 526 drivers/dma/dmatest.c if (align) align 527 drivers/dma/dmatest.c d->aligned[i] = PTR_ALIGN(d->raw[i], align); align 578 drivers/dma/dmatest.c u8 align = 0; align 596 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->copy_align : align 600 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->fill_align : align 608 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->xor_align : align 614 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->pq_align : align 634 drivers/dma/dmatest.c if (1 << align > buf_size) { align 636 drivers/dma/dmatest.c buf_size, 1 << align); align 640 drivers/dma/dmatest.c if (dmatest_alloc_test_data(src, buf_size, align) < 0) align 643 drivers/dma/dmatest.c if (dmatest_alloc_test_data(dst, buf_size, align) < 0) align 689 drivers/dma/dmatest.c len = (len >> align) << align; align 691 drivers/dma/dmatest.c len = 1 << align; align 702 drivers/dma/dmatest.c src->off = (src->off >> align) << align; align 703 drivers/dma/dmatest.c dst->off = (dst->off >> align) << align; align 638 drivers/dma/ste_dma40.c u32 align; align 642 drivers/dma/ste_dma40.c align = sizeof(struct d40_log_lli); align 644 drivers/dma/ste_dma40.c align = sizeof(struct d40_phy_lli); align 651 drivers/dma/ste_dma40.c d40d->lli_pool.size = lli_len * 2 * align; align 653 drivers/dma/ste_dma40.c base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT); align 661 drivers/dma/ste_dma40.c d40d->lli_log.src = PTR_ALIGN(base, align); align 666 drivers/dma/ste_dma40.c d40d->lli_phy.src = PTR_ALIGN(base, align); align 241 drivers/edac/edac_mc.c unsigned int align, r; align 256 drivers/edac/edac_mc.c align = sizeof(long long); align 258 drivers/edac/edac_mc.c align = sizeof(long); align 260 drivers/edac/edac_mc.c align = sizeof(int); align 262 drivers/edac/edac_mc.c align = sizeof(short); align 266 drivers/edac/edac_mc.c r = (unsigned long)p % align; align 271 drivers/edac/edac_mc.c *p += align - r; align 273 drivers/edac/edac_mc.c return (void *)(((unsigned long)ptr) + align - r); align 171 drivers/firmware/efi/libstub/efi-stub-helper.c unsigned long size, unsigned long align, align 199 drivers/firmware/efi/libstub/efi-stub-helper.c if (align < EFI_ALLOC_ALIGN) align 200 drivers/firmware/efi/libstub/efi-stub-helper.c align = EFI_ALLOC_ALIGN; align 226 drivers/firmware/efi/libstub/efi-stub-helper.c if (round_down(end - size, align) < start) align 229 drivers/firmware/efi/libstub/efi-stub-helper.c start = round_down(end - size, align); align 266 drivers/firmware/efi/libstub/efi-stub-helper.c unsigned long size, unsigned long align, align 293 drivers/firmware/efi/libstub/efi-stub-helper.c if (align < EFI_ALLOC_ALIGN) align 294 drivers/firmware/efi/libstub/efi-stub-helper.c align = EFI_ALLOC_ALIGN; align 317 drivers/firmware/efi/libstub/efi-stub-helper.c start = round_up(start, align); align 61 drivers/firmware/efi/libstub/efistub.h unsigned long size, unsigned long align, align 43 drivers/firmware/efi/libstub/random.c unsigned long align = 1UL << align_shift; align 51 drivers/firmware/efi/libstub/random.c first_slot = round_up(md->phys_addr, align); align 52 drivers/firmware/efi/libstub/random.c last_slot = round_down(region_end - size + 1, align); align 70 drivers/firmware/efi/libstub/random.c unsigned long align, align 92 drivers/firmware/efi/libstub/random.c if (align < EFI_ALLOC_ALIGN) align 93 drivers/firmware/efi/libstub/random.c align = EFI_ALLOC_ALIGN; align 100 drivers/firmware/efi/libstub/random.c slots = get_entry_num_slots(md, size, ilog2(align)); align 129 drivers/firmware/efi/libstub/random.c target = round_up(md->phys_addr, align) + target_slot * align; align 363 drivers/gpu/drm/amd/amdgpu/amdgpu.h uint32_t align; align 232 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c unsigned long size, int align, align 247 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c bp.byte_align = align; align 327 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c unsigned long size, int align, align 333 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c r = amdgpu_bo_create_reserved(adev, size, align, domain, bo_ptr, align 233 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned long size, int align, align 237 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned long size, int align, align 298 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned size, u32 align, u32 domain); align 305 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned size, unsigned align); align 52 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned size, u32 align, u32 domain) align 60 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c sa_manager->align = align; align 66 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c r = amdgpu_bo_create_kernel(adev, size, align, domain, &sa_manager->bo, align 153 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned size, unsigned align) align 159 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c wasted = (align - (soffset % align)) % align; align 186 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned size, unsigned align) align 197 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c wasted = (align - (soffset % align)) % align; align 277 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned size, unsigned align) align 285 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c if (WARN_ON_ONCE(align > sa_manager->align)) align 308 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c size, align)) { align 334 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c amdgpu_sa_event(sa_manager, size, align) align 179 drivers/gpu/drm/amd/amdgpu/atom.c uint32_t idx, val = 0xCDCDCDCD, align, arg; align 182 drivers/gpu/drm/amd/amdgpu/atom.c align = (attr >> 3) & 7; align 286 drivers/gpu/drm/amd/amdgpu/atom.c switch (align) { align 329 drivers/gpu/drm/amd/amdgpu/atom.c val &= atom_arg_mask[align]; align 330 drivers/gpu/drm/amd/amdgpu/atom.c val >>= atom_arg_shift[align]; align 332 drivers/gpu/drm/amd/amdgpu/atom.c switch (align) { align 363 drivers/gpu/drm/amd/amdgpu/atom.c uint32_t align = (attr >> 3) & 7, arg = attr & 7; align 377 drivers/gpu/drm/amd/amdgpu/atom.c switch (align) { align 402 drivers/gpu/drm/amd/amdgpu/atom.c static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) align 406 drivers/gpu/drm/amd/amdgpu/atom.c switch (align) { align 447 drivers/gpu/drm/amd/amdgpu/atom.c uint32_t align = align 451 drivers/gpu/drm/amd/amdgpu/atom.c old_val &= atom_arg_mask[align] >> atom_arg_shift[align]; align 452 drivers/gpu/drm/amd/amdgpu/atom.c val <<= atom_arg_shift[align]; align 453 drivers/gpu/drm/amd/amdgpu/atom.c val &= atom_arg_mask[align]; align 454 drivers/gpu/drm/amd/amdgpu/atom.c saved &= ~atom_arg_mask[align]; align 552 drivers/gpu/drm/amd/amdgpu/atom.c switch (align) { align 935 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c tables[i].align, align 1189 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c memory_pool->align = PAGE_SIZE; align 1199 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c memory_pool->align, align 173 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h tables[table_id].align = a; \ align 179 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t align; align 133 drivers/gpu/drm/armada/armada_gem.c unsigned align = min_t(unsigned, size, SZ_2M); align 143 drivers/gpu/drm/armada/armada_gem.c size, align, 0, 0); align 220 drivers/gpu/drm/cirrus/cirrus_drv.h int cirrus_bo_create(struct drm_device *dev, int size, int align, align 51 drivers/gpu/drm/drm_pci.c drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) align 59 drivers/gpu/drm/drm_pci.c if (align > size) align 446 drivers/gpu/drm/exynos/exynos_drm_ipp.c __limit_set_val(&res->h.align, l->h.align); align 449 drivers/gpu/drm/exynos/exynos_drm_ipp.c __limit_set_val(&res->v.align, l->v.align); align 453 drivers/gpu/drm/exynos/exynos_drm_ipp.c static inline bool __align_check(unsigned int val, unsigned int align) align 455 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (align && (val & (align - 1))) { align 457 drivers/gpu/drm/exynos/exynos_drm_ipp.c val, align); align 471 drivers/gpu/drm/exynos/exynos_drm_ipp.c return __align_check(val, l->align); align 497 drivers/gpu/drm/exynos/exynos_drm_ipp.c !__align_check(buf->rect.x, lh->align) || align 499 drivers/gpu/drm/exynos/exynos_drm_ipp.c !__align_check(buf->rect.y, lv->align)) align 361 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 2) }, align 366 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 4, .v.align = 4) }, align 371 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 4, .v.align = 4) }, align 376 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 2) }, align 381 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, align 386 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, align 391 drivers/gpu/drm/exynos/exynos_drm_rotator.c { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, align 598 drivers/gpu/drm/exynos/exynos_drm_scaler.c { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 2) }, align 605 drivers/gpu/drm/exynos/exynos_drm_scaler.c { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 1) }, align 618 drivers/gpu/drm/exynos/exynos_drm_scaler.c { IPP_SIZE_LIMIT(AREA, .h.align = 16, .v.align = 16) }, align 63 drivers/gpu/drm/exynos/regs-rotator.h #define ROT_ALIGN(x, align, mask) (((x) + (1 << ((align) - 1))) & (mask)) align 51 drivers/gpu/drm/gma500/gem.c u32 *handlep, int stolen, u32 align) align 12 drivers/gpu/drm/gma500/gem.h u64 size, u32 *handlep, int stolen, u32 align); align 325 drivers/gpu/drm/gma500/gtt.c const char *name, int backed, u32 align) align 353 drivers/gpu/drm/gma500/gtt.c len, start, end, align, NULL, NULL); align 47 drivers/gpu/drm/gma500/gtt.h u32 align); align 55 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c #define PADDING(align, data) (((data) + (align) - 1) & (~((align) - 1))) align 14312 drivers/gpu/drm/i915/display/intel_display.c const int align = intel_cursor_alignment(dev_priv); align 14315 drivers/gpu/drm/i915/display/intel_display.c err = i915_gem_object_attach_phys(obj, align); align 38 drivers/gpu/drm/i915/gem/i915_gem_object.h int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align); align 150 drivers/gpu/drm/i915/gem/i915_gem_phys.c int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align) align 155 drivers/gpu/drm/i915/gem/i915_gem_phys.c if (align > obj->base.size) align 3663 drivers/gpu/drm/i915/i915_gem_gtt.c static u64 random_offset(u64 start, u64 end, u64 len, u64 align) align 3668 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); align 3670 drivers/gpu/drm/i915/i915_gem_gtt.c range = round_down(end - len, align) - round_up(start, align); align 3685 drivers/gpu/drm/i915/i915_gem_gtt.c return round_up(start, align); align 593 drivers/gpu/drm/i915/i915_trace.h TP_PROTO(struct i915_address_space *vm, u64 size, u64 align, unsigned int flags), align 594 drivers/gpu/drm/i915/i915_trace.h TP_ARGS(vm, size, align, flags), align 600 drivers/gpu/drm/i915/i915_trace.h __field(u64, align) align 608 drivers/gpu/drm/i915/i915_trace.h __entry->align = align; align 613 drivers/gpu/drm/i915/i915_trace.h __entry->dev, __entry->vm, __entry->size, __entry->align, align 41 drivers/gpu/drm/nouveau/include/nvif/if000c.h __u8 align; align 37 drivers/gpu/drm/nouveau/include/nvif/vmm.h u8 page, u8 align, u64 size, struct nvif_vma *); align 35 drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h int nvkm_gpuobj_new(struct nvkm_device *, u32 size, int align, bool zero, align 49 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h u64 size, u32 align, bool zero, struct nvkm_memory **); align 37 drivers/gpu/drm/nouveau/include/nvkm/core/mm.h u32 size_min, u32 align, struct nvkm_mm_node **); align 39 drivers/gpu/drm/nouveau/include/nvkm/core/mm.h u32 size_min, u32 align, struct nvkm_mm_node **); align 43 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int (*bind)(struct nvkm_object *, struct nvkm_gpuobj *, int align, align 70 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int nvkm_object_bind(struct nvkm_object *, struct nvkm_gpuobj *, int align, align 22 drivers/gpu/drm/nouveau/include/nvkm/core/ramht.h int nvkm_ramht_new(struct nvkm_device *, u32 size, u32 align, align 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h int nvkm_instobj_new(struct nvkm_instmem *, u32 size, u32 align, bool zero, align 162 drivers/gpu/drm/nouveau/nouveau_bo.c int *align, u64 *size) align 170 drivers/gpu/drm/nouveau/nouveau_bo.c *align = 65536; align 174 drivers/gpu/drm/nouveau/nouveau_bo.c *align = 32768; align 178 drivers/gpu/drm/nouveau/nouveau_bo.c *align = 16384; align 182 drivers/gpu/drm/nouveau/nouveau_bo.c *align = 16384; align 188 drivers/gpu/drm/nouveau/nouveau_bo.c *align = max((1 << nvbo->page), *align); align 195 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 flags, align 290 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_fixup_align(nvbo, flags, align, size); align 296 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_init(struct nouveau_bo *nvbo, u64 size, int align, u32 flags, align 309 drivers/gpu/drm/nouveau/nouveau_bo.c &nvbo->placement, align >> PAGE_SHIFT, false, align 320 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, align 328 drivers/gpu/drm/nouveau/nouveau_bo.c nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, align 333 drivers/gpu/drm/nouveau/nouveau_bo.c ret = nouveau_bo_init(nvbo, size, align, flags, sg, robj); align 74 drivers/gpu/drm/nouveau/nouveau_bo.h struct nouveau_bo *nouveau_bo_alloc(struct nouveau_cli *, u64 *size, int *align, align 76 drivers/gpu/drm/nouveau/nouveau_bo.h int nouveau_bo_init(struct nouveau_bo *, u64 size, int align, u32 flags, align 78 drivers/gpu/drm/nouveau/nouveau_bo.h int nouveau_bo_new(struct nouveau_cli *, u64 size, int align, u32 flags, align 118 drivers/gpu/drm/nouveau/nouveau_bo.h nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 flags, align 121 drivers/gpu/drm/nouveau/nouveau_bo.h int ret = nouveau_bo_new(cli, size, align, flags, align 168 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, align 187 drivers/gpu/drm/nouveau/nouveau_gem.c nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, align 200 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_bo_init(nvbo, size, align, flags, NULL, NULL); align 267 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_new(cli, req->info.size, req->align, align 15 drivers/gpu/drm/nouveau/nouveau_gem.h extern int nouveau_gem_new(struct nouveau_cli *, u64 size, int align, align 68 drivers/gpu/drm/nouveau/nouveau_prime.c int align = 0; align 74 drivers/gpu/drm/nouveau/nouveau_prime.c nvbo = nouveau_bo_alloc(&drm->client, &size, &align, flags, 0, 0); align 91 drivers/gpu/drm/nouveau/nouveau_prime.c ret = nouveau_bo_init(nvbo, size, align, flags, sg, robj); align 78 drivers/gpu/drm/nouveau/nvif/vmm.c u8 page, u8 align, u64 size, struct nvif_vma *vma) align 86 drivers/gpu/drm/nouveau/nvif/vmm.c args.align = align; align 172 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_ctor(struct nvkm_device *device, u32 size, int align, bool zero, align 179 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c if (align >= 0) { align 181 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c max(align, 1), &gpuobj->node); align 184 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c -align, &gpuobj->node); align 202 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c abs(align), zero, &gpuobj->memory); align 229 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_new(struct nvkm_device *device, u32 size, int align, bool zero, align 238 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c ret = nvkm_gpuobj_ctor(device, size, align, zero, parent, gpuobj); align 138 drivers/gpu/drm/nouveau/nvkm/core/memory.c u64 size, u32 align, bool zero, align 148 drivers/gpu/drm/nouveau/nvkm/core/memory.c ret = nvkm_instobj_new(imem, size, align, zero, &memory); align 112 drivers/gpu/drm/nouveau/nvkm/core/mm.c u32 align, struct nvkm_mm_node **pnode) align 115 drivers/gpu/drm/nouveau/nvkm/core/mm.c u32 mask = align - 1; align 187 drivers/gpu/drm/nouveau/nvkm/core/mm.c u32 align, struct nvkm_mm_node **pnode) align 190 drivers/gpu/drm/nouveau/nvkm/core/mm.c u32 mask = align - 1; align 171 drivers/gpu/drm/nouveau/nvkm/core/object.c int align, struct nvkm_gpuobj **pgpuobj) align 174 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->bind(object, gpuobj, align, pgpuobj); align 91 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c int align, struct nvkm_gpuobj **pgpuobj) align 94 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c parent, align, pgpuobj); align 141 drivers/gpu/drm/nouveau/nvkm/core/ramht.c nvkm_ramht_new(struct nvkm_device *device, u32 size, u32 align, align 157 drivers/gpu/drm/nouveau/nvkm/core/ramht.c ret = nvkm_gpuobj_new(ramht->device, size, align, true, align 35 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c int align, struct nvkm_gpuobj **pgpuobj) align 38 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c align, false, parent, pgpuobj); align 57 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c int align, struct nvkm_gpuobj **pgpuobj) align 60 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c align, true, parent, pgpuobj); align 8 drivers/gpu/drm/nouveau/nvkm/engine/dma/priv.h int (*bind)(struct nvkm_dmaobj *, struct nvkm_gpuobj *, int align, align 49 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c int align, struct nvkm_gpuobj **pgpuobj) align 52 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c return dmaobj->func->bind(dmaobj, gpuobj, align, pgpuobj); align 42 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c int align, struct nvkm_gpuobj **pgpuobj) align 48 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c ret = nvkm_gpuobj_new(device, 24, align, false, parent, pgpuobj); align 41 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c int align, struct nvkm_gpuobj **pgpuobj) align 47 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c ret = nvkm_gpuobj_new(device, 24, align, false, parent, pgpuobj); align 39 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c int align, struct nvkm_gpuobj **pgpuobj) align 47 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c ret = nvkm_gpuobj_new(device, 24, align, false, parent, pgpuobj); align 42 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c int align, struct nvkm_gpuobj **pgpuobj) align 62 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c ret = nvkm_gpuobj_new(device, 16, align, false, parent, pgpuobj); align 42 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c int align, struct nvkm_gpuobj **pgpuobj) align 48 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c ret = nvkm_gpuobj_new(device, 24, align, false, parent, pgpuobj); align 47 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c int align, struct nvkm_gpuobj **pgpuobj) align 50 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c align, true, parent, pgpuobj); align 354 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c struct nvkm_fifo *fifo, u32 size, u32 align, bool zero, align 372 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = nvkm_gpuobj_new(device, size, align, zero, NULL, &chan->inst); align 24 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h u32 size, u32 align, bool zero, u64 vm, u64 push, align 994 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_grctx_mmio_data(struct gf100_grctx *info, u32 size, u32 align, bool priv) align 997 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c info->buffer[info->buffer_nr] = round_up(info->addr, align); align 1000 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c info->data->align = align; align 15 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h int gf100_grctx_mmio_data(struct gf100_grctx *, u32 size, u32 align, bool priv); align 321 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c int align, struct nvkm_gpuobj **pgpuobj) align 328 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c align, false, parent, pgpuobj); align 418 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c data->size, data->align, false, align 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u32 align; align 1044 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c int align, struct nvkm_gpuobj **pgpuobj) align 1046 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, align, align 45 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c int align, struct nvkm_gpuobj **pgpuobj) align 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c int ret = nvkm_gpuobj_new(object->engine->subdev.device, 20, align, align 75 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c int align, struct nvkm_gpuobj **pgpuobj) align 80 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c align, true, parent, pgpuobj); align 44 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c int align, struct nvkm_gpuobj **pgpuobj) align 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c align, false, parent, pgpuobj); align 70 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c int align, struct nvkm_gpuobj **pgpuobj) align 74 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c align, true, parent, pgpuobj); align 40 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c int align, struct nvkm_gpuobj **pgpuobj) align 42 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, align, align 53 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c int align, struct nvkm_gpuobj **pgpuobj) align 57 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c align, true, parent, pgpuobj); align 38 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c int align, struct nvkm_gpuobj **pgpuobj) align 41 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c align, true, parent, pgpuobj); align 45 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c int align, struct nvkm_gpuobj **pgpuobj) align 47 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c return nvkm_gpuobj_new(object->engine->subdev.device, 0x10000, align, align 112 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c u32 align = (1 << page) >> NVKM_RAM_MM_SHIFT; align 114 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c u32 min = contig ? max : align; align 133 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c ret = nvkm_mm_tail(mm, heap, type, max, min, align, &r); align 135 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c ret = nvkm_mm_head(mm, heap, type, max, min, align, &r); align 93 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instobj_new(struct nvkm_instmem *imem, u32 size, u32 align, bool zero, align 101 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c ret = imem->func->memory_new(imem, size, align, zero, &memory); align 103 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_error(subdev, "OOM: %08x %08x %d\n", size, align, ret); align 107 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_trace(subdev, "new %08x %08x %d: %010llx %010llx\n", size, align, align 383 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_ctor_dma(struct gk20a_instmem *imem, u32 npages, u32 align, align 406 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c if (unlikely(node->handle & (align - 1))) align 409 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c &node->handle, align); align 421 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_ctor_iommu(struct gk20a_instmem *imem, u32 npages, u32 align, align 466 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c align >> imem->iommu_pgshift, &r); align 514 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_new(struct nvkm_instmem *base, u32 size, u32 align, bool zero, align 523 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c imem->domain ? "IOMMU" : "DMA", size, align); align 527 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c align = max(roundup(align, PAGE_SIZE), PAGE_SIZE); align 531 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c align, &node); align 534 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c align, &node); align 542 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c size, align, (u64)node->mn->offset << 12); align 120 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_new(struct nvkm_instmem *base, u32 size, u32 align, bool zero, align 137 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c align ? align : 1, &iobj->node); align 120 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_new(struct nvkm_instmem *base, u32 size, u32 align, bool zero, align 137 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c align ? align : 1, &iobj->node); align 351 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_new(struct nvkm_instmem *base, u32 size, u32 align, bool zero, align 357 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c u8 page = max(order_base_2(align), 12); align 13 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h int (*memory_new)(struct nvkm_instmem *, u32 size, u32 align, align 167 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_ptc_get(struct nvkm_mmu *mmu, u32 size, u32 align, bool zero) align 174 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c if (align < 0x1000) { align 176 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c pt = nvkm_mmu_ptp_get(mmu, align, zero); align 208 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c size, align, zero, &pt->memory); align 64 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h nvkm_mmu_ptc_get(struct nvkm_mmu *, u32 size, u32 align, bool zero); align 279 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c u8 page, align; align 287 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c align = args->v0.align; align 294 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c page, align, size, &vma); align 428 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c pgt->pt[type] = nvkm_mmu_ptc_get(mmu, size, desc->align, zero); align 1083 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->pd->pt[0] = nvkm_mmu_ptc_get(mmu, size, desc->align, true); align 1637 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u8 shift, u8 align, u64 size, struct nvkm_vma **pvma) align 1647 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c getref, mapref, sparse, shift, align, size); align 1681 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c align = max_t(u8, align, shift); align 1683 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c align = max_t(u8, align, 12); align 1713 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr = ALIGN(addr, 1ULL << align); align 98 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h u32 align; /* PT address alignment. */ align 173 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h bool sparse, u8 page, u8 align, u64 size, align 538 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c u16 h, u16 align) align 559 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c align = (align > min_align) ? ALIGN(align, min_align) : min_align; align 560 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c align /= slot_bytes; align 564 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c ret = tcm_reserve_2d(containers[fmt], w, h, align, -1, slot_bytes, align 96 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h u16 align); align 181 drivers/gpu/drm/omapdrm/tcm-sita.c static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, align 189 drivers/gpu/drm/omapdrm/tcm-sita.c ret = l2r_t2b(w, h, align, offset, &pos, slot_bytes, tcm->bitmap, align 67 drivers/gpu/drm/omapdrm/tcm.h s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align, align 132 drivers/gpu/drm/omapdrm/tcm.h u16 align, s16 offset, u16 slot_bytes, align 139 drivers/gpu/drm/omapdrm/tcm.h (align & (align - 1))) ? -EINVAL : align 144 drivers/gpu/drm/omapdrm/tcm.h res = tcm->reserve_2d(tcm, height, width, align, offset, align 122 drivers/gpu/drm/panfrost/panfrost_gem.c u64 align; align 144 drivers/gpu/drm/panfrost/panfrost_gem.c align = size >> PAGE_SHIFT; align 146 drivers/gpu/drm/panfrost/panfrost_gem.c align = size >= SZ_2M ? SZ_2M >> PAGE_SHIFT : 0; align 151 drivers/gpu/drm/panfrost/panfrost_gem.c size >> PAGE_SHIFT, align, color, 0); align 185 drivers/gpu/drm/radeon/atom.c uint32_t idx, val = 0xCDCDCDCD, align, arg; align 188 drivers/gpu/drm/radeon/atom.c align = (attr >> 3) & 7; align 292 drivers/gpu/drm/radeon/atom.c switch (align) { align 335 drivers/gpu/drm/radeon/atom.c val &= atom_arg_mask[align]; align 336 drivers/gpu/drm/radeon/atom.c val >>= atom_arg_shift[align]; align 338 drivers/gpu/drm/radeon/atom.c switch (align) { align 369 drivers/gpu/drm/radeon/atom.c uint32_t align = (attr >> 3) & 7, arg = attr & 7; align 383 drivers/gpu/drm/radeon/atom.c switch (align) { align 408 drivers/gpu/drm/radeon/atom.c static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) align 412 drivers/gpu/drm/radeon/atom.c switch (align) { align 453 drivers/gpu/drm/radeon/atom.c uint32_t align = align 457 drivers/gpu/drm/radeon/atom.c old_val &= atom_arg_mask[align] >> atom_arg_shift[align]; align 458 drivers/gpu/drm/radeon/atom.c val <<= atom_arg_shift[align]; align 459 drivers/gpu/drm/radeon/atom.c val &= atom_arg_mask[align]; align 460 drivers/gpu/drm/radeon/atom.c saved &= ~atom_arg_mask[align]; align 558 drivers/gpu/drm/radeon/atom.c switch (align) { align 552 drivers/gpu/drm/radeon/radeon.h uint32_t align; align 176 drivers/gpu/drm/radeon/radeon_object.h unsigned size, u32 align, u32 domain, align 187 drivers/gpu/drm/radeon/radeon_object.h unsigned size, unsigned align); align 52 drivers/gpu/drm/radeon/radeon_sa.c unsigned size, u32 align, u32 domain, u32 flags) align 60 drivers/gpu/drm/radeon/radeon_sa.c sa_manager->align = align; align 67 drivers/gpu/drm/radeon/radeon_sa.c r = radeon_bo_create(rdev, size, align, true, align 192 drivers/gpu/drm/radeon/radeon_sa.c unsigned size, unsigned align) align 198 drivers/gpu/drm/radeon/radeon_sa.c wasted = (align - (soffset % align)) % align; align 225 drivers/gpu/drm/radeon/radeon_sa.c unsigned size, unsigned align) align 238 drivers/gpu/drm/radeon/radeon_sa.c wasted = (align - (soffset % align)) % align; align 315 drivers/gpu/drm/radeon/radeon_sa.c unsigned size, unsigned align) align 321 drivers/gpu/drm/radeon/radeon_sa.c BUG_ON(align > sa_manager->align); align 344 drivers/gpu/drm/radeon/radeon_sa.c size, align)) { align 364 drivers/gpu/drm/radeon/radeon_sa.c radeon_sa_event(sa_manager, size, align) align 1177 drivers/gpu/drm/radeon/radeon_vm.c const unsigned align = min(RADEON_VM_PTB_ALIGN_SIZE, align 1206 drivers/gpu/drm/radeon/radeon_vm.c r = radeon_bo_create(rdev, pd_size, align, true, align 290 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int align; align 297 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 128; align 299 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 16 * args->bpp / 8; align 301 drivers/gpu/drm/rcar-du/rcar_du_kms.c args->pitch = roundup(min_pitch, align); align 313 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int align; align 334 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 128; align 336 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 16 * bpp; align 344 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 1; align 347 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (mode_cmd->pitches[0] & (align - 1) || align 433 drivers/gpu/drm/savage/savage_bci.c unsigned int wrap, pad, align, len, i; align 444 drivers/gpu/drm/savage/savage_bci.c align = -(dev_priv->dma_pages[cur].used + pad) & 7; align 449 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used, pad, align); align 480 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used += align; align 16 drivers/gpu/drm/selftests/drm_mm_selftests.h selftest(align, igt_align) align 1102 drivers/gpu/drm/selftests/test-drm_mm.c u64 align, size; align 1110 drivers/gpu/drm/selftests/test-drm_mm.c align = BIT_ULL(bit); align 1113 drivers/gpu/drm/selftests/test-drm_mm.c size, align, bit, align 1116 drivers/gpu/drm/selftests/test-drm_mm.c align, bit); align 1917 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int max, unsigned int align) align 1920 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int mask = ~((1 << align) - 1); align 1926 drivers/gpu/ipu-v3/ipu-image-convert.c if (align) align 1927 drivers/gpu/ipu-v3/ipu-image-convert.c x = (x + (1 << (align - 1))) & mask; align 2053 drivers/hv/vmbus_drv.c resource_size_t size, resource_size_t align, align 2074 drivers/hv/vmbus_drv.c start = (range_min + align - 1) & ~(align - 1); align 2075 drivers/hv/vmbus_drv.c for (; start + size - 1 <= range_max; start += align) { align 2090 drivers/hv/vmbus_drv.c start = (range_min + align - 1) & ~(align - 1); align 2091 drivers/hv/vmbus_drv.c for (; start + size - 1 <= range_max; start += align) { align 36 drivers/iio/buffer/industrialio-buffer-dmaengine.c size_t align; align 67 drivers/iio/buffer/industrialio-buffer-dmaengine.c dmaengine_buffer->align); align 176 drivers/iio/buffer/industrialio-buffer-dmaengine.c dmaengine_buffer->align = width; align 73 drivers/infiniband/hw/hns/hns_roce_alloc.c int align, unsigned long *obj) align 78 drivers/infiniband/hw/hns/hns_roce_alloc.c if (likely(cnt == 1 && align == 1)) align 84 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->last, cnt, align - 1); align 89 drivers/infiniband/hw/hns/hns_roce_alloc.c cnt, align - 1); align 1175 drivers/infiniband/hw/hns/hns_roce_device.h int align, unsigned long *obj); align 112 drivers/infiniband/hw/hns/hns_roce_qp.c int align, unsigned long *base) align 116 drivers/infiniband/hw/hns/hns_roce_qp.c return hns_roce_bitmap_alloc_range(&qp_table->bitmap, cnt, align, align 3823 drivers/iommu/amd_iommu.c static int alloc_irq_index(u16 devid, int count, bool align, align 3838 drivers/iommu/amd_iommu.c if (align) align 4286 drivers/iommu/amd_iommu.c bool align = (info->type == X86_IRQ_ALLOC_TYPE_MSI); align 4288 drivers/iommu/amd_iommu.c index = alloc_irq_index(devid, nr_irqs, align, info->msi_dev); align 1822 drivers/iommu/omap-iommu.c size_t align = 1 << 10; /* L2 pagetable alignement */ align 1832 drivers/iommu/omap-iommu.c p = kmem_cache_create("iopte_cache", IOPTE_TABLE_SIZE, align, flags, align 1660 drivers/md/dm-bufio.c unsigned align = min(1U << __ffs(block_size), (unsigned)PAGE_SIZE); align 1662 drivers/md/dm-bufio.c c->slab_cache = kmem_cache_create(slab_name, block_size, align, align 459 drivers/media/i2c/mt9m111.c int ret, align = 0; align 468 drivers/media/i2c/mt9m111.c align = 1; align 473 drivers/media/i2c/mt9m111.c v4l_bound_align_image(&rect.width, 2, MT9M111_MAX_WIDTH, align, align 474 drivers/media/i2c/mt9m111.c &rect.height, 2, MT9M111_MAX_HEIGHT, align, 0); align 985 drivers/media/i2c/rj54n1cb0c.c int align = mf->code == MEDIA_BUS_FMT_SBGGR10_1X10 || align 1008 drivers/media/i2c/rj54n1cb0c.c v4l_bound_align_image(&mf->width, 112, RJ54N1_MAX_WIDTH, align, align 1009 drivers/media/i2c/rj54n1cb0c.c &mf->height, 84, RJ54N1_MAX_HEIGHT, align, 0); align 26 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static inline int mtk_jpeg_verify_align(u32 val, int align, u32 reg) align 28 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (val & (align - 1)) { align 29 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c pr_err("mtk-jpeg: write reg %x without %d align\n", reg, align); align 57 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.h static inline u32 mtk_jpeg_align(u32 val, u32 align) align 59 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.h return (val + align - 1) & ~(align - 1); align 68 drivers/media/platform/mtk-mdp/mtk_mdp_core.h struct mtk_mdp_pix_align *align; align 55 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c .align = &mtk_mdp_size_align, align 207 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (fmt->align == NULL) { align 212 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c align_w = fmt->align->org_w; align 213 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c align_h = fmt->align->org_h; align 86 drivers/media/platform/rcar-vin/rcar-v4l2.c u32 align; align 93 drivers/media/platform/rcar-vin/rcar-v4l2.c align = pix->pixelformat == V4L2_PIX_FMT_NV16 ? 0x20 : 0x10; align 95 drivers/media/platform/rcar-vin/rcar-v4l2.c return ALIGN(pix->width, align) * fmt->bpp; align 1431 drivers/media/platform/rcar_fdp1.c unsigned int align = 128; align 1436 drivers/media/platform/rcar_fdp1.c round_down(FDP1_MAX_STRIDE, align)); align 1438 drivers/media/platform/rcar_fdp1.c pix->plane_fmt[i].bytesperline = round_up(bpl, align); align 42 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int align = (SZ_64K >> PAGE_SHIFT) - 1; align 48 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c start = bitmap_find_next_zero_area(dev->mem_bitmap, bits, 0, count, align); align 148 drivers/media/platform/vsp1/vsp1_video.c unsigned int align = 128; align 153 drivers/media/platform/vsp1/vsp1_video.c round_down(65535U, align)); align 155 drivers/media/platform/vsp1/vsp1_video.c pix->plane_fmt[i].bytesperline = round_up(bpl, align); align 545 drivers/media/platform/xilinx/xilinx-dma.c unsigned int align; align 562 drivers/media/platform/xilinx/xilinx-dma.c align = lcm(dma->align, info->bpp); align 563 drivers/media/platform/xilinx/xilinx-dma.c min_width = roundup(XVIP_DMA_MIN_WIDTH, align); align 564 drivers/media/platform/xilinx/xilinx-dma.c max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); align 565 drivers/media/platform/xilinx/xilinx-dma.c width = rounddown(pix->width * info->bpp, align); align 576 drivers/media/platform/xilinx/xilinx-dma.c max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); align 577 drivers/media/platform/xilinx/xilinx-dma.c bpl = rounddown(pix->bytesperline, dma->align); align 735 drivers/media/platform/xilinx/xilinx-dma.c dma->align = 1 << dma->dma->device->copy_align; align 93 drivers/media/platform/xilinx/xilinx-dma.h unsigned int align; align 392 drivers/media/usb/siano/smsusb.c int align = 0; align 410 drivers/media/usb/siano/smsusb.c align = usb_endpoint_maxp(desc) - sizeof(struct sms_msg_hdr); align 417 drivers/media/usb/siano/smsusb.c if (!dev->in_ep || !dev->out_ep || align < 0) { /* Missing endpoints? */ align 436 drivers/media/usb/siano/smsusb.c dev->response_alignment = align; align 95 drivers/media/v4l2-core/v4l2-common.c unsigned int max, unsigned int align) align 98 drivers/media/v4l2-core/v4l2-common.c unsigned int mask = ~((1 << align) - 1); align 104 drivers/media/v4l2-core/v4l2-common.c if (align) align 105 drivers/media/v4l2-core/v4l2-common.c x = (x + (1 << (align - 1))) & mask; align 415 drivers/misc/mic/scif/scif_rma.h size_t align = ALIGN(size, PAGE_SIZE); align 417 drivers/misc/mic/scif/scif_rma.h if (align && get_order(align) < MAX_ORDER) align 419 drivers/misc/mic/scif/scif_rma.h get_order(align)); align 420 drivers/misc/mic/scif/scif_rma.h return ret ? ret : vzalloc(align); align 431 drivers/misc/mic/scif/scif_rma.h size_t align = ALIGN(size, PAGE_SIZE); align 436 drivers/misc/mic/scif/scif_rma.h free_pages((unsigned long)addr, get_order(align)); align 161 drivers/mmc/host/renesas_sdhi_sys_dmac.c unsigned int align = (1 << host->pdata->alignment_shift) - 1; align 164 drivers/mmc/host/renesas_sdhi_sys_dmac.c if (sg_tmp->offset & align) align 166 drivers/mmc/host/renesas_sdhi_sys_dmac.c if (sg_tmp->length & align) { align 173 drivers/mmc/host/renesas_sdhi_sys_dmac.c (align & PAGE_MASK))) || !multiple) { align 233 drivers/mmc/host/renesas_sdhi_sys_dmac.c unsigned int align = (1 << host->pdata->alignment_shift) - 1; align 236 drivers/mmc/host/renesas_sdhi_sys_dmac.c if (sg_tmp->offset & align) align 238 drivers/mmc/host/renesas_sdhi_sys_dmac.c if (sg_tmp->length & align) { align 245 drivers/mmc/host/renesas_sdhi_sys_dmac.c (align & PAGE_MASK))) || !multiple) { align 704 drivers/mmc/host/sdhci.c void *desc, *align; align 716 drivers/mmc/host/sdhci.c align = host->align_buffer; align 735 drivers/mmc/host/sdhci.c memcpy(align, buffer, offset); align 745 drivers/mmc/host/sdhci.c align += SDHCI_ADMA2_ALIGN; align 783 drivers/mmc/host/sdhci.c void *align; align 801 drivers/mmc/host/sdhci.c align = host->align_buffer; align 809 drivers/mmc/host/sdhci.c memcpy(buffer, align, size); align 812 drivers/mmc/host/sdhci.c align += SDHCI_ADMA2_ALIGN; align 454 drivers/net/ethernet/atheros/atlx/atl2.c if (rxd->status.align) align 300 drivers/net/ethernet/atheros/atlx/atl2.h unsigned align:1; /* this packet is alignment error */ align 395 drivers/net/ethernet/aurora/nb8800.c unsigned int align; align 404 drivers/net/ethernet/aurora/nb8800.c align = (8 - (uintptr_t)skb->data) & 7; align 406 drivers/net/ethernet/aurora/nb8800.c dma_len = skb->len - align; align 407 drivers/net/ethernet/aurora/nb8800.c dma_addr = dma_map_single(&dev->dev, skb->data + align, align 430 drivers/net/ethernet/aurora/nb8800.c if (align) { align 431 drivers/net/ethernet/aurora/nb8800.c memcpy(txd->buf, skb->data, align); align 436 drivers/net/ethernet/aurora/nb8800.c desc->config = DESC_BTS(2) | DESC_DS | align; align 77 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c static void skb_align(struct sk_buff *skb, int align) align 79 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c int off = ((unsigned long)skb->data) & (align - 1); align 82 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c skb_reserve(skb, align - off); align 2213 drivers/net/ethernet/freescale/ucc_geth.c u32 align = 4; align 2215 drivers/net/ethernet/freescale/ucc_geth.c align = UCC_GETH_TX_BD_RING_ALIGNMENT; align 2217 drivers/net/ethernet/freescale/ucc_geth.c (u32) kmalloc((u32) (length + align), GFP_KERNEL); align 2222 drivers/net/ethernet/freescale/ucc_geth.c align) & ~(align - 1)); align 2291 drivers/net/ethernet/freescale/ucc_geth.c u32 align = 4; align 2293 drivers/net/ethernet/freescale/ucc_geth.c align = UCC_GETH_RX_BD_RING_ALIGNMENT; align 2295 drivers/net/ethernet/freescale/ucc_geth.c (u32) kmalloc((u32) (length + align), GFP_KERNEL); align 2299 drivers/net/ethernet/freescale/ucc_geth.c align) & ~(align - 1)); align 47 drivers/net/ethernet/marvell/octeontx2/af/common.h u8 align; align 75 drivers/net/ethernet/marvell/octeontx2/af/common.h qmem->align = (aligned_addr - qmem->iova); align 76 drivers/net/ethernet/marvell/octeontx2/af/common.h qmem->base += qmem->align; align 77 drivers/net/ethernet/marvell/octeontx2/af/common.h qmem->iova += qmem->align; align 88 drivers/net/ethernet/marvell/octeontx2/af/common.h qmem->base - qmem->align, align 89 drivers/net/ethernet/marvell/octeontx2/af/common.h qmem->iova - qmem->align); align 81 drivers/net/ethernet/mellanox/mlx4/alloc.c int len, int align, u32 skip_mask) align 86 drivers/net/ethernet/mellanox/mlx4/alloc.c start = ALIGN(start, align); align 90 drivers/net/ethernet/mellanox/mlx4/alloc.c start += align; align 110 drivers/net/ethernet/mellanox/mlx4/alloc.c int align, u32 skip_mask) align 114 drivers/net/ethernet/mellanox/mlx4/alloc.c if (likely(cnt == 1 && align == 1 && !skip_mask)) align 120 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->max, cnt, align, skip_mask); align 125 drivers/net/ethernet/mellanox/mlx4/alloc.c cnt, align, skip_mask); align 337 drivers/net/ethernet/mellanox/mlx4/alloc.c int align, u32 skip_mask, u32 *puid) align 345 drivers/net/ethernet/mellanox/mlx4/alloc.c align, skip_mask); align 363 drivers/net/ethernet/mellanox/mlx4/alloc.c align, skip_mask); align 383 drivers/net/ethernet/mellanox/mlx4/alloc.c align, skip_mask); align 402 drivers/net/ethernet/mellanox/mlx4/alloc.c align, skip_mask); align 509 drivers/net/ethernet/mellanox/mlx4/alloc.c int align, u32 skip_mask, u32 *puid) align 521 drivers/net/ethernet/mellanox/mlx4/alloc.c res = __mlx4_alloc_from_zone(zone, count, align, skip_mask, puid); align 941 drivers/net/ethernet/mellanox/mlx4/mlx4.h int align, u32 skip_mask); align 1026 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, align 1468 drivers/net/ethernet/mellanox/mlx4/mlx4.h int align, u32 skip_mask, u32 *puid); align 219 drivers/net/ethernet/mellanox/mlx4/qp.c int __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, align 239 drivers/net/ethernet/mellanox/mlx4/qp.c *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, align 247 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, align 260 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_h(&in_param, align); align 271 drivers/net/ethernet/mellanox/mlx4/qp.c return __mlx4_qp_reserve_range(dev, cnt, align, base, flags); align 1791 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int align; align 1803 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c align = get_param_h(&in_param); align 1808 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_qp_reserve_range(dev, count, align, &base, flags); align 1914 drivers/net/ethernet/mellanox/mlx5/core/cmd.c int align = roundup_pow_of_two(size); align 1930 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->pool = dma_pool_create("mlx5_cmd", dev->device, size, align, 0); align 451 drivers/net/ethernet/qlogic/qed/qed_cxt.c u32 align = elems_per_page * DQ_RANGE_ALIGN; align 453 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_conn->cid_count = roundup(p_conn->cid_count, align); align 2878 drivers/net/ethernet/sun/cassini.h #define CAS_ALIGN(addr, align) \ align 2879 drivers/net/ethernet/sun/cassini.h (((unsigned long) (addr) + ((align) - 1UL)) & ~((align) - 1)) align 6611 drivers/net/ethernet/sun/niu.c unsigned long align, headroom; align 6646 drivers/net/ethernet/sun/niu.c align = ((unsigned long) skb->data & (16 - 1)); align 6647 drivers/net/ethernet/sun/niu.c headroom = align + sizeof(struct tx_pkt_hdr); align 6653 drivers/net/ethernet/sun/niu.c tp->flags = cpu_to_le64(niu_compute_tx_flags(skb, ehdr, align, len)); align 599 drivers/net/ethernet/xilinx/xilinx_emaclite.c unsigned int align; align 616 drivers/net/ethernet/xilinx/xilinx_emaclite.c align = BUFFER_ALIGN(skb->data); align 617 drivers/net/ethernet/xilinx/xilinx_emaclite.c if (align) align 618 drivers/net/ethernet/xilinx/xilinx_emaclite.c skb_reserve(skb, align); align 221 drivers/net/tun.c int align; align 1152 drivers/net/tun.c tun->align = new_hr; align 1751 drivers/net/tun.c size_t len = total_len, align = tun->align, linear; align 1791 drivers/net/tun.c align += NET_IP_ALIGN; align 1797 drivers/net/tun.c good_linear = SKB_MAX_HEAD(align); align 1845 drivers/net/tun.c skb = tun_alloc_skb(tfile, align, copylen, linear, align 2813 drivers/net/tun.c tun->align = NET_SKB_PAD; align 1047 drivers/net/usb/cdc_ncm.c size_t align = ALIGN(skb->len, modulus) - skb->len + remainder; align 1049 drivers/net/usb/cdc_ncm.c if (skb->len + align > max) align 1050 drivers/net/usb/cdc_ncm.c align = max - skb->len; align 1051 drivers/net/usb/cdc_ncm.c if (align && skb_tailroom(skb) >= align) align 1052 drivers/net/usb/cdc_ncm.c skb_put_zero(skb, align); align 643 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c static void pkt_align(struct sk_buff *p, int len, int align) align 647 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c datalign = roundup(datalign, (align)) - datalign; align 446 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c u16 align = (1 << align_bits); align 447 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c if (!IS_ALIGNED(PAGE_SIZE, align)) align 448 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c size += align; align 499 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c u16 align; align 506 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c align = (1 << align_bits); align 517 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c align = (1 << align_bits); align 519 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c roundup((unsigned long)va, align); align 532 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c align = (1 << align_bits); align 534 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c roundup((unsigned long)va, align); align 251 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c radiotap->align = 1; align 179 drivers/net/wireless/intersil/p54/lmac.h u8 align[0]; align 270 drivers/net/wireless/intersil/p54/lmac.h u8 align[0]; align 379 drivers/net/wireless/intersil/p54/txrx.c header_len += hdr->align[0]; align 441 drivers/net/wireless/intersil/p54/txrx.c pad = entry_data->align[0]; align 468 drivers/net/wireless/intersil/p54/txrx.c u8 *iv = (u8 *)(entry_data->align + pad + align 938 drivers/net/wireless/intersil/p54/txrx.c txhdr->align[0] = padding; align 1204 drivers/net/wireless/mac80211_hwsim.c rtap->align = 8; align 872 drivers/net/wireless/marvell/mwifiex/usb.c u16 align = adapter->bus_aggr.tx_aggr_align; align 904 drivers/net/wireless/marvell/mwifiex/usb.c pad = (align - (skb_tmp->len & (align - 1))) % align; align 957 drivers/net/wireless/marvell/mwifiex/usb.c u16 align = adapter->bus_aggr.tx_aggr_align; align 970 drivers/net/wireless/marvell/mwifiex/usb.c pad = (align - (skb->len & (align - 1))) % align; align 149 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c unsigned int align = ALIGN_SIZE(skb, header_length); align 190 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb_push(skb, iv_len - align); align 195 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb->data + transfer + (iv_len - align), align 199 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb_push(skb, iv_len + align); align 200 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c if (align < icv_len) align 201 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb_put(skb, icv_len - align); align 202 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c else if (align > icv_len) align 207 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb->data + transfer + iv_len + align, align 222 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c skb->data + transfer + align, align 140 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c unsigned int align = ALIGN_SIZE(skb, 0); align 142 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (!align) align 145 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c skb_push(skb, align); align 146 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c memmove(skb->data, skb->data + align, frame_length); align 812 drivers/ntb/ntb_transport.c struct device *dma_dev, size_t align) align 833 drivers/ntb/ntb_transport.c if (!IS_ALIGNED(dma_addr, align)) { align 835 drivers/ntb/ntb_transport.c virt_addr = PTR_ALIGN(alloc_addr, align); align 836 drivers/ntb/ntb_transport.c dma_addr = ALIGN(dma_addr, align); align 97 drivers/nvdimm/label.h u8 align; align 204 drivers/nvdimm/nd.h unsigned long align; align 30 drivers/nvdimm/pfn.h __le32 align; align 103 drivers/nvdimm/pfn_devs.c return sprintf(buf, "%ld\n", nd_pfn->align); align 140 drivers/nvdimm/pfn_devs.c rc = nd_size_select_store(dev, buf, &nd_pfn->align, align 149 drivers/nvdimm/pfn_devs.c static DEVICE_ATTR_RW(align); align 311 drivers/nvdimm/pfn_devs.c nd_pfn->align = nd_pfn_default_alignment(); align 421 drivers/nvdimm/pfn_devs.c static bool nd_supported_alignment(unsigned long align) align 426 drivers/nvdimm/pfn_devs.c if (align == 0) align 431 drivers/nvdimm/pfn_devs.c if (align == supported[i]) align 450 drivers/nvdimm/pfn_devs.c unsigned long align, start_pad; align 482 drivers/nvdimm/pfn_devs.c pfn_sb->align = 0; align 497 drivers/nvdimm/pfn_devs.c align = le32_to_cpu(pfn_sb->align); align 500 drivers/nvdimm/pfn_devs.c if (align == 0) align 501 drivers/nvdimm/pfn_devs.c align = 1UL << ilog2(offset); align 525 drivers/nvdimm/pfn_devs.c if (!nd_supported_alignment(align) && align 528 drivers/nvdimm/pfn_devs.c "%ld:%ld\n", nd_pfn->align, align); align 541 drivers/nvdimm/pfn_devs.c nd_pfn->align = align; align 557 drivers/nvdimm/pfn_devs.c if (nd_pfn->align != align || nd_pfn->mode != mode) { align 561 drivers/nvdimm/pfn_devs.c nd_pfn->align, align, nd_pfn->mode, align 567 drivers/nvdimm/pfn_devs.c if (align > nvdimm_namespace_capacity(ndns)) { align 569 drivers/nvdimm/pfn_devs.c align, nvdimm_namespace_capacity(ndns)); align 586 drivers/nvdimm/pfn_devs.c if ((align && !IS_ALIGNED(nsio->res.start + offset + start_pad, align)) align 590 drivers/nvdimm/pfn_devs.c offset, align); align 713 drivers/nvdimm/pfn_devs.c unsigned long npfns, align; align 755 drivers/nvdimm/pfn_devs.c align = max(nd_pfn->align, (1UL << SUBSECTION_SHIFT)); align 756 drivers/nvdimm/pfn_devs.c end_trunc = start + size - ALIGN_DOWN(start + size, align); 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 793 drivers/nvdimm/pfn_devs.c pfn_sb->align = cpu_to_le32(nd_pfn->align); align 1994 drivers/of/base.c void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)) align 96 drivers/of/fdt.c unsigned long align) align 100 drivers/of/fdt.c *mem = PTR_ALIGN(*mem, align); align 370 drivers/of/fdt.c void *(*dt_alloc)(u64 size, u64 align), align 427 drivers/of/fdt.c static void *kernel_tree_alloc(u64 size, u64 align) align 1161 drivers/of/fdt.c static void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) align 1163 drivers/of/fdt.c void *ptr = memblock_alloc(size, align); align 1167 drivers/of/fdt.c __func__, size, align); align 110 drivers/of/of_private.h void *(*dt_alloc)(u64 size, u64 align), align 30 drivers/of/of_reserved_mem.c phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap, align 36 drivers/of/of_reserved_mem.c align = !align ? SMP_CACHE_BYTES : align; align 37 drivers/of/of_reserved_mem.c base = memblock_find_in_range(start, end, size, align); align 79 drivers/of/of_reserved_mem.c phys_addr_t base = 0, align = 0, size; align 104 drivers/of/of_reserved_mem.c align = dt_mem_next_cell(dt_root_addr_cells, &prop); align 115 drivers/of/of_reserved_mem.c align = max(align, (phys_addr_t)PAGE_SIZE << order); align 135 drivers/of/of_reserved_mem.c align, start, end, nomap, &base); align 146 drivers/of/of_reserved_mem.c ret = early_init_dt_alloc_reserved_memory_arch(size, align, align 195 drivers/of/pdt.c static void * __init kernel_tree_alloc(u64 size, u64 align) align 2249 drivers/of/unittest.c static void * __init dt_alloc_memory(u64 size, u64 align) align 2251 drivers/of/unittest.c void *ptr = memblock_alloc(size, align); align 2255 drivers/of/unittest.c __func__, size, align); align 1392 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) align 1397 drivers/parisc/ccio-dma.c res->start = (max - size + 1) &~ (align - 1); align 1407 drivers/parisc/ccio-dma.c return new_ioc_area(res, size, min, max - size, align); align 1411 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) align 1416 drivers/parisc/ccio-dma.c return new_ioc_area(res, size, min, max, align); align 1418 drivers/parisc/ccio-dma.c start = (res->start - size) &~ (align - 1); align 1426 drivers/parisc/ccio-dma.c len = ((size + res->end + align) &~ (align - 1)) - start; align 1444 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) align 1453 drivers/parisc/ccio-dma.c !allocate_resource(parent, res, size, min, max, align, NULL, NULL)) align 1457 drivers/parisc/ccio-dma.c !allocate_resource(parent + 1, res, size, min, max, align, align 1461 drivers/parisc/ccio-dma.c if (!expand_ioc_area(parent, size, min, max, align)) { align 1466 drivers/parisc/ccio-dma.c } else if (!expand_ioc_area(parent + 1, size, min, max, align)) { align 1477 drivers/parisc/ccio-dma.c return allocate_resource(parent, res, size, min, max, align, NULL,NULL); align 44 drivers/parisc/iommu.h unsigned long min, unsigned long max, unsigned long align); align 48 drivers/parisc/iommu.h #define ccio_allocate_resource(dev, res, size, min, max, align) \ align 50 drivers/parisc/iommu.h align, NULL, NULL) align 155 drivers/pci/bus.c resource_size_t size, resource_size_t align, align 202 drivers/pci/bus.c align, alignf, alignf_data); align 225 drivers/pci/bus.c resource_size_t size, resource_size_t align, align 237 drivers/pci/bus.c rc = pci_bus_alloc_from_region(bus, res, size, align, min, align 243 drivers/pci/bus.c return pci_bus_alloc_from_region(bus, res, size, align, min, align 249 drivers/pci/bus.c return pci_bus_alloc_from_region(bus, res, size, align, min, align 980 drivers/pci/controller/dwc/pci-keystone.c .align = SZ_1M, align 2502 drivers/pci/controller/pci-hyperv.c resource_size_t align; align 2506 drivers/pci/controller/pci-hyperv.c align = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space)); align 2510 drivers/pci/controller/pci-hyperv.c align, false); align 2526 drivers/pci/controller/pci-hyperv.c align = 1ULL << (63 - __builtin_clzll(hbus->high_mmio_space)); align 2529 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_space, align, align 681 drivers/pci/controller/pci-mvebu.c resource_size_t align) align 102 drivers/pci/controller/pcie-altera.c u32 data, bool align); align 287 drivers/pci/controller/pcie-altera.c u32 data, bool align) align 296 drivers/pci/controller/pcie-altera.c if (align) { align 446 drivers/pci/endpoint/functions/pci-epf-test.c test_reg_bar, epc_features->align); align 464 drivers/pci/endpoint/functions/pci-epf-test.c epc_features->align); align 117 drivers/pci/endpoint/pci-epf-core.c size_t align) align 126 drivers/pci/endpoint/pci-epf-core.c if (align) align 127 drivers/pci/endpoint/pci-epf-core.c size = ALIGN(size, align); align 6113 drivers/pci/pci.c resource_size_t align = pcibios_default_alignment(); align 6122 drivers/pci/pci.c align = 0; align 6140 drivers/pci/pci.c align = PAGE_SIZE; align 6142 drivers/pci/pci.c align = 1 << align_order; align 6158 drivers/pci/pci.c return align; align 6162 drivers/pci/pci.c resource_size_t align, bool resize) align 6172 drivers/pci/pci.c bar, r, (unsigned long long)align); align 6177 drivers/pci/pci.c if (size >= align) align 6209 drivers/pci/pci.c bar, r, (unsigned long long)align); align 6213 drivers/pci/pci.c r->end = align - 1; align 6217 drivers/pci/pci.c r->start = align; align 6234 drivers/pci/pci.c resource_size_t align; align 6248 drivers/pci/pci.c align = pci_specified_resource_alignment(dev, &resize); align 6249 drivers/pci/pci.c if (!align) align 6263 drivers/pci/pci.c pci_request_resource_alignment(dev, i, align, resize); align 161 drivers/pci/setup-bus.c resource_size_t align; align 163 drivers/pci/setup-bus.c align = pci_resource_alignment(dev_res->dev, align 166 drivers/pci/setup-bus.c if (r_align > align) { align 219 drivers/pci/setup-bus.c resource_size_t add_size, align; align 242 drivers/pci/setup-bus.c align = add_res->min_align; align 244 drivers/pci/setup-bus.c res->start = align; align 252 drivers/pci/setup-bus.c add_size, align)) align 373 drivers/pci/setup-bus.c resource_size_t add_align, align; align 417 drivers/pci/setup-bus.c align = pci_resource_alignment(dev_res2->dev, align 419 drivers/pci/setup-bus.c if (add_align > align) { align 781 drivers/pci/setup-bus.c resource_size_t align) align 798 drivers/pci/setup-bus.c size = ALIGN(max(size, add_size) + children_add_size, align); align 807 drivers/pci/setup-bus.c resource_size_t align) align 816 drivers/pci/setup-bus.c size = ALIGN(max(size, add_size) + children_add_size, align); align 832 drivers/pci/setup-bus.c resource_size_t align = 1, arch_align; align 835 drivers/pci/setup-bus.c align = PCI_P2P_DEFAULT_MEM_ALIGN; align 842 drivers/pci/setup-bus.c align = PCI_P2P_DEFAULT_IO_ALIGN_1K; align 844 drivers/pci/setup-bus.c align = PCI_P2P_DEFAULT_IO_ALIGN; align 848 drivers/pci/setup-bus.c return max(align, arch_align); align 873 drivers/pci/setup-bus.c resource_size_t min_align, align; align 896 drivers/pci/setup-bus.c align = pci_resource_alignment(dev, r); align 897 drivers/pci/setup-bus.c if (align > min_align) align 898 drivers/pci/setup-bus.c min_align = align; align 933 drivers/pci/setup-bus.c resource_size_t align = 0; align 942 drivers/pci/setup-bus.c if (!align) align 944 drivers/pci/setup-bus.c else if (ALIGN(align + min_align, min_align) < align1) align 946 drivers/pci/setup-bus.c align += aligns[order]; align 978 drivers/pci/setup-bus.c resource_size_t min_align, align, size, size0, size1; align 1024 drivers/pci/setup-bus.c align = pci_resource_alignment(dev, r); align 1025 drivers/pci/setup-bus.c order = __ffs(align) - 20; align 1030 drivers/pci/setup-bus.c i, r, (unsigned long long) align); align 1034 drivers/pci/setup-bus.c size += max(r_size, align); align 1039 drivers/pci/setup-bus.c if (r_size <= align) align 1040 drivers/pci/setup-bus.c aligns[order] += align; align 1942 drivers/pci/setup-bus.c resource_size_t align, io, mmio, mmio_pref; align 1954 drivers/pci/setup-bus.c align = pci_resource_alignment(bridge, io_res); align 1956 drivers/pci/setup-bus.c io = min(ALIGN(io, align), remaining_io); align 1959 drivers/pci/setup-bus.c align = pci_resource_alignment(bridge, mmio_res); align 1961 drivers/pci/setup-bus.c mmio = min(ALIGN(mmio, align), remaining_mmio); align 1964 drivers/pci/setup-bus.c align = pci_resource_alignment(bridge, mmio_pref_res); align 1966 drivers/pci/setup-bus.c mmio_pref = min(ALIGN(mmio_pref, align), remaining_mmio_pref); align 240 drivers/pci/setup-res.c resource_size_t align) align 246 drivers/pci/setup-res.c int resno, resource_size_t size, resource_size_t align) align 261 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, align 273 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, align 287 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, 0, align 312 drivers/pci/setup-res.c resource_size_t align, size; align 319 drivers/pci/setup-res.c align = pci_resource_alignment(dev, res); align 320 drivers/pci/setup-res.c if (!align) { align 327 drivers/pci/setup-res.c ret = _pci_assign_resource(dev, resno, size, align); align 52 drivers/pcmcia/cs_internal.h unsigned int align, align 55 drivers/pcmcia/cs_internal.h unsigned long align, int low, align 144 drivers/pcmcia/cs_internal.h u_long align, align 45 drivers/pcmcia/pcmcia_resource.c struct resource *pcmcia_find_mem_region(u_long base, u_long num, u_long align, align 49 drivers/pcmcia/pcmcia_resource.c return s->resource_ops->find_mem(base, num, align, low, s); align 99 drivers/pcmcia/pcmcia_resource.c unsigned int align; align 109 drivers/pcmcia/pcmcia_resource.c align = base ? (lines ? 1<<lines : 0) : 1; align 110 drivers/pcmcia/pcmcia_resource.c if (align && (align < num)) { align 113 drivers/pcmcia/pcmcia_resource.c align = 0; align 115 drivers/pcmcia/pcmcia_resource.c while (align && (align < num)) align 116 drivers/pcmcia/pcmcia_resource.c align <<= 1; align 118 drivers/pcmcia/pcmcia_resource.c if (base & ~(align-1)) { align 120 drivers/pcmcia/pcmcia_resource.c align = 0; align 123 drivers/pcmcia/pcmcia_resource.c ret = s->resource_ops->find_io(s, res->flags, &base, num, align, align 840 drivers/pcmcia/pcmcia_resource.c u_long align; align 853 drivers/pcmcia/pcmcia_resource.c align = (s->features & SS_CAP_MEM_ALIGN) ? res->end : s->map_size; align 859 drivers/pcmcia/pcmcia_resource.c (res->start & (align-1))) { align 864 drivers/pcmcia/pcmcia_resource.c align = 0; align 880 drivers/pcmcia/pcmcia_resource.c win->res = pcmcia_find_mem_region(res->start, res->end, align, align 28 drivers/pcmcia/rsrc_iodyn.c resource_size_t size, resource_size_t align) align 57 drivers/pcmcia/rsrc_iodyn.c unsigned long align) align 65 drivers/pcmcia/rsrc_iodyn.c data.mask = align - 1; align 86 drivers/pcmcia/rsrc_iodyn.c unsigned int align, struct resource **parent) align 101 drivers/pcmcia/rsrc_iodyn.c if ((s->io[i].res->start & (align-1)) == *base) align 114 drivers/pcmcia/rsrc_iodyn.c if (align == 0) align 115 drivers/pcmcia/rsrc_iodyn.c align = 0x10000; align 118 drivers/pcmcia/rsrc_iodyn.c num, align); align 47 drivers/pcmcia/rsrc_mgr.c unsigned int align, struct resource **parent) align 604 drivers/pcmcia/rsrc_nonstatic.c resource_size_t size, resource_size_t align) align 684 drivers/pcmcia/rsrc_nonstatic.c unsigned long align) align 693 drivers/pcmcia/rsrc_nonstatic.c data.mask = align - 1; align 715 drivers/pcmcia/rsrc_nonstatic.c unsigned int align, struct resource **parent) align 730 drivers/pcmcia/rsrc_nonstatic.c if ((s->io[i].res->start & (align-1)) == *base) align 743 drivers/pcmcia/rsrc_nonstatic.c if (align == 0) align 744 drivers/pcmcia/rsrc_nonstatic.c align = 0x10000; align 748 drivers/pcmcia/rsrc_nonstatic.c align); align 803 drivers/pcmcia/rsrc_nonstatic.c u_long align, int low, struct pcmcia_socket *s) align 814 drivers/pcmcia/rsrc_nonstatic.c data.mask = align - 1; align 632 drivers/pcmcia/yenta_socket.c u32 align, size, start, end; align 635 drivers/pcmcia/yenta_socket.c align = 1024; align 653 drivers/pcmcia/yenta_socket.c align = size; align 659 drivers/pcmcia/yenta_socket.c if (allocate_resource(root, res, size, start, end, align, align 664 drivers/pcmcia/yenta_socket.c align = size; align 71 drivers/perf/arm_spe_pmu.c u16 align; align 409 drivers/perf/arm_spe_pmu.c if (!IS_ALIGNED(head, spe_pmu->align)) { align 410 drivers/perf/arm_spe_pmu.c unsigned long delta = roundup(head, spe_pmu->align) - head; align 951 drivers/perf/arm_spe_pmu.c spe_pmu->align = 1 << fld; align 952 drivers/perf/arm_spe_pmu.c if (spe_pmu->align > SZ_2K) { align 1032 drivers/perf/arm_spe_pmu.c spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features); align 274 drivers/pinctrl/mediatek/pinctrl-mt2701.c unsigned char align, bool isup, unsigned int r1r0) align 277 drivers/pinctrl/mediatek/pinctrl-mt2701.c ARRAY_SIZE(mt2701_spec_pupd), pin, align, isup, r1r0); align 440 drivers/pinctrl/mediatek/pinctrl-mt2701.c unsigned char align, int value, enum pin_config_param arg) align 444 drivers/pinctrl/mediatek/pinctrl-mt2701.c ARRAY_SIZE(mt2701_ies_set), pin, align, value); align 447 drivers/pinctrl/mediatek/pinctrl-mt2701.c ARRAY_SIZE(mt2701_smt_set), pin, align, value); align 86 drivers/pinctrl/mediatek/pinctrl-mt2712.c unsigned char align, align 91 drivers/pinctrl/mediatek/pinctrl-mt2712.c ARRAY_SIZE(mt2712_spec_pupd), pin, align, isup, r1r0); align 289 drivers/pinctrl/mediatek/pinctrl-mt2712.c unsigned char align, align 294 drivers/pinctrl/mediatek/pinctrl-mt2712.c ARRAY_SIZE(mt2712_ies_set), pin, align, value); align 297 drivers/pinctrl/mediatek/pinctrl-mt2712.c ARRAY_SIZE(mt2712_smt_set), pin, align, value); align 176 drivers/pinctrl/mediatek/pinctrl-mt8127.c unsigned char align, bool isup, unsigned int r1r0) align 179 drivers/pinctrl/mediatek/pinctrl-mt8127.c ARRAY_SIZE(mt8127_spec_pupd), pin, align, isup, r1r0); align 263 drivers/pinctrl/mediatek/pinctrl-mt8127.c unsigned char align, int value, enum pin_config_param arg) align 267 drivers/pinctrl/mediatek/pinctrl-mt8127.c ARRAY_SIZE(mt8127_ies_set), pin, align, value); align 270 drivers/pinctrl/mediatek/pinctrl-mt8127.c ARRAY_SIZE(mt8127_smt_set), pin, align, value); align 234 drivers/pinctrl/mediatek/pinctrl-mt8135.c unsigned char align, bool isup, unsigned int r1r0) align 252 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_pupd = spec_pupd[i].pupd_offset + align; align 254 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_pupd = spec_pupd[i].pupd_offset + (align << 1); align 258 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_set_r0 = spec_pupd[i].r0_offset + align; align 259 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_rst_r0 = spec_pupd[i].r0_offset + (align << 1); align 260 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_set_r1 = spec_pupd[i].r1_offset + align; align 261 drivers/pinctrl/mediatek/pinctrl-mt8135.c reg_rst_r1 = spec_pupd[i].r1_offset + (align << 1); align 65 drivers/pinctrl/mediatek/pinctrl-mt8173.c unsigned char align, bool isup, unsigned int r1r0) align 68 drivers/pinctrl/mediatek/pinctrl-mt8173.c ARRAY_SIZE(mt8173_spec_pupd), pin, align, isup, r1r0); align 178 drivers/pinctrl/mediatek/pinctrl-mt8173.c unsigned char align, int value, enum pin_config_param arg) align 182 drivers/pinctrl/mediatek/pinctrl-mt8173.c ARRAY_SIZE(mt8173_ies_set), pin, align, value); align 185 drivers/pinctrl/mediatek/pinctrl-mt8173.c ARRAY_SIZE(mt8173_smt_set), pin, align, value); align 190 drivers/pinctrl/mediatek/pinctrl-mt8516.c unsigned char align, bool isup, unsigned int r1r0) align 193 drivers/pinctrl/mediatek/pinctrl-mt8516.c ARRAY_SIZE(mt8516_spec_pupd), pin, align, isup, r1r0); align 296 drivers/pinctrl/mediatek/pinctrl-mt8516.c unsigned char align, int value, enum pin_config_param arg) align 300 drivers/pinctrl/mediatek/pinctrl-mt8516.c ARRAY_SIZE(mt8516_ies_set), pin, align, value); align 303 drivers/pinctrl/mediatek/pinctrl-mt8516.c ARRAY_SIZE(mt8516_smt_set), pin, align, value); align 156 drivers/pinctrl/mediatek/pinctrl-mtk-common.c unsigned int pin, unsigned char align, int value) align 171 drivers/pinctrl/mediatek/pinctrl-mtk-common.c reg_addr = ies_smt_infos[i].offset + align; align 173 drivers/pinctrl/mediatek/pinctrl-mtk-common.c reg_addr = ies_smt_infos[i].offset + (align << 1); align 228 drivers/pinctrl/mediatek/pinctrl-mtk-common.c unsigned char align, bool isup, unsigned int r1r0) align 247 drivers/pinctrl/mediatek/pinctrl-mtk-common.c reg_set = spec_pupd_pin->offset + align; align 248 drivers/pinctrl/mediatek/pinctrl-mtk-common.c reg_rst = spec_pupd_pin->offset + (align << 1); align 235 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned char align, bool isup, unsigned int arg); align 237 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned char align, int value, enum pin_config_param arg); align 280 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned char align, bool isup, unsigned int r1r0); align 284 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned int pin, unsigned char align, int value); align 80 drivers/platform/mellanox/mlxbf-tmfifo.c int align; align 217 drivers/platform/mellanox/mlxbf-tmfifo.c size = vring_size(vring->num, vring->align); align 243 drivers/platform/mellanox/mlxbf-tmfifo.c vring->align = SMP_CACHE_BYTES; align 248 drivers/platform/mellanox/mlxbf-tmfifo.c size = vring_size(vring->num, vring->align); align 938 drivers/platform/mellanox/mlxbf-tmfifo.c size = vring_size(vring->num, vring->align); align 940 drivers/platform/mellanox/mlxbf-tmfifo.c vq = vring_new_virtqueue(i, vring->num, vring->align, vdev, align 31 drivers/pnp/base.h resource_size_t align; /* align boundary */ align 52 drivers/pnp/base.h resource_size_t align; /* align boundary */ align 87 drivers/pnp/base.h resource_size_t align, resource_size_t size, align 91 drivers/pnp/base.h resource_size_t align, resource_size_t size, align 62 drivers/pnp/interface.c port->align ? ((unsigned long long) port->align - 1) : 0, align 160 drivers/pnp/interface.c (unsigned long long) mem->align, align 451 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; align 457 drivers/pnp/isapnp/core.c align = tmp[5]; align 461 drivers/pnp/isapnp/core.c min, max, align, len, flags); align 489 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; align 495 drivers/pnp/isapnp/core.c align = (tmp[6] << 8) | tmp[5]; align 499 drivers/pnp/isapnp/core.c min, max, align, len, flags); align 510 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; align 516 drivers/pnp/isapnp/core.c align = (tmp[12] << 24) | (tmp[11] << 16) | (tmp[10] << 8) | tmp[9]; align 520 drivers/pnp/isapnp/core.c min, max, align, len, flags); align 65 drivers/pnp/manager.c res->start += rule->align; align 67 drivers/pnp/manager.c if (res->start > rule->max || !rule->align) { align 116 drivers/pnp/manager.c res->start += rule->align; align 118 drivers/pnp/manager.c if (res->start > rule->max || !rule->align) { align 221 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; align 226 drivers/pnp/pnpbios/rsparser.c align = (p[9] << 8) | p[8]; align 229 drivers/pnp/pnpbios/rsparser.c pnp_register_mem_resource(dev, option_flags, min, max, align, len, align 237 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; align 242 drivers/pnp/pnpbios/rsparser.c align = (p[15] << 24) | (p[14] << 16) | (p[13] << 8) | p[12]; align 245 drivers/pnp/pnpbios/rsparser.c pnp_register_mem_resource(dev, option_flags, min, max, align, len, align 292 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; align 297 drivers/pnp/pnpbios/rsparser.c align = p[6]; align 300 drivers/pnp/pnpbios/rsparser.c pnp_register_port_resource(dev, option_flags, min, max, align, len, align 99 drivers/pnp/resource.c resource_size_t align, resource_size_t size, align 112 drivers/pnp/resource.c port->align = align; align 122 drivers/pnp/resource.c resource_size_t align, resource_size_t size, align 135 drivers/pnp/resource.c mem->align = align; align 130 drivers/pnp/support.c (unsigned long long) port->align, align 139 drivers/pnp/support.c (unsigned long long) mem->align, align 862 drivers/rapidio/devices/tsi721.c u32 align; align 871 drivers/rapidio/devices/tsi721.c align = size/TSI721_PC2SR_ZONES; align 894 drivers/rapidio/devices/tsi721.c win_base = ALIGN(win_base, align); align 327 drivers/remoteproc/remoteproc_core.c size = PAGE_ALIGN(vring_size(rvring->len, rvring->align)); align 384 drivers/remoteproc/remoteproc_core.c i, vring->da, vring->num, vring->align); align 387 drivers/remoteproc/remoteproc_core.c if (!vring->num || !vring->align) { align 389 drivers/remoteproc/remoteproc_core.c vring->num, vring->align); align 394 drivers/remoteproc/remoteproc_core.c rvring->align = vring->align; align 255 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, " Alignment %d\n", v->vring[j].align); align 98 drivers/remoteproc/remoteproc_virtio.c size = vring_size(len, rvring->align); align 108 drivers/remoteproc/remoteproc_virtio.c vq = vring_new_virtqueue(id, len, rvring->align, vdev, false, ctx, align 138 drivers/s390/cio/itcw.c int align, int check_4k) align 142 drivers/s390/cio/itcw.c addr = ALIGN(*start, align); align 145 drivers/s390/cio/itcw.c addr = ALIGN(addr, align); align 87 drivers/s390/virtio/virtio_ccw.c __u32 align; align 462 drivers/s390/virtio/virtio_ccw.c info->info_block->l.align = 0; align 561 drivers/s390/virtio/virtio_ccw.c info->info_block->l.align = KVM_VIRTIO_CCW_RING_ALIGN; align 58 drivers/scsi/aacraid/comminit.c unsigned long size, align; align 233 drivers/scsi/aacraid/comminit.c align = (commalign - ((uintptr_t)(base) & (commalign - 1))); align 234 drivers/scsi/aacraid/comminit.c base = base + align; align 235 drivers/scsi/aacraid/comminit.c phys = phys + align; align 1801 drivers/scsi/advansys.c uchar align[24]; /* Request structure padding. */ align 48 drivers/scsi/esas2r/esas2r_init.c u32 align) align 50 drivers/scsi/esas2r/esas2r_init.c mem_desc->esas2r_param = mem_desc->size + align; align 69 drivers/scsi/esas2r/esas2r_init.c mem_desc->virt_addr = PTR_ALIGN(mem_desc->esas2r_data, align); align 70 drivers/scsi/esas2r/esas2r_init.c mem_desc->phys_addr = ALIGN(mem_desc->phys_addr, align); align 280 drivers/scsi/lpfc/lpfc_crtn.h int lpfc_mem_alloc(struct lpfc_hba *, int align); align 87 drivers/scsi/lpfc/lpfc_mem.c lpfc_mem_alloc(struct lpfc_hba *phba, int align) align 95 drivers/scsi/lpfc/lpfc_mem.c align, 0); align 134 drivers/scsi/lpfc/lpfc_mem.c LPFC_HDR_BUF_SIZE, align, 0); align 140 drivers/scsi/lpfc/lpfc_mem.c LPFC_DATA_BUF_SIZE, align, 0); align 146 drivers/scsi/lpfc/lpfc_mem.c &phba->pcidev->dev, LPFC_BPL_SIZE, align, 0); align 134 drivers/scsi/megaraid.c unsigned long align; align 148 drivers/scsi/megaraid.c align = ((void *)adapter->mbox) - ((void *)&adapter->una_mbox64->mbox); align 150 drivers/scsi/megaraid.c adapter->mbox_dma = adapter->una_mbox64_dma + 8 + align; align 950 drivers/scsi/megaraid/megaraid_mbox.c unsigned long align; align 987 drivers/scsi/megaraid/megaraid_mbox.c align = ((void *)raid_dev->mbox - align 991 drivers/scsi/megaraid/megaraid_mbox.c align; align 111 drivers/scsi/pm8001/pm8001_sas.c u32 *pphys_addr_lo, u32 mem_size, u32 align) align 117 drivers/scsi/pm8001/pm8001_sas.c if (align) align 118 drivers/scsi/pm8001/pm8001_sas.c align_offset = (dma_addr_t)align - 1; align 119 drivers/scsi/pm8001/pm8001_sas.c mem_virt_alloc = dma_alloc_coherent(&pdev->dev, mem_size + align, align 661 drivers/scsi/pm8001/pm8001_sas.h u32 mem_size, u32 align); align 4203 drivers/scsi/qla4xxx/ql4_os.c unsigned long align; align 4224 drivers/scsi/qla4xxx/ql4_os.c align = 0; align 4226 drivers/scsi/qla4xxx/ql4_os.c align = MEM_ALIGN_VALUE - ((unsigned long)ha->queues_dma & align 4230 drivers/scsi/qla4xxx/ql4_os.c ha->request_dma = ha->queues_dma + align; align 4231 drivers/scsi/qla4xxx/ql4_os.c ha->request_ring = (struct queue_entry *) (ha->queues + align); align 4232 drivers/scsi/qla4xxx/ql4_os.c ha->response_dma = ha->queues_dma + align + align 4234 drivers/scsi/qla4xxx/ql4_os.c ha->response_ring = (struct queue_entry *) (ha->queues + align + align 4237 drivers/scsi/qla4xxx/ql4_os.c ha->shadow_regs_dma = ha->queues_dma + align + align 4240 drivers/scsi/qla4xxx/ql4_os.c ha->shadow_regs = (struct shadow_regs *) (ha->queues + align + align 152 drivers/soc/fsl/qe/qe_common.c unsigned long cpm_muram_alloc(unsigned long size, unsigned long align) align 159 drivers/soc/fsl/qe/qe_common.c muram_pool_data.align = align; align 36 drivers/staging/android/ion/ion_cma_heap.c unsigned long align = get_order(size); align 39 drivers/staging/android/ion/ion_cma_heap.c if (align > CONFIG_CMA_ALIGNMENT) align 40 drivers/staging/android/ion/ion_cma_heap.c align = CONFIG_CMA_ALIGNMENT; align 42 drivers/staging/android/ion/ion_cma_heap.c pages = cma_alloc(cma_heap->cma, nr_pages, align, false); align 58 drivers/staging/fwserial/dma_fifo.c int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, align 63 drivers/staging/fwserial/dma_fifo.c if (!is_power_of_2(align) || size < 0) align 66 drivers/staging/fwserial/dma_fifo.c size = round_up(size, align); align 67 drivers/staging/fwserial/dma_fifo.c capacity = size + align * open_limit + align * DMA_FIFO_GUARD; align 77 drivers/staging/fwserial/dma_fifo.c fifo->align = align; align 78 drivers/staging/fwserial/dma_fifo.c fifo->tx_limit = max_t(int, round_down(tx_limit, align), align); align 81 drivers/staging/fwserial/dma_fifo.c fifo->guard = size + align * open_limit; align 212 drivers/staging/fwserial/dma_fifo.c fifo->out += round_up(n, fifo->align); align 229 drivers/staging/fwserial/dma_fifo.c if (FAIL(fifo, fifo->out & (fifo->align - 1), align 231 drivers/staging/fwserial/dma_fifo.c fifo->out, fifo->align)) align 49 drivers/staging/fwserial/dma_fifo.h unsigned int align; /* must be power of 2 */ align 76 drivers/staging/fwserial/dma_fifo.h int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, align 112 drivers/staging/fwserial/dma_fifo.h tx_limit = round_down(tx_limit, fifo->align); align 113 drivers/staging/fwserial/dma_fifo.h fifo->tx_limit = max_t(int, tx_limit, fifo->align); align 1587 drivers/staging/media/ipu3/ipu3-css.c static u32 imgu_css_adjust(u32 res, u32 align) align 1591 drivers/staging/media/ipu3/ipu3-css.c return DIV_ROUND_CLOSEST(val, align) * align; align 455 drivers/staging/media/soc_camera/soc_mt9v022.c int align = mf->code == MEDIA_BUS_FMT_SBGGR8_1X8 || align 462 drivers/staging/media/soc_camera/soc_mt9v022.c MT9V022_MAX_WIDTH, align, align 464 drivers/staging/media/soc_camera/soc_mt9v022.c MT9V022_MAX_HEIGHT + mt9v022->y_skip_top, align, 0); align 1627 drivers/staging/rtl8192u/r8192U_core.c long align = 0; align 1635 drivers/staging/rtl8192u/r8192U_core.c align = ((long)oldaddr) & 3; align 1636 drivers/staging/rtl8192u/r8192U_core.c if (align) { align 1637 drivers/staging/rtl8192u/r8192U_core.c newaddr = oldaddr + 4 - align; align 1638 drivers/staging/rtl8192u/r8192U_core.c priv->rx_urb[16]->transfer_buffer_length = 16 - 4 + align; align 110 drivers/tty/serial/men_z135_uart.c static int align; align 111 drivers/tty/serial/men_z135_uart.c module_param(align, int, S_IRUGO); align 112 drivers/tty/serial/men_z135_uart.c MODULE_PARM_DESC(align, "Keep hardware FIFO write pointer aligned, default 0"); align 338 drivers/tty/serial/men_z135_uart.c if (align && qlen >= 3 && BYTES_TO_ALIGN(wptr)) align 718 drivers/tty/serial/samsung.c int align = dma_get_cache_alignment() - align 720 drivers/tty/serial/samsung.c if (count-align >= ourport->min_dma_size) { align 721 drivers/tty/serial/samsung.c dma_count = count-align; align 722 drivers/tty/serial/samsung.c count = align; align 912 drivers/video/fbdev/atafb.c int gstart, gend1, gend2, align; align 1226 drivers/video/fbdev/atafb.c align = 1; align 1230 drivers/video/fbdev/atafb.c align = 128 / bpp; align 1240 drivers/video/fbdev/atafb.c gend1 = gstart + roundup(xres, align) * plen / prescale; align 150 drivers/video/fbdev/aty/mach64_cursor.c unsigned int align = info->sprite.scan_align; align 158 drivers/video/fbdev/aty/mach64_cursor.c offset = align - width*2; align 155 drivers/video/fbdev/core/fbmem.c u32 align = buf->buf_align - 1, offset; align 168 drivers/video/fbdev/core/fbmem.c offset = buf->offset + align; align 169 drivers/video/fbdev/core/fbmem.c offset &= ~align; align 659 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; align 677 drivers/video/fbdev/riva/riva_hw.c align = arb->mem_aligned; align 845 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; align 868 drivers/video/fbdev/riva/riva_hw.c align = arb->mem_aligned; align 925 drivers/video/fbdev/tgafb.c unsigned long pos, align, line_length, i, j; align 998 drivers/video/fbdev/tgafb.c align = (pos & 3) << 16; align 1004 drivers/video/fbdev/tgafb.c data = (width - 1) | align; align 1015 drivers/video/fbdev/tgafb.c fdata = (2048 - 1) | align; align 1016 drivers/video/fbdev/tgafb.c ldata = ((width & 2047) - 1) | align; align 67 drivers/virtio/virtio_pci_modern.c u32 align, align 108 drivers/virtio/virtio_pci_modern.c if (offset & (align - 1)) { align 111 drivers/virtio/virtio_pci_modern.c offset, align); align 655 drivers/xen/grant-table.c static unsigned int gnttab_frames(unsigned int frames, unsigned int align) align 657 drivers/xen/grant-table.c return (frames * gnttab_interface->grefs_per_grant_frame + align - 1) / align 658 drivers/xen/grant-table.c align; align 1809 fs/btrfs/free-space-cache.c unsigned long align, u64 *max_extent_size) align 1835 fs/btrfs/free-space-cache.c if (*bytes >= align) { align 1836 fs/btrfs/free-space-cache.c tmp = entry->offset - ctl->start + align - 1; align 1837 fs/btrfs/free-space-cache.c tmp = div64_u64(tmp, align); align 1838 fs/btrfs/free-space-cache.c tmp = tmp * align + ctl->start; align 870 fs/coredump.c int dump_align(struct coredump_params *cprm, int align) align 872 fs/coredump.c unsigned mod = cprm->pos & (align - 1); align 873 fs/coredump.c if (align & (align - 1)) align 875 fs/coredump.c return mod ? dump_skip(cprm, align - mod) : 1; align 1180 fs/direct-io.c unsigned long align = offset | iov_iter_alignment(iter); align 1187 fs/direct-io.c if (align & blocksize_mask) { align 1191 fs/direct-io.c if (align & blocksize_mask) align 2753 fs/f2fs/data.c unsigned long align = offset | iov_iter_alignment(iter); align 2756 fs/f2fs/data.c if (align & blocksize_mask) { align 2760 fs/f2fs/data.c if (align & blocksize_mask) align 3699 fs/f2fs/f2fs.h unsigned long align = offset | iov_iter_alignment(iter); align 3701 fs/f2fs/f2fs.h return align & blocksize_mask; align 127 fs/freevxfs/vxfs_inode.h __u64 align; align 203 fs/iomap/direct-io.c unsigned int align = iov_iter_alignment(dio->submit.iter); align 211 fs/iomap/direct-io.c if ((pos | length | align) & ((1 << blkbits) - 1)) align 3385 fs/xfs/libxfs/xfs_bmap.c xfs_extlen_t align = 0; /* minimum allocation alignment */ align 3413 fs/xfs/libxfs/xfs_bmap.c align = xfs_get_cowextsz_hint(ap->ip); align 3415 fs/xfs/libxfs/xfs_bmap.c align = xfs_get_extsz_hint(ap->ip); align 3416 fs/xfs/libxfs/xfs_bmap.c if (align) { align 3418 fs/xfs/libxfs/xfs_bmap.c align, 0, ap->eof, 0, ap->conv, align 3488 fs/xfs/libxfs/xfs_bmap.c if (align) { align 3489 fs/xfs/libxfs/xfs_bmap.c args.prod = align; align 615 fs/xfs/libxfs/xfs_fs.h __s64 align; /* force alignment of ha_fid */ align 255 fs/xfs/libxfs/xfs_sb.c uint32_t align; align 257 fs/xfs/libxfs/xfs_sb.c align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize align 259 fs/xfs/libxfs/xfs_sb.c if (sbp->sb_inoalignmt != align) { align 262 fs/xfs/libxfs/xfs_sb.c sbp->sb_inoalignmt, align); align 80 fs/xfs/xfs_bmap_util.c xfs_extlen_t align; /* minimum allocation alignment */ align 84 fs/xfs/xfs_bmap_util.c align = xfs_get_extsz_hint(ap->ip); align 85 fs/xfs/xfs_bmap_util.c prod = align / mp->m_sb.sb_rextsize; align 87 fs/xfs/xfs_bmap_util.c align, 1, ap->eof, 0, align 98 fs/xfs/xfs_bmap_util.c div_u64_rem(ap->offset, align, &mod); align 99 fs/xfs/xfs_bmap_util.c if (mod || ap->length % align) align 112 fs/xfs/xfs_iomap.c xfs_extlen_t align = 0; align 124 fs/xfs/xfs_iomap.c align = mp->m_swidth; align 126 fs/xfs/xfs_iomap.c align = mp->m_dalign; align 128 fs/xfs/xfs_iomap.c if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) align 129 fs/xfs/xfs_iomap.c align = 0; align 137 fs/xfs/xfs_iomap.c if (align) align 138 fs/xfs/xfs_iomap.c align = roundup_64(align, extsize); align 140 fs/xfs/xfs_iomap.c align = extsize; align 143 fs/xfs/xfs_iomap.c return align; align 152 fs/xfs/xfs_iomap.c xfs_extlen_t align = xfs_eof_alignment(ip, extsize); align 154 fs/xfs/xfs_iomap.c if (align) { align 155 fs/xfs/xfs_iomap.c xfs_fileoff_t new_last_fsb = roundup_64(*last_fsb, align); align 666 fs/xfs/xfs_iomap.c xfs_extlen_t align; align 674 fs/xfs/xfs_iomap.c align = xfs_eof_alignment(ip, 0); align 675 fs/xfs/xfs_iomap.c if (align) align 676 fs/xfs/xfs_iomap.c p_end_fsb = roundup_64(p_end_fsb, align); align 29 fs/xfs/xfs_iomap.h xfs_extlen_t align; align 31 fs/xfs/xfs_iomap.h div_u64_rem(offset_fsb, extsz, &align); align 32 fs/xfs/xfs_iomap.h if (align) align 33 fs/xfs/xfs_iomap.h count_fsb += align; align 34 fs/xfs/xfs_iomap.h div_u64_rem(count_fsb, extsz, &align); align 35 fs/xfs/xfs_iomap.h if (align) align 36 fs/xfs/xfs_iomap.h count_fsb += extsz - align; align 311 include/asm-generic/vmlinux.lds.h #define READ_MOSTLY_DATA(align) \ align 312 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ align 314 include/asm-generic/vmlinux.lds.h . = ALIGN(align); align 316 include/asm-generic/vmlinux.lds.h #define CACHELINE_ALIGNED_DATA(align) \ align 317 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ align 320 include/asm-generic/vmlinux.lds.h #define INIT_TASK_DATA(align) \ align 321 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ align 351 include/asm-generic/vmlinux.lds.h #define RO_DATA_SECTION(align) \ align 352 include/asm-generic/vmlinux.lds.h . = ALIGN((align)); \ align 503 include/asm-generic/vmlinux.lds.h . = ALIGN((align)); \ align 509 include/asm-generic/vmlinux.lds.h #define RO_DATA(align) RO_DATA_SECTION(align) align 585 include/asm-generic/vmlinux.lds.h #define EXCEPTION_TABLE(align) \ align 586 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ align 610 include/asm-generic/vmlinux.lds.h #define INIT_TASK_DATA_SECTION(align) \ align 611 include/asm-generic/vmlinux.lds.h . = ALIGN(align); \ align 613 include/asm-generic/vmlinux.lds.h INIT_TASK_DATA(align) \ align 43 include/drm/drm_pci.h size_t align); align 35 include/linux/cma.h extern struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align, align 17 include/linux/coredump.h extern int dump_align(struct coredump_params *cprm, int align); align 987 include/linux/device.h size_t align); align 1031 include/linux/dmaengine.h static inline bool dmaengine_check_align(enum dmaengine_alignment align, align 1036 include/linux/dmaengine.h if (!align) align 1038 include/linux/dmaengine.h mask = (1 << align) - 1; align 22 include/linux/dmapool.h size_t size, size_t align, size_t allocation); align 34 include/linux/dmapool.h size_t size, size_t align, size_t allocation); align 39 include/linux/dmapool.h struct device *dev, size_t size, size_t align, size_t allocation) align 47 include/linux/dmapool.h struct device *dev, size_t size, size_t align, size_t allocation) align 1583 include/linux/efi.h unsigned long size, unsigned long align, align 1588 include/linux/efi.h unsigned long size, unsigned long align, align 1596 include/linux/efi.h return efi_low_alloc_above(sys_table_arg, size, align, addr, 0x8); align 1600 include/linux/efi.h unsigned long size, unsigned long align, align 39 include/linux/fsl/bestcomm/sram.h extern void* bcom_sram_alloc(int size, int align, phys_addr_t *phys); align 86 include/linux/genalloc.h int align; /* alignment by bytes for starting address */ align 161 include/linux/genalloc.h dma_addr_t *dma, int align); align 166 include/linux/genalloc.h dma_addr_t *dma, int align); align 1230 include/linux/hyperv.h resource_size_t size, resource_size_t align, align 195 include/linux/ioport.h resource_size_t max, resource_size_t align, align 72 include/linux/linkage.h #define __ALIGN .align 4,0x90 align 109 include/linux/memblock.h phys_addr_t size, phys_addr_t align); align 116 include/linux/memblock.h void memblock_trim_memory(phys_addr_t align); align 350 include/linux/memblock.h phys_addr_t memblock_phys_alloc_range(phys_addr_t size, phys_addr_t align, align 352 include/linux/memblock.h phys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); align 355 include/linux/memblock.h phys_addr_t align) align 357 include/linux/memblock.h return memblock_phys_alloc_range(size, align, 0, align 361 include/linux/memblock.h void *memblock_alloc_try_nid_raw(phys_addr_t size, phys_addr_t align, align 364 include/linux/memblock.h void *memblock_alloc_try_nid(phys_addr_t size, phys_addr_t align, align 368 include/linux/memblock.h static inline void * __init memblock_alloc(phys_addr_t size, phys_addr_t align) align 370 include/linux/memblock.h return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, align 375 include/linux/memblock.h phys_addr_t align) align 377 include/linux/memblock.h return memblock_alloc_try_nid_raw(size, align, MEMBLOCK_LOW_LIMIT, align 383 include/linux/memblock.h phys_addr_t align, align 386 include/linux/memblock.h return memblock_alloc_try_nid(size, align, min_addr, align 391 include/linux/memblock.h phys_addr_t align) align 393 include/linux/memblock.h return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, align 398 include/linux/memblock.h phys_addr_t align, int nid) align 400 include/linux/memblock.h return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, align 23 include/linux/memremap.h unsigned long align; align 1143 include/linux/mlx4/device.h int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, align 89 include/linux/netfilter/ipset/ip_set.h u8 align; align 345 include/linux/netfilter/ipset/ip_set.h size_t len, size_t align); align 391 include/linux/of.h extern void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)); align 124 include/linux/pci-epc.h size_t align; align 153 include/linux/pci-epf.h size_t align); align 519 include/linux/pci.h resource_size_t align); align 1202 include/linux/pci.h int __must_check pci_reassign_resource(struct pci_dev *dev, int i, resource_size_t add_size, resource_size_t align); align 1315 include/linux/pci.h resource_size_t align, resource_size_t min, align 1419 include/linux/pci.h #define pci_pool_create(name, pdev, size, align, allocation) \ align 1420 include/linux/pci.h dma_pool_create(name, &pdev->dev, size, align, allocation) align 99 include/linux/percpu.h size_t align); align 126 include/linux/percpu.h extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align); align 134 include/linux/percpu.h extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp); align 135 include/linux/percpu.h extern void __percpu *__alloc_percpu(size_t size, size_t align); align 195 include/linux/regset.h unsigned int align; align 259 include/linux/remoteproc.h u32 align; align 555 include/linux/remoteproc.h u32 align; align 148 include/linux/slab.h unsigned int align, slab_flags_t flags, align 151 include/linux/slab.h unsigned int size, unsigned int align, align 46 include/linux/slab_def.h int align; align 103 include/linux/slub_def.h unsigned int align; /* Alignment */ align 25 include/linux/sunrpc/gss_api.h unsigned int slack, align; align 100 include/linux/vmalloc.h extern void *__vmalloc_node_range(unsigned long size, unsigned long align, align 205 include/linux/vmalloc.h extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); align 211 include/linux/vmalloc.h size_t align); align 218 include/linux/vmalloc.h size_t align) align 5070 include/net/cfg80211.h uint8_t align:4, size:4; align 1387 include/net/mac80211.h u8 align; align 95 include/net/netfilter/nf_conntrack_extend.h u8 align; align 534 include/net/netfilter/nf_tables.h u8 align; align 572 include/net/netfilter/nf_tables.h tmpl->len = ALIGN(tmpl->len, nft_set_ext_types[id].align); align 3288 include/rdma/ib_verbs.h unsigned long align; align 3291 include/rdma/ib_verbs.h align = addr & -addr; align 3296 include/rdma/ib_verbs.h pgsz = pgsz_bitmap & ~(-align << 1); align 101 include/soc/fsl/qe/qe.h unsigned long cpm_muram_alloc(unsigned long size, unsigned long align); align 109 include/soc/fsl/qe/qe.h unsigned long align) align 538 include/sound/gus.h int align, unsigned int *share_id); align 641 include/sound/hdaudio.h unsigned int align) align 644 include/sound/hdaudio.h array->alloc_align = align; align 65 include/sound/vx_core.h int align; /* size of alignment */ align 14 include/trace/events/cma.h unsigned int count, unsigned int align), align 16 include/trace/events/cma.h TP_ARGS(pfn, page, count, align), align 22 include/trace/events/cma.h __field(unsigned int, align) align 29 include/trace/events/cma.h __entry->align = align; align 36 include/trace/events/cma.h __entry->align) align 13 include/trace/events/percpu.h size_t align, void *base_addr, int off, void __percpu *ptr), align 15 include/trace/events/percpu.h TP_ARGS(reserved, is_atomic, size, align, base_addr, off, ptr), align 21 include/trace/events/percpu.h __field( size_t, align ) align 31 include/trace/events/percpu.h __entry->align = align; align 39 include/trace/events/percpu.h __entry->size, __entry->align, align 67 include/trace/events/percpu.h TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align), align 69 include/trace/events/percpu.h TP_ARGS(reserved, is_atomic, size, align), align 75 include/trace/events/percpu.h __field( size_t, align ) align 82 include/trace/events/percpu.h __entry->align = align; align 87 include/trace/events/percpu.h __entry->size, __entry->align) align 209 include/uapi/drm/exynos_drm.h __u32 align; align 62 include/uapi/drm/nouveau_drm.h __u32 align; align 288 include/uapi/linux/batadv_packet.h __u8 align[3]; align 542 include/uapi/linux/batadv_packet.h __u16 align; align 822 include/uapi/linux/btrfs.h __u8 align[7]; align 59 include/uapi/linux/sed-opal.h __u8 align[2]; /* Align to 8 byte boundary */ align 12 include/uapi/linux/tc_ematch/tc_em_cmp.h __u8 align:4; align 168 include/uapi/linux/virtio_ring.h unsigned long align) align 174 include/uapi/linux/virtio_ring.h + align-1) & ~(align - 1)); align 177 include/uapi/linux/virtio_ring.h static inline unsigned vring_size(unsigned int num, unsigned long align) align 180 include/uapi/linux/virtio_ring.h + align - 1) & ~(align - 1)) align 401 include/uapi/sound/compress_params.h __u32 align; align 193 kernel/dma/contiguous.c unsigned int align, bool no_warn) align 195 kernel/dma/contiguous.c if (align > CONFIG_CMA_ALIGNMENT) align 196 kernel/dma/contiguous.c align = CONFIG_CMA_ALIGNMENT; align 198 kernel/dma/contiguous.c return cma_alloc(dev_get_cma_area(dev), count, align, no_warn); align 244 kernel/dma/contiguous.c size_t align = get_order(size); align 245 kernel/dma/contiguous.c size_t cma_align = min_t(size_t, align, CONFIG_CMA_ALIGNMENT); align 301 kernel/dma/contiguous.c phys_addr_t align = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); align 302 kernel/dma/contiguous.c phys_addr_t mask = align - 1; align 52 kernel/dma/swiotlb.c #define OFFSET(val,align) ((unsigned long) \ align 53 kernel/dma/swiotlb.c ( (val) & ( (align) - 1))) align 807 kernel/fork.c int align = max_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN); align 813 kernel/fork.c arch_task_struct_size, align, align 1084 kernel/kexec_core.c size_t size, align; align 1097 kernel/kexec_core.c align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE); align 1105 kernel/kexec_core.c crash_notes = __alloc_percpu(size, align); align 837 kernel/kexec_file.c unsigned long align; align 848 kernel/kexec_file.c align = sechdrs[i].sh_addralign; align 850 kernel/kexec_file.c if (kbuf->buf_align < align) align 851 kernel/kexec_file.c kbuf->buf_align = align; align 852 kernel/kexec_file.c kbuf->bufsz = ALIGN(kbuf->bufsz, align); align 855 kernel/kexec_file.c if (bss_align < align) align 856 kernel/kexec_file.c bss_align = align; align 857 kernel/kexec_file.c bss_sz = ALIGN(bss_sz, align); align 916 kernel/kexec_file.c unsigned long align; align 922 kernel/kexec_file.c align = sechdrs[i].sh_addralign; align 924 kernel/kexec_file.c bss_addr = ALIGN(bss_addr, align); align 930 kernel/kexec_file.c offset = ALIGN(offset, align); align 648 kernel/module.c unsigned long align = pcpusec->sh_addralign; align 653 kernel/module.c if (align > PAGE_SIZE) { align 655 kernel/module.c mod->name, align, PAGE_SIZE); align 656 kernel/module.c align = PAGE_SIZE; align 659 kernel/module.c mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align); align 48 kernel/resource.c resource_size_t min, max, align; align 574 kernel/resource.c resource_size_t align) align 622 kernel/resource.c avail.start = ALIGN(tmp.start, constraint->align); align 628 kernel/resource.c size, constraint->align); align 721 kernel/resource.c resource_size_t max, resource_size_t align, align 736 kernel/resource.c constraint.align = align; align 394 lib/genalloc.c dma_addr_t *dma, int align) align 396 lib/genalloc.c struct genpool_data_align data = { .align = align }; align 465 lib/genalloc.c dma_addr_t *dma, int align) align 467 lib/genalloc.c struct genpool_data_align data = { .align = align }; align 671 lib/genalloc.c align_mask = ((alignment->align + (1UL << order) - 1) >> order) - 1; align 672 lib/genalloc.c align_off = (start_addr & (alignment->align - 1)) >> order; align 63 lib/percpu-refcount.c size_t align = max_t(size_t, 1 << __PERCPU_REF_FLAG_BITS, align 68 lib/percpu-refcount.c __alloc_percpu_gfp(sizeof(unsigned long), align, gfp); align 33 lib/sort.c static bool is_aligned(const void *base, size_t size, unsigned char align) align 41 lib/sort.c return (lsbits & (align - 1)) == 0; align 26 lib/strnlen_user.c unsigned long align, res = 0; align 33 lib/strnlen_user.c align = (sizeof(unsigned long) - 1) & (unsigned long)src; align 34 lib/strnlen_user.c src -= align; align 35 lib/strnlen_user.c max += align; align 38 lib/strnlen_user.c c |= aligned_byte_mask(align); align 45 lib/strnlen_user.c return res + find_zero(data) + 1 - align; align 54 lib/strnlen_user.c res -= align; align 77 lib/test_vmalloc.c unsigned long size, align, rnd; align 87 lib/test_vmalloc.c align = 1 << (rnd % 23); align 94 lib/test_vmalloc.c ptr = __vmalloc_node_range(size, align, align 114 lib/test_vmalloc.c unsigned long align; align 119 lib/test_vmalloc.c align = ((unsigned long) 1) << i; align 121 lib/test_vmalloc.c ptr = __vmalloc_node_range(PAGE_SIZE, align, align 299 lib/test_vmalloc.c size_t size, align; align 316 lib/test_vmalloc.c align = 1 << ((i % 11) + 1); align 318 lib/test_vmalloc.c pcpu[i] = __alloc_percpu(size, align); align 53 lib/usercopy.c uintptr_t align = (uintptr_t) from % sizeof(unsigned long); align 58 lib/usercopy.c from -= align; align 59 lib/usercopy.c size += align; align 65 lib/usercopy.c if (align) align 66 lib/usercopy.c val &= ~aligned_byte_mask(align); align 417 mm/cma.c struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align, align 432 mm/cma.c count, align); align 437 mm/cma.c mask = cma_bitmap_aligned_mask(cma, align); align 438 mm/cma.c offset = cma_bitmap_aligned_offset(cma, align); align 482 mm/cma.c trace_cma_alloc(pfn, page, count, align); align 131 mm/dmapool.c size_t size, size_t align, size_t boundary) align 137 mm/dmapool.c if (align == 0) align 138 mm/dmapool.c align = 1; align 139 mm/dmapool.c else if (align & (align - 1)) align 147 mm/dmapool.c if ((size % align) != 0) align 148 mm/dmapool.c size = ALIGN(size, align); align 507 mm/dmapool.c size_t size, size_t align, size_t allocation) align 515 mm/dmapool.c pool = *ptr = dma_pool_create(name, dev, size, align, allocation); align 191 mm/memblock.c phys_addr_t size, phys_addr_t align, int nid, align 201 mm/memblock.c cand = round_up(this_start, align); align 226 mm/memblock.c phys_addr_t size, phys_addr_t align, int nid, align 240 mm/memblock.c cand = round_down(this_end - size, align); align 272 mm/memblock.c phys_addr_t align, phys_addr_t start, align 300 mm/memblock.c size, align, nid, flags); align 318 mm/memblock.c return __memblock_find_range_top_down(start, end, size, align, nid, align 337 mm/memblock.c phys_addr_t align) align 343 mm/memblock.c ret = memblock_find_in_range_node(size, align, start, end, align 1344 mm/memblock.c phys_addr_t align, phys_addr_t start, align 1353 mm/memblock.c if (!align) { align 1356 mm/memblock.c align = SMP_CACHE_BYTES; align 1360 mm/memblock.c found = memblock_find_in_range_node(size, align, start, end, nid, align 1366 mm/memblock.c found = memblock_find_in_range_node(size, align, start, align 1409 mm/memblock.c phys_addr_t align, align 1413 mm/memblock.c return memblock_alloc_range_nid(size, align, start, end, NUMA_NO_NODE); align 1429 mm/memblock.c phys_addr_t __init memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid) align 1431 mm/memblock.c return memblock_alloc_range_nid(size, align, 0, align 1455 mm/memblock.c phys_addr_t size, phys_addr_t align, align 1472 mm/memblock.c alloc = memblock_alloc_range_nid(size, align, min_addr, max_addr, nid); align 1476 mm/memblock.c alloc = memblock_alloc_range_nid(size, align, 0, max_addr, nid); align 1504 mm/memblock.c phys_addr_t size, phys_addr_t align, align 1511 mm/memblock.c __func__, (u64)size, (u64)align, nid, &min_addr, align 1514 mm/memblock.c ptr = memblock_alloc_internal(size, align, align 1540 mm/memblock.c phys_addr_t size, phys_addr_t align, align 1547 mm/memblock.c __func__, (u64)size, (u64)align, nid, &min_addr, align 1549 mm/memblock.c ptr = memblock_alloc_internal(size, align, align 1804 mm/memblock.c void __init_memblock memblock_trim_memory(phys_addr_t align) align 1812 mm/memblock.c start = round_up(orig_start, align); align 1813 mm/memblock.c end = round_down(orig_end, align); align 420 mm/percpu.c int align, int *bit_off, int *bits) align 439 mm/percpu.c *bits = ALIGN(block->contig_hint_start, align) - align 459 mm/percpu.c align); align 482 mm/percpu.c #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ align 483 mm/percpu.c for (pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \ align 487 mm/percpu.c pcpu_next_fit_region((chunk), (alloc_bits), (align), &(bit_off), \ align 1078 mm/percpu.c size_t align, bool pop_only) align 1089 mm/percpu.c bit_off = ALIGN(chunk_md->contig_hint_start, align) - align 1096 mm/percpu.c pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) { align 1187 mm/percpu.c size_t align, int start) align 1190 mm/percpu.c size_t align_mask = (align) ? (align - 1) : 0; align 1586 mm/percpu.c static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved, align 1607 mm/percpu.c if (unlikely(align < PCPU_MIN_ALLOC_SIZE)) align 1608 mm/percpu.c align = PCPU_MIN_ALLOC_SIZE; align 1612 mm/percpu.c bit_align = align >> PCPU_MIN_ALLOC_SHIFT; align 1614 mm/percpu.c if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE || align 1615 mm/percpu.c !is_power_of_2(align))) { align 1617 mm/percpu.c size, align); align 1739 mm/percpu.c trace_percpu_alloc_percpu(reserved, is_atomic, size, align, align 1747 mm/percpu.c trace_percpu_alloc_percpu_fail(reserved, is_atomic, size, align); align 1751 mm/percpu.c size, align, is_atomic, err); align 1781 mm/percpu.c void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) align 1783 mm/percpu.c return pcpu_alloc(size, align, false, gfp); align 1794 mm/percpu.c void __percpu *__alloc_percpu(size_t size, size_t align) align 1796 mm/percpu.c return pcpu_alloc(size, align, false, GFP_KERNEL); align 1816 mm/percpu.c void __percpu *__alloc_reserved_percpu(size_t size, size_t align) align 1818 mm/percpu.c return pcpu_alloc(size, align, true, GFP_KERNEL); align 2950 mm/percpu.c size_t align) align 2952 mm/percpu.c return memblock_alloc_from(size, align, __pa(MAX_DMA_ADDRESS)); align 1789 mm/slab.c __kmem_cache_alias(const char *name, unsigned int size, unsigned int align, align 1794 mm/slab.c cachep = find_mergeable(size, align, flags, name, ctor); align 1949 mm/slab.c if (ralign < cachep->align) { align 1950 mm/slab.c ralign = cachep->align; align 1958 mm/slab.c cachep->align = ralign; align 1961 mm/slab.c if (cachep->colour_off < cachep->align) align 1962 mm/slab.c cachep->colour_off = cachep->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 23 mm/slab.h unsigned int align; /* Alignment as calculated */ align 167 mm/slab.h struct kmem_cache *find_mergeable(unsigned size, unsigned align, align 171 mm/slab.h __kmem_cache_alias(const char *name, unsigned int size, unsigned int align, align 179 mm/slab.h __kmem_cache_alias(const char *name, unsigned int size, unsigned int align, align 282 mm/slab_common.c unsigned int align, unsigned int size) align 297 mm/slab_common.c align = max(align, ralign); align 300 mm/slab_common.c if (align < ARCH_SLAB_MINALIGN) align 301 mm/slab_common.c align = ARCH_SLAB_MINALIGN; align 303 mm/slab_common.c return ALIGN(align, sizeof(void *)); align 332 mm/slab_common.c struct kmem_cache *find_mergeable(unsigned int size, unsigned int align, align 344 mm/slab_common.c align = calculate_alignment(flags, align, size); align 345 mm/slab_common.c size = ALIGN(size, align); align 364 mm/slab_common.c if ((s->size & ~(align - 1)) != s->size) align 370 mm/slab_common.c if (IS_ENABLED(CONFIG_SLAB) && align && align 371 mm/slab_common.c (align > s->align || s->align % align)) align 380 mm/slab_common.c unsigned int object_size, unsigned int align, align 398 mm/slab_common.c s->align = align; align 455 mm/slab_common.c unsigned int size, unsigned int align, align 495 mm/slab_common.c s = __kmem_cache_alias(name, size, align, flags, ctor); align 506 mm/slab_common.c calculate_alignment(flags, align, size), align 561 mm/slab_common.c kmem_cache_create(const char *name, unsigned int size, unsigned int align, align 564 mm/slab_common.c return kmem_cache_create_usercopy(name, size, align, flags, 0, 0, align 681 mm/slab_common.c root_cache->align, align 1047 mm/slab_common.c unsigned int align = ARCH_KMALLOC_MINALIGN; align 1057 mm/slab_common.c align = max(align, size); align 1058 mm/slab_common.c s->align = calculate_alignment(flags, align, size); align 237 mm/slob.c static void *slob_page_alloc(struct page *sp, size_t size, int align, align 254 mm/slob.c if (align) { align 256 mm/slob.c (ALIGN((unsigned long)cur + align_offset, align) align 301 mm/slob.c static void *slob_alloc(size_t size, gfp_t gfp, int align, int node, align 333 mm/slob.c b = slob_page_alloc(sp, size, align, align_offset, &page_removed_from_list); align 370 mm/slob.c b = slob_page_alloc(sp, size, align, align_offset, &_unused); align 481 mm/slob.c int align = minalign; align 488 mm/slob.c align = max(minalign, (int) size); align 493 mm/slob.c m = slob_alloc(size + minalign, gfp, align, node, minalign); align 548 mm/slob.c int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); align 549 mm/slob.c unsigned int *m = (unsigned int *)(block - align); align 550 mm/slob.c slob_free(m, *m + align); align 565 mm/slob.c int align; align 576 mm/slob.c align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); align 577 mm/slob.c m = (unsigned int *)(block - align); align 602 mm/slob.c b = slob_alloc(c->size, flags, c->align, node, 0); align 706 mm/slob.c .align = ARCH_KMALLOC_MINALIGN, 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 4290 mm/slub.c __kmem_cache_alias(const char *name, unsigned int size, unsigned int align, align 4295 mm/slub.c s = find_mergeable(size, align, flags, name, ctor); align 4951 mm/slub.c return sprintf(buf, "%u\n", s->align); align 4953 mm/slub.c SLAB_ATTR_RO(align); align 42 mm/sparse-vmemmap.c unsigned long align, align 45 mm/sparse-vmemmap.c return memblock_alloc_try_nid_raw(size, align, goal, align 86 mm/sparse-vmemmap.c + altmap->align; align 91 mm/sparse-vmemmap.c unsigned long allocated = altmap->alloc + altmap->align; align 124 mm/sparse-vmemmap.c altmap->align += nr_align; align 128 mm/sparse-vmemmap.c __func__, pfn, altmap->alloc, altmap->align, nr_pfns); align 264 mm/sparse.c unsigned long size, align; align 267 mm/sparse.c align = 1 << (INTERNODE_CACHE_SHIFT); align 268 mm/sparse.c mem_section = memblock_alloc(size, align); align 271 mm/sparse.c __func__, size, align); align 766 mm/vmalloc.c unsigned long align, unsigned long vstart) 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 790 mm/vmalloc.c unsigned long align, unsigned long vstart) align 800 mm/vmalloc.c length = size + align - 1; align 809 mm/vmalloc.c if (is_within_this_va(va, size, align, vstart)) align 829 mm/vmalloc.c if (is_within_this_va(va, size, align, vstart)) align 849 mm/vmalloc.c unsigned long align, unsigned long vstart) align 854 mm/vmalloc.c if (!is_within_this_va(va, size, align, vstart)) align 1008 mm/vmalloc.c __alloc_vmap_area(unsigned long size, unsigned long align, align 1016 mm/vmalloc.c va = find_vmap_lowest_match(size, align, vstart); 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 1051 mm/vmalloc.c unsigned long align, align 1061 mm/vmalloc.c BUG_ON(!is_power_of_2(align)); align 1111 mm/vmalloc.c addr = __alloc_vmap_area(size, align, vstart, vend); align 1122 mm/vmalloc.c BUG_ON(!IS_ALIGNED(va->va_start, align)); align 1847 mm/vmalloc.c void __init vm_area_register_early(struct vm_struct *vm, size_t align) align 1852 mm/vmalloc.c addr = ALIGN(VMALLOC_START + vm_init_off, align); align 2042 mm/vmalloc.c unsigned long align, unsigned long flags, unsigned long start, align 2054 mm/vmalloc.c align = 1ul << clamp_t(int, get_count_order_long(size), align 2064 mm/vmalloc.c va = alloc_vmap_area(size, align, start, end, node, gfp_mask); align 2395 mm/vmalloc.c static void *__vmalloc_node(unsigned long size, unsigned long align, align 2479 mm/vmalloc.c void *__vmalloc_node_range(unsigned long size, unsigned long align, align 2492 mm/vmalloc.c area = __get_vm_area_node(size, align, VM_ALLOC | VM_UNINITIALIZED | align 2548 mm/vmalloc.c static void *__vmalloc_node(unsigned long size, unsigned long align, align 2552 mm/vmalloc.c return __vmalloc_node_range(size, align, VMALLOC_START, VMALLOC_END, align 3184 mm/vmalloc.c pvm_determine_end_from_reverse(struct vmap_area **va, unsigned long align) align 3186 mm/vmalloc.c unsigned long vmalloc_end = VMALLOC_END & ~(align - 1); align 3192 mm/vmalloc.c addr = min((*va)->va_end & ~(align - 1), vmalloc_end); align 3227 mm/vmalloc.c size_t align) align 3229 mm/vmalloc.c const unsigned long vmalloc_start = ALIGN(VMALLOC_START, align); align 3230 mm/vmalloc.c const unsigned long vmalloc_end = VMALLOC_END & ~(align - 1); align 3239 mm/vmalloc.c BUG_ON(offset_in_page(align) || !is_power_of_2(align)); align 3245 mm/vmalloc.c BUG_ON(!IS_ALIGNED(offsets[area], align)); align 3246 mm/vmalloc.c BUG_ON(!IS_ALIGNED(sizes[area], align)); align 3286 mm/vmalloc.c base = pvm_determine_end_from_reverse(&va, align) - end; align 3307 mm/vmalloc.c base = pvm_determine_end_from_reverse(&va, align) - end; align 3317 mm/vmalloc.c base = pvm_determine_end_from_reverse(&va, align) - end; align 616 net/batman-adv/tvlv.c unicast_tvlv_packet->align = 0; align 957 net/ipv4/esp4.c u32 align; align 994 net/ipv4/esp4.c align = ALIGN(crypto_aead_blocksize(aead), 4); align 995 net/ipv4/esp4.c x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); align 852 net/ipv6/esp6.c u32 align; align 886 net/ipv6/esp6.c align = ALIGN(crypto_aead_blocksize(aead), 4); align 887 net/ipv6/esp6.c x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); align 231 net/mac80211/rx.c if (WARN_ON(rtap->align == 0)) align 232 net/mac80211/rx.c rtap->align = 1; align 233 net/mac80211/rx.c len = ALIGN(len, rtap->align); align 695 net/mac80211/rx.c while ((pos - (u8 *)rthdr) & (rtap.align - 1)) align 2529 net/mac80211/rx.c int align; align 2531 net/mac80211/rx.c align = (unsigned long)(skb->data + sizeof(struct ethhdr)) & 3; align 2532 net/mac80211/rx.c if (align) { align 2539 net/mac80211/rx.c skb->data -= align; align 338 net/netfilter/ipset/ip_set_core.c .align = __alignof__(struct ip_set_counter), align 343 net/netfilter/ipset/ip_set_core.c .align = __alignof__(unsigned long), align 349 net/netfilter/ipset/ip_set_core.c .align = __alignof__(struct ip_set_skbinfo), align 355 net/netfilter/ipset/ip_set_core.c .align = __alignof__(struct ip_set_comment), align 371 net/netfilter/ipset/ip_set_core.c size_t align) align 380 net/netfilter/ipset/ip_set_core.c if (!align) align 381 net/netfilter/ipset/ip_set_core.c align = 1; 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 27 net/netfilter/nf_conntrack_acct.c .align = __alignof__(struct nf_conn_acct), align 339 net/netfilter/nf_conntrack_ecache.c .align = __alignof__(struct nf_conntrack_ecache), align 66 net/netfilter/nf_conntrack_extend.c newoff = ALIGN(oldlen, t->align); align 554 net/netfilter/nf_conntrack_helper.c .align = __alignof__(struct nf_conn_help), align 84 net/netfilter/nf_conntrack_labels.c .align = __alignof__(struct nf_conn_labels), align 238 net/netfilter/nf_conntrack_seqadj.c .align = __alignof__(struct nf_conn_seqadj), align 140 net/netfilter/nf_conntrack_timeout.c .align = __alignof__(struct nf_conn_timeout), align 24 net/netfilter/nf_conntrack_timestamp.c .align = __alignof__(struct nf_conn_tstamp), align 853 net/netfilter/nf_nat_core.c .align = __alignof__(struct nf_conn_nat), align 236 net/netfilter/nf_synproxy_core.c .align = __alignof__(struct nf_conn_synproxy), align 3927 net/netfilter/nf_tables_api.c .align = __alignof__(u32), align 3930 net/netfilter/nf_tables_api.c .align = __alignof__(u32), align 3933 net/netfilter/nf_tables_api.c .align = __alignof__(struct nft_expr), align 3937 net/netfilter/nf_tables_api.c .align = __alignof__(struct nft_object *), align 3941 net/netfilter/nf_tables_api.c .align = __alignof__(u8), align 3945 net/netfilter/nf_tables_api.c .align = __alignof__(u64), align 3949 net/netfilter/nf_tables_api.c .align = __alignof__(u64), align 3953 net/netfilter/nf_tables_api.c .align = __alignof__(struct nft_userdata), align 28 net/sched/em_cmp.c if (!tcf_valid_offset(skb, ptr, cmp->align)) align 31 net/sched/em_cmp.c switch (cmp->align) { align 2060 net/sunrpc/auth_gss/auth_gss.c auth->au_ralign = auth->au_verfsize + 2 + ctx->gc_gss_ctx->align; align 266 net/sunrpc/auth_gss/gss_krb5_wrap.c unsigned int *align) align 391 net/sunrpc/auth_gss/gss_krb5_wrap.c *align = *slack; align 499 net/sunrpc/auth_gss/gss_krb5_wrap.c unsigned int *align) align 592 net/sunrpc/auth_gss/gss_krb5_wrap.c *align = XDR_QUADLEN(GSS_KRB5_TOK_HDR_LEN + headskip); align 593 net/sunrpc/auth_gss/gss_krb5_wrap.c *slack = *align + XDR_QUADLEN(ec + GSS_KRB5_TOK_HDR_LEN + tailskip); align 629 net/sunrpc/auth_gss/gss_krb5_wrap.c &gctx->slack, &gctx->align); align 633 net/sunrpc/auth_gss/gss_krb5_wrap.c &gctx->slack, &gctx->align); align 443 net/tipc/msg.c start = align(bsz); align 503 net/tipc/msg.c *pos += align(imsz); align 26 net/wireless/radiotap.c [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, }, align 27 net/wireless/radiotap.c [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, }, align 28 net/wireless/radiotap.c [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, }, align 29 net/wireless/radiotap.c [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, }, align 30 net/wireless/radiotap.c [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, }, align 31 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, }, align 32 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, }, align 33 net/wireless/radiotap.c [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, }, align 34 net/wireless/radiotap.c [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, }, align 35 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align = 2, .size = 2, }, align 36 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DBM_TX_POWER] = { .align = 1, .size = 1, }, align 37 net/wireless/radiotap.c [IEEE80211_RADIOTAP_ANTENNA] = { .align = 1, .size = 1, }, align 38 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DB_ANTSIGNAL] = { .align = 1, .size = 1, }, align 39 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DB_ANTNOISE] = { .align = 1, .size = 1, }, align 40 net/wireless/radiotap.c [IEEE80211_RADIOTAP_RX_FLAGS] = { .align = 2, .size = 2, }, align 41 net/wireless/radiotap.c [IEEE80211_RADIOTAP_TX_FLAGS] = { .align = 2, .size = 2, }, align 42 net/wireless/radiotap.c [IEEE80211_RADIOTAP_RTS_RETRIES] = { .align = 1, .size = 1, }, align 43 net/wireless/radiotap.c [IEEE80211_RADIOTAP_DATA_RETRIES] = { .align = 1, .size = 1, }, align 44 net/wireless/radiotap.c [IEEE80211_RADIOTAP_MCS] = { .align = 1, .size = 3, }, align 45 net/wireless/radiotap.c [IEEE80211_RADIOTAP_AMPDU_STATUS] = { .align = 4, .size = 8, }, align 46 net/wireless/radiotap.c [IEEE80211_RADIOTAP_VHT] = { .align = 2, .size = 12, }, align 217 net/wireless/radiotap.c int pad, align, size, subns; align 232 net/wireless/radiotap.c align = 1; align 236 net/wireless/radiotap.c align = 2; align 244 net/wireless/radiotap.c align = 0; align 246 net/wireless/radiotap.c align = iterator->current_namespace->align_size[iterator->_arg_index].align; align 249 net/wireless/radiotap.c if (!align) { align 272 net/wireless/radiotap.c (unsigned long)iterator->_rtheader) & (align - 1); align 275 net/wireless/radiotap.c iterator->_arg += align - pad; align 404 samples/mic/mpssd/mpssd.c static inline unsigned _vring_size(unsigned int num, unsigned long align) align 407 samples/mic/mpssd/mpssd.c + align - 1) & ~(align - 1)) align 221 scripts/dtc/data.c struct data data_append_align(struct data d, int align) align 223 scripts/dtc/data.c int newlen = ALIGN(d.len, align); align 117 scripts/dtc/dtc.h struct data data_append_align(struct data d, int align); align 38 scripts/dtc/flattree.c void (*align)(void *, int); align 95 scripts/dtc/flattree.c .align = bin_emit_align, align 213 scripts/dtc/flattree.c .align = asm_emit_align, align 253 scripts/dtc/flattree.c emit->align(etarget, sizeof(cell_t)); align 268 scripts/dtc/flattree.c emit->align(etarget, 8); align 271 scripts/dtc/flattree.c emit->align(etarget, sizeof(cell_t)); align 280 scripts/dtc/flattree.c emit->align(etarget, 8); align 283 scripts/dtc/flattree.c emit->align(etarget, sizeof(cell_t)); align 597 scripts/dtc/flattree.c static void flat_realign(struct inbuf *inb, int align) align 601 scripts/dtc/flattree.c inb->ptr = inb->base + ALIGN(off, align); align 976 scripts/gcc-plugins/gcc-common.h #define SET_DECL_ALIGN(decl, align) DECL_ALIGN(decl) = (align) align 837 sound/drivers/vx/vx_pcm.c pipe->align = 2; /* 16bit word */ align 839 sound/drivers/vx/vx_pcm.c pipe->align = 4; /* 32bit word */ align 1024 sound/drivers/vx/vx_pcm.c if ((pipe->hw_ptr % pipe->align) == 0) align 1033 sound/drivers/vx/vx_pcm.c int align = pipe->align * 3; align 1034 sound/drivers/vx/vx_pcm.c space = (count / align) * align; align 123 sound/isa/gus/gus_mem.c unsigned int size, int w_16, int align) align 131 sound/isa/gus/gus_mem.c if (w_16 && align < 2) align 132 sound/isa/gus/gus_mem.c align = 2; align 152 sound/isa/gus/gus_mem.c ptr1 = ALIGN(pblock->ptr + pblock->size, align); align 174 sound/isa/gus/gus_mem.c char *name, int size, int w_16, int align, align 194 sound/isa/gus/gus_mem.c if (snd_gf1_mem_find(alloc, &block, size, w_16, align) < 0) { align 79 sound/soc/codecs/rt5677-spi.c static u8 rt5677_spi_select_cmd(bool read, u32 align, u32 remain, u32 *len) align 83 sound/soc/codecs/rt5677-spi.c if (align == 4 || remain <= 4) { align 777 tools/lib/bpf/btf_dump.c int i, align = 1; align 780 tools/lib/bpf/btf_dump.c align = max(align, btf_align_of(btf, m->type)); align 782 tools/lib/bpf/btf_dump.c return align; align 794 tools/lib/bpf/btf_dump.c int align, i, bit_sz; align 797 tools/lib/bpf/btf_dump.c align = btf_align_of(btf, id); align 799 tools/lib/bpf/btf_dump.c if (t->size % align) align 806 tools/lib/bpf/btf_dump.c align = btf_align_of(btf, m->type); align 808 tools/lib/bpf/btf_dump.c if (bit_sz == 0 && m->offset % (8 * align) != 0) align 826 tools/lib/bpf/btf_dump.c int align, int lvl) align 834 tools/lib/bpf/btf_dump.c if (m_bit_sz == 0 && off_diff < align * 8) align 875 tools/lib/bpf/btf_dump.c int align, i, packed, off = 0; align 892 tools/lib/bpf/btf_dump.c align = packed ? 1 : btf_align_of(d->btf, m->type); align 894 tools/lib/bpf/btf_dump.c btf_dump_emit_bit_padding(d, off, m_off, m_sz, align, lvl + 1); align 910 tools/lib/bpf/btf_dump.c align = packed ? 1 : btf_align_of(d->btf, id); align 911 tools/lib/bpf/btf_dump.c btf_dump_emit_bit_padding(d, off, t->size * 8, 0, align, align 21 tools/testing/nvdimm/dax-dev.c if (dev_dax->region->align > PAGE_SIZE) align 1467 tools/testing/nvdimm/test/nfit.c .align = SZ_128M, align 1247 tools/testing/selftests/bpf/test_sock_addr.c struct cmsghdr align; align 1251 tools/testing/selftests/bpf/test_sock_addr.c struct cmsghdr align; align 657 tools/testing/selftests/kvm/lib/kvm_util.c region->host_mem = align(region->mmap_start, alignment); align 150 tools/testing/selftests/powerpc/mm/subpage_prot.c unsigned long align; align 171 tools/testing/selftests/powerpc/mm/subpage_prot.c align = (unsigned long)mallocblock; align 172 tools/testing/selftests/powerpc/mm/subpage_prot.c if (align & 0xffff) align 173 tools/testing/selftests/powerpc/mm/subpage_prot.c align = (align | 0xffff) + 1; align 175 tools/testing/selftests/powerpc/mm/subpage_prot.c mallocblock = (void *)align; align 36 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 43 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 3; \ align 187 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 195 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 203 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 211 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 219 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 230 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .align 2; \ align 201 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h .align 2 ; \ align 207 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h .align 2 ; \ align 223 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h .align 2 ; \ align 17 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h static inline void *__alloc_percpu(size_t size, size_t align) align 32 tools/vm/slabinfo.c int aliases, align, cache_dma, cpu_slabs, destroy_by_rcu; align 561 tools/vm/slabinfo.c s->align, s->objs_per_slab, onoff(s->trace), align 1215 tools/vm/slabinfo.c slab->align = get_obj("align"); align 1941 virt/kvm/arm/vgic/vgic-its.c int align; align 1943 virt/kvm/arm/vgic/vgic-its.c align = (offset < GITS_TYPER) || (offset >= GITS_PIDR4) ? 0x3 : 0x7; align 1945 virt/kvm/arm/vgic/vgic-its.c if (offset & align) align 1965 virt/kvm/arm/vgic/vgic-its.c int align, ret = 0; align 1978 virt/kvm/arm/vgic/vgic-its.c align = 0x3; align 1980 virt/kvm/arm/vgic/vgic-its.c align = 0x7; align 1982 virt/kvm/arm/vgic/vgic-its.c if (offset & align)