xe_vm_find_vma_by_addr(9)
π xe_vm_find_vma_by_addr β find a VMA by its address π
okay so this one's a page from the Kernel API Manual bestie, and it's honestly so straightforward it's kind of iconic for it. You got a vm, you got an address, and you're like "hey which VMA lives here?" and it tells you. That's the whole plot. No cap. β¨
πΈ SYNOPSIS πΈ
struct xe_vma * xe_vm_find_vma_by_addr (struct xe_vm *vm , u64 page_addr
);
literally just hand it those two things and it hands you back a struct xe_vma *. the way that signature just sits there, all neat and symmetric π«Ά
β¨ ARGUMENTS β¨
vmβ thexe_vmthat the vma belongs to π like, which VM's little neighborhood are we even searching inpage_addrβ the address you're looking up π the actual thing you're tryna find
that's it. that's the whole input list. two arguments, zero drama, main character energy fr fr π
π¦ SEE ALSO π¦
okay this is the part where the page goes FULL group chat and tags everyone in the VM source file. the kernel file is ./drivers/gpu/drm/xe/xe_vm.c and it is throwing a party, here's the guest list:
xe_vm_drm_exec_lock(9)xe_vm_remove_compute_exec_queue(9)xe_vm_kill(9)xe_vm_validate_rebind(9)xe_vm_bump_lru(9)xe_vm_resume_rebind_worker(9)xe_vm_add_fault_entry_pf(9)xe_vm_range_rebind(9)xe_vm_range_unbind(9)xe_vma_mem_attr_copy(9)xe_vm_lock_vma(9)xe_vm_create_scratch(9)xe_vma_has_default_mem_attrs(9)struct xe_vma_lock_and_validate_flags(9)xe_vm_bind_kernel_bo(9)xe_vm_lock(9)xe_vm_unlock(9)xe_vm_invalidate_vma_submit(9)xe_vm_invalidate_vma(9)xe_vma_need_vram_for_atomic(9)xe_vm_alloc_madvise_vma(9)xe_vm_find_cpu_addr_mirror_vma_range(9)xe_vm_alloc_cpu_addr_mirror_vma(9)xe_vm_add_exec_queue(9)xe_vm_remove_exec_queue(9)
yes bestie I listed every single one, we don't do "etc." around here π
(also yes, struct xe_vma_lock_and_validate_flags(9) really is written like that in the source page β I'm not touching it, that's a them thing π)
π«Ά tiny reminder: this page is just the finder. it looks stuff up. it does not lock, bind, kill, or otherwise start anything β for that you gotta go knock on the doors up in SEE ALSO.
and that's the tea π source lives in ./drivers/gpu/drm/xe, this lil page is dated October 2026, and it goes by xe_vm_find_vma_by_addr(9) β mwah, slay, see you in the next man page πβ¨π
π¦ 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