xe_bo_vma_count_dec_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_bo_vma_count_dec_locked ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a lil function page and it's literally so simple you're gonna slay it. it's giving "one job, does it well" energy, no cap.


🌸 NAME 🌸

xe_bo_vma_count_dec_locked β€” account a VMA removal on a BO πŸŽ€

like, it's the little bookkeeper that keeps track of VMAs leaving the party. lowkey iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

void xe_bo_vma_count_dec_locked (struct xe_bo *bo );

that's it. that's the whole signature. short and sweet, fr fr. ✨


πŸ“ ARGUMENTS πŸ“

  • bo β€” buffer object 🫢 (yes, that's the whole description, and honestly? valid. it's the BO. the one and only. main character energy.)

πŸ’… DESCRIPTION πŸ’…

so what does it actually do? it decrements vma_count. one VMA removed, one less on the counter. girl math but make it kernel. πŸ’€

⚠️ important caveat bestie, do NOT skip this one: the caller must hold the BO's dma-resv lock. like, that's not optional, that's not a vibe suggestion, that's the rule. if you're calling this without the lock held you're not slaying, you're just asking for trouble. πŸ™ˆ

🌈 SEE ALSO 🌈

the whole friend group, in order, exactly as listed:

iykyk πŸ‘‘


and that's the whole page, bestie!! go forth and decrement responsibly 🧚

this lil gem lives in ./drivers/gpu/drm/xe and it was dated October 2026 β€” mwah, ty for reading, ily, bye!! πŸ’œπŸŽ€

πŸ“¦ where this page comes from