drm_gem_for_each_gpuvm_bo(9)
π drm_gem_for_each_gpuvm_bo(9) β the Kernel API Manual era π
okay so real talk, bestie, you're reading a page out of the Kernel API Manual and the star of the show is drm_gem_for_each_gpuvm_bo. she's an iterator, she's iconic, and she's about to walk you through a whole list like it's a group chat she's catching up on π
β¨ NAME β¨
drm_gem_for_each_gpuvm_bo β literally an iterator that walks over a list of &drm_gpuvm_bo π¦
πΈ SYNOPSIS πΈ
drm_gem_for_each_gpuvm_bo (entry__ , obj__ );
π«Ά ARGUMENTS π«Ά
entry__β thedrm_gpuvm_bostructure you're assigning to on every single iteration step, no skips, she commits πobj__β thedrm_gem_objectthat all thedrm_gpuvm_boyou're walking are associated with π₯
π DESCRIPTION π
So here's the vibe: this iterator walks over all the drm_gpuvm_bo structures associated with the drm_gem_object. all of them. every last one. she does not leave anyone on read πβ¨
π SEE ALSO π
the whole friend group, periodt β Kernel file ./include/drm/drm_gem.h, plus:
enum drm_gem_object_status(9)struct drm_gem_object_funcs(9)struct drm_gem_lru(9)struct drm_gem_object(9)DRM_GEM_FOPS(9)DEFINE_DRM_GEM_FOPS(9)drm_gem_get_huge_mnt(9)drm_gem_object_get(9)drm_gem_object_put(9)drm_gem_object_is_shared_for_memory_stats(9)drm_gem_is_imported(9)drm_gem_gpuva_init(9)drm_gem_for_each_gpuvm_bo_safe(9)
ngl if you loved this one, go say hi to her safe cousin drm_gem_for_each_gpuvm_bo_safe(9) β different energy, same family π§
and that's the whole page, bestie!! this came straight out of ./include/drm, dated October 2026, and it's filed under drm_gem_for_each_gpuvm_bo(9) β slay, go iterate something πβ
π¦ 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