Searched refs:page_align (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 534 unsigned long page_align, size = bp->size; in amdgpu_bo_do_create() local 541 page_align = bp->byte_align; in amdgpu_bo_do_create() 545 page_align = ALIGN(bp->byte_align, 4); in amdgpu_bo_do_create() 549 page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_do_create() 589 &bo->placement, page_align, &ctx, acc_size, in amdgpu_bo_do_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/ |
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()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | vmlinux.lds.h | 365 #define PAGE_ALIGNED_DATA(page_align) \ argument 366 . = ALIGN(page_align); \ 368 . = ALIGN(page_align);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 191 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create() local 263 &bo->placement, page_align, !kernel, acc_size, in radeon_bo_create()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | mr.c | 1030 const int page_align = MLX5_UMR_MTT_ALIGNMENT / desc_size; in mlx5_ib_update_xlt() local 1031 const int page_mask = page_align - 1; in mlx5_ib_update_xlt() 1054 pages_to_map = ALIGN(npages, page_align); in mlx5_ib_update_xlt()
|