Home
last modified time | relevance | path

Searched refs:PAGE_ALIGNED (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/linux/mm/
H A Drodata_test.c42 if (!PAGE_ALIGNED(__start_rodata)) { in rodata_test()
46 if (!PAGE_ALIGNED(__end_rodata)) { in rodata_test()
H A Dhugetlb_vmemmap.c187 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_remap_range()
188 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_remap_range()
H A Dgup.c1557 VM_BUG_ON(!PAGE_ALIGNED(start)); in populate_vma_page_range()
1558 VM_BUG_ON(!PAGE_ALIGNED(end)); in populate_vma_page_range()
1627 VM_BUG_ON(!PAGE_ALIGNED(start)); in faultin_page_range()
1628 VM_BUG_ON(!PAGE_ALIGNED(end)); in faultin_page_range()
1787 if (!PAGE_ALIGNED(uaddr)) { in fault_in_writeable()
1897 if (!PAGE_ALIGNED(uaddr)) { in fault_in_readable()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dsvm.c45 if (!PAGE_ALIGNED(addr)) in set_memory_encrypted()
58 if (!PAGE_ALIGNED(addr)) in set_memory_decrypted()
/openbmc/linux/drivers/misc/
H A Dsram-exec.c28 if (!PAGE_ALIGNED(base) || !PAGE_ALIGNED(end)) { in sram_check_protect_exec()
H A Dopen-dice.c133 if (!PAGE_ALIGNED(rmem->base) || !PAGE_ALIGNED(rmem->size)) { in open_dice_probe()
/openbmc/linux/drivers/firmware/efi/
H A Dmemattr.c71 (!PAGE_ALIGNED(in->phys_addr) || in entry_is_valid()
72 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()
/openbmc/linux/arch/mips/kernel/
H A Dvdso.c46 BUG_ON(!PAGE_ALIGNED(image->data)); in init_vdso_image()
47 BUG_ON(!PAGE_ALIGNED(image->size)); in init_vdso_image()
/openbmc/linux/arch/arm64/kernel/
H A Defi.c21 return !PAGE_ALIGNED(md->phys_addr) || in region_is_misaligned()
22 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT); in region_is_misaligned()
/openbmc/linux/arch/loongarch/kernel/
H A Dvdso.c106 BUG_ON(!PAGE_ALIGNED(vdso_info.vdso)); in init_vdso()
107 BUG_ON(!PAGE_ALIGNED(vdso_info.size)); in init_vdso()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dffa.c194 if (!PAGE_ALIGNED(tx) || !PAGE_ALIGNED(rx)) { in do_ffa_rxtx_map()
302 if (!PAGE_ALIGNED(sz)) in __ffa_host_share_ranges()
322 if (!PAGE_ALIGNED(sz)) in __ffa_host_unshare_ranges()
H A Dsetup.c324 if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size)) in __pkvm_init()
/openbmc/linux/drivers/fpga/
H A Ddfl-afu-dma-region.c311 if (!PAGE_ALIGNED(user_addr) || !PAGE_ALIGNED(length) || !length) in afu_dma_map_region()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-v2.c352 if (!PAGE_ALIGNED(info->vcpu.start) || in vgic_v2_probe()
353 !PAGE_ALIGNED(resource_size(&info->vcpu))) { in vgic_v2_probe()
/openbmc/linux/arch/m68k/mm/
H A Dmotorola.c228 if (PAGE_ALIGNED(last_pte_table)) { in kernel_page_table()
276 if (PAGE_ALIGNED(last_pmd_table)) { in kernel_ptr_table()
/openbmc/linux/drivers/acpi/
H A Dpfr_telemetry.c328 if (!PAGE_ALIGNED(base_addr) || !PAGE_ALIGNED(psize)) in pfrt_log_mmap()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_gem.c347 if (drm_WARN_ON(&vdev->drm, size == 0 || !PAGE_ALIGNED(size))) in ivpu_bo_alloc()
570 drm_WARN_ON(&vdev->drm, !PAGE_ALIGNED(vpu_addr)); in ivpu_bo_alloc_internal()
571 drm_WARN_ON(&vdev->drm, !PAGE_ALIGNED(size)); in ivpu_bo_alloc_internal()
/openbmc/linux/arch/arm64/mm/
H A Dpageattr.c76 if (!PAGE_ALIGNED(addr)) { in change_memory_common()
/openbmc/linux/arch/x86/mm/
H A Dinit_64.c1248 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_free()
1249 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_free()
1544 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_populate()
1545 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_populate()
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-dmamap.c197 if (i != nents - 1 && !PAGE_ALIGNED(sg->length)) in imgu_dmamap_map_sg()
/openbmc/linux/net/xdp/
H A Dxdp_umem.c176 if (!PAGE_ALIGNED(addr)) { in xdp_umem_reg()
/openbmc/linux/mm/kfence/
H A Dkfence_test.c301 if (policy == ALLOCATE_LEFT && PAGE_ALIGNED(alloc)) in test_alloc()
303 if (policy == ALLOCATE_RIGHT && !PAGE_ALIGNED(alloc)) in test_alloc()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c738 if (PAGE_ALIGNED(addr) && PAGE_ALIGNED(next)) { in remove_pte_table()
989 VM_BUG_ON(!PAGE_ALIGNED(addr)); in radix__vmemmap_pte_populate()
/openbmc/linux/fs/btrfs/
H A Dlzo.c284 if (PAGE_ALIGNED(cur_in)) { in lzo_compress_pages()
/openbmc/linux/mm/kasan/
H A Dshadow.c612 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_alloc_module_shadow()

123