ttm_base_obj...okup_for_ref(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ttm_base_object_lookup_for_ref β€” the little lookup bestie for when your tfile hasn't caught feelings yet πŸ’…

so like, this is a Kernel API Manual page, and the star of the show is ttm_base_object_lookup_for_ref. no cap, that's the whole name section. short and iconic.


🌸 SYNOPSIS 🌸

struct ttm_base_object * ttm_base_object_lookup_for_ref (struct
       ttm_object_device *tdev , uint64_t key );

look at her. she returns a struct ttm_base_object * and she takes two args. periodt. πŸ’–


πŸ’… ARGUMENTS πŸ’…

  • tdev β€” a pointer to a struct ttm_object_device. literally just a pointer, she's pointing at the device object, that's her whole job 🫢
  • key β€” the hash key πŸ”‘ that's it, that's the argument. we love a simple queen.

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the tea β˜• β€” this function looks up a struct ttm_base_object using the key key. that's it. that's the lookup. slay.

but bestie, listen, there's a condition (iykyk): this function should only be used when the struct tfile associated with the caller doesn't yet have a reference to the base object. so like… no existing ref? then yes, this is your girl. already got a ref? then no, go somewhere else. it's giving "specific use case, know your vibe check" energy ✨


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, gathered for you:

go read all of them, they're all slay, I promise πŸ§šβ€β™€οΈπŸ’œ


okay that's the whole page!! nothing more, nothing less, every single deet preserved, main character energy intact πŸ‘‘

mwah πŸ’‹ this page is brought to you by the ./drivers/gpu/drm/vmwgfx girls, dated October 2026 β€” see you in the next ttm_base_obj...okup_for_ref(9) era, bestie!! πŸŽ€πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from