i915_ttm_buddy_man_reserve(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the i915_ttm_buddy_man_reserve(9) page from the Kernel API Manual, and its whole main-character job is literally to reserve address range. That’s the vibe. πŸŽ€

✨ SYNOPSIS ✨

int i915_ttm_buddy_man_reserve (struct ttm_resource_manager *man , u64
start , u64 size );

🫢 ARGUMENTS 🫢

  • man β€” the buddy allocator ttm manager. Like, the manager for the buddy allocator, bestie. πŸ’…
  • start β€” the offset in bytes, where the region start is assumed to be zero. Yes, zero. We’ll get to it. πŸ‘€
  • size β€” the size in bytes. The amount of bytes. The size of the thing. πŸ“

🌸 DESCRIPTION 🌸

Important vibe check: the starting address for the region is always assumed to be zero. No cap. So don’t come in here with some other starting address and expect it to slay β€” the page literally says the region start is assumed to be zero. πŸ¦‹

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” slay. βœ…
  • negative error code on failure β€” not the vibe, but that’s what you get. 😭

🌈 SEE ALSO 🌈

Kernel file:

./drivers/gpu/drm/i915/i915_ttm_buddy_manager.c

And these iconic siblings, fr fr:


Signed with sparkles by the i915_ttm_buddy_man_reserve(9) page, coming at you from ./drivers/gpu/drm/i915, dated October 2026 β€” periodt. πŸ’œ

πŸ“¦ where this page comes from