xe_svm_has_mapping(9)
π xe_svm_has_mapping(9) β the one from the Kernel API Manual β¨
okay so welcome to the group chat, bestie π«Ά this is a page from the Kernel API Manual and honestly it's a short one but it's iconic. no cap. let's get into it.
β¨ NAME β¨
xe_svm_has_mapping β literally just: does this SVM have mappings? that's the whole vibe check π
πΈ SYNOPSIS πΈ
bool xe_svm_has_mapping (struct xe_vm *vm , u64 start , u64 end );
likeβ¦ she takes three things and gives you back a bool. main character energy fr fr π
π ARGUMENTS π
vmβ the VM. that's it, that's the description. she's the star of the show.startβ the start address. where the range begins πΈendβ the end address. where the range stops, bestie β¨
π¦ DESCRIPTION π¦
so what she does is check whether an address range has SVM mappings. that's it. that's the whole function. short queen behavior π
π RETURN π
True if the address range has a SVM mapping, False otherwise. no in-between, no "it depends," no "ask your therapist." just a clean boole, periodt π₯
π SEE ALSO π
okay this is the part where you meet the whole friend group π like genuinely obsessed with how many of them there are:
- the Kernel file
./drivers/gpu/drm/xe/xe_svm.c(go read the source, iykyk) drm_pagemapreference-counting in xe:(9)xe_svm_init(9)xe_svm_close(9)xe_svm_fini(9)xe_svm_range_validate(9)xe_svm_find_vma_start(9)xe_svm_range_needs_migrate_to_vram(9)xe_svm_handle_pagefault(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)
like. that's the whole squad. go say hi π
no warnings on this one bestie β she's a simple girl and she knows what she is π§
and that's the page!! mwah π this came to you from ./drivers/gpu/drm/xe, dated October 2026, and yes it's filed under xe_svm_has_mapping(9) because we stay consistent in this house π see you in the next manpage, ily π«Άβ¨
π¦ 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