Searched refs:vm_size (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 42 unsigned long vm_size; in exynos_drm_fb_mmap() local 47 vm_size = vma->vm_end - vma->vm_start; in exynos_drm_fb_mmap() 49 if (vm_size > exynos_gem->size) in exynos_drm_fb_mmap()
|
D | exynos_drm_gem.c | 255 unsigned long vm_size; in exynos_drm_gem_mmap_buffer() local 261 vm_size = vma->vm_end - vma->vm_start; in exynos_drm_gem_mmap_buffer() 264 if (vm_size > exynos_gem->size) in exynos_drm_gem_mmap_buffer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 721 uint64_t vm_size; in amdgpu_info_ioctl() local 753 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl() 754 vm_size -= AMDGPU_VA_RESERVED_SIZE; in amdgpu_info_ioctl() 759 vm_size = min(vm_size, 1ULL << 40); in amdgpu_info_ioctl() 763 min(vm_size, AMDGPU_GMC_HOLE_START); in amdgpu_info_ioctl() 765 if (vm_size > AMDGPU_GMC_HOLE_START) { in amdgpu_info_ioctl() 767 dev_info.high_va_max = AMDGPU_GMC_HOLE_END | vm_size; in amdgpu_info_ioctl()
|
D | amdgpu_gem.c | 604 uint64_t vm_size; in amdgpu_gem_va_ioctl() local 625 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_gem_va_ioctl() 626 vm_size -= AMDGPU_VA_RESERVED_SIZE; in amdgpu_gem_va_ioctl() 627 if (args->va_address + args->map_size > vm_size) { in amdgpu_gem_va_ioctl() 630 args->va_address + args->map_size, vm_size); in amdgpu_gem_va_ioctl()
|
D | amdgpu_vm.c | 2673 static uint32_t amdgpu_vm_get_block_size(uint64_t vm_size) in amdgpu_vm_get_block_size() argument 2676 unsigned bits = ilog2(vm_size) + 18; in amdgpu_vm_get_block_size() 2680 if (vm_size <= 8) in amdgpu_vm_get_block_size() 2701 unsigned int vm_size; in amdgpu_vm_adjust_size() local 2706 vm_size = amdgpu_vm_size; in amdgpu_vm_adjust_size() 2707 if (vm_size > max_size) { in amdgpu_vm_adjust_size() 2710 vm_size = max_size; in amdgpu_vm_adjust_size() 2734 vm_size = roundup_pow_of_two( in amdgpu_vm_adjust_size() 2738 adev->vm_manager.max_pfn = (uint64_t)vm_size << 18; in amdgpu_vm_adjust_size() 2775 vm_size, adev->vm_manager.num_level + 1, in amdgpu_vm_adjust_size()
|
D | amdgpu_drv.c | 331 MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 64GB)"); 332 module_param_named(vm_size, amdgpu_vm_size, int, 0444);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_drv.c | 269 MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 4GB)"); 270 module_param_named(vm_size, radeon_vm_size, int, 0444);
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 1099 unsigned int vm_size; member 1332 return __vmalloc(kvm_x86_ops.vm_size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_arch_alloc_vm()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | svm.c | 4213 .vm_size = sizeof(struct kvm_svm),
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmx.c | 7712 .vm_size = sizeof(struct kvm_vmx),
|