Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 226 – 250 of 403) sorted by relevance

12345678910>>...17

/openbmc/linux/fs/btrfs/
H A Ddefrag.c1074 ASSERT(IS_ALIGNED(start, sectorsize) && IS_ALIGNED(len, sectorsize)); in defrag_one_range()
H A Dcompression.c287 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/dma/
H A Dimg-mdc-dma.c228 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 Dpxa_dma.c940 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/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c480 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 Dhifn_795x.c1457 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 Ddevice.c267 if (!IS_ALIGNED(addr, dev_dax->align)) in dev_dax_may_split()
/openbmc/linux/drivers/md/
H A Ddm-io.c96 if (unlikely(!IS_ALIGNED((unsigned long)io, DM_IO_MAX_REGIONS))) { in store_io_and_region_in_bio()
/openbmc/linux/fs/f2fs/
H A Dfile.c936 !IS_ALIGNED(attr->ia_size, in f2fs_setattr()
2844 if (!IS_ALIGNED(pos_in, F2FS_BLKSIZE) || in f2fs_move_file_range()
2845 !IS_ALIGNED(pos_in + len, F2FS_BLKSIZE) || in f2fs_move_file_range()
2846 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
3868 if (!IS_ALIGNED(range.start, F2FS_BLKSIZE) || in f2fs_sec_trim_file()
3869 (!to_end && !IS_ALIGNED(end_addr, F2FS_BLKSIZE))) { in f2fs_sec_trim_file()
4389 if (!IS_ALIGNED(align, i_blocksize(inode)) && in f2fs_should_use_dio()
4390 IS_ALIGNED(align, bdev_logical_block_size(inode->i_sb->s_bdev))) in f2fs_should_use_dio()
/openbmc/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c840 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 Dpercpu.c2616 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 Dpage_owner.c581 if (!IS_ALIGNED(pfn, 1 << page_owner->order)) in read_page_owner()
H A Dslab.h115 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)));
/openbmc/linux/kernel/events/
H A Duprobes.c1157 if (!IS_ALIGNED(offset, UPROBE_SWBP_INSN_SIZE)) in __uprobe_register()
1159 if (!IS_ALIGNED(ref_ctr_offset, sizeof(short))) in __uprobe_register()
2012 if (WARN_ON_ONCE(!IS_ALIGNED(vaddr, UPROBE_SWBP_INSN_SIZE))) in is_trap_at_addr()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c361 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/drivers/crypto/qce/
H A Dskcipher.c279 if (!IS_ALIGNED(req->cryptlen, blocksize)) in qce_skcipher_crypt()
/openbmc/linux/drivers/spi/
H A Dspi-qup.c894 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 Di915_cmd_parser.c1455 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 Dmeson-gx-mmc.c862 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 Duniphier-sd.c268 if (!IS_ALIGNED(sg->offset, 8)) in uniphier_sd_internal_dma_start()
/openbmc/linux/drivers/s390/block/
H A Dscm_blk.c137 IS_ALIGNED(aidaw, PAGE_SIZE)) in scm_request_done()
/openbmc/linux/net/ethtool/
H A Dstats.c222 if (!IS_ALIGNED((unsigned long)skb_tail_pointer(skb), 8)) in stat_put()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c832 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 Dipu-di.c510 if (!IS_ALIGNED(mode->hactive, 8) && in ipu_di_adjust_videomode()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_ggtt_fencing.c80 GEM_BUG_ON(!IS_ALIGNED(stride, 128)); in i965_write_fence_reg()

12345678910>>...17