radeon_bo_mmap_offset(9)
π radeon_bo_mmap_offset(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, we're in the big leagues now β¨ this one's a lil baby page but it's iconic in its own way, let me put you on π«Ά
β¨ NAME β¨
radeon_bo_mmap_offset β returns the mmap offset of a bo, periodt π
So like, the whole personality of this function is "hand me the offset you'd use for mmap on this buffer object." That's it, that's the gig π
πΈ SYNOPSIS πΈ
u64 radeon_bo_mmap_offset (struct radeon_bo *bo );
look at that signature, so clean, so u64, we love a return type with range π (copy it exactly when you use it, don't go freelancing with the spacing, iykyk)
π¦ ARGUMENTS π¦
boβ the radeon object we're querying the offset for π this is the main character here, no cap. It's astruct radeon_bo *, and it's literally the thing you want the mmap offset of. that's the whole vibe check.
π DESCRIPTION π
Returns the mmap offset of the object. π«
That's genuinely the entire description, bestie β no plot twists, no hidden lore, no "however" or "note that" π the function hands you back the mmap offset of the object and then it's done. It's giving short-and-sweet main character energy and honestly? obsessed. Not every kernel function needs a whole backstory π
lowkey, since the manpage literally says "Returns mmap offset of the object" and nothing else β that's the full behavioral spec. don't go inventing extra guarantees, bestie, that's not slay π
π§ SEE ALSO π§
go touch these next, they're all in the same friend group π
- Kernel file
./drivers/gpu/drm/radeon/radeon_object.hβ the source file, go read it, it's right there π radeon_mem_type_to_domain(9)radeon_bo_reserve(9)radeon_bo_gpu_offset(9)
and that's the page, bestie!! π source: ./drivers/gpu/drm/radeon, dated October 2026 β yes we're reading kernel docs from the future, we stay ahead β¨ mwah, go forth and mmap responsibly π
π
π¦ 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