Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/arm64/kernel/
Defi.c28 if (WARN_ONCE(!PAGE_ALIGNED(md->phys_addr), in create_mapping_protection()
65 if (!PAGE_ALIGNED(md->phys_addr) || in efi_create_mapping()
66 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT)) { in efi_create_mapping()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dsvm.c39 if (!PAGE_ALIGNED(addr)) in set_memory_encrypted()
49 if (!PAGE_ALIGNED(addr)) in set_memory_decrypted()
/Linux-v5.4/drivers/misc/
Dsram-exec.c36 if (!PAGE_ALIGNED(base) || !PAGE_ALIGNED(end)) { in sram_check_protect_exec()
/Linux-v5.4/drivers/firmware/efi/
Dmemattr.c75 (!PAGE_ALIGNED(in->phys_addr) || in entry_is_valid()
76 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()
/Linux-v5.4/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-v5.4/drivers/fpga/
Ddfl-afu-dma-region.c320 if (!PAGE_ALIGNED(user_addr) || !PAGE_ALIGNED(length) || !length) in afu_dma_map_region()
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-v2.c376 if (!PAGE_ALIGNED(info->vcpu.start) || in vgic_v2_probe()
377 !PAGE_ALIGNED(resource_size(&info->vcpu))) { in vgic_v2_probe()
Dvgic-v3.c605 } else if (!PAGE_ALIGNED(info->vcpu.start)) { in vgic_v3_probe()
/Linux-v5.4/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()
873 if (!PAGE_ALIGNED(region->region_begin_offset) || in vsoc_probe_device()
874 !PAGE_ALIGNED(region->region_end_offset)) { in vsoc_probe_device()
/Linux-v5.4/arch/arm64/mm/
Dpageattr.c62 if (!PAGE_ALIGNED(addr)) { in change_memory_common()
Dmmu.c547 BUG_ON(!PAGE_ALIGNED(pa_start)); in map_kernel_segment()
548 BUG_ON(!PAGE_ALIGNED(size)); in map_kernel_segment()
/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-dmamap.c211 if (i != nents - 1 && !PAGE_ALIGNED(sg->length)) in imgu_dmamap_map_sg()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dradix_pgtable.c731 if (!PAGE_ALIGNED(addr) || !PAGE_ALIGNED(next)) { in remove_pte_table()
/Linux-v5.4/net/xdp/
Dxdp_umem.c365 if (!PAGE_ALIGNED(addr)) { in xdp_umem_reg()
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c123 BUG_ON(!PAGE_ALIGNED(bytes)); in etnaviv_iommu_unmap()
/Linux-v5.4/mm/
Dvmalloc.c1746 BUG_ON(!PAGE_ALIGNED(addr)); in vm_unmap_ram()
2234 if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n", in __vunmap()
2997 if (!PAGE_ALIGNED(uaddr) || !PAGE_ALIGNED(kaddr)) in remap_vmalloc_range_partial()
/Linux-v5.4/mm/kasan/
Dcommon.c604 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_module_alloc()
/Linux-v5.4/fs/btrfs/
Dcheck-integrity.c1604 if (!PAGE_ALIGNED(block_ctx->dev_bytenr)) { in btrfsic_read_block()
1785 BUG_ON(!PAGE_ALIGNED(BTRFS_SUPER_INFO_SIZE)); in btrfsic_process_written_block()
2899 if (!PAGE_ALIGNED(fs_info->nodesize)) { in btrfsic_mount()
2904 if (!PAGE_ALIGNED(fs_info->sectorsize)) { in btrfsic_mount()
/Linux-v5.4/arch/x86/mm/
Dinit_64.c984 if (PAGE_ALIGNED(addr) && PAGE_ALIGNED(next)) { in remove_pte_table()
/Linux-v5.4/drivers/of/
Dfdt.c1116 if (!PAGE_ALIGNED(base)) { in early_init_dt_add_memory_arch()
/Linux-v5.4/fs/cramfs/
Dinode.c390 if (!PAGE_ALIGNED(address)) in cramfs_physmem_mmap()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c327 if (!PAGE_ALIGNED(tinfo->vaddr)) in hfi1_user_exp_rcv_setup()
/Linux-v5.4/drivers/android/
Dbinder_alloc.c572 if (PAGE_ALIGNED(buffer->user_data)) { in binder_delete_free_buffer()
/Linux-v5.4/drivers/tty/serial/
Datmel_serial.c1030 BUG_ON(!PAGE_ALIGNED(port->state->xmit.buf)); in atmel_prepare_tx_dma()
1213 BUG_ON(!PAGE_ALIGNED(ring->buf)); in atmel_prepare_rx_dma()
/Linux-v5.4/fs/erofs/
Dzdata.c468 if (!PAGE_ALIGNED(map->m_pa)) { in z_erofs_collector_begin()

12