ttm_bo_get(9)
π ttm_bo_get(9) π
okay so bestie, welcome to the Kernel API Manual β yes the actual kernel API manual, we're in the big leagues now π«Ά this one's a tiny little function but it's lowkey carrying the whole buffer-object reference game, so let's get into it β¨
πΈ NAME πΈ
ttm_bo_get β grab a reference on a struct ttm_buffer_object π
like, you're telling the kernel "hey, I'm holding onto this one, don't you dare free it on me" π
β¨ SYNOPSIS β¨
void ttm_bo_get (struct ttm_buffer_object *bo );
that's it. that's the whole vibe check. no fancy return value, no extra params, just vibes and a pointer π¦
π ARGUMENTS π
boβ the buffer object π the one you're out here referencing. the main character, honestly π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/ttm/ttm_bo_internal.hβ go peek if you're nosy, iykyk π§ ttm_bo_get_unless_zero(9)β the iconic sibling function, different name different behavior, don't mix them up bestie π
ngl this one's short but don't sleep on it β referencing the wrong stuff in kernel land is giving π energy, fr fr
and that's the whole page, periodt β¨ this little gem lives in the source tree at ./drivers/gpu/drm/ttm, dated October 2026 β π slay, go forth and reference responsibly, bestie π ππ
π¦ 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