/linux-4.1.27/arch/arm64/kernel/ |
H A D | io.c | 28 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 D | kasan_init_64.c | 85 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 D | init_64.c | 817 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 D | ioremap.c | 86 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 D | drbd_interval.c | 52 BUG_ON(!IS_ALIGNED(this->size, 512)); drbd_insert_interval() 140 BUG_ON(!IS_ALIGNED(size, 512)); drbd_find_overlap()
|
H A D | drbd_actlog.c | 841 if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_DISCARD_SIZE) { __drbd_change_sync()
|
H A D | drbd_req.c | 1505 D_ASSERT(device, IS_ALIGNED(bio->bi_iter.bi_size, 512)); drbd_make_request()
|
H A D | drbd_main.c | 569 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 D | drbd_receiver.c | 1619 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 D | pageattr.c | 48 if (!IS_ALIGNED(addr, PAGE_SIZE)) { change_memory_common()
|
H A D | mmu.c | 399 if (!IS_ALIGNED((unsigned long)_stext, SECTION_SIZE)) { fixup_executable() 408 if (!IS_ALIGNED((unsigned long)__init_end, SECTION_SIZE)) { fixup_executable()
|
H A D | init.c | 270 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION))
|
/linux-4.1.27/arch/arm/mm/ |
H A D | pageattr.c | 46 if (!IS_ALIGNED(addr, PAGE_SIZE)) { change_memory_common()
|
H A D | init.c | 405 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 D | mmu.c | 1128 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 D | uuid-tree.c | 71 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 D | print-tree.c | 156 if (!IS_ALIGNED(item_size, sizeof(u64))) { print_uuid_item()
|
H A D | file-item.c | 322 ASSERT(IS_ALIGNED(start, root->sectorsize) && btrfs_lookup_csums_range() 323 IS_ALIGNED(end + 1, root->sectorsize)); btrfs_lookup_csums_range()
|
H A D | ioctl.c | 2891 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 D | relocation.c | 1686 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 D | disk-io.c | 3938 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 D | send.c | 4644 if (clone_root && IS_ALIGNED(offset + len, bs)) { send_write_or_clone()
|
/linux-4.1.27/drivers/crypto/ |
H A D | atmel-aes.c | 435 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 D | atmel-tdes.c | 516 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 D | s5p-sss.c | 263 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 D | omap-aes.c | 562 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 D | omap-des.c | 545 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 D | atmel-sha.c | 565 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 D | hifn_795x.c | 1507 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 D | omap-sham.c | 713 #define SG_AA(sg) (IS_ALIGNED(sg->offset, sizeof(u32))) 715 #define SG_SA(sg, bs) (IS_ALIGNED(sg->length, bs))
|
H A D | sahara.c | 673 if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { sahara_aes_crypt()
|
/linux-4.1.27/net/netfilter/ |
H A D | nft_payload.c | 134 if (len <= 4 && is_power_of_2(len) && IS_ALIGNED(offset, len) && nft_payload_select_ops()
|
/linux-4.1.27/drivers/dma/ |
H A D | mpc512x_dma.c | 645 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 D | img-mdc-dma.c | 231 if (IS_ALIGNED(dst, mdma->bus_width) && mdc_list_desc_config() 232 IS_ALIGNED(src, mdma->bus_width)) mdc_list_desc_config()
|
H A D | ste_dma40_ll.c | 152 if (!IS_ALIGNED(data, data_width)) d40_phy_fill_lli()
|
H A D | at_xdmac.c | 653 fixed_dwidth = IS_ALIGNED(len, 1 << dwidth) for_each_sg()
|
H A D | amba-pl08x.c | 137 #define IS_BUS_ALIGNED(bus) IS_ALIGNED((bus)->addr, (bus)->buswidth)
|
H A D | ste_dma40.c | 1026 if (!IS_ALIGNED(size, max_w)) d40_size_2_dmalen()
|
/linux-4.1.27/crypto/ |
H A D | seqiv.c | 117 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 D | spi-pxa2xx.h | 135 #define IS_DMA_ALIGNED(x) IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
|
H A D | spi-qup.c | 677 !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 D | page_ext.c | 135 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 D | cma.c | 189 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 D | bootmem.c | 210 if (IS_ALIGNED(start, BITS_PER_LONG) && vec == ~0UL) { free_all_bootmem_core()
|
H A D | memory_hotplug.c | 1679 if (!IS_ALIGNED(start_pfn, pageblock_nr_pages)) __offline_pages() 1681 if (!IS_ALIGNED(end_pfn, pageblock_nr_pages)) __offline_pages()
|
H A D | vmalloc.c | 2401 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 D | hugetlb.c | 1201 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 D | r600_cs.c | 412 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 D | fsmc_nand.c | 634 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 D | xfs_log.h | 50 ASSERT(IS_ALIGNED((unsigned long)vec->i_addr, sizeof(uint64_t))); xlog_prepare_iovec()
|
H A D | xfs_log_cil.c | 261 ASSERT(IS_ALIGNED((unsigned long)lv->lv_buf, sizeof(uint64_t))); xlog_cil_insert_format_items()
|
/linux-4.1.27/drivers/scsi/ |
H A D | vmw_pvscsi.c | 442 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 D | hsi_char.c | 434 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 D | blocklayout.c | 760 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 D | fsl_rio.c | 199 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 D | vpif_capture.c | 91 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 D | vpbe_display.c | 223 if (!IS_ALIGNED(addr, 8)) { vpbe_buffer_prepare()
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
H A D | arm-stub.c | 400 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) efi_get_virtmap()
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx-842.c | 184 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 D | iommu.c | 1051 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 D | omap-iommu.c | 148 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 D | amd_iommu.c | 1398 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 D | hv-24x7.c | 215 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 D | txrx.c | 485 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 D | htc_mbox.c | 352 if (!IS_ALIGNED((unsigned long) *buf, 4)) { ath6kl_htc_tx_buf_align()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-io.c | 93 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 D | lpddr2_nvm.c | 344 if (!(IS_ALIGNED(add, mtd->writesize))) { /* do sw program */ lpddr2_nvm_write()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | htt_tx.c | 220 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); ath10k_htt_send_rx_ring_cfg_ll()
|
H A D | htc.c | 816 if (!IS_ALIGNED((unsigned long)skb->data, 4)) ath10k_htc_alloc_skb()
|
H A D | htt_rx.c | 109 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 D | debug.c | 1053 if (!IS_ALIGNED(reg_addr, 4)) ath10k_reg_addr_write()
|
H A D | wmi.c | 913 if (!IS_ALIGNED((unsigned long)skb->data, 4)) ath10k_wmi_alloc_skb()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | scm_blk.c | 139 IS_ALIGNED(aidaw, PAGE_SIZE)) scm_request_done()
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | ep0.c | 839 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 D | block.c | 1184 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 D | videobuf2-dma-contig.c | 590 if (!IS_ALIGNED(vaddr | size, dma_align)) { vb2_dc_get_userptr()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | aiutils.c | 323 IS_ALIGNED((x), SI_CORE_SIZE))
|
H A D | dma.c | 447 if (!IS_ALIGNED(PAGE_SIZE, align)) dma_alloc_consistent()
|
/linux-4.1.27/virt/kvm/ |
H A D | eventfd.c | 694 BUG_ON(!IS_ALIGNED((unsigned long)val, len)); ioeventfd_in_range()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | omap1_camera.c | 1131 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 D | cryp_core.c | 530 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 D | hash_core.c | 523 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 D | binder.c | 1266 !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 D | iss_video.c | 332 if (!IS_ALIGNED(addr, 32)) { iss_video_buf_prepare()
|
/linux-4.1.27/sound/firewire/ |
H A D | amdtp.c | 605 p.interrupt = IS_ALIGNED(s->packet_index + 1, INTERRUPT_INTERVAL); queue_packet()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 52 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) macro
|
H A D | mm.h | 89 #define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)addr, PAGE_SIZE) set_max_mapnr()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 2038 !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 D | mvpp2.c | 3358 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 D | mvneta.c | 2491 if (!IS_ALIGNED(MVNETA_RX_PKT_SIZE(mtu), 8)) { mvneta_check_mtu_valid()
|
H A D | sky2.c | 2477 if (!IS_ALIGNED(re->data_addr + ETH_HLEN, sizeof(u32))) needs_copy()
|
/linux-4.1.27/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 585 if (!IS_ALIGNED(hdrlen, 4)) { ar5523_data_rx_cb()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | ispvideo.c | 360 if (!IS_ALIGNED(addr, 32)) { isp_video_buffer_prepare()
|
/linux-4.1.27/drivers/ntb/ |
H A D | ntb_transport.c | 585 if (!IS_ALIGNED(mw->dma_addr, mw->size)) { ntb_set_mw()
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | lapic.c | 2036 if (!IS_ALIGNED(addr, 4)) kvm_lapic_enable_pv_eoi()
|
H A D | vmx.c | 8707 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 D | vgic.c | 1953 if (!IS_ALIGNED(*addr, alignment)) kvm_vgic_addr()
|
/linux-4.1.27/net/netlink/ |
H A D | af_netlink.c | 432 if (!IS_ALIGNED(req->nm_frame_size, NL_MMAP_MSG_ALIGNMENT)) netlink_set_ring()
|
/linux-4.1.27/kernel/events/ |
H A D | core.c | 5920 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 D | be_main.c | 4601 if (!IS_ALIGNED(fw->size, sizeof(u32))) { lancer_fw_download()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 2821 /* precondition: IS_ALIGNED((unsigned long)(pkt->data), 2) */ brcmf_sdio_bus_txdata()
|
/linux-4.1.27/fs/ |
H A D | dcache.c | 2497 BUILD_BUG_ON(!IS_ALIGNED(DNAME_INLINE_LEN, sizeof(long))); swap_names()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 5984 if (!IS_ALIGNED(dmabuf->phys, LPFC_HDR_TEMPLATE_SIZE)) { lpfc_sli4_create_rpi_hdr()
|