Searched refs:page_align (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_object.c | 536 unsigned long page_align, size = bp->size; in amdgpu_bo_create() local 542 page_align = bp->byte_align; in amdgpu_bo_create() 546 page_align = ALIGN(bp->byte_align, 4); in amdgpu_bo_create() 550 page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_create() 590 &bo->placement, page_align, &ctx, NULL, in amdgpu_bo_create()
|
/linux/include/asm-generic/ |
A D | vmlinux.lds.h | 377 #define PAGE_ALIGNED_DATA(page_align) \ argument 378 . = ALIGN(page_align); \ 380 . = ALIGN(page_align);
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
A D | processor.c | 19 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align() function 81 page_align(vm, ptrs_per_pgd(vm) * 8) / vm->page_size, in virt_pgd_alloc()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_object.c | 159 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create() local 227 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 1129 const int page_align = MLX5_UMR_MTT_ALIGNMENT / desc_size; in mlx5_ib_update_xlt() local 1130 const int page_mask = page_align - 1; in mlx5_ib_update_xlt() 1151 pages_to_map = ALIGN(npages, page_align); in mlx5_ib_update_xlt()
|
Completed in 17 milliseconds