Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 51 – 75 of 403) sorted by relevance

12345678910>>...17

/openbmc/linux/fs/btrfs/
H A Dprint-tree.c142 if (!IS_ALIGNED(offset, eb->fs_info->sectorsize)) in print_extent_item()
159 if (!IS_ALIGNED(offset, eb->fs_info->sectorsize)) in print_extent_item()
177 if (!IS_ALIGNED(item_size, sizeof(u64))) { in print_uuid_item()
H A Dzoned.h348 if (!IS_ALIGNED(physical, zone_size) || !IS_ALIGNED(length, zone_size)) in btrfs_can_zone_reset()
/openbmc/linux/mm/
H A Dsparse-vmemmap.c379 return !IS_ALIGNED(offset, nr_pages) && nr_pages > PAGES_PER_SUBSECTION; in reuse_compound_section()
460 if (WARN_ON_ONCE(!IS_ALIGNED(pfn, PAGES_PER_SUBSECTION) || in __populate_section_memmap()
461 !IS_ALIGNED(nr_pages, PAGES_PER_SUBSECTION))) in __populate_section_memmap()
H A Dpage_ext.c191 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext()
192 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) in alloc_node_page_ext()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c286 if (!IS_ALIGNED((uintptr_t)addr, size)) { in dw_pcie_read()
308 if (!IS_ALIGNED((uintptr_t)addr, size)) in dw_pcie_write()
480 !IS_ALIGNED(cpu_addr, pci->region_align) || in __dw_pcie_prog_outbound_atu()
481 !IS_ALIGNED(pci_addr, pci->region_align) || !size) { in __dw_pcie_prog_outbound_atu()
561 !IS_ALIGNED(cpu_addr, pci->region_align) || in dw_pcie_prog_inbound_atu()
562 !IS_ALIGNED(pci_addr, pci->region_align) || !size) { in dw_pcie_prog_inbound_atu()
611 if (!IS_ALIGNED(cpu_addr, pci->region_align)) in dw_pcie_prog_ep_inbound_atu()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_memcpy.c145 if (!IS_ALIGNED(addr, 16)) { in i915_unaligned_memcpy_from_wc()
H A Di915_gem_evict.c341 GEM_BUG_ON(!IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); in i915_gem_evict_for_node()
342 GEM_BUG_ON(!IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); in i915_gem_evict_for_node()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dsec-common.c136 if (!IS_ALIGNED(cert_addr, 4)) { in secure_boot_verify_image()
143 if (!IS_ALIGNED(cert_size, 4)) { in secure_boot_verify_image()
/openbmc/linux/include/linux/
H A Dsiphash.h85 !IS_ALIGNED((unsigned long)data, SIPHASH_ALIGNMENT)) in siphash()
135 !IS_ALIGNED((unsigned long)data, HSIPHASH_ALIGNMENT)) in hsiphash()
/openbmc/linux/drivers/spi/
H A Dspi-hisi-sfc-v3xx.c159 if (!IS_ALIGNED(addr, 4) && op->data.nbytes >= 4) in hisi_sfc_v3xx_adjust_op_size()
206 if (IS_ALIGNED((uintptr_t)to, 4)) { in hisi_sfc_v3xx_read_databuf()
243 if (IS_ALIGNED((uintptr_t)from, 4)) { in hisi_sfc_v3xx_write_databuf()
/openbmc/linux/fs/nfs/
H A Dnfs4file.c263 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range()
265 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range()
/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c189 if (lpbfifo.req->size == 0 || !IS_ALIGNED(lpbfifo.req->size, 4)) in mpc512x_lpbfifo_kick()
198 if (IS_ALIGNED(lpbfifo.req->dev_phys_addr, min(bpt, 0x8u)) && in mpc512x_lpbfifo_kick()
199 IS_ALIGNED(lpbfifo.req->size, bpt)) { in mpc512x_lpbfifo_kick()
/openbmc/linux/kernel/
H A Drseq.c417 (rseq_len == ORIG_RSEQ_SIZE && !IS_ALIGNED((unsigned long)rseq, ORIG_RSEQ_SIZE)) || in SYSCALL_DEFINE4()
418 (rseq_len != ORIG_RSEQ_SIZE && (!IS_ALIGNED((unsigned long)rseq, __alignof__(*rseq)) || in SYSCALL_DEFINE4()
/openbmc/linux/drivers/nvdimm/
H A Dpfn_devs.c596 if ((align && !IS_ALIGNED(res->start + offset + start_pad, align)) in nd_pfn_validate()
597 || !IS_ALIGNED(offset, PAGE_SIZE)) { in nd_pfn_validate()
604 if (!IS_ALIGNED(res->start + start_pad, memremap_compat_align())) { in nd_pfn_validate()
609 if (!IS_ALIGNED(res->end + 1 - end_trunc, memremap_compat_align())) { in nd_pfn_validate()
778 if (!IS_ALIGNED(start, memremap_compat_align())) { in nd_pfn_init()
H A Dclaim.c278 if (IS_ALIGNED(offset, 512) && IS_ALIGNED(size, 512) in nsio_rw_bytes()
/openbmc/linux/fs/
H A Dremap_range.c44 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) in generic_remap_checks()
80 if (!IS_ALIGNED(count, bs)) in generic_remap_checks()
/openbmc/linux/arch/powerpc/mm/kasan/
H A D8xx.c47 if (IS_ALIGNED(k_start, SZ_8M)) { in kasan_init_region()
/openbmc/linux/arch/powerpc/platforms/83xx/
H A Dmisc.c125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
/openbmc/linux/mm/kmsan/
H A Dshadow.c59 KMSAN_WARN_ON(is_origin && !IS_ALIGNED(addr64, KMSAN_ORIGIN_SIZE)); in vmalloc_meta()
130 if (is_origin && !IS_ALIGNED(addr, KMSAN_ORIGIN_SIZE)) { in kmsan_get_metadata()
/openbmc/linux/fs/crypto/
H A Dcrypto.c190 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks()
268 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_decrypt_pagecache_blocks()
/openbmc/linux/arch/powerpc/kernel/
H A Dsyscalls.c46 if (!IS_ALIGNED(off, 1 << shift)) in do_mmap2()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dkaslr.c132 } else if (IS_ALIGNED(*image_addr, min_kimg_align) && in efi_kaslr_relocate_kernel()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c272 static_assert(IS_ALIGNED(sizeof(hantro_jpeg_header), 8),
/openbmc/linux/arch/loongarch/mm/
H A Dkasan_init.c220 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init()
221 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
/openbmc/linux/crypto/
H A Daegis.h29 #define AEGIS_ALIGNED(p) IS_ALIGNED((uintptr_t)p, AEGIS_BLOCK_ALIGN)

12345678910>>...17