xe_svm_find_vma_start(9)
πΈ NAME πΈ
xe_svm_find_vma_start β Find start of CPU VMA. This is the Kernel API Manual page for xe_svm_find_vma_start(9), bestie π
β¨ SYNOPSIS β¨
u64 xe_svm_find_vma_start (struct xe_vm *vm , u64 start , u64 end ,
struct xe_vma *vma );
π ARGUMENTS π
vmβ thexe_vmpointer, aka the VM we're digging around in π«Άstartβ the start address of the range, periodt β¨endβ the end address of the range, no cap πΈvmaβ a pointer tostruct xe_vma, the VMA in question π
π¦ DESCRIPTION π¦
OK so this function searches for a cpu vma, within the specified range [start, end] in the given VM. It adjusts the range based on the xe_vma start and end addresses. If no cpu VMA is found, it returns ULONG_MAX. That's the whole vibe β very targeted, very demure πβ¨
π₯ RETURN π₯
It gives you the starting address of the VMA within the range, or ULONG_MAX if no VMA is found. So either you get your address or you get the big ULONG_MAX energy π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_svm.cdrm_pagemap reference-counting in xe:(9)xe_svm_init(9)xe_svm_close(9)xe_svm_fini(9)xe_svm_range_validate(9)xe_svm_range_needs_migrate_to_vram(9)xe_svm_handle_pagefault(9)xe_svm_has_mapping(9)xe_svm_unmap_address_range(9)xe_svm_bo_evict(9)xe_svm_range_find_or_insert(9)xe_svm_range_get_pages(9)xe_svm_ranges_zap_ptes_in_range(9)xe_vma_resolve_pagemap(9)xe_svm_alloc_vram(9)xe_pagemap_create(9)xe_pagemap_find_or_create(9)xe_pagemap_shrinker_create(9)xe_pagemap_cache_create(9)xe_drm_pagemap_from_fd(9)xe_svm_flush(9)
Catch you in ./drivers/gpu/drm/xe β October 2026 β xe_svm_find_vma_start(9) π
πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms