/openbmc/linux/mm/ |
H A D | sparse-vmemmap.c | 379 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 D | page_ext.c | 191 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/fs/btrfs/ |
H A D | print-tree.c | 142 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 D | zoned.h | 348 if (!IS_ALIGNED(physical, zone_size) || !IS_ALIGNED(length, zone_size)) in btrfs_can_zone_reset()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware.c | 286 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 D | i915_memcpy.c | 145 if (!IS_ALIGNED(addr, 16)) { in i915_unaligned_memcpy_from_wc()
|
H A D | i915_gem_evict.c | 341 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 D | sec-common.c | 136 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 D | siphash.h | 85 !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 D | spi-hisi-sfc-v3xx.c | 159 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 D | nfs4file.c | 263 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 D | mpc512x_lpbfifo.c | 189 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 D | rseq.c | 417 (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 D | pfn_devs.c | 596 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 D | claim.c | 278 if (IS_ALIGNED(offset, 512) && IS_ALIGNED(size, 512) in nsio_rw_bytes()
|
/openbmc/linux/fs/ |
H A D | remap_range.c | 44 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 D | 8xx.c | 47 if (IS_ALIGNED(k_start, SZ_8M)) { in kasan_init_region()
|
/openbmc/linux/arch/powerpc/platforms/83xx/ |
H A D | misc.c | 125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
|
/openbmc/linux/mm/kmsan/ |
H A D | shadow.c | 59 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 D | crypto.c | 190 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 D | syscalls.c | 46 if (!IS_ALIGNED(off, 1 << shift)) in do_mmap2()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | kaslr.c | 132 } else if (IS_ALIGNED(*image_addr, min_kimg_align) && in efi_kaslr_relocate_kernel()
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_jpeg.c | 272 static_assert(IS_ALIGNED(sizeof(hantro_jpeg_header), 8),
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 220 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 D | aegis.h | 29 #define AEGIS_ALIGNED(p) IS_ALIGNED((uintptr_t)p, AEGIS_BLOCK_ALIGN)
|