Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm64/kernel/
Defi.c32 if (WARN_ONCE(!PAGE_ALIGNED(md->phys_addr), in create_mapping_protection()
69 if (!PAGE_ALIGNED(md->phys_addr) || in efi_create_mapping()
70 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT)) { in efi_create_mapping()
/Linux-v4.19/drivers/misc/
Dsram-exec.c36 if (!PAGE_ALIGNED(base) || !PAGE_ALIGNED(end)) { in sram_check_protect_exec()
/Linux-v4.19/drivers/firmware/efi/
Dmemattr.c78 (!PAGE_ALIGNED(in->phys_addr) || in entry_is_valid()
79 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()
/Linux-v4.19/arch/mips/kernel/
Dvdso.c47 BUG_ON(!PAGE_ALIGNED(image->data)); in init_vdso_image()
48 BUG_ON(!PAGE_ALIGNED(image->size)); in init_vdso_image()
/Linux-v4.19/drivers/fpga/
Ddfl-afu-dma-region.c365 if (!PAGE_ALIGNED(user_addr) || !PAGE_ALIGNED(length) || !length) in afu_dma_map_region()
/Linux-v4.19/arch/arm64/mm/
Dpageattr.c68 if (!PAGE_ALIGNED(addr)) { in change_memory_common()
Dmmu.c517 BUG_ON(!PAGE_ALIGNED(pa_start)); in map_kernel_segment()
518 BUG_ON(!PAGE_ALIGNED(size)); in map_kernel_segment()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v2.c383 if (!PAGE_ALIGNED(info->vcpu.start) || in vgic_v2_probe()
384 !PAGE_ALIGNED(resource_size(&info->vcpu))) { in vgic_v2_probe()
Dvgic-v3.c613 } else if (!PAGE_ALIGNED(info->vcpu.start)) { in vgic_v3_probe()
/Linux-v4.19/drivers/staging/android/
Dvsoc.c292 if (!PAGE_ALIGNED(np->permission.begin_offset) || in do_create_fd_scoped_permission()
293 !PAGE_ALIGNED(np->permission.end_offset)) in do_create_fd_scoped_permission()
875 if (!PAGE_ALIGNED(region->region_begin_offset) || in vsoc_probe_device()
876 !PAGE_ALIGNED(region->region_end_offset)) { in vsoc_probe_device()
/Linux-v4.19/net/xdp/
Dxdp_umem.c291 if (!PAGE_ALIGNED(addr)) { in xdp_umem_reg()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-radix.c743 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(next)) { in remove_pte_table()
/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c122 BUG_ON(!PAGE_ALIGNED(bytes)); in etnaviv_iommu_unmap()
/Linux-v4.19/mm/
Dvmalloc.c1129 BUG_ON(!PAGE_ALIGNED(addr)); in vm_unmap_ram()
1504 if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n", in __vunmap()
2237 if (!PAGE_ALIGNED(uaddr) || !PAGE_ALIGNED(kaddr)) in remap_vmalloc_range_partial()
/Linux-v4.19/arch/x86/mm/
Dinit_64.c924 if (PAGE_ALIGNED(addr) && PAGE_ALIGNED(next)) { in remove_pte_table()
/Linux-v4.19/mm/kasan/
Dkasan.c630 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_module_alloc()
/Linux-v4.19/drivers/of/
Dfdt.c1130 if (!PAGE_ALIGNED(base)) { in early_init_dt_add_memory_arch()
/Linux-v4.19/fs/cramfs/
Dinode.c388 if (!PAGE_ALIGNED(address)) in cramfs_physmem_mmap()
/Linux-v4.19/drivers/android/
Dbinder_alloc.c594 if (PAGE_ALIGNED(buffer->data)) { in binder_delete_free_buffer()
/Linux-v4.19/drivers/tty/serial/
Datmel_serial.c934 BUG_ON(!PAGE_ALIGNED(port->state->xmit.buf)); in atmel_prepare_tx_dma()
1116 BUG_ON(!PAGE_ALIGNED(ring->buf)); in atmel_prepare_rx_dma()
/Linux-v4.19/drivers/char/
Drandom.c2326 if (!PAGE_ALIGNED(start)) { in randomize_page()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddriver.c240 if (unlikely(!PAGE_ALIGNED(size))) in hfi1_rcvbuf_validate()
/Linux-v4.19/include/linux/
Dmm.h147 #define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)(addr), PAGE_SIZE) macro
/Linux-v4.19/drivers/target/
Dtarget_core_user.c1871 WARN_ON(!PAGE_ALIGNED(udev->data_off)); in tcmu_configure_device()
/Linux-v4.19/arch/x86/kvm/
Dvmx.c5777 return PAGE_ALIGNED(gpa) && !(gpa >> cpuid_maxphyaddr(vcpu)); in page_address_valid()
8370 if (!PAGE_ALIGNED(vmptr) || (vmptr >> cpuid_maxphyaddr(vcpu))) { in handle_vmon()
8512 if (!PAGE_ALIGNED(vmptr) || (vmptr >> cpuid_maxphyaddr(vcpu))) { in handle_vmclear()
8878 if (!PAGE_ALIGNED(vmptr) || (vmptr >> cpuid_maxphyaddr(vcpu))) { in handle_vmptrld()

12