Home
last modified time | relevance | path

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

123

/linux-6.1.9/kernel/module/
Dstrict_rwx.c65 return WARN_ON(!PAGE_ALIGNED(layout->base)) || in layout_check_misalignment()
66 WARN_ON(!PAGE_ALIGNED(layout->text_size)) || in layout_check_misalignment()
67 WARN_ON(!PAGE_ALIGNED(layout->ro_size)) || in layout_check_misalignment()
68 WARN_ON(!PAGE_ALIGNED(layout->ro_after_init_size)) || in layout_check_misalignment()
69 WARN_ON(!PAGE_ALIGNED(layout->size)); in layout_check_misalignment()
84 if (!PAGE_ALIGNED(mod->core_layout.base) || in module_enable_x()
85 !PAGE_ALIGNED(mod->init_layout.base)) in module_enable_x()
/linux-6.1.9/mm/
Drodata_test.c42 if (!PAGE_ALIGNED(__start_rodata)) { in rodata_test()
46 if (!PAGE_ALIGNED(__end_rodata)) { in rodata_test()
Dhugetlb_vmemmap.c193 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_remap_range()
194 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_remap_range()
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_vma_page_range()
1628 VM_BUG_ON(!PAGE_ALIGNED(end)); in faultin_vma_page_range()
1780 if (!PAGE_ALIGNED(uaddr)) { in fault_in_writeable()
1890 if (!PAGE_ALIGNED(uaddr)) { in fault_in_readable()
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dshm_channel.c158 if (!PAGE_ALIGNED(eq_addr) || !PAGE_ALIGNED(cq_addr) || in mana_smc_setup_hwc()
159 !PAGE_ALIGNED(rq_addr) || !PAGE_ALIGNED(sq_addr)) in mana_smc_setup_hwc()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dsvm.c45 if (!PAGE_ALIGNED(addr)) in set_memory_encrypted()
58 if (!PAGE_ALIGNED(addr)) in set_memory_decrypted()
/linux-6.1.9/drivers/misc/
Dsram-exec.c28 if (!PAGE_ALIGNED(base) || !PAGE_ALIGNED(end)) { in sram_check_protect_exec()
Dopen-dice.c135 if (!PAGE_ALIGNED(rmem->base) || !PAGE_ALIGNED(rmem->size)) { in open_dice_probe()
/linux-6.1.9/drivers/firmware/efi/
Dmemattr.c71 (!PAGE_ALIGNED(in->phys_addr) || in entry_is_valid()
72 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()
/linux-6.1.9/arch/loongarch/kernel/
Dvdso.c62 BUG_ON(!PAGE_ALIGNED(vdso_info.vdso)); in init_vdso()
63 BUG_ON(!PAGE_ALIGNED(vdso_info.size)); in init_vdso()
/linux-6.1.9/arch/mips/kernel/
Dvdso.c46 BUG_ON(!PAGE_ALIGNED(image->data)); in init_vdso_image()
47 BUG_ON(!PAGE_ALIGNED(image->size)); in init_vdso_image()
/linux-6.1.9/arch/arm64/kernel/
Defi.c20 return !PAGE_ALIGNED(md->phys_addr) || in region_is_misaligned()
21 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT); in region_is_misaligned()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dsetup.c314 if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size)) in __pkvm_init()
/linux-6.1.9/drivers/fpga/
Ddfl-afu-dma-region.c311 if (!PAGE_ALIGNED(user_addr) || !PAGE_ALIGNED(length) || !length) in afu_dma_map_region()
/linux-6.1.9/arch/m68k/mm/
Dmotorola.c228 if (PAGE_ALIGNED(last_pte_table)) { in kernel_page_table()
276 if (PAGE_ALIGNED(last_pmd_table)) { in kernel_ptr_table()
/linux-6.1.9/drivers/acpi/
Dpfr_telemetry.c328 if (!PAGE_ALIGNED(base_addr) || !PAGE_ALIGNED(psize)) in pfrt_log_mmap()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-v2.c358 if (!PAGE_ALIGNED(info->vcpu.start) || in vgic_v2_probe()
359 !PAGE_ALIGNED(resource_size(&info->vcpu))) { in vgic_v2_probe()
/linux-6.1.9/arch/arm64/mm/
Dpageattr.c73 if (!PAGE_ALIGNED(addr)) { in change_memory_common()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-dmamap.c197 if (i != nents - 1 && !PAGE_ALIGNED(sg->length)) in imgu_dmamap_map_sg()
/linux-6.1.9/net/xdp/
Dxdp_umem.c175 if (!PAGE_ALIGNED(addr)) { in xdp_umem_reg()
/linux-6.1.9/arch/x86/mm/
Dinit_64.c1244 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_free()
1245 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_free()
1609 VM_BUG_ON(!PAGE_ALIGNED(start)); in vmemmap_populate()
1610 VM_BUG_ON(!PAGE_ALIGNED(end)); in vmemmap_populate()
/linux-6.1.9/mm/kasan/
Dshadow.c548 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_alloc_module_shadow()
/linux-6.1.9/mm/kfence/
Dkfence_test.c299 if (policy == ALLOCATE_LEFT && PAGE_ALIGNED(alloc)) in test_alloc()
301 if (policy == ALLOCATE_RIGHT && !PAGE_ALIGNED(alloc)) in test_alloc()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dradix_pgtable.c738 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(next)) { in remove_pte_table()
/linux-6.1.9/drivers/dma-buf/
Ddma-buf.c1097 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(len)) { in dma_buf_map_attachment()

123