gobj_to_intf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gobj_to_intf β€” from the Kernel API Manual, section 9 πŸ’…

okay so bestie, welcome to gobj_to_intf(9), straight out of the Kernel API Manual. this one is short, sweet, and honestly kind of a little one-trick pony, but she's iconic for it. πŸŽ€


✨ NAME ✨

gobj_to_intf β€” returns the struct &media_interface pointer from the @gobj contained on it.

like literally, that's the whole job. she reaches into the graph object and fishes out the interface pointer that's chillin' inside it. no cap. 🫢


🌸 SYNOPSIS 🌸

gobj_to_intf (gobj );

yes that's it. one (1) argument. she keeps it simple. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gobj β€” Pointer to the struct media_gobj graph object 🌈

that's the friend you're passing in: a pointer to the struct media_gobj graph object. give her a valid one and she'll give you back the interface pointer. ✨


πŸ”₯ SEE ALSO πŸ”₯

soooo here's the part where the manpage just dumps the entire friendship group on you. grab a snack, this is a long list, but every single one is here and accounted for πŸ“

Kernel file ./include/media/media-entity.h

ngl bestie, that list is giving "group project where everyone shows up". but they're all valid cross-references, so we list them all. periodt. πŸ‘‘

mwah, that's the whole page πŸ’œ this cutie lives in ./include/media and the version is stamped October 2026 β€” so like, future vibes only, we stan a forward-looking manpage 🧚✨ go read a gobj_to_entity(9) next, iykyk 🌈

πŸ“¦ where this page comes from