IS_ALIGNED 829 arch/arc/mm/tlb.c BUILD_BUG_ON(!IS_ALIGNED((CONFIG_ARC_KVADDR_SIZE << 20), PMD_SIZE)); IS_ALIGNED 835 arch/arc/mm/tlb.c BUILD_BUG_ON(!IS_ALIGNED(STACK_TOP, PMD_SIZE)); IS_ALIGNED 400 arch/arm/mm/init.c if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) IS_ALIGNED 606 arch/arm/mm/init.c if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || IS_ALIGNED 607 arch/arm/mm/init.c !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { IS_ALIGNED 1186 arch/arm/mm/mmu.c if (!IS_ALIGNED(reg->base, PMD_SIZE)) { IS_ALIGNED 1229 arch/arm/mm/mmu.c if (!IS_ALIGNED(block_start, PMD_SIZE)) IS_ALIGNED 1231 arch/arm/mm/mmu.c else if (!IS_ALIGNED(block_end, PMD_SIZE)) IS_ALIGNED 17 arch/arm64/kernel/io.c while (count && !IS_ALIGNED((unsigned long)from, 8)) { IS_ALIGNED 45 arch/arm64/kernel/io.c while (count && !IS_ALIGNED((unsigned long)to, 8)) { IS_ALIGNED 79 arch/arm64/kernel/io.c while (count && !IS_ALIGNED((unsigned long)dst, 8)) { IS_ALIGNED 42 arch/arm64/kernel/probes/uprobes.c else if (!IS_ALIGNED(addr, AARCH64_INSN_SIZE)) IS_ALIGNED 338 arch/arm64/kernel/signal.c if (!IS_ALIGNED((unsigned long)base, 16)) IS_ALIGNED 354 arch/arm64/kernel/signal.c if (!IS_ALIGNED(offset, 16)) IS_ALIGNED 437 arch/arm64/kernel/signal.c if (!IS_ALIGNED((unsigned long)base, 16)) IS_ALIGNED 440 arch/arm64/kernel/signal.c if (!IS_ALIGNED(extra_size, 16)) IS_ALIGNED 93 arch/arm64/kvm/guest.c if (!IS_ALIGNED(off, size / sizeof(__u32))) IS_ALIGNED 103 arch/arm64/mm/init.c if (!IS_ALIGNED(crash_base, SZ_2M)) { IS_ALIGNED 523 arch/arm64/mm/init.c if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) IS_ALIGNED 159 arch/arm64/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS), PGDIR_SIZE)); IS_ALIGNED 160 arch/arm64/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS_MIN), PGDIR_SIZE)); IS_ALIGNED 161 arch/arm64/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); IS_ALIGNED 271 arch/powerpc/mm/book3s64/radix_pgtable.c if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && IS_ALIGNED 275 arch/powerpc/mm/book3s64/radix_pgtable.c } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && IS_ALIGNED 252 arch/powerpc/perf/hv-24x7.c if (!IS_ALIGNED((uintptr_t)dl_, 2)) IS_ALIGNED 267 arch/powerpc/perf/hv-24x7.c if (!IS_ALIGNED((uintptr_t)ldl_, 2)) IS_ALIGNED 291 arch/powerpc/perf/hv-24x7.c WARN_ON(!IS_ALIGNED(phys_4096, 4096)); IS_ALIGNED 189 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c if (lpbfifo.req->size == 0 || !IS_ALIGNED(lpbfifo.req->size, 4)) IS_ALIGNED 198 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c if (IS_ALIGNED(lpbfifo.req->dev_phys_addr, min(bpt, 0x8u)) && IS_ALIGNED 199 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c IS_ALIGNED(lpbfifo.req->size, bpt)) { IS_ALIGNED 196 arch/powerpc/sysdev/fsl_rio.c if (offset > (0x1000000 - len) || !IS_ALIGNED(offset, len)) IS_ALIGNED 261 arch/powerpc/sysdev/fsl_rio.c if (offset > (0x1000000 - len) || !IS_ALIGNED(offset, len)) IS_ALIGNED 108 arch/s390/mm/kasan_init.c IS_ALIGNED(address, PGDIR_SIZE) && IS_ALIGNED 122 arch/s390/mm/kasan_init.c IS_ALIGNED(address, P4D_SIZE) && IS_ALIGNED 136 arch/s390/mm/kasan_init.c IS_ALIGNED(address, PUD_SIZE) && IS_ALIGNED 150 arch/s390/mm/kasan_init.c IS_ALIGNED(address, PMD_SIZE) && IS_ALIGNED 270 arch/s390/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); IS_ALIGNED 271 arch/s390/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); IS_ALIGNED 278 arch/s390/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PUD_SIZE)); IS_ALIGNED 279 arch/s390/mm/kasan_init.c BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PUD_SIZE)); IS_ALIGNED 397 arch/x86/kernel/apic/x2apic_uv_x.c if (IS_ALIGNED(base, size)) IS_ALIGNED 2684 arch/x86/kvm/lapic.c if (!IS_ALIGNED(addr, 4)) IS_ALIGNED 6760 arch/x86/kvm/svm.c if (!IS_ALIGNED(dst_paddr, 16) || IS_ALIGNED 6761 arch/x86/kvm/svm.c !IS_ALIGNED(paddr, 16) || IS_ALIGNED 6762 arch/x86/kvm/svm.c !IS_ALIGNED(size, 16)) { IS_ALIGNED 6799 arch/x86/kvm/svm.c if (!IS_ALIGNED(vaddr, 16)) { IS_ALIGNED 6819 arch/x86/kvm/svm.c if (!IS_ALIGNED(dst_vaddr, 16) || !IS_ALIGNED(size, 16)) { IS_ALIGNED 769 arch/x86/kvm/vmx/nested.c if (!IS_ALIGNED(addr, 16) || addr >> maxphyaddr || IS_ALIGNED 121 arch/x86/lib/usercopy_64.c if (!IS_ALIGNED(dest, 4) || size != 4) IS_ALIGNED 124 arch/x86/lib/usercopy_64.c if (!IS_ALIGNED(dest, 8)) { IS_ALIGNED 130 arch/x86/lib/usercopy_64.c if (size > flushed && !IS_ALIGNED(size - flushed, 8)) IS_ALIGNED 143 arch/x86/lib/usercopy_64.c if (!IS_ALIGNED(dest, 8)) { IS_ALIGNED 1045 arch/x86/mm/init_64.c if (IS_ALIGNED(addr, PMD_SIZE) && IS_ALIGNED 1046 arch/x86/mm/init_64.c IS_ALIGNED(next, PMD_SIZE)) { IS_ALIGNED 1101 arch/x86/mm/init_64.c if (IS_ALIGNED(addr, PUD_SIZE) && IS_ALIGNED 1102 arch/x86/mm/init_64.c IS_ALIGNED(next, PUD_SIZE)) { IS_ALIGNED 1423 arch/x86/mm/init_64.c if (IS_ALIGNED(boot_mem_end, bz)) IS_ALIGNED 49 arch/x86/mm/kasan_init_64.c IS_ALIGNED(addr, PMD_SIZE)) { IS_ALIGNED 86 arch/x86/mm/kasan_init_64.c IS_ALIGNED(addr, PUD_SIZE)) { IS_ALIGNED 25 crypto/aegis.h #define AEGIS_ALIGNED(p) IS_ALIGNED((uintptr_t)p, AEGIS_BLOCK_ALIGN) IS_ALIGNED 965 crypto/algapi.c IS_ALIGNED((unsigned long)b, __alignof__(*b))) IS_ALIGNED 85 crypto/seqiv.c if (unlikely(!IS_ALIGNED((unsigned long)info, IS_ALIGNED 2658 drivers/android/binder.c if (!IS_ALIGNED((unsigned long)fda_offset, sizeof(u32))) { IS_ALIGNED 3199 drivers/android/binder.c if (!IS_ALIGNED(tr->offsets_size, sizeof(binder_size_t))) { IS_ALIGNED 3207 drivers/android/binder.c if (!IS_ALIGNED(extra_buffers_size, sizeof(u64))) { IS_ALIGNED 1049 drivers/android/binder_alloc.c IS_ALIGNED(offset, sizeof(u32)) && IS_ALIGNED 700 drivers/base/memory.c if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || IS_ALIGNED 701 drivers/base/memory.c !IS_ALIGNED(size, memory_block_size_bytes()))) IS_ALIGNED 736 drivers/base/memory.c if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || IS_ALIGNED 737 drivers/base/memory.c !IS_ALIGNED(size, memory_block_size_bytes()))) IS_ALIGNED 1808 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 1835 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 1959 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2069 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2295 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2446 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2568 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2604 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2700 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 2806 drivers/base/regmap/regmap.c if (!IS_ALIGNED(reg, map->reg_stride)) IS_ALIGNED 836 drivers/block/drbd/drbd_actlog.c && IS_ALIGNED(size, 512); IS_ALIGNED 30 drivers/block/drbd/drbd_interval.c BUG_ON(!IS_ALIGNED(this->size, 512)); IS_ALIGNED 118 drivers/block/drbd/drbd_interval.c BUG_ON(!IS_ALIGNED(size, 512)); IS_ALIGNED 563 drivers/block/drbd/drbd_main.c BUILD_BUG_ON(!IS_ALIGNED(sizeof(struct p_header100), 8)); IS_ALIGNED 568 drivers/block/drbd/drbd_main.c BUILD_BUG_ON(!IS_ALIGNED(sizeof(struct p_header80), 8)); IS_ALIGNED 1911 drivers/block/drbd/drbd_receiver.c if (!expect(IS_ALIGNED(ds, 512))) IS_ALIGNED 2856 drivers/block/drbd/drbd_receiver.c if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_BIO_SIZE) { IS_ALIGNED 1627 drivers/block/drbd/drbd_req.c D_ASSERT(device, IS_ALIGNED(bio->bi_iter.bi_size, 512)); IS_ALIGNED 204 drivers/block/zram/zram_drv.c WARN_ON_ONCE(!IS_ALIGNED(len, sizeof(unsigned long))); IS_ALIGNED 74 drivers/bluetooth/btrsi.c if (!IS_ALIGNED((unsigned long)skb->data, RSI_DMA_ALIGN)) { IS_ALIGNED 77 drivers/crypto/amcc/crypto4xx_alg.c if (check_blocksize && !IS_ALIGNED(req->cryptlen, AES_BLOCK_SIZE)) IS_ALIGNED 644 drivers/crypto/atmel-aes.c if (!IS_ALIGNED(len, dd->ctx->block_size)) IS_ALIGNED 648 drivers/crypto/atmel-aes.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 652 drivers/crypto/atmel-aes.c if (!IS_ALIGNED(len, dd->ctx->block_size)) IS_ALIGNED 661 drivers/crypto/atmel-aes.c if (!IS_ALIGNED(sg->length, dd->ctx->block_size)) IS_ALIGNED 777 drivers/crypto/atmel-sha.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 780 drivers/crypto/atmel-sha.c if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->block_size)) IS_ALIGNED 1465 drivers/crypto/atmel-sha.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 1480 drivers/crypto/atmel-sha.c if (!IS_ALIGNED(sg->length, bs)) IS_ALIGNED 1660 drivers/crypto/atmel-sha.c if (!(IS_ALIGNED(datalen, ctx->block_size) || auto_padding)) IS_ALIGNED 2403 drivers/crypto/atmel-sha.c if (unlikely(!IS_ALIGNED(assoclen, sizeof(u32)))) IS_ALIGNED 513 drivers/crypto/atmel-tdes.c in = IS_ALIGNED((u32)dd->in_sg->offset, sizeof(u32)) && IS_ALIGNED 514 drivers/crypto/atmel-tdes.c IS_ALIGNED(dd->in_sg->length, dd->ctx->block_size); IS_ALIGNED 515 drivers/crypto/atmel-tdes.c out = IS_ALIGNED((u32)dd->out_sg->offset, sizeof(u32)) && IS_ALIGNED 516 drivers/crypto/atmel-tdes.c IS_ALIGNED(dd->out_sg->length, dd->ctx->block_size); IS_ALIGNED 675 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB8_BLOCK_SIZE)) { IS_ALIGNED 681 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB16_BLOCK_SIZE)) { IS_ALIGNED 687 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB32_BLOCK_SIZE)) { IS_ALIGNED 693 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { IS_ALIGNED 839 drivers/crypto/axis/artpec6_crypto.c if (!IS_ALIGNED(addr, ARTPEC_CACHE_LINE_MAX)) { IS_ALIGNED 1940 drivers/crypto/axis/artpec6_crypto.c if (!IS_ALIGNED(areq->assoclen, 16)) { IS_ALIGNED 1957 drivers/crypto/axis/artpec6_crypto.c if (!IS_ALIGNED(input_length, 16)) { IS_ALIGNED 1991 drivers/crypto/axis/artpec6_crypto.c if (!IS_ALIGNED(output_len, 16)) { IS_ALIGNED 1340 drivers/crypto/ccree/cc_aead.c !IS_ALIGNED(cipherlen, AES_BLOCK_SIZE)) IS_ALIGNED 1350 drivers/crypto/ccree/cc_aead.c if (!IS_ALIGNED(assoclen, sizeof(u32))) IS_ALIGNED 1354 drivers/crypto/ccree/cc_aead.c !IS_ALIGNED(cipherlen, sizeof(u32))) IS_ALIGNED 1359 drivers/crypto/ccree/cc_aead.c if (!IS_ALIGNED(cipherlen, DES_BLOCK_SIZE)) IS_ALIGNED 1361 drivers/crypto/ccree/cc_aead.c if (!IS_ALIGNED(assoclen, DES_BLOCK_SIZE)) IS_ALIGNED 130 drivers/crypto/ccree/cc_cipher.c if (IS_ALIGNED(size, AES_BLOCK_SIZE)) IS_ALIGNED 138 drivers/crypto/ccree/cc_cipher.c if (IS_ALIGNED(size, DES_BLOCK_SIZE)) IS_ALIGNED 147 drivers/crypto/ccree/cc_cipher.c if (IS_ALIGNED(size, SM4_BLOCK_SIZE)) IS_ALIGNED 1454 drivers/crypto/hifn_795x.c if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || IS_ALIGNED 1455 drivers/crypto/hifn_795x.c !IS_ALIGNED(dst->length, HIFN_D_DST_DALIGN) || IS_ALIGNED 1540 drivers/crypto/hifn_795x.c if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || IS_ALIGNED 1541 drivers/crypto/hifn_795x.c !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) IS_ALIGNED 418 drivers/crypto/marvell/cipher.c if (!IS_ALIGNED(req->cryptlen, blksize)) IS_ALIGNED 196 drivers/crypto/mediatek/mtk-aes.c if (!IS_ALIGNED(len, AES_BLOCK_SIZE)) IS_ALIGNED 200 drivers/crypto/mediatek/mtk-aes.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 204 drivers/crypto/mediatek/mtk-aes.c if (!IS_ALIGNED(len, AES_BLOCK_SIZE)) IS_ALIGNED 213 drivers/crypto/mediatek/mtk-aes.c if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE)) IS_ALIGNED 527 drivers/crypto/mediatek/mtk-sha.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 530 drivers/crypto/mediatek/mtk-sha.c if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->bs)) IS_ALIGNED 121 drivers/crypto/nx/nx-842-powernv.c if (!IS_ALIGNED(pa, DDE_BUFFER_ALIGN)) { IS_ALIGNED 31 drivers/crypto/nx/nx-842-pseries.c if (!IS_ALIGNED(buf, nx842_pseries_constraints.alignment)) { IS_ALIGNED 94 drivers/crypto/omap-crypto.c if (!IS_ALIGNED(total, bs)) IS_ALIGNED 100 drivers/crypto/omap-crypto.c if (!IS_ALIGNED(sg->offset, 4)) IS_ALIGNED 102 drivers/crypto/omap-crypto.c if (!IS_ALIGNED(sg->length, bs)) IS_ALIGNED 633 drivers/crypto/omap-des.c if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { IS_ALIGNED 768 drivers/crypto/omap-sham.c if (!IS_ALIGNED(offset + sg_tmp->offset, 4)) { IS_ALIGNED 773 drivers/crypto/omap-sham.c if (!IS_ALIGNED(sg_tmp->length - offset, bs)) { IS_ALIGNED 829 drivers/crypto/omap-sham.c if (nbytes && (!IS_ALIGNED(rctx->bufcnt, bs))) { IS_ALIGNED 850 drivers/crypto/omap-sham.c if (!IS_ALIGNED(xmit_len, bs)) { IS_ALIGNED 73 drivers/crypto/rockchip/rk3288_crypto.c in = IS_ALIGNED((uint32_t)sg_src->offset, 4) && IS_ALIGNED 74 drivers/crypto/rockchip/rk3288_crypto.c IS_ALIGNED((uint32_t)sg_src->length, align_mask); IS_ALIGNED 77 drivers/crypto/rockchip/rk3288_crypto.c out = IS_ALIGNED((uint32_t)sg_dst->offset, 4) && IS_ALIGNED 78 drivers/crypto/rockchip/rk3288_crypto.c IS_ALIGNED((uint32_t)sg_dst->length, align_mask); IS_ALIGNED 24 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c if (!IS_ALIGNED(req->nbytes, dev->align_size)) IS_ALIGNED 1163 drivers/crypto/s5p-sss.c if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) { IS_ALIGNED 1230 drivers/crypto/s5p-sss.c if (nbytes && (!IS_ALIGNED(ctx->bufcnt, BUFLEN))) { IS_ALIGNED 1253 drivers/crypto/s5p-sss.c if (IS_ALIGNED(xmit_len, BUFLEN)) IS_ALIGNED 1864 drivers/crypto/s5p-sss.c if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE)) IS_ALIGNED 2062 drivers/crypto/s5p-sss.c if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE) && IS_ALIGNED 642 drivers/crypto/sahara.c if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { IS_ALIGNED 293 drivers/crypto/stm32/stm32-cryp.c if (!IS_ALIGNED(total, align)) IS_ALIGNED 297 drivers/crypto/stm32/stm32-cryp.c if (!IS_ALIGNED(sg->offset, sizeof(u32))) IS_ALIGNED 300 drivers/crypto/stm32/stm32-cryp.c if (!IS_ALIGNED(sg->length, align)) IS_ALIGNED 579 drivers/crypto/stm32/stm32-hash.c if (!(IS_ALIGNED(sg->length, sizeof(u32)))) { IS_ALIGNED 667 drivers/crypto/stm32/stm32-hash.c if ((!IS_ALIGNED(sg->length, sizeof(u32))) && IS_ALIGNED 531 drivers/crypto/ux500/cryp/cryp_core.c if (unlikely(!IS_ALIGNED((unsigned long)sg, 4))) { IS_ALIGNED 766 drivers/crypto/ux500/cryp/cryp_core.c if (unlikely(!IS_ALIGNED((unsigned long)indata, 4))) { IS_ALIGNED 508 drivers/crypto/ux500/hash/hash_core.c if ((aligned && !IS_ALIGNED(sg->offset, HASH_DMA_ALIGN_SIZE)) || IS_ALIGNED 509 drivers/crypto/ux500/hash/hash_core.c (!IS_ALIGNED(sg->length, HASH_DMA_ALIGN_SIZE) && size > 0)) IS_ALIGNED 809 drivers/crypto/ux500/hash/hash_core.c if (IS_ALIGNED((unsigned long)data_buffer, 4) && IS_ALIGNED 244 drivers/dax/bus.c if (!IS_ALIGNED(res->start, align) IS_ALIGNED 245 drivers/dax/bus.c || !IS_ALIGNED(resource_size(res), align)) IS_ALIGNED 285 drivers/dax/device.c if (!IS_ALIGNED(addr, dax_region->align)) IS_ALIGNED 140 drivers/dma-buf/udmabuf.c if (!IS_ALIGNED(list[i].offset, PAGE_SIZE)) IS_ALIGNED 142 drivers/dma-buf/udmabuf.c if (!IS_ALIGNED(list[i].size, PAGE_SIZE)) IS_ALIGNED 135 drivers/dma/amba-pl08x.c #define IS_BUS_ALIGNED(bus) IS_ALIGNED((bus)->addr, (bus)->buswidth) IS_ALIGNED 695 drivers/dma/at_xdmac.c fixed_dwidth = IS_ALIGNED(len, 1 << dwidth) IS_ALIGNED 229 drivers/dma/img-mdc-dma.c if (IS_ALIGNED(dst, mdma->bus_width) && IS_ALIGNED 230 drivers/dma/img-mdc-dma.c IS_ALIGNED(src, mdma->bus_width)) IS_ALIGNED 632 drivers/dma/mpc512x_dma.c if (IS_ALIGNED(src | dst | len, 32)) { IS_ALIGNED 637 drivers/dma/mpc512x_dma.c } else if (!mdma->is_mpc8308 && IS_ALIGNED(src | dst | len, 16)) { IS_ALIGNED 643 drivers/dma/mpc512x_dma.c } else if (IS_ALIGNED(src | dst | len, 4)) { IS_ALIGNED 648 drivers/dma/mpc512x_dma.c } else if (IS_ALIGNED(src | dst | len, 2)) { IS_ALIGNED 745 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(sg_dma_address(sg), mchan->dwidth)) IS_ALIGNED 754 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(sg_dma_address(sg), mchan->swidth)) IS_ALIGNED 766 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(tcd->nbytes, mchan->swidth)) IS_ALIGNED 775 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(len, tcd->nbytes)) IS_ALIGNED 849 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(cfg->src_addr, cfg->src_addr_width) || IS_ALIGNED 850 drivers/dma/mpc512x_dma.c !IS_ALIGNED(cfg->dst_addr, cfg->dst_addr_width)) { IS_ALIGNED 950 drivers/dma/pxa_dma.c if (!IS_ALIGNED(dma_src, 1 << PDMA_ALIGNMENT) || IS_ALIGNED 951 drivers/dma/pxa_dma.c !IS_ALIGNED(dma_dst, 1 << PDMA_ALIGNMENT)) IS_ALIGNED 1041 drivers/dma/pxa_dma.c !IS_ALIGNED(period_len, 1 << PDMA_ALIGNMENT)) IS_ALIGNED 756 drivers/dma/qcom/hidma_ll.c if (!IS_ALIGNED(lldev->tre_dma, HIDMA_TRE_SIZE)) { IS_ALIGNED 774 drivers/dma/qcom/hidma_ll.c if (!IS_ALIGNED(lldev->evre_dma, HIDMA_EVRE_SIZE)) { IS_ALIGNED 889 drivers/dma/sprd-dma.c if (IS_ALIGNED(len, 8)) { IS_ALIGNED 892 drivers/dma/sprd-dma.c } else if (IS_ALIGNED(len, 4)) { IS_ALIGNED 895 drivers/dma/sprd-dma.c } else if (IS_ALIGNED(len, 2)) { IS_ALIGNED 1007 drivers/dma/ste_dma40.c if (!IS_ALIGNED(size, max_w)) IS_ALIGNED 152 drivers/dma/ste_dma40_ll.c if (!IS_ALIGNED(data, data_width)) IS_ALIGNED 626 drivers/dma/tegra210-adma.c if (!IS_ALIGNED(buf_addr, 4)) { IS_ALIGNED 390 drivers/firmware/efi/libstub/arm-stub.c if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) IS_ALIGNED 275 drivers/firmware/efi/memmap.c if (!IS_ALIGNED(m_start, EFI_PAGE_SIZE) || IS_ALIGNED 276 drivers/firmware/efi/memmap.c !IS_ALIGNED(m_end + 1, EFI_PAGE_SIZE)) { IS_ALIGNED 551 drivers/firmware/tegra/ivc.c if (!IS_ALIGNED(queue_size, TEGRA_IVC_ALIGN)) { IS_ALIGNED 564 drivers/firmware/tegra/ivc.c BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct tegra_ivc_header, tx.count), IS_ALIGNED 566 drivers/firmware/tegra/ivc.c BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct tegra_ivc_header, rx.count), IS_ALIGNED 568 drivers/firmware/tegra/ivc.c BUILD_BUG_ON(!IS_ALIGNED(sizeof(struct tegra_ivc_header), IS_ALIGNED 576 drivers/firmware/tegra/ivc.c if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { IS_ALIGNED 585 drivers/firmware/tegra/ivc.c if (!IS_ALIGNED(rx, TEGRA_IVC_ALIGN)) { IS_ALIGNED 590 drivers/firmware/tegra/ivc.c if (!IS_ALIGNED(tx, TEGRA_IVC_ALIGN)) { IS_ALIGNED 22 drivers/gpu/drm/etnaviv/etnaviv_mmu.c if (!IS_ALIGNED(iova | size, pgsize)) { IS_ALIGNED 48 drivers/gpu/drm/etnaviv/etnaviv_mmu.c if (!IS_ALIGNED(iova | paddr | size, pgsize)) { IS_ALIGNED 10657 drivers/gpu/drm/i915/display/intel_display.c return intel_cursor_size_ok(plane_state) && IS_ALIGNED(width, 64); IS_ALIGNED 1564 drivers/gpu/drm/i915/gem/i915_gem_context.c BUILD_BUG_ON(!IS_ALIGNED(sizeof(*user), sizeof(*user->engines))); IS_ALIGNED 1566 drivers/gpu/drm/i915/gem/i915_gem_context.c !IS_ALIGNED(args->size, sizeof(*user->engines))) { IS_ALIGNED 358 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (entry->alignment && !IS_ALIGNED(vma->node.start, entry->alignment)) IS_ALIGNED 179 drivers/gpu/drm/i915/gem/i915_gem_internal.c GEM_BUG_ON(!IS_ALIGNED(size, PAGE_SIZE)); IS_ALIGNED 631 drivers/gpu/drm/i915/gem/i915_gem_stolen.c WARN_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)) || IS_ALIGNED 632 drivers/gpu/drm/i915/gem/i915_gem_stolen.c WARN_ON(!IS_ALIGNED(stolen_offset, I915_GTT_MIN_ALIGNMENT))) IS_ALIGNED 67 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); IS_ALIGNED 153 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (!stride || !IS_ALIGNED(stride, tile_width)) IS_ALIGNED 173 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (!IS_ALIGNED(vma->node.start, alignment)) IS_ALIGNED 103 drivers/gpu/drm/i915/gem/selftests/huge_gem_object.c GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); IS_ALIGNED 104 drivers/gpu/drm/i915/gem/selftests/huge_gem_object.c GEM_BUG_ON(!IS_ALIGNED(dma_size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 156 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!IS_ALIGNED(size, BIT(__ffs(page_mask)))); IS_ALIGNED 305 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 678 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!IS_ALIGNED(vma->node.start, IS_ALIGNED 686 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!IS_ALIGNED(vma->node.size, IS_ALIGNED 834 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!IS_ALIGNED(vma->node.start, IS_ALIGNED 842 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!IS_ALIGNED(vma->node.size, IS_ALIGNED 1130 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!IS_ALIGNED(size, BIT(__ffs(page_sizes)))) IS_ALIGNED 1379 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (IS_ALIGNED(addr, page_size)) { IS_ALIGNED 347 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(!IS_ALIGNED(npages, DW_PER_PAGE)); IS_ALIGNED 268 drivers/gpu/drm/i915/gt/intel_engine.h if (!IS_ALIGNED(pos, 8)) /* must be qword aligned */ IS_ALIGNED 392 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!IS_ALIGNED(gtt_offset, 8)); IS_ALIGNED 415 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!IS_ALIGNED(gtt_offset, 8)); IS_ALIGNED 2300 drivers/gpu/drm/i915/gt/intel_lrc.c if (GEM_DEBUG_WARN_ON(!IS_ALIGNED(wa_bb[i]->offset, IS_ALIGNED 1966 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); IS_ALIGNED 64 drivers/gpu/drm/i915/gt/intel_workarounds.c if (!IS_ALIGNED(wal->count, WA_LIST_CHUNK)) { IS_ALIGNED 91 drivers/gpu/drm/i915/gt/intel_workarounds.c if (IS_ALIGNED(wal->count, grow)) { /* Either uninitialized or full. */ IS_ALIGNED 166 drivers/gpu/drm/i915/gt/uc/intel_guc.c BUILD_BUG_ON(!IS_ALIGNED(CRASH_BUFFER_SIZE, UNIT)); IS_ALIGNED 168 drivers/gpu/drm/i915/gt/uc/intel_guc.c BUILD_BUG_ON(!IS_ALIGNED(DPC_BUFFER_SIZE, UNIT)); IS_ALIGNED 170 drivers/gpu/drm/i915/gt/uc/intel_guc.c BUILD_BUG_ON(!IS_ALIGNED(ISR_BUFFER_SIZE, UNIT)); IS_ALIGNED 224 drivers/gpu/drm/i915/gvt/cfg_space.c bool lo = IS_ALIGNED(offset, 8); IS_ALIGNED 309 drivers/gpu/drm/i915/gvt/cfg_space.c if (IS_ALIGNED(offset, 2) && offset == PCI_COMMAND) { IS_ALIGNED 317 drivers/gpu/drm/i915/gvt/cfg_space.c if (WARN_ON(!IS_ALIGNED(offset, 4))) IS_ALIGNED 322 drivers/gpu/drm/i915/gvt/cfg_space.c if (WARN_ON(!IS_ALIGNED(offset, 4))) IS_ALIGNED 327 drivers/gpu/drm/i915/gvt/cfg_space.c if (WARN_ON(!IS_ALIGNED(offset, 4))) IS_ALIGNED 335 drivers/gpu/drm/i915/gvt/cfg_space.c if (WARN_ON(!IS_ALIGNED(offset, 4))) IS_ALIGNED 774 drivers/gpu/drm/i915/gvt/cmd_parser.c WARN_ON(!IS_ALIGNED(ip_gma, 4)); IS_ALIGNED 2772 drivers/gpu/drm/i915/gvt/cmd_parser.c if (WARN_ON(!IS_ALIGNED(workload->rb_start, I915_GTT_PAGE_SIZE))) IS_ALIGNED 2817 drivers/gpu/drm/i915/gvt/cmd_parser.c if (WARN_ON(!IS_ALIGNED(wa_ctx->indirect_ctx.guest_gma, IS_ALIGNED 107 drivers/gpu/drm/i915/gvt/handlers.c if (WARN_ON(!IS_ALIGNED(offset, 4))) IS_ALIGNED 121 drivers/gpu/drm/i915/gvt/mmio.c if (WARN_ON(!IS_ALIGNED(offset, 4) && !IS_ALIGNED(offset, 8))) IS_ALIGNED 144 drivers/gpu/drm/i915/gvt/mmio.c if (WARN_ON(!IS_ALIGNED(offset, bytes))) IS_ALIGNED 194 drivers/gpu/drm/i915/gvt/mmio.c if (WARN_ON(!IS_ALIGNED(offset, 4) && !IS_ALIGNED(offset, 8))) IS_ALIGNED 351 drivers/gpu/drm/i915/i915_buddy.c if (!IS_ALIGNED(size | start, mm->chunk_size)) IS_ALIGNED 273 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(!IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); IS_ALIGNED 274 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(!IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); IS_ALIGNED 85 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, I965_FENCE_PAGE)); IS_ALIGNED 86 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I965_FENCE_PAGE)); IS_ALIGNED 87 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(stride, 128)); IS_ALIGNED 133 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); IS_ALIGNED 172 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); IS_ALIGNED 658 drivers/gpu/drm/i915/i915_gem_gtt.c if (unlikely(!IS_ALIGNED(addr, size))) IS_ALIGNED 1025 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); IS_ALIGNED 1026 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); IS_ALIGNED 1139 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); IS_ALIGNED 1140 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); IS_ALIGNED 1237 drivers/gpu/drm/i915/i915_gem_gtt.c IS_ALIGNED(iter->dma, I915_GTT_PAGE_SIZE_2M) && IS_ALIGNED 1254 drivers/gpu/drm/i915/i915_gem_gtt.c IS_ALIGNED(iter->dma, I915_GTT_PAGE_SIZE_64K) && IS_ALIGNED 1255 drivers/gpu/drm/i915/i915_gem_gtt.c (IS_ALIGNED(rem, I915_GTT_PAGE_SIZE_64K) || IS_ALIGNED 1279 drivers/gpu/drm/i915/i915_gem_gtt.c !(IS_ALIGNED(iter->dma, I915_GTT_PAGE_SIZE_64K) && IS_ALIGNED 1280 drivers/gpu/drm/i915/i915_gem_gtt.c (IS_ALIGNED(rem, I915_GTT_PAGE_SIZE_64K) || IS_ALIGNED 1284 drivers/gpu/drm/i915/i915_gem_gtt.c if (unlikely(!IS_ALIGNED(iter->dma, page_size))) IS_ALIGNED 1300 drivers/gpu/drm/i915/i915_gem_gtt.c !iter->sg && IS_ALIGNED(vma->node.start + IS_ALIGNED 1875 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 3639 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 3640 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(offset, I915_GTT_MIN_ALIGNMENT)); IS_ALIGNED 3733 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 3735 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); IS_ALIGNED 3737 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start > 0 && !IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); IS_ALIGNED 3738 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(end < U64_MAX && !IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); IS_ALIGNED 102 drivers/gpu/drm/i915/i915_scatterlist.h GEM_BUG_ON(!IS_ALIGNED(sg->length, PAGE_SIZE)); IS_ALIGNED 154 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(vma->size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 167 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I915_GTT_MIN_ALIGNMENT)); IS_ALIGNED 445 drivers/gpu/drm/i915/i915_vma.c if (alignment && !IS_ALIGNED(vma->node.start, alignment)) IS_ALIGNED 470 drivers/gpu/drm/i915/i915_vma.c IS_ALIGNED(vma->node.start, vma->fence_alignment)); IS_ALIGNED 561 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 562 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); IS_ALIGNED 566 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); IS_ALIGNED 573 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); IS_ALIGNED 604 drivers/gpu/drm/i915/i915_vma.c if (!IS_ALIGNED(offset, alignment) || IS_ALIGNED 70 drivers/gpu/drm/i915/selftests/i915_buddy.c if (!IS_ALIGNED(block_size, mm->chunk_size)) { IS_ALIGNED 75 drivers/gpu/drm/i915/selftests/i915_buddy.c if (!IS_ALIGNED(offset, mm->chunk_size)) { IS_ALIGNED 80 drivers/gpu/drm/i915/selftests/i915_buddy.c if (!IS_ALIGNED(offset, block_size)) { IS_ALIGNED 119 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); IS_ALIGNED 181 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (!IS_ALIGNED(size, PAGE_SIZE)) IS_ALIGNED 644 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (!IS_ALIGNED(addr, 1ULL << page[i].shift)) IS_ALIGNED 1227 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!page->shift || !IS_ALIGNED(addr, 1ULL << shift) || IS_ALIGNED 1228 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c !IS_ALIGNED(size, 1ULL << shift) || IS_ALIGNED 1398 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!IS_ALIGNED( vma->addr, 1ULL << map->page->shift) || IS_ALIGNED 1399 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c !IS_ALIGNED((u64)vma->size, 1ULL << map->page->shift) || IS_ALIGNED 1400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c !IS_ALIGNED( map->offset, 1ULL << map->page->shift) || IS_ALIGNED 1677 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!page->shift || !IS_ALIGNED(size, 1ULL << page->shift)) { IS_ALIGNED 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (ptes >= pten && IS_ALIGNED(ptei, pten)) IS_ALIGNED 413 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { IS_ALIGNED 418 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(height, height_align)) { IS_ALIGNED 423 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(base_offset, base_align)) { IS_ALIGNED 604 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { IS_ALIGNED 609 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(height, height_align)) { IS_ALIGNED 614 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(base_offset, base_align)) { IS_ALIGNED 1564 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { IS_ALIGNED 1569 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(base_offset, base_align)) { IS_ALIGNED 1574 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(mip_offset, base_align)) { IS_ALIGNED 421 drivers/hsi/clients/hsi_char.c if (!IS_ALIGNED(len, sizeof(u32))) IS_ALIGNED 478 drivers/hsi/clients/hsi_char.c if ((len == 0) || !IS_ALIGNED(len, sizeof(u32))) IS_ALIGNED 315 drivers/i2c/busses/i2c-at91-master.c if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { IS_ALIGNED 73 drivers/infiniband/hw/mlx5/mem.c if (!IS_ALIGNED(tmp, 1 << m)) IS_ALIGNED 1670 drivers/iommu/amd_iommu.c BUG_ON(!IS_ALIGNED(bus_addr, page_size)); IS_ALIGNED 1671 drivers/iommu/amd_iommu.c BUG_ON(!IS_ALIGNED(phys_addr, page_size)); IS_ALIGNED 3848 drivers/iommu/intel-iommu.c if (!IS_ALIGNED(paddr | size, VTD_PAGE_SIZE)) { IS_ALIGNED 1883 drivers/iommu/iommu.c if (!IS_ALIGNED(iova | paddr | size, min_pagesz)) { IS_ALIGNED 1943 drivers/iommu/iommu.c if (!IS_ALIGNED(iova | size, min_pagesz)) { IS_ALIGNED 170 drivers/iommu/omap-iommu.c if (!obj->iopgd || !IS_ALIGNED((u32)obj->iopgd, SZ_16K)) IS_ALIGNED 174 drivers/iommu/omap-iommu.c if (!IS_ALIGNED(pa, SZ_16K)) IS_ALIGNED 1454 drivers/iommu/omap-iommu.c if (WARN_ON(!IS_ALIGNED((long)iommu->pgtable, IS_ALIGNED 93 drivers/md/dm-io.c if (unlikely(!IS_ALIGNED((unsigned long)io, DM_IO_MAX_REGIONS))) { IS_ALIGNED 466 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (!IS_ALIGNED(vaddr | size, dma_align)) { IS_ALIGNED 209 drivers/media/platform/davinci/vpbe_display.c if (!IS_ALIGNED(addr, 8)) { IS_ALIGNED 87 drivers/media/platform/davinci/vpif_capture.c if (!IS_ALIGNED((addr + common->ytop_off), 8) || IS_ALIGNED 88 drivers/media/platform/davinci/vpif_capture.c !IS_ALIGNED((addr + common->ybtm_off), 8) || IS_ALIGNED 89 drivers/media/platform/davinci/vpif_capture.c !IS_ALIGNED((addr + common->ctop_off), 8) || IS_ALIGNED 90 drivers/media/platform/davinci/vpif_capture.c !IS_ALIGNED((addr + common->cbtm_off), 8)) { IS_ALIGNED 365 drivers/media/platform/omap3isp/ispvideo.c if (!IS_ALIGNED(addr, 32)) { IS_ALIGNED 987 drivers/misc/eeprom/idt_89hpesx.c if (csraddr > CSR_MAX || !IS_ALIGNED(csraddr, SZ_4)) { IS_ALIGNED 1575 drivers/misc/mic/scif/scif_dma.c if (!IS_ALIGNED((u64)temp, L1_CACHE_BYTES)) IS_ALIGNED 357 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_src_phys_addr, alignment)) { IS_ALIGNED 383 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_dst_phys_addr, alignment)) { IS_ALIGNED 453 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { IS_ALIGNED 522 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { IS_ALIGNED 1216 drivers/mmc/core/block.c if (!IS_ALIGNED(blk_rq_pos(req), card->ext_csd.rel_sectors)) IS_ALIGNED 39 drivers/mmc/host/mmci_stm32_sdmmc.c if (!IS_ALIGNED(sg_dma_address(data->sg), sizeof(u32)) || IS_ALIGNED 40 drivers/mmc/host/mmci_stm32_sdmmc.c !IS_ALIGNED(sg_dma_len(data->sg), SDMMC_IDMA_BURST)) { IS_ALIGNED 48 drivers/mmc/host/mmci_stm32_sdmmc.c if (!IS_ALIGNED(sg_dma_address(data->sg), sizeof(u32))) { IS_ALIGNED 190 drivers/mmc/host/renesas_sdhi_internal_dmac.c if (!IS_ALIGNED(sg_dma_address(sg), 8)) IS_ALIGNED 261 drivers/mmc/host/uniphier-sd.c if (!IS_ALIGNED(sg->offset, 8)) IS_ALIGNED 649 drivers/mtd/devices/spear_smi.c if (IS_ALIGNED(len, sizeof(u32)) && IS_ALIGNED 650 drivers/mtd/devices/spear_smi.c IS_ALIGNED((uintptr_t)dest, sizeof(u32))) IS_ALIGNED 335 drivers/mtd/lpddr/lpddr2_nvm.c if (!(IS_ALIGNED(add, mtd->writesize))) { /* do sw program */ IS_ALIGNED 932 drivers/mtd/nand/raw/brcmnand/brcmnand.c likely(IS_ALIGNED((uintptr_t)buf, 4)); IS_ALIGNED 536 drivers/mtd/nand/raw/fsmc_nand.c if (IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && IS_ALIGNED 537 drivers/mtd/nand/raw/fsmc_nand.c IS_ALIGNED(len, sizeof(u32))) { IS_ALIGNED 559 drivers/mtd/nand/raw/fsmc_nand.c if (IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && IS_ALIGNED 560 drivers/mtd/nand/raw/fsmc_nand.c IS_ALIGNED(len, sizeof(u32))) { IS_ALIGNED 210 drivers/mtd/nand/raw/mxc_nand.c if (PTR_ALIGN(trg, 4) == trg && IS_ALIGNED(size, 4)) { IS_ALIGNED 232 drivers/mtd/nand/raw/mxc_nand.c if (PTR_ALIGN(src, 4) == src && IS_ALIGNED(size, 4)) { IS_ALIGNED 3191 drivers/mtd/nand/raw/nand_base.c !IS_ALIGNED((unsigned long)buf, IS_ALIGNED 4017 drivers/mtd/nand/raw/nand_base.c !IS_ALIGNED((unsigned long)buf, IS_ALIGNED 1250 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32))) { IS_ALIGNED 1251 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u16)) && len) { IS_ALIGNED 1257 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && IS_ALIGNED 1297 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32))) { IS_ALIGNED 1298 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u16)) && len) { IS_ALIGNED 1304 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && IS_ALIGNED 231 drivers/mtd/spi-nor/aspeed-smc.c if (IS_ALIGNED((uintptr_t)src, sizeof(uintptr_t)) && IS_ALIGNED 232 drivers/mtd/spi-nor/aspeed-smc.c IS_ALIGNED((uintptr_t)buf, sizeof(uintptr_t))) { IS_ALIGNED 246 drivers/mtd/spi-nor/aspeed-smc.c if (IS_ALIGNED((uintptr_t)dst, sizeof(uintptr_t)) && IS_ALIGNED 247 drivers/mtd/spi-nor/aspeed-smc.c IS_ALIGNED((uintptr_t)buf, sizeof(uintptr_t))) { IS_ALIGNED 1686 drivers/net/ethernet/cadence/macb_main.c if (!IS_ALIGNED(skb_headlen(skb) - hdrlen, MACB_TX_LEN_ALIGN)) IS_ALIGNED 1695 drivers/net/ethernet/cadence/macb_main.c if (!IS_ALIGNED(skb_frag_size(frag), MACB_TX_LEN_ALIGN)) IS_ALIGNED 3056 drivers/net/ethernet/emulex/benet/be_cmds.c if (!IS_ALIGNED(fw->size, sizeof(u32))) { IS_ALIGNED 41 drivers/net/ethernet/ezchip/nps_enet.c bool dst_is_aligned = IS_ALIGNED((unsigned long)dst, sizeof(u32)); IS_ALIGNED 385 drivers/net/ethernet/ezchip/nps_enet.c bool src_is_aligned = IS_ALIGNED((unsigned long)src, sizeof(u32)); IS_ALIGNED 1704 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c WARN_ON(!IS_ALIGNED((unsigned long)vaddr, SMP_CACHE_BYTES)); IS_ALIGNED 1750 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c WARN_ON(!IS_ALIGNED((unsigned long)vaddr, SMP_CACHE_BYTES)); IS_ALIGNED 1761 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c WARN_ON(!IS_ALIGNED((unsigned long)sg_vaddr, IS_ALIGNED 758 drivers/net/ethernet/freescale/enetc/enetc.c if (!IS_ALIGNED(r->bd_dma_base, 128)) { IS_ALIGNED 955 drivers/net/ethernet/freescale/enetc/enetc.c if (!IS_ALIGNED(cbdr->bd_dma_base, 128)) { IS_ALIGNED 1114 drivers/net/ethernet/freescale/enetc/enetc.c WARN_ON(!IS_ALIGNED(tx_ring->bd_count, 64)); /* multiple of 64 */ IS_ALIGNED 1148 drivers/net/ethernet/freescale/enetc/enetc.c WARN_ON(!IS_ALIGNED(rx_ring->bd_count, 64)); /* multiple of 64 */ IS_ALIGNED 498 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (!IS_ALIGNED((unsigned long)skb->data, 4)) { IS_ALIGNED 504 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (!IS_ALIGNED(skb_frag_off(frag), 4)) { IS_ALIGNED 967 drivers/net/ethernet/marvell/mvneta.c if (!IS_ALIGNED(buf_size, 8)) { IS_ALIGNED 3274 drivers/net/ethernet/marvell/mvneta.c if (!IS_ALIGNED(MVNETA_RX_PKT_SIZE(mtu), 8)) { IS_ALIGNED 129 drivers/net/ethernet/marvell/mvneta_bm.c if (!IS_ALIGNED((u32)bm_pool->virt_addr, MVNETA_BM_POOL_PTR_ALIGN)) { IS_ALIGNED 320 drivers/net/ethernet/marvell/mvneta_bm.c } else if (!IS_ALIGNED(size, MVNETA_BM_POOL_CAP_ALIGN)) { IS_ALIGNED 354 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (!IS_ALIGNED(size, 16)) IS_ALIGNED 371 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (!IS_ALIGNED((unsigned long)bm_pool->virt_addr, IS_ALIGNED 3504 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c else if (!IS_ALIGNED(ring->rx_pending, 16)) IS_ALIGNED 3509 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c else if (!IS_ALIGNED(ring->tx_pending, 32)) IS_ALIGNED 3881 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (!IS_ALIGNED(MVPP2_RX_PKT_SIZE(mtu), 8)) { IS_ALIGNED 2452 drivers/net/ethernet/marvell/sky2.c if (!IS_ALIGNED(re->data_addr + ETH_HLEN, sizeof(u32))) IS_ALIGNED 772 drivers/net/ethernet/netronome/nfp/bpf/jit.c } else if (len <= 32 && IS_ALIGNED(len, 4)) { IS_ALIGNED 784 drivers/net/ethernet/netronome/nfp/bpf/jit.c } else if (IS_ALIGNED(len, 4)) { IS_ALIGNED 843 drivers/net/ethernet/netronome/nfp/bpf/jit.c IS_ALIGNED(len, 4) ? 3 : (len & 3) - 1); IS_ALIGNED 2845 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (IS_ALIGNED(off, REG_WIDTH)) IS_ALIGNED 586 drivers/net/wireless/ath/ar5523/ar5523.c if (!IS_ALIGNED(hdrlen, 4)) { IS_ALIGNED 662 drivers/net/wireless/ath/ath10k/debug.c if (!IS_ALIGNED(reg_addr, 4)) IS_ALIGNED 834 drivers/net/wireless/ath/ath10k/htc.c if (!IS_ALIGNED((unsigned long)skb->data, 4)) IS_ALIGNED 152 drivers/net/wireless/ath/ath10k/htt_rx.c if (!IS_ALIGNED((unsigned long)skb->data, HTT_RX_DESC_ALIGN)) IS_ALIGNED 3733 drivers/net/wireless/ath/ath10k/htt_rx.c if (!IS_ALIGNED((unsigned long)skb->data, 4)) IS_ALIGNED 805 drivers/net/wireless/ath/ath10k/htt_tx.c BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); IS_ALIGNED 876 drivers/net/wireless/ath/ath10k/htt_tx.c BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); IS_ALIGNED 945 drivers/net/wireless/ath/ath10k/htt_tx.c BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); IS_ALIGNED 1753 drivers/net/wireless/ath/ath10k/wmi.c if (!IS_ALIGNED((unsigned long)skb->data, 4)) IS_ALIGNED 352 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (!IS_ALIGNED((unsigned long) *buf, 4)) { IS_ALIGNED 480 drivers/net/wireless/ath/ath6kl/txrx.c if (!IS_ALIGNED((unsigned long) skb->data - HTC_HDR_LENGTH, 4) && IS_ALIGNED 901 drivers/net/wireless/ath/ath6kl/txrx.c if (!IS_ALIGNED((unsigned long) skb->data, 4)) { IS_ALIGNED 927 drivers/net/wireless/ath/ath6kl/txrx.c if (!IS_ALIGNED((unsigned long) skb->data, 4)) { IS_ALIGNED 323 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c IS_ALIGNED((x), SI_CORE_SIZE)) IS_ALIGNED 447 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c if (!IS_ALIGNED(PAGE_SIZE, align)) IS_ALIGNED 306 drivers/ntb/hw/idt/ntb_hw_idt.c if (WARN_ON(reg > IDT_REG_PCI_MAX || !IS_ALIGNED(reg, IDT_REG_ALIGN))) IS_ALIGNED 328 drivers/ntb/hw/idt/ntb_hw_idt.c if (WARN_ON(reg > IDT_REG_PCI_MAX || !IS_ALIGNED(reg, IDT_REG_ALIGN))) IS_ALIGNED 352 drivers/ntb/hw/idt/ntb_hw_idt.c if (WARN_ON(reg > IDT_REG_SW_MAX || !IS_ALIGNED(reg, IDT_REG_ALIGN))) IS_ALIGNED 383 drivers/ntb/hw/idt/ntb_hw_idt.c if (WARN_ON(reg > IDT_REG_SW_MAX || !IS_ALIGNED(reg, IDT_REG_ALIGN))) IS_ALIGNED 1305 drivers/ntb/hw/idt/ntb_hw_idt.c if (!IS_ALIGNED(addr, mw_cfg->addr_align)) IS_ALIGNED 1307 drivers/ntb/hw/idt/ntb_hw_idt.c if (!IS_ALIGNED(size, mw_cfg->size_align) || size > mw_cfg->size_max) IS_ALIGNED 291 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (!IS_ALIGNED(addr, BIT_ULL(xlate_pos))) { IS_ALIGNED 833 drivers/ntb/ntb_transport.c if (!IS_ALIGNED(dma_addr, align)) { IS_ALIGNED 595 drivers/ntb/test/ntb_perf.c if (!IS_ALIGNED(peer->inbuf_xlat, xlat_align)) { IS_ALIGNED 598 drivers/ntb/test/ntb_tool.c if (!IS_ALIGNED(inmw->dma_base, addr_align)) { IS_ALIGNED 68 drivers/nvdimm/btt.c dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), IS_ALIGNED 70 drivers/nvdimm/btt.c dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), IS_ALIGNED 423 drivers/nvdimm/btt.c dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), IS_ALIGNED 467 drivers/nvdimm/btt.c dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), IS_ALIGNED 277 drivers/nvdimm/claim.c if (IS_ALIGNED(offset, 512) && IS_ALIGNED(size, 512) IS_ALIGNED 586 drivers/nvdimm/pfn_devs.c if ((align && !IS_ALIGNED(nsio->res.start + offset + start_pad, align)) IS_ALIGNED 587 drivers/nvdimm/pfn_devs.c || !IS_ALIGNED(offset, PAGE_SIZE)) { IS_ALIGNED 151 drivers/nvmem/core.c if (!IS_ALIGNED(cell->offset, nvmem->stride)) { IS_ALIGNED 328 drivers/nvmem/core.c if (!IS_ALIGNED(cell->offset, nvmem->stride)) { IS_ALIGNED 99 drivers/pci/controller/dwc/pcie-designware.c if (!IS_ALIGNED((uintptr_t)addr, size)) { IS_ALIGNED 121 drivers/pci/controller/dwc/pcie-designware.c if (!IS_ALIGNED((uintptr_t)addr, size)) IS_ALIGNED 978 drivers/pci/controller/pcie-iproc.c if (!IS_ALIGNED(axi_addr, window_size) || IS_ALIGNED 979 drivers/pci/controller/pcie-iproc.c !IS_ALIGNED(pci_addr, window_size)) { IS_ALIGNED 1156 drivers/pci/controller/pcie-iproc.c if (!IS_ALIGNED(axi_addr, region_size) || IS_ALIGNED 1157 drivers/pci/controller/pcie-iproc.c !IS_ALIGNED(pci_addr, region_size)) { IS_ALIGNED 113 drivers/pci/controller/pcie-rockchip-host.c if (!IS_ALIGNED((uintptr_t)addr, size)) { IS_ALIGNED 168 drivers/pci/controller/pcie-rockchip-host.c if (!IS_ALIGNED(busdev, size)) { IS_ALIGNED 201 drivers/pci/controller/pcie-rockchip-host.c if (!IS_ALIGNED(busdev, size)) IS_ALIGNED 409 drivers/perf/arm_spe_pmu.c if (!IS_ALIGNED(head, spe_pmu->align)) { IS_ALIGNED 137 drivers/s390/block/scm_blk.c IS_ALIGNED(aidaw, PAGE_SIZE)) IS_ALIGNED 2031 drivers/scsi/bfa/bfad_bsg.c !IS_ALIGNED(iocmd->bufsz, sizeof(u16)) || IS_ALIGNED 2032 drivers/scsi/bfa/bfad_bsg.c !IS_ALIGNED(iocmd->offset, sizeof(u32))) { IS_ALIGNED 7397 drivers/scsi/lpfc/lpfc_init.c if (!IS_ALIGNED(dmabuf->phys, LPFC_HDR_TEMPLATE_SIZE)) { IS_ALIGNED 458 drivers/scsi/vmw_pvscsi.c BUG_ON(!IS_ALIGNED(adapter->ringStatePA, PAGE_SIZE)); IS_ALIGNED 459 drivers/scsi/vmw_pvscsi.c BUG_ON(!IS_ALIGNED(adapter->reqRingPA, PAGE_SIZE)); IS_ALIGNED 460 drivers/scsi/vmw_pvscsi.c BUG_ON(!IS_ALIGNED(adapter->cmpRingPA, PAGE_SIZE)); IS_ALIGNED 472 drivers/scsi/vmw_pvscsi.c BUG_ON(!IS_ALIGNED(adapter->msgRingPA, PAGE_SIZE)); IS_ALIGNED 1264 drivers/scsi/vmw_pvscsi.c BUG_ON(!IS_ALIGNED(((unsigned long)ctx->sgl), PAGE_SIZE)); IS_ALIGNED 314 drivers/spi/spi-bcm-qspi.c IS_ALIGNED((uintptr_t)buf, 4)) { IS_ALIGNED 978 drivers/spi/spi-bcm-qspi.c if (!IS_ALIGNED((uintptr_t)addr, 4) || !IS_ALIGNED((uintptr_t)buf, 4) || IS_ALIGNED 394 drivers/spi/spi-fsl-qspi.c !IS_ALIGNED(op->data.nbytes, 8)))) IS_ALIGNED 435 drivers/spi/spi-nxp-fspi.c !IS_ALIGNED(op->data.nbytes, 8)))) IS_ALIGNED 896 drivers/spi/spi-qup.c if (!IS_ALIGNED((size_t)xfer->rx_buf, dma_align) || IS_ALIGNED 904 drivers/spi/spi-qup.c if (!IS_ALIGNED((size_t)xfer->tx_buf, dma_align) || IS_ALIGNED 188 drivers/staging/media/ipu3/ipu3-css-params.c !IS_ALIGNED(out_height, height_alignment)) && IS_ALIGNED 1832 drivers/staging/media/ipu3/ipu3-css-params.c if (!IS_ALIGNED(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f)) IS_ALIGNED 260 drivers/staging/media/ipu3/ipu3-mmu.c if (!IS_ALIGNED(iova | paddr | size, IPU3_PAGE_SIZE)) { IS_ALIGNED 311 drivers/staging/media/ipu3/ipu3-mmu.c if (!IS_ALIGNED(s->offset, IPU3_PAGE_SIZE)) IS_ALIGNED 315 drivers/staging/media/ipu3/ipu3-mmu.c if (i == nents - 1 && !IS_ALIGNED(s->length, IPU3_PAGE_SIZE)) IS_ALIGNED 388 drivers/staging/media/ipu3/ipu3-mmu.c if (!IS_ALIGNED(iova | size, IPU3_PAGE_SIZE)) { IS_ALIGNED 341 drivers/staging/media/omap4iss/iss_video.c if (!IS_ALIGNED(addr, 32)) { IS_ALIGNED 130 drivers/thunderbolt/switch.c if (!IS_ALIGNED(hdr_size, SZ_4K)) IS_ALIGNED 857 drivers/usb/dwc3/ep0.c if ((IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && IS_ALIGNED 953 drivers/usb/dwc3/ep0.c } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) IS_ALIGNED 981 drivers/usb/dwc3/ep0.c } else if (IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && IS_ALIGNED 1143 drivers/usb/dwc3/gadget.c (IS_ALIGNED(req->request.length, maxp))) { IS_ALIGNED 1479 fs/btrfs/compression.c if (!IS_ALIGNED(end, PAGE_SIZE)) IS_ALIGNED 1409 fs/btrfs/ctree.h WARN_ON(!IS_ALIGNED(val, eb->fs_info->sectorsize)); IS_ALIGNED 2444 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_root(sb), sectorsize)) { IS_ALIGNED 2449 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_chunk_root(sb), sectorsize)) { IS_ALIGNED 2454 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_log_root(sb), sectorsize)) { IS_ALIGNED 410 fs/btrfs/extent-tree.c IS_ALIGNED(offset, eb->fs_info->nodesize)) IS_ALIGNED 424 fs/btrfs/extent-tree.c IS_ALIGNED(offset, eb->fs_info->nodesize)) IS_ALIGNED 5167 fs/btrfs/extent_io.c if (!IS_ALIGNED(start, fs_info->sectorsize)) { IS_ALIGNED 319 fs/btrfs/file-item.c ASSERT(IS_ALIGNED(start, fs_info->sectorsize) && IS_ALIGNED 320 fs/btrfs/file-item.c IS_ALIGNED(end + 1, fs_info->sectorsize)); IS_ALIGNED 3042 fs/btrfs/file.c ASSERT(IS_ALIGNED(alloc_start, sectorsize)); IS_ALIGNED 3088 fs/btrfs/file.c if (!IS_ALIGNED(offset, sectorsize)) { IS_ALIGNED 3104 fs/btrfs/file.c if (!IS_ALIGNED(offset + len, sectorsize)) { IS_ALIGNED 5059 fs/btrfs/inode.c if (IS_ALIGNED(offset, blocksize) && IS_ALIGNED 5060 fs/btrfs/inode.c (!len || IS_ALIGNED(len, blocksize))) IS_ALIGNED 98 fs/btrfs/print-tree.c if (!IS_ALIGNED(offset, eb->fs_info->nodesize)) IS_ALIGNED 114 fs/btrfs/print-tree.c if (!IS_ALIGNED(offset, eb->fs_info->nodesize)) IS_ALIGNED 131 fs/btrfs/print-tree.c if (!IS_ALIGNED(item_size, sizeof(u64))) { IS_ALIGNED 1725 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(key.offset, IS_ALIGNED 1727 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(end, fs_info->sectorsize)); IS_ALIGNED 2147 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(start, fs_info->sectorsize)); IS_ALIGNED 2162 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(end, fs_info->sectorsize)); IS_ALIGNED 5288 fs/btrfs/send.c !IS_ALIGNED(src_end, sectorsize) && IS_ALIGNED 5370 fs/btrfs/send.c if (clone_root && IS_ALIGNED(offset + len, bs)) { IS_ALIGNED 102 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))) \ IS_ALIGNED 107 fs/btrfs/tree-checker.c (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ IS_ALIGNED 137 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, sectorsize)) { IS_ALIGNED 258 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, sectorsize)) { IS_ALIGNED 264 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_item_size_nr(leaf, slot), csumsize)) { IS_ALIGNED 592 fs/btrfs/tree-checker.c if (!IS_ALIGNED(logical, fs_info->sectorsize)) { IS_ALIGNED 605 fs/btrfs/tree-checker.c if (!length || !IS_ALIGNED(length, fs_info->sectorsize)) { IS_ALIGNED 890 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_root_bytenr(&ri), fs_info->sectorsize)) { IS_ALIGNED 971 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, fs_info->sectorsize)) { IS_ALIGNED 1051 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, fs_info->sectorsize)) { IS_ALIGNED 1107 fs/btrfs/tree-checker.c if (!IS_ALIGNED(inline_offset, fs_info->sectorsize)) { IS_ALIGNED 1122 fs/btrfs/tree-checker.c if (!IS_ALIGNED(dref_offset, fs_info->sectorsize)) { IS_ALIGNED 1133 fs/btrfs/tree-checker.c if (!IS_ALIGNED(inline_offset, fs_info->sectorsize)) { IS_ALIGNED 1180 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, leaf->fs_info->sectorsize)) { IS_ALIGNED 1187 fs/btrfs/tree-checker.c !IS_ALIGNED(key->offset, leaf->fs_info->sectorsize)) { IS_ALIGNED 1209 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, leaf->fs_info->sectorsize)) { IS_ALIGNED 1232 fs/btrfs/tree-checker.c if (!IS_ALIGNED(offset, leaf->fs_info->sectorsize)) { IS_ALIGNED 1481 fs/btrfs/tree-checker.c if (!IS_ALIGNED(bytenr, fs_info->sectorsize)) { IS_ALIGNED 59 fs/btrfs/uuid-tree.c if (!IS_ALIGNED(item_size, sizeof(u64))) { IS_ALIGNED 191 fs/btrfs/uuid-tree.c if (!IS_ALIGNED(item_size, sizeof(u64))) { IS_ALIGNED 292 fs/btrfs/uuid-tree.c if (!IS_ALIGNED(item_size, sizeof(u64))) { IS_ALIGNED 235 fs/crypto/crypto.c if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) IS_ALIGNED 313 fs/crypto/crypto.c if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) IS_ALIGNED 1052 fs/dax.c if (!IS_ALIGNED(offset, sector_size)) IS_ALIGNED 1054 fs/dax.c if (!IS_ALIGNED(length, sector_size)) IS_ALIGNED 2763 fs/dcache.c BUILD_BUG_ON(!IS_ALIGNED(DNAME_INLINE_LEN, sizeof(long))); IS_ALIGNED 2622 fs/f2fs/file.c if (!IS_ALIGNED(pos_in, F2FS_BLKSIZE) || IS_ALIGNED 2623 fs/f2fs/file.c !IS_ALIGNED(pos_in + len, F2FS_BLKSIZE) || IS_ALIGNED 2624 fs/f2fs/file.c !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) IS_ALIGNED 834 fs/nfs/blocklayout/blocklayout.c if (!IS_ALIGNED(req->wb_offset, alignment)) IS_ALIGNED 837 fs/nfs/blocklayout/blocklayout.c if (IS_ALIGNED(req->wb_bytes, alignment)) IS_ALIGNED 219 fs/nfs/nfs4file.c if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) IS_ALIGNED 221 fs/nfs/nfs4file.c if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) IS_ALIGNED 40 fs/xfs/xfs_log.h ASSERT(IS_ALIGNED((unsigned long)vec->i_addr, sizeof(uint64_t))); IS_ALIGNED 372 fs/xfs/xfs_log_cil.c ASSERT(IS_ALIGNED((unsigned long)lv->lv_buf, sizeof(uint64_t))); IS_ALIGNED 323 include/linux/bitmap.h IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)) IS_ALIGNED 395 include/linux/bitmap.h IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && IS_ALIGNED 397 include/linux/bitmap.h IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)) IS_ALIGNED 409 include/linux/bitmap.h IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && IS_ALIGNED 411 include/linux/bitmap.h IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)) IS_ALIGNED 219 include/linux/mm.h #define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)(addr), PAGE_SIZE) IS_ALIGNED 86 include/linux/siphash.h if (!IS_ALIGNED((unsigned long)data, SIPHASH_ALIGNMENT)) IS_ALIGNED 139 include/linux/siphash.h if (!IS_ALIGNED((unsigned long)data, HSIPHASH_ALIGNMENT)) IS_ALIGNED 1793 include/net/netlink.h if (IS_ALIGNED((unsigned long)skb_tail_pointer(skb), 8)) IS_ALIGNED 7537 kernel/events/core.c while (!IS_ALIGNED(size, sizeof(u64))) IS_ALIGNED 7957 kernel/events/core.c while (!IS_ALIGNED(name_len, sizeof(u64))) IS_ALIGNED 10728 kernel/events/core.c else if (!IS_ALIGNED(attr->sample_stack_user, sizeof(u64))) IS_ALIGNED 1169 kernel/events/uprobes.c if (!IS_ALIGNED(offset, UPROBE_SWBP_INSN_SIZE)) IS_ALIGNED 1171 kernel/events/uprobes.c if (!IS_ALIGNED(ref_ctr_offset, sizeof(short))) IS_ALIGNED 2022 kernel/events/uprobes.c if (WARN_ON_ONCE(!IS_ALIGNED(vaddr, UPROBE_SWBP_INSN_SIZE))) IS_ALIGNED 349 kernel/rseq.c if (!IS_ALIGNED((unsigned long)rseq, __alignof__(*rseq)) || IS_ALIGNED 91 lib/ioremap.c if (!IS_ALIGNED(addr, PMD_SIZE)) IS_ALIGNED 94 lib/ioremap.c if (!IS_ALIGNED(phys_addr, PMD_SIZE)) IS_ALIGNED 134 lib/ioremap.c if (!IS_ALIGNED(addr, PUD_SIZE)) IS_ALIGNED 137 lib/ioremap.c if (!IS_ALIGNED(phys_addr, PUD_SIZE)) IS_ALIGNED 177 lib/ioremap.c if (!IS_ALIGNED(addr, P4D_SIZE)) IS_ALIGNED 180 lib/ioremap.c if (!IS_ALIGNED(phys_addr, P4D_SIZE)) IS_ALIGNED 86 lib/lzo/lzo1x_compress.c if (IS_ALIGNED((uintptr_t)ir, 4)) { IS_ALIGNED 302 lib/ubsan.c else if (data->alignment && !IS_ALIGNED(ptr, data->alignment)) IS_ALIGNED 196 mm/cma.c if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) IS_ALIGNED 295 mm/cma.c if (!IS_ALIGNED(size >> PAGE_SHIFT, 1 << order_per_bit)) IS_ALIGNED 397 mm/compaction.c if (!IS_ALIGNED(pfn, pageblock_nr_pages)) IS_ALIGNED 868 mm/compaction.c if (!valid_page && IS_ALIGNED(low_pfn, pageblock_nr_pages)) { IS_ALIGNED 1802 mm/compaction.c if (IS_ALIGNED(low_pfn, pageblock_nr_pages) && IS_ALIGNED 1884 mm/compaction.c if (!IS_ALIGNED(cc->migrate_pfn, pageblock_nr_pages)) IS_ALIGNED 1923 mm/compaction.c IS_ALIGNED(cc->migrate_pfn, IS_ALIGNED 2988 mm/filemap.c if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) IS_ALIGNED 3023 mm/filemap.c if (!IS_ALIGNED(count, bs)) IS_ALIGNED 2243 mm/hugetlb.c BUG_ON(!IS_ALIGNED(virt_to_phys(m), huge_page_size(h))); IS_ALIGNED 81 mm/kasan/generic.c if (unlikely(!IS_ALIGNED(addr, KASAN_SHADOW_SCALE_SIZE))) IS_ALIGNED 290 mm/kasan/generic.c WARN_ON(!IS_ALIGNED(addr, KASAN_ALLOCA_REDZONE_SIZE)); IS_ALIGNED 122 mm/kasan/init.c if (IS_ALIGNED(addr, PMD_SIZE) && end - addr >= PMD_SIZE) { IS_ALIGNED 154 mm/kasan/init.c if (IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE) { IS_ALIGNED 191 mm/kasan/init.c if (IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { IS_ALIGNED 241 mm/kasan/init.c if (IS_ALIGNED(addr, PGDIR_SIZE) && end - addr >= PGDIR_SIZE) { IS_ALIGNED 390 mm/kasan/init.c if (IS_ALIGNED(addr, PMD_SIZE) && IS_ALIGNED 391 mm/kasan/init.c IS_ALIGNED(next, PMD_SIZE)) IS_ALIGNED 415 mm/kasan/init.c if (IS_ALIGNED(addr, PUD_SIZE) && IS_ALIGNED 416 mm/kasan/init.c IS_ALIGNED(next, PUD_SIZE)) IS_ALIGNED 441 mm/kasan/init.c if (IS_ALIGNED(addr, P4D_SIZE) && IS_ALIGNED 442 mm/kasan/init.c IS_ALIGNED(next, P4D_SIZE)) IS_ALIGNED 475 mm/kasan/init.c if (IS_ALIGNED(addr, PGDIR_SIZE) && IS_ALIGNED 476 mm/kasan/init.c IS_ALIGNED(next, PGDIR_SIZE)) IS_ALIGNED 421 mm/khugepaged.c return IS_ALIGNED((vma->vm_start >> PAGE_SHIFT) - vma->vm_pgoff, IS_ALIGNED 272 mm/memory_hotplug.c if (!IS_ALIGNED(pfn, min_align) IS_ALIGNED 273 mm/memory_hotplug.c || !IS_ALIGNED(nr_pages, min_align)) { IS_ALIGNED 631 mm/memory_hotplug.c if (WARN_ON_ONCE(!IS_ALIGNED(pfn, 1ul << order))) IS_ALIGNED 1011 mm/memory_hotplug.c if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || IS_ALIGNED 1012 mm/memory_hotplug.c !IS_ALIGNED(size, memory_block_size_bytes())) { IS_ALIGNED 150 mm/page_ext.c if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || IS_ALIGNED 151 mm/page_ext.c !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) IS_ALIGNED 201 mm/page_isolation.c BUG_ON(!IS_ALIGNED(start_pfn, pageblock_nr_pages)); IS_ALIGNED 202 mm/page_isolation.c BUG_ON(!IS_ALIGNED(end_pfn, pageblock_nr_pages)); IS_ALIGNED 239 mm/page_isolation.c BUG_ON(!IS_ALIGNED(start_pfn, pageblock_nr_pages)); IS_ALIGNED 240 mm/page_isolation.c BUG_ON(!IS_ALIGNED(end_pfn, pageblock_nr_pages)); IS_ALIGNED 525 mm/page_owner.c if (!IS_ALIGNED(pfn, 1 << page_owner->order)) IS_ALIGNED 2308 mm/percpu.c PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->unit_size, PCPU_BITMAP_BLOCK_SIZE)); IS_ALIGNED 2311 mm/percpu.c PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->reserved_size, PCPU_MIN_ALLOC_SIZE)); IS_ALIGNED 2312 mm/percpu.c PCPU_SETUP_BUG_ON(!(IS_ALIGNED(PCPU_BITMAP_BLOCK_SIZE, PAGE_SIZE) || IS_ALIGNED 2313 mm/percpu.c IS_ALIGNED(PAGE_SIZE, PCPU_BITMAP_BLOCK_SIZE))); IS_ALIGNED 1122 mm/vmalloc.c BUG_ON(!IS_ALIGNED(va->va_start, align)); IS_ALIGNED 3245 mm/vmalloc.c BUG_ON(!IS_ALIGNED(offsets[area], align)); IS_ALIGNED 3246 mm/vmalloc.c BUG_ON(!IS_ALIGNED(sizes[area], align)); IS_ALIGNED 646 net/netfilter/nft_payload.c if (len <= 4 && is_power_of_2(len) && IS_ALIGNED(offset, len) && IS_ALIGNED 998 samples/vfio-mdev/mbochs.c if (!IS_ALIGNED(dmabuf->mode.offset, PAGE_SIZE)) { IS_ALIGNED 443 sound/firewire/amdtp-stream.c params->interrupt = IS_ALIGNED(s->packet_index + 1, INTERRUPT_INTERVAL); IS_ALIGNED 23 virt/kvm/arm/vgic/vgic-kvm-device.c if (!IS_ALIGNED(addr, alignment)) IS_ALIGNED 775 virt/kvm/arm/vgic/vgic-mmio.c if ((region->access_flags & flags) && IS_ALIGNED(addr, len)) { IS_ALIGNED 705 virt/kvm/eventfd.c BUG_ON(!IS_ALIGNED((unsigned long)val, len));