/openbmc/linux/drivers/virt/nitro_enclaves/ |
H A D | ne_misc_dev.c | 763 if (!IS_ALIGNED(mem_region.userspace_addr, NE_MIN_MEM_REGION_SIZE)) { in ne_sanity_check_user_mem_region() 859 if (!IS_ALIGNED(phys_mem_region_paddr, NE_MIN_MEM_REGION_SIZE)) { in ne_sanity_check_phys_mem_region()
|
/openbmc/linux/drivers/dma/ |
H A D | img-mdc-dma.c | 228 if (IS_ALIGNED(dst, mdma->bus_width) && in mdc_list_desc_config() 229 IS_ALIGNED(src, mdma->bus_width)) in mdc_list_desc_config()
|
H A D | pxa_dma.c | 940 if (!IS_ALIGNED(dma_src, 1 << PDMA_ALIGNMENT) || in pxad_prep_memcpy() 941 !IS_ALIGNED(dma_dst, 1 << PDMA_ALIGNMENT)) in pxad_prep_memcpy() 1031 !IS_ALIGNED(period_len, 1 << PDMA_ALIGNMENT)) in pxad_prep_dma_cyclic()
|
/openbmc/linux/fs/btrfs/ |
H A D | defrag.c | 1074 ASSERT(IS_ALIGNED(start, sectorsize) && IS_ALIGNED(len, sectorsize)); in defrag_one_range()
|
H A D | compression.c | 287 ASSERT(IS_ALIGNED(ordered->file_offset, fs_info->sectorsize)); in btrfs_submit_compressed_write() 288 ASSERT(IS_ALIGNED(ordered->num_bytes, fs_info->sectorsize)); in btrfs_submit_compressed_write()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | txrx.c | 480 if (!IS_ALIGNED((unsigned long) skb->data - HTC_HDR_LENGTH, 4) && in ath6kl_data_tx() 901 if (!IS_ALIGNED((unsigned long) skb->data, 4)) { in ath6kl_rx_refill() 927 if (!IS_ALIGNED((unsigned long) skb->data, 4)) { in ath6kl_refill_amsdu_rxbufs()
|
/openbmc/linux/drivers/crypto/ |
H A D | hifn_795x.c | 1457 if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || in hifn_cipher_walk() 1458 !IS_ALIGNED(dst->length, HIFN_D_DST_DALIGN) || in hifn_cipher_walk() 1543 if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || in hifn_setup_session() 1544 !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) in hifn_setup_session()
|
/openbmc/linux/drivers/dax/ |
H A D | device.c | 267 if (!IS_ALIGNED(addr, dev_dax->align)) in dev_dax_may_split()
|
/openbmc/linux/drivers/md/ |
H A D | dm-io.c | 96 if (unlikely(!IS_ALIGNED((unsigned long)io, DM_IO_MAX_REGIONS))) { in store_io_and_region_in_bio()
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 978 !IS_ALIGNED(attr->ia_size, in f2fs_setattr() 2889 if (!IS_ALIGNED(pos_in, F2FS_BLKSIZE) || in f2fs_move_file_range() 2890 !IS_ALIGNED(pos_in + len, F2FS_BLKSIZE) || in f2fs_move_file_range() 2891 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range() 3913 if (!IS_ALIGNED(range.start, F2FS_BLKSIZE) || in f2fs_sec_trim_file() 3914 (!to_end && !IS_ALIGNED(end_addr, F2FS_BLKSIZE))) { in f2fs_sec_trim_file() 4434 if (!IS_ALIGNED(align, i_blocksize(inode)) && in f2fs_should_use_dio() 4435 IS_ALIGNED(align, bdev_logical_block_size(inode->i_sb->s_bdev))) in f2fs_should_use_dio()
|
/openbmc/linux/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 840 if (!IS_ALIGNED(addr, ARTPEC_CACHE_LINE_MAX)) { in artpec6_crypto_setup_sg_descrs_in() 1935 if (!IS_ALIGNED(areq->assoclen, 16)) { in artpec6_crypto_prepare_aead() 1952 if (!IS_ALIGNED(input_length, 16)) { in artpec6_crypto_prepare_aead() 1986 if (!IS_ALIGNED(output_len, 16)) { in artpec6_crypto_prepare_aead()
|
/openbmc/linux/mm/ |
H A D | percpu.c | 2616 PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->unit_size, PCPU_BITMAP_BLOCK_SIZE)); in pcpu_setup_first_chunk() 2618 PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->reserved_size, PCPU_MIN_ALLOC_SIZE)); in pcpu_setup_first_chunk() 2619 PCPU_SETUP_BUG_ON(!(IS_ALIGNED(PCPU_BITMAP_BLOCK_SIZE, PAGE_SIZE) || in pcpu_setup_first_chunk() 2620 IS_ALIGNED(PAGE_SIZE, PCPU_BITMAP_BLOCK_SIZE))); in pcpu_setup_first_chunk()
|
H A D | page_owner.c | 581 if (!IS_ALIGNED(pfn, 1 << page_owner->order)) in read_page_owner()
|
H A D | slab.h | 115 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)));
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 361 if (!IS_ALIGNED(req->cryptlen, ctx->enc_align_len)) in cpt_enc_dec() 1028 if (req->assoclen > 248 || !IS_ALIGNED(req->assoclen, 8)) in create_aead_ctx_hdr() 1322 if (!IS_ALIGNED(req_info->req.param1, ctx->enc_align_len)) in cpt_aead_enc_dec()
|
/openbmc/linux/kernel/events/ |
H A D | uprobes.c | 1157 if (!IS_ALIGNED(offset, UPROBE_SWBP_INSN_SIZE)) in __uprobe_register() 1159 if (!IS_ALIGNED(ref_ctr_offset, sizeof(short))) in __uprobe_register() 2011 if (WARN_ON_ONCE(!IS_ALIGNED(vaddr, UPROBE_SWBP_INSN_SIZE))) in is_trap_at_addr()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | skcipher.c | 279 if (!IS_ALIGNED(req->cryptlen, blocksize)) in qce_skcipher_crypt()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-qup.c | 894 if (!IS_ALIGNED((size_t)xfer->rx_buf, dma_align) || in spi_qup_can_dma() 902 if (!IS_ALIGNED((size_t)xfer->tx_buf, dma_align) || in spi_qup_can_dma()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_cmd_parser.c | 1455 GEM_BUG_ON(!IS_ALIGNED(batch_offset, sizeof(*cmd))); in intel_engine_cmd_parser() 1456 GEM_BUG_ON(!IS_ALIGNED(batch_length, sizeof(*cmd))); in intel_engine_cmd_parser()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | meson-gx-mmc.c | 862 if (!IS_ALIGNED(sg->offset, sizeof(u32)) || in meson_mmc_validate_dram_access() 863 !IS_ALIGNED(sg->length, sizeof(u32))) { in meson_mmc_validate_dram_access()
|
H A D | uniphier-sd.c | 268 if (!IS_ALIGNED(sg->offset, 8)) in uniphier_sd_internal_dma_start()
|
/openbmc/linux/drivers/s390/block/ |
H A D | scm_blk.c | 137 IS_ALIGNED(aidaw, PAGE_SIZE)) in scm_request_done()
|
/openbmc/linux/net/ethtool/ |
H A D | stats.c | 222 if (!IS_ALIGNED((unsigned long)skb_tail_pointer(skb), 8)) in stat_put()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt_tx.c | 832 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_32() 904 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_64() 973 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_hl()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 510 if (!IS_ALIGNED(mode->hactive, 8) && in ipu_di_adjust_videomode()
|