Home
last modified time | relevance | path

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

123

/Linux-v6.1/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-v6.1/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.c1554 VM_BUG_ON(!PAGE_ALIGNED(start)); in populate_vma_page_range()
1555 VM_BUG_ON(!PAGE_ALIGNED(end)); in populate_vma_page_range()
1624 VM_BUG_ON(!PAGE_ALIGNED(start)); in faultin_vma_page_range()
1625 VM_BUG_ON(!PAGE_ALIGNED(end)); in faultin_vma_page_range()
1777 if (!PAGE_ALIGNED(uaddr)) { in fault_in_writeable()
1887 if (!PAGE_ALIGNED(uaddr)) { in fault_in_readable()
/Linux-v6.1/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-v6.1/arch/powerpc/platforms/pseries/
Dsvm.c45 if (!PAGE_ALIGNED(addr)) in set_memory_encrypted()
58 if (!PAGE_ALIGNED(addr)) in set_memory_decrypted()
/Linux-v6.1/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-v6.1/arch/arm64/kernel/
Defi.c19 return !PAGE_ALIGNED(md->phys_addr) || in region_is_misaligned()
20 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT); in region_is_misaligned()
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/arm64/kvm/hyp/nvhe/
Dsetup.c314 if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size)) in __pkvm_init()
/Linux-v6.1/drivers/fpga/
Ddfl-afu-dma-region.c311 if (!PAGE_ALIGNED(user_addr) || !PAGE_ALIGNED(length) || !length) in afu_dma_map_region()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/acpi/
Dpfr_telemetry.c328 if (!PAGE_ALIGNED(base_addr) || !PAGE_ALIGNED(psize)) in pfrt_log_mmap()
/Linux-v6.1/arch/arm64/mm/
Dpageattr.c73 if (!PAGE_ALIGNED(addr)) { in change_memory_common()
/Linux-v6.1/drivers/staging/media/ipu3/
Dipu3-dmamap.c197 if (i != nents - 1 && !PAGE_ALIGNED(sg->length)) in imgu_dmamap_map_sg()
/Linux-v6.1/net/xdp/
Dxdp_umem.c175 if (!PAGE_ALIGNED(addr)) { in xdp_umem_reg()
/Linux-v6.1/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-v6.1/mm/kasan/
Dshadow.c548 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_alloc_module_shadow()
/Linux-v6.1/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-v6.1/arch/powerpc/mm/book3s64/
Dradix_pgtable.c738 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(next)) { in remove_pte_table()
/Linux-v6.1/drivers/dma-buf/
Ddma-buf.c1103 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(len)) { in dma_buf_map_attachment()

123