ttm_base_object_lookup(9)
π ttm_base_object_lookup(9) β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual, and today's main character is ttm_base_object_lookup(9). no cap, she's a little lookup girlie and she's iconic for it π
πΈ NAME πΈ
ttm_base_object_lookup β literally just that, the name says it all, the manpage writers left the description blank and honestly? mysterious. we stan a cryptic queen π
β¨ SYNOPSIS β¨
struct ttm_base_object * ttm_base_object_lookup (struct ttm_object_file
*tfile , uint64_t key );
like, she takes a tfile and a key and hands you back a struct ttm_base_object *. periodt π«Ά
π¦ ARGUMENTS π¦
tfileβ Pointer to astruct ttm_object_file. yes bestie, a pointer, we're doing pointer things, keep up πkeyβ Hash key. that's it, that's the whole vibe. a key. for hashing. π
π DESCRIPTION π
Looks up a struct ttm_base_object with the key key.
that's the whole thing, no notes, she's efficient, she's focused, she ate and left zero crumbs β¨ the way that a manpage can just say the thing and dip π honestly goals.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/vmwgfx/ttm_object.h and the whole friend group:
enum ttm_object_type(9)struct ttm_base_object(9)struct ttm_prime_object(9)ttm_base_object_init(9)ttm_base_object_lookup_for_ref(9)ttm_base_object_unref(9)ttm_ref_object_base_unref(9)ttm_object_file_init(9)ttm_object_file_release(9)ttm_object_device_release(9)
go read them fr fr, they're all in the same group chat π«Άπ
π« cute lil sign-off π«
this whole thing lives in ./drivers/gpu/drm/vmwgfx, and it's dated October 2026 β so like, future vibes only π¦ ngl I'm obsessed. anyway bestie, drink water, free your pointers, and remember: lookups are slay, leaks are not ππΈπ
π¦ 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