Searched refs:page_align (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 540 unsigned long page_align, size = bp->size; in amdgpu_bo_create() local 546 page_align = bp->byte_align; in amdgpu_bo_create() 551 page_align = ALIGN(bp->byte_align, 4); in amdgpu_bo_create() 555 page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_create() 606 &bo->placement, page_align, &ctx, NULL, in amdgpu_bo_create()
|
/linux/include/asm-generic/ |
H A D | vmlinux.lds.h | 388 #define PAGE_ALIGNED_DATA(page_align) \ argument 389 . = ALIGN(page_align); \ 391 . = ALIGN(page_align);
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | umr.c | 759 const int page_align = MLX5_UMR_FLEX_ALIGNMENT / desc_size; in mlx5r_umr_update_xlt() local 762 const int page_mask = page_align - 1; in mlx5r_umr_update_xlt() 787 pages_to_map = ALIGN(npages, page_align); in mlx5r_umr_update_xlt()
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 29 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align() function 71 size_t nr_pages = page_align(vm, ptrs_per_pte(vm) * 8) / vm->page_size; in virt_arch_pgd_alloc()
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 23 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align() function 117 size_t nr_pages = page_align(vm, ptrs_per_pgd(vm) * 8) / vm->page_size; in virt_arch_pgd_alloc()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_object.c | 136 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create() local 205 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create()
|