drm_gpusvm_has_mapping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_gpusvm_has_mapping(9) ✨

okay bestie, so this one lives in the Kernel API Manual and it's literally called drm_gpusvm_has_mapping β€” a whole little vibe check for your GPU's shared virtual memory πŸ’…


πŸŽ€ NAME πŸŽ€

drm_gpusvm_has_mapping β€” check if GPU SVM has a mapping for the given address range πŸ—ΊοΈβœ¨

like, does this range have a home or is it homeless? we're about to find out 🫢


🌸 SYNOPSIS 🌸

bool drm_gpusvm_has_mapping (struct drm_gpusvm *gpusvm , unsigned long
start , unsigned long end );

yes she returns a bool, she's decisive like that πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • gpusvm β€” pointer to the GPU SVM structure. that's your main character right there, the whole struct we're interrogating 🧚
  • start β€” start address 🌸
  • end β€” end address 🌸

so you hand her a range, start through end, and a gpusvm to look inside, and she does her thing. no cap πŸ”₯


⭐ RETURN ⭐

True if GPU SVM has mapping, False otherwise πŸ’€

that's it. that's the answer. binary queen behavior fr fr πŸ™ˆ

ngl this is the whole entire function β€” one yes-or-no, no drama, no exit codes, no signals, no errno shenanigans. just vibes and a boolean πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group showed up, and we're listing every single one because nobody gets left out πŸ’œ

go read them all, iykw00t 🌈 (ok it's iykyk, but you get it πŸ’…)


ok that's the whole page bestie, nothing hidden, nothing skipped 🫢

and that's a wrap on this one, mwah πŸ’‹ β€” brought to you by the Kernel API Manual out of ./drivers/gpu/drm, dated October 2026. slay, see you in the next manpage πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from