/openbmc/linux/drivers/hsi/clients/ |
H A D | hsi_char.c | 421 if (!IS_ALIGNED(len, sizeof(u32))) in hsc_read() 478 if ((len == 0) || !IS_ALIGNED(len, sizeof(u32))) in hsc_write()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pv.c | 764 if (!IS_ALIGNED(*gaddr, HPAGE_SIZE)) in kvm_s390_pv_dump_stor_state() 774 !IS_ALIGNED(buff_user_len, increment_len)) in kvm_s390_pv_dump_stor_state()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | htc.c | 23 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath11k_htc_alloc_skb() 45 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_htc_build_tx_ctrl_skb()
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_main.c | 1036 if (!IS_ALIGNED(range.iova, control.page_size) || in vfio_ioctl_device_feature_logging_start() 1037 !IS_ALIGNED(range.length, control.page_size)) { in vfio_ioctl_device_feature_logging_start() 1449 WARN_ON(!IS_ALIGNED(offset, sizeof(u64))); in vfio_info_cap_shift()
|
/openbmc/linux/drivers/dma/ |
H A D | sprd-dma.c | 921 if (IS_ALIGNED(len, 8)) { in sprd_dma_prep_dma_memcpy() 924 } else if (IS_ALIGNED(len, 4)) { in sprd_dma_prep_dma_memcpy() 927 } else if (IS_ALIGNED(len, 2)) { in sprd_dma_prep_dma_memcpy()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | hv-24x7.c | 301 if (!IS_ALIGNED((uintptr_t)dl_, 2)) in event_end() 316 if (!IS_ALIGNED((uintptr_t)ldl_, 2)) in event_end() 340 WARN_ON(!IS_ALIGNED(phys_4096, 4096)); in h_get_24x7_catalog_page_()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | intel_memory_region.c | 518 if (!IS_ALIGNED(daddr, ps)) { in igt_mock_max_segment() 852 if (!IS_ALIGNED(daddr, ps)) { in igt_lmem_create_with_ps() 1099 GEM_BUG_ON(!IS_ALIGNED(bytes[0], sizeof(u32))); in igt_lmem_write_cpu()
|
/openbmc/linux/drivers/nvdimm/ |
H A D | btt.c | 68 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write() 70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write() 423 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init() 467 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), in btt_log_init()
|
/openbmc/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif_capture.c | 87 if (!IS_ALIGNED((addr + common->ytop_off), 8) || in vpif_buffer_prepare() 88 !IS_ALIGNED((addr + common->ybtm_off), 8) || in vpif_buffer_prepare() 89 !IS_ALIGNED((addr + common->ctop_off), 8) || in vpif_buffer_prepare() 90 !IS_ALIGNED((addr + common->cbtm_off), 8)) { in vpif_buffer_prepare()
|
/openbmc/linux/include/linux/ |
H A D | huge_mm.h | 107 if (!IS_ALIGNED((vma->vm_start >> PAGE_SHIFT) - vma->vm_pgoff, in transhuge_vma_suitable()
|
/openbmc/linux/lib/lzo/ |
H A D | lzo1x_compress.c | 84 if (IS_ALIGNED((uintptr_t)ir, 4)) { in lzo1x_1_do_compress()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_mocs.c | 109 GEM_BUG_ON(!IS_ALIGNED(*offset, sizeof(u32))); in read_regs()
|
H A D | gen7_renderclear.c | 137 GEM_BUG_ON(!IS_ALIGNED(bytes, sizeof(*bc->start))); in batch_alloc_bytes()
|
/openbmc/linux/mm/kmsan/ |
H A D | core.c | 284 if (!IS_ALIGNED(address, KMSAN_ORIGIN_SIZE)) { in kmsan_internal_set_shadow_origin()
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-sha.c | 777 if (!IS_ALIGNED(sg->offset, sizeof(u32))) in atmel_sha_update_dma_start() 780 if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->block_size)) in atmel_sha_update_dma_start() 1400 if (!IS_ALIGNED(sg->offset, sizeof(u32))) in atmel_sha_dma_check_aligned() 1415 if (!IS_ALIGNED(sg->length, bs)) in atmel_sha_dma_check_aligned() 1594 if (!(IS_ALIGNED(datalen, ctx->block_size) || auto_padding)) in atmel_sha_cpu_hash() 2288 if (unlikely(!IS_ALIGNED(assoclen, sizeof(u32)))) in atmel_sha_authenc_init()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | sev.c | 846 if (!IS_ALIGNED(dst_paddr, 16) || in __sev_dbg_decrypt_user() 847 !IS_ALIGNED(paddr, 16) || in __sev_dbg_decrypt_user() 848 !IS_ALIGNED(size, 16)) { in __sev_dbg_decrypt_user() 884 if (!IS_ALIGNED((unsigned long)vaddr, 16)) { in __sev_dbg_encrypt_user() 903 if (!IS_ALIGNED((unsigned long)dst_vaddr, 16) || !IS_ALIGNED(size, 16)) { in __sev_dbg_encrypt_user()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | spear_smi.c | 649 if (IS_ALIGNED(len, sizeof(u32)) && in spear_smi_cpy_toio() 650 IS_ALIGNED((uintptr_t)dest, sizeof(u32))) in spear_smi_cpy_toio()
|
/openbmc/linux/drivers/dax/ |
H A D | bus.c | 617 if (!IS_ALIGNED(range->start, align) in alloc_dax_region() 618 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region() 923 return IS_ALIGNED(size, max_t(unsigned long, dev_dax->align, memremap_compat_align())); in alloc_is_aligned()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mt65xx.c | 1047 if (!IS_ALIGNED((size_t)op->data.buf.in, 4)) { in mtk_spi_mem_exec_op() 1094 if (!IS_ALIGNED((size_t)op->data.buf.in, 4)) in mtk_spi_mem_exec_op() 1099 !IS_ALIGNED((size_t)op->data.buf.in, 4)) in mtk_spi_mem_exec_op()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 124 if (IS_ALIGNED(size, AES_BLOCK_SIZE)) in validate_data_size() 132 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size() 141 if (IS_ALIGNED(size, SM4_BLOCK_SIZE)) in validate_data_size()
|
/openbmc/linux/arch/arm/mm/ |
H A D | mmu.c | 1217 if (!IS_ALIGNED(block_start, PMD_SIZE)) { in adjust_lowmem_bounds() 1253 if (!IS_ALIGNED(block_start, PMD_SIZE)) in adjust_lowmem_bounds() 1255 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in adjust_lowmem_bounds()
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 225 if (!IS_ALIGNED(offset, 4) || offset > MAX_WAKE_FILTER_SIZE) in bcmasp_netfilt_wr() 242 if (!IS_ALIGNED(offset, 4) || offset > MAX_WAKE_FILTER_SIZE) in bcmasp_netfilt_rd() 268 if (first_byte && (!IS_ALIGNED(offset, 4) || size < 3)) { in bcmasp_netfilt_wr_m_wake()
|
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A D | pgtable.c | 95 if (kvm_phys_is_valid(phys) && !IS_ALIGNED(phys, granule)) in kvm_block_mapping_supported() 98 return IS_ALIGNED(ctx->addr, granule); in kvm_block_mapping_supported() 1390 if (!IS_ALIGNED(phys, kvm_granule_size(level))) in kvm_pgtable_stage2_create_unlinked()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-dc.c | 170 if (!IS_ALIGNED(width, 8)) { in ipu_dc_init_sync()
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | regset.c | 237 if (user_ssp >= TASK_SIZE_MAX || !IS_ALIGNED(user_ssp, 8)) in ssp_set()
|