Searched refs:IS_ALIGNED (Results 1 - 103 of 103) sorted by relevance

/linux-4.1.27/arch/arm64/kernel/
H A Dio.c28 while (count && (!IS_ALIGNED((unsigned long)from, 8) || __memcpy_fromio()
29 !IS_ALIGNED((unsigned long)to, 8))) { __memcpy_fromio()
57 while (count && (!IS_ALIGNED((unsigned long)to, 8) || __memcpy_toio()
58 !IS_ALIGNED((unsigned long)from, 8))) { __memcpy_toio()
92 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { __memset_io()
/linux-4.1.27/arch/x86/mm/
H A Dkasan_init_64.c85 while (IS_ALIGNED(addr, PMD_SIZE) && addr + PMD_SIZE <= end) { zero_pmd_populate()
111 while (IS_ALIGNED(addr, PUD_SIZE) && addr + PUD_SIZE <= end) { zero_pud_populate()
136 while (IS_ALIGNED(addr, PGDIR_SIZE) && addr + PGDIR_SIZE <= end) { zero_pgd_populate()
H A Dinit_64.c817 if (IS_ALIGNED(addr, PAGE_SIZE) && remove_pte_table()
818 IS_ALIGNED(next, PAGE_SIZE)) { remove_pte_table()
879 if (IS_ALIGNED(addr, PMD_SIZE) && remove_pmd_table()
880 IS_ALIGNED(next, PMD_SIZE)) { remove_pmd_table()
935 if (IS_ALIGNED(addr, PUD_SIZE) && remove_pud_table()
936 IS_ALIGNED(next, PUD_SIZE)) { remove_pud_table()
/linux-4.1.27/lib/
H A Dioremap.c86 IS_ALIGNED(phys_addr + addr, PMD_SIZE)) { ioremap_pmd_range()
112 IS_ALIGNED(phys_addr + addr, PUD_SIZE)) { ioremap_pud_range()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_interval.c52 BUG_ON(!IS_ALIGNED(this->size, 512)); drbd_insert_interval()
140 BUG_ON(!IS_ALIGNED(size, 512)); drbd_find_overlap()
H A Ddrbd_actlog.c841 if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_DISCARD_SIZE) { __drbd_change_sync()
H A Ddrbd_req.c1505 D_ASSERT(device, IS_ALIGNED(bio->bi_iter.bi_size, 512)); drbd_make_request()
H A Ddrbd_main.c569 BUILD_BUG_ON(!IS_ALIGNED(sizeof(struct p_header100), 8)); drbd_header_size()
574 BUILD_BUG_ON(!IS_ALIGNED(sizeof(struct p_header80), 8)); drbd_header_size()
H A Ddrbd_receiver.c1619 if (!expect(IS_ALIGNED(data_size, 512))) __must_hold()
2533 if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_BIO_SIZE) { receive_DataRequest()
/linux-4.1.27/arch/arm64/mm/
H A Dpageattr.c48 if (!IS_ALIGNED(addr, PAGE_SIZE)) { change_memory_common()
H A Dmmu.c399 if (!IS_ALIGNED((unsigned long)_stext, SECTION_SIZE)) { fixup_executable()
408 if (!IS_ALIGNED((unsigned long)__init_end, SECTION_SIZE)) { fixup_executable()
H A Dinit.c270 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION))
/linux-4.1.27/arch/arm/mm/
H A Dpageattr.c46 if (!IS_ALIGNED(addr, PAGE_SIZE)) { change_memory_common()
H A Dinit.c405 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION))
666 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || \
667 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { \
H A Dmmu.c1128 if (!IS_ALIGNED(block_start, PMD_SIZE)) for_each_memblock()
1130 else if (!IS_ALIGNED(block_end, PMD_SIZE)) for_each_memblock()
/linux-4.1.27/fs/btrfs/
H A Duuid-tree.c71 if (!IS_ALIGNED(item_size, sizeof(u64))) { btrfs_uuid_tree_lookup()
200 if (!IS_ALIGNED(item_size, sizeof(u64))) { btrfs_uuid_tree_rem()
301 if (!IS_ALIGNED(item_size, sizeof(u64))) { btrfs_uuid_tree_iterate()
H A Dprint-tree.c156 if (!IS_ALIGNED(item_size, sizeof(u64))) { print_uuid_item()
H A Dfile-item.c322 ASSERT(IS_ALIGNED(start, root->sectorsize) && btrfs_lookup_csums_range()
323 IS_ALIGNED(end + 1, root->sectorsize)); btrfs_lookup_csums_range()
H A Dioctl.c2891 if (!IS_ALIGNED(off, bs) || !IS_ALIGNED(off + len, bs)) extent_same_check_offsets()
3775 if (!IS_ALIGNED(off, bs) || !IS_ALIGNED(off + len, bs) || btrfs_ioctl_clone()
3776 !IS_ALIGNED(destoff, bs)) btrfs_ioctl_clone()
H A Drelocation.c1686 WARN_ON(!IS_ALIGNED(key.offset, replace_file_extents()
1688 WARN_ON(!IS_ALIGNED(end, root->sectorsize)); replace_file_extents()
2058 WARN_ON(!IS_ALIGNED(start, root->sectorsize)); invalidate_extent_cache()
2073 WARN_ON(!IS_ALIGNED(end, root->sectorsize)); invalidate_extent_cache()
H A Ddisk-io.c3938 if (!IS_ALIGNED(btrfs_super_root(sb), 4096)) btrfs_check_super_valid()
3941 if (!IS_ALIGNED(btrfs_super_chunk_root(sb), 4096)) btrfs_check_super_valid()
3944 if (!IS_ALIGNED(btrfs_super_log_root(sb), 4096)) btrfs_check_super_valid()
H A Dsend.c4644 if (clone_root && IS_ALIGNED(offset + len, bs)) { send_write_or_clone()
/linux-4.1.27/drivers/crypto/
H A Datmel-aes.c435 in = IS_ALIGNED((u32)dd->in_sg->offset, sizeof(u32)) && atmel_aes_crypt_dma_start()
436 IS_ALIGNED(dd->in_sg->length, dd->ctx->block_size); atmel_aes_crypt_dma_start()
437 out = IS_ALIGNED((u32)dd->out_sg->offset, sizeof(u32)) && atmel_aes_crypt_dma_start()
438 IS_ALIGNED(dd->out_sg->length, dd->ctx->block_size); atmel_aes_crypt_dma_start()
714 if (!IS_ALIGNED(req->nbytes, CFB8_BLOCK_SIZE)) { atmel_aes_crypt()
720 if (!IS_ALIGNED(req->nbytes, CFB16_BLOCK_SIZE)) { atmel_aes_crypt()
726 if (!IS_ALIGNED(req->nbytes, CFB32_BLOCK_SIZE)) { atmel_aes_crypt()
732 if (!IS_ALIGNED(req->nbytes, CFB64_BLOCK_SIZE)) { atmel_aes_crypt()
738 if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { atmel_aes_crypt()
H A Datmel-tdes.c516 in = IS_ALIGNED((u32)dd->in_sg->offset, sizeof(u32)) && atmel_tdes_crypt_start()
517 IS_ALIGNED(dd->in_sg->length, dd->ctx->block_size); atmel_tdes_crypt_start()
518 out = IS_ALIGNED((u32)dd->out_sg->offset, sizeof(u32)) && atmel_tdes_crypt_start()
519 IS_ALIGNED(dd->out_sg->length, dd->ctx->block_size); atmel_tdes_crypt_start()
678 if (!IS_ALIGNED(req->nbytes, CFB8_BLOCK_SIZE)) { atmel_tdes_crypt()
684 if (!IS_ALIGNED(req->nbytes, CFB16_BLOCK_SIZE)) { atmel_tdes_crypt()
690 if (!IS_ALIGNED(req->nbytes, CFB32_BLOCK_SIZE)) { atmel_tdes_crypt()
696 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { atmel_tdes_crypt()
H A Ds5p-sss.c263 if (!IS_ALIGNED(sg_dma_len(sg), AES_BLOCK_SIZE)) { s5p_set_outdata()
289 if (!IS_ALIGNED(sg_dma_len(sg), AES_BLOCK_SIZE)) { s5p_set_indata()
538 if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { s5p_aes_crypt()
H A Domap-aes.c562 if (!IS_ALIGNED(sg->offset, 4)) omap_aes_check_aligned()
564 if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE)) omap_aes_check_aligned()
729 if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { omap_aes_crypt()
H A Domap-des.c545 if (!IS_ALIGNED(sg->offset, 4)) omap_des_copy_needed()
547 if (!IS_ALIGNED(sg->length, DES_BLOCK_SIZE)) omap_des_copy_needed()
711 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { omap_des_crypt()
H A Datmel-sha.c565 if (!IS_ALIGNED(sg->offset, sizeof(u32))) atmel_sha_update_dma_start()
568 if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->block_size)) atmel_sha_update_dma_start()
H A Dhifn_795x.c1507 if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || hifn_cipher_walk()
1508 !IS_ALIGNED(dst->length, HIFN_D_DST_DALIGN) || hifn_cipher_walk()
1594 if (!IS_ALIGNED(dst->offset, HIFN_D_DST_DALIGN) || hifn_setup_session()
1595 !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) hifn_setup_session()
H A Domap-sham.c713 #define SG_AA(sg) (IS_ALIGNED(sg->offset, sizeof(u32)))
715 #define SG_SA(sg, bs) (IS_ALIGNED(sg->length, bs))
H A Dsahara.c673 if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { sahara_aes_crypt()
/linux-4.1.27/net/netfilter/
H A Dnft_payload.c134 if (len <= 4 && is_power_of_2(len) && IS_ALIGNED(offset, len) && nft_payload_select_ops()
/linux-4.1.27/drivers/dma/
H A Dmpc512x_dma.c645 if (IS_ALIGNED(src | dst | len, 32)) { mpc_dma_prep_memcpy()
650 } else if (!mdma->is_mpc8308 && IS_ALIGNED(src | dst | len, 16)) { mpc_dma_prep_memcpy()
656 } else if (IS_ALIGNED(src | dst | len, 4)) { mpc_dma_prep_memcpy()
661 } else if (IS_ALIGNED(src | dst | len, 2)) { mpc_dma_prep_memcpy()
745 if (!IS_ALIGNED(sg_dma_address(sg), 4)) for_each_sg()
765 if (!IS_ALIGNED(len, tcd->nbytes)) for_each_sg()
822 !IS_ALIGNED(cfg->src_addr, 4) || mpc_dma_device_config()
823 !IS_ALIGNED(cfg->dst_addr, 4)) { mpc_dma_device_config()
H A Dimg-mdc-dma.c231 if (IS_ALIGNED(dst, mdma->bus_width) && mdc_list_desc_config()
232 IS_ALIGNED(src, mdma->bus_width)) mdc_list_desc_config()
H A Dste_dma40_ll.c152 if (!IS_ALIGNED(data, data_width)) d40_phy_fill_lli()
H A Dat_xdmac.c653 fixed_dwidth = IS_ALIGNED(len, 1 << dwidth) for_each_sg()
H A Damba-pl08x.c137 #define IS_BUS_ALIGNED(bus) IS_ALIGNED((bus)->addr, (bus)->buswidth)
H A Dste_dma40.c1026 if (!IS_ALIGNED(size, max_w)) d40_size_2_dmalen()
/linux-4.1.27/crypto/
H A Dseqiv.c117 if (unlikely(!IS_ALIGNED((unsigned long)info, seqiv_givencrypt()
163 if (unlikely(!IS_ALIGNED((unsigned long)info, seqiv_aead_givencrypt()
/linux-4.1.27/drivers/spi/
H A Dspi-pxa2xx.h135 #define IS_DMA_ALIGNED(x) IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
H A Dspi-qup.c677 !IS_ALIGNED((size_t)xfer->rx_buf, dma_align))) spi_qup_can_dma()
682 !IS_ALIGNED((size_t)xfer->tx_buf, dma_align))) spi_qup_can_dma()
/linux-4.1.27/mm/
H A Dpage_ext.c135 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || alloc_node_page_ext()
136 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) alloc_node_page_ext()
H A Dcma.c189 if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) cma_init_reserved_mem()
279 if (!IS_ALIGNED(size >> PAGE_SHIFT, 1 << order_per_bit)) cma_declare_contiguous()
H A Dbootmem.c210 if (IS_ALIGNED(start, BITS_PER_LONG) && vec == ~0UL) { free_all_bootmem_core()
H A Dmemory_hotplug.c1679 if (!IS_ALIGNED(start_pfn, pageblock_nr_pages)) __offline_pages()
1681 if (!IS_ALIGNED(end_pfn, pageblock_nr_pages)) __offline_pages()
H A Dvmalloc.c2401 BUG_ON(!IS_ALIGNED(offsets[area], align)); pcpu_get_vm_areas()
2402 BUG_ON(!IS_ALIGNED(sizes[area], align)); pcpu_get_vm_areas()
H A Dhugetlb.c1201 VM_BUG_ON(!IS_ALIGNED(start_pfn, 1 << minimum_order)); dissolve_free_huge_pages()
1563 BUG_ON(!IS_ALIGNED(virt_to_phys(m), huge_page_size(h))); alloc_bootmem_huge_page()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr600_cs.c412 if (!IS_ALIGNED(pitch, pitch_align)) { r600_cs_track_validate_cb()
417 if (!IS_ALIGNED(height, height_align)) { r600_cs_track_validate_cb()
422 if (!IS_ALIGNED(base_offset, base_align)) { r600_cs_track_validate_cb()
603 if (!IS_ALIGNED(pitch, pitch_align)) { r600_cs_track_validate_db()
608 if (!IS_ALIGNED(height, height_align)) { r600_cs_track_validate_db()
613 if (!IS_ALIGNED(base_offset, base_align)) { r600_cs_track_validate_db()
1564 if (!IS_ALIGNED(pitch, pitch_align)) { r600_check_texture_resource()
1569 if (!IS_ALIGNED(base_offset, base_align)) { r600_check_texture_resource()
1574 if (!IS_ALIGNED(mip_offset, base_align)) { r600_check_texture_resource()
/linux-4.1.27/drivers/mtd/nand/
H A Dfsmc_nand.c634 if (IS_ALIGNED((uint32_t)buf, sizeof(uint32_t)) && fsmc_write_buf()
635 IS_ALIGNED(len, sizeof(uint32_t))) { fsmc_write_buf()
657 if (IS_ALIGNED((uint32_t)buf, sizeof(uint32_t)) && fsmc_read_buf()
658 IS_ALIGNED(len, sizeof(uint32_t))) { fsmc_read_buf()
/linux-4.1.27/fs/xfs/
H A Dxfs_log.h50 ASSERT(IS_ALIGNED((unsigned long)vec->i_addr, sizeof(uint64_t))); xlog_prepare_iovec()
H A Dxfs_log_cil.c261 ASSERT(IS_ALIGNED((unsigned long)lv->lv_buf, sizeof(uint64_t))); xlog_cil_insert_format_items()
/linux-4.1.27/drivers/scsi/
H A Dvmw_pvscsi.c442 BUG_ON(!IS_ALIGNED(adapter->ringStatePA, PAGE_SIZE)); pvscsi_allocate_rings()
443 BUG_ON(!IS_ALIGNED(adapter->reqRingPA, PAGE_SIZE)); pvscsi_allocate_rings()
444 BUG_ON(!IS_ALIGNED(adapter->cmpRingPA, PAGE_SIZE)); pvscsi_allocate_rings()
456 BUG_ON(!IS_ALIGNED(adapter->msgRingPA, PAGE_SIZE)); pvscsi_allocate_rings()
1257 BUG_ON(!IS_ALIGNED(((unsigned long)ctx->sgl), PAGE_SIZE)); pvscsi_allocate_sg()
/linux-4.1.27/drivers/hsi/clients/
H A Dhsi_char.c434 if (!IS_ALIGNED(len, sizeof(u32))) hsc_read()
491 if ((len == 0) || !IS_ALIGNED(len, sizeof(u32))) hsc_write()
/linux-4.1.27/fs/nfs/blocklayout/
H A Dblocklayout.c760 if (!IS_ALIGNED(req->wb_offset, alignment)) is_aligned_req()
763 if (IS_ALIGNED(req->wb_bytes, alignment)) is_aligned_req()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_rio.c199 if (offset > (0x1000000 - len) || !IS_ALIGNED(offset, len)) fsl_rio_config_read()
257 if (offset > (0x1000000 - len) || !IS_ALIGNED(offset, len)) fsl_rio_config_write()
/linux-4.1.27/drivers/media/platform/davinci/
H A Dvpif_capture.c91 if (!IS_ALIGNED((addr + common->ytop_off), 8) || vpif_buffer_prepare()
92 !IS_ALIGNED((addr + common->ybtm_off), 8) || vpif_buffer_prepare()
93 !IS_ALIGNED((addr + common->ctop_off), 8) || vpif_buffer_prepare()
94 !IS_ALIGNED((addr + common->cbtm_off), 8)) { vpif_buffer_prepare()
H A Dvpbe_display.c223 if (!IS_ALIGNED(addr, 8)) { vpbe_buffer_prepare()
/linux-4.1.27/drivers/firmware/efi/libstub/
H A Darm-stub.c400 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) efi_get_virtmap()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx-842.c184 if (IS_ALIGNED(buf, NX842_HW_PAGE_SIZE)) nx842_build_scatterlist()
353 if (!IS_ALIGNED(inbuf, PAGE_SIZE) || inlen != PAGE_SIZE) nx842_compress()
548 if (!IS_ALIGNED(outbuf, PAGE_SIZE) || *outlen != PAGE_SIZE) nx842_decompress()
563 if (likely(!IS_ALIGNED(inbuf, IO_BUFFER_ALIGN))) { nx842_decompress()
/linux-4.1.27/drivers/iommu/
H A Diommu.c1051 if (!IS_ALIGNED(iova | paddr | size, min_pagesz)) { iommu_map()
1105 if (!IS_ALIGNED(iova | size, min_pagesz)) { iommu_unmap()
1158 if (!IS_ALIGNED(s->offset, min_pagesz)) for_each_sg()
H A Domap-iommu.c148 if (!obj->iopgd || !IS_ALIGNED((u32)obj->iopgd, SZ_16K)) omap2_iommu_enable()
152 if (!IS_ALIGNED(pa, SZ_16K)) omap2_iommu_enable()
1255 BUG_ON(!IS_ALIGNED((long)omap_domain->pgtable, IOPGD_TABLE_SIZE)); omap_iommu_domain_alloc()
H A Damd_iommu.c1398 BUG_ON(!IS_ALIGNED(bus_addr, page_size)); iommu_map_page()
1399 BUG_ON(!IS_ALIGNED(phys_addr, page_size)); iommu_map_page()
/linux-4.1.27/arch/powerpc/perf/
H A Dhv-24x7.c215 if (!IS_ALIGNED((uintptr_t)dl_, 2)) event_end()
230 if (!IS_ALIGNED((uintptr_t)ldl_, 2)) event_end()
255 WARN_ON(!IS_ALIGNED(phys_4096, 4096)); h_get_24x7_catalog_page_()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c485 if (!IS_ALIGNED((unsigned long) skb->data - HTC_HDR_LENGTH, 4) && ath6kl_data_tx()
906 if (!IS_ALIGNED((unsigned long) skb->data, 4)) { ath6kl_rx_refill()
932 if (!IS_ALIGNED((unsigned long) skb->data, 4)) { ath6kl_refill_amsdu_rxbufs()
H A Dhtc_mbox.c352 if (!IS_ALIGNED((unsigned long) *buf, 4)) { ath6kl_htc_tx_buf_align()
/linux-4.1.27/drivers/md/
H A Ddm-io.c93 if (unlikely(!IS_ALIGNED((unsigned long)io, DM_IO_MAX_REGIONS))) { store_io_and_region_in_bio()
/linux-4.1.27/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c344 if (!(IS_ALIGNED(add, mtd->writesize))) { /* do sw program */ lpddr2_nvm_write()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c220 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); ath10k_htt_send_rx_ring_cfg_ll()
H A Dhtc.c816 if (!IS_ALIGNED((unsigned long)skb->data, 4)) ath10k_htc_alloc_skb()
H A Dhtt_rx.c109 if (!IS_ALIGNED((unsigned long)skb->data, HTT_RX_DESC_ALIGN)) __ath10k_htt_rx_ring_fill_n()
1897 if (!IS_ALIGNED((unsigned long)skb->data, 4)) ath10k_htt_t2h_msg_handler()
H A Ddebug.c1053 if (!IS_ALIGNED(reg_addr, 4)) ath10k_reg_addr_write()
H A Dwmi.c913 if (!IS_ALIGNED((unsigned long)skb->data, 4)) ath10k_wmi_alloc_skb()
/linux-4.1.27/drivers/s390/block/
H A Dscm_blk.c139 IS_ALIGNED(aidaw, PAGE_SIZE)) scm_request_done()
/linux-4.1.27/drivers/usb/dwc3/
H A Dep0.c839 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && dwc3_ep0_complete_data()
932 } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) __dwc3_ep0_do_control_data()
/linux-4.1.27/drivers/mmc/card/
H A Dblock.c1184 if (!IS_ALIGNED(brq->cmd.arg, card->ext_csd.rel_sectors)) mmc_apply_rel_rw()
1566 !IS_ALIGNED(blk_rq_sectors(cur), 8)) mmc_blk_prep_packed_list()
1600 !IS_ALIGNED(blk_rq_sectors(next), 8)) mmc_blk_prep_packed_list()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-dma-contig.c590 if (!IS_ALIGNED(vaddr | size, dma_align)) { vb2_dc_get_userptr()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.c323 IS_ALIGNED((x), SI_CORE_SIZE))
H A Ddma.c447 if (!IS_ALIGNED(PAGE_SIZE, align)) dma_alloc_consistent()
/linux-4.1.27/virt/kvm/
H A Deventfd.c694 BUG_ON(!IS_ALIGNED((unsigned long)val, len)); ioeventfd_in_range()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Domap1_camera.c1131 return IS_ALIGNED(bytes_per_line, DMA_ELEMENT_SIZE) && is_dma_aligned()
1132 IS_ALIGNED(size, DMA_FRAME_SIZE(vb_mode) * DMA_ELEMENT_SIZE); is_dma_aligned()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c530 if (unlikely(!IS_ALIGNED((u32)sg, 4))) { cryp_set_dma_transfer()
759 if (unlikely(!IS_ALIGNED((u32)indata, 4))) { hw_crypt_noxts()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c523 if ((aligned && !IS_ALIGNED(sg->offset, HASH_DMA_ALIGN_SIZE)) || hash_get_nents()
524 (!IS_ALIGNED(sg->length, HASH_DMA_ALIGN_SIZE) && size > 0)) hash_get_nents()
/linux-4.1.27/drivers/android/
H A Dbinder.c1266 !IS_ALIGNED(*offp, sizeof(u32))) { binder_transaction_buffer_release()
1518 if (!IS_ALIGNED(tr->offsets_size, sizeof(binder_size_t))) { binder_transaction()
1530 !IS_ALIGNED(*offp, sizeof(u32))) { binder_transaction()
/linux-4.1.27/drivers/staging/media/omap4iss/
H A Diss_video.c332 if (!IS_ALIGNED(addr, 32)) { iss_video_buf_prepare()
/linux-4.1.27/sound/firewire/
H A Damdtp.c605 p.interrupt = IS_ALIGNED(s->packet_index + 1, INTERRUPT_INTERVAL); queue_packet()
/linux-4.1.27/include/linux/
H A Dkernel.h52 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) macro
H A Dmm.h89 #define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)addr, PAGE_SIZE) set_max_mapnr()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_bsg.c2038 !IS_ALIGNED(iocmd->bufsz, sizeof(u16)) || bfad_iocmd_debug_fw_core()
2039 !IS_ALIGNED(iocmd->offset, sizeof(u32))) { bfad_iocmd_debug_fw_core()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c3358 if (!IS_ALIGNED((u32)bm_pool->virt_addr, MVPP2_BM_POOL_PTR_ALIGN)) { mvpp2_bm_pool_create()
5405 if (!IS_ALIGNED(MVPP2_RX_PKT_SIZE(mtu), 8)) { mvpp2_check_mtu_valid()
5425 else if (!IS_ALIGNED(ring->rx_pending, 16)) mvpp2_check_ringparam_valid()
5430 else if (!IS_ALIGNED(ring->tx_pending, 32)) mvpp2_check_ringparam_valid()
H A Dmvneta.c2491 if (!IS_ALIGNED(MVNETA_RX_PKT_SIZE(mtu), 8)) { mvneta_check_mtu_valid()
H A Dsky2.c2477 if (!IS_ALIGNED(re->data_addr + ETH_HLEN, sizeof(u32))) needs_copy()
/linux-4.1.27/drivers/net/wireless/ath/ar5523/
H A Dar5523.c585 if (!IS_ALIGNED(hdrlen, 4)) { ar5523_data_rx_cb()
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispvideo.c360 if (!IS_ALIGNED(addr, 32)) { isp_video_buffer_prepare()
/linux-4.1.27/drivers/ntb/
H A Dntb_transport.c585 if (!IS_ALIGNED(mw->dma_addr, mw->size)) { ntb_set_mw()
/linux-4.1.27/arch/x86/kvm/
H A Dlapic.c2036 if (!IS_ALIGNED(addr, 4)) kvm_lapic_enable_pv_eoi()
H A Dvmx.c8707 if (!IS_ALIGNED(vmcs12->posted_intr_desc_addr, 64) || nested_get_vmcs12_pages()
8920 if (!IS_ALIGNED(addr, 16) || addr >> maxphyaddr || nested_vmx_check_msr_switch()
/linux-4.1.27/virt/kvm/arm/
H A Dvgic.c1953 if (!IS_ALIGNED(*addr, alignment)) kvm_vgic_addr()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c432 if (!IS_ALIGNED(req->nm_frame_size, NL_MMAP_MSG_ALIGNMENT)) netlink_set_ring()
/linux-4.1.27/kernel/events/
H A Dcore.c5920 while (!IS_ALIGNED(size, sizeof(u64))) perf_event_mmap_event()
7781 else if (!IS_ALIGNED(attr->sample_stack_user, sizeof(u64))) perf_copy_attr()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c4601 if (!IS_ALIGNED(fw->size, sizeof(u32))) { lancer_fw_download()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c2821 /* precondition: IS_ALIGNED((unsigned long)(pkt->data), 2) */ brcmf_sdio_bus_txdata()
/linux-4.1.27/fs/
H A Ddcache.c2497 BUILD_BUG_ON(!IS_ALIGNED(DNAME_INLINE_LEN, sizeof(long))); swap_names()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_init.c5984 if (!IS_ALIGNED(dmabuf->phys, LPFC_HDR_TEMPLATE_SIZE)) { lpfc_sli4_create_rpi_hdr()

Completed in 4342 milliseconds