media_gobj_gen_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… media_gobj_gen_id(9)

Ok so bestie, welcome to the Kernel API Manual, section 9 β€” this is the kernel-internals corner of the docs, and today's main character is media_gobj_gen_id. She's small, she's specific, and she serves.


✨ NAME ✨

media_gobj_gen_id β€” encapsulates type and ID on at the object ID πŸŽ€

(Yes, that's literally the description. "type and ID on at the object ID." The kernel docs said what they said and we respect the icon's choices. πŸ’€)


🌸 SYNOPSIS 🌸

u32 media_gobj_gen_id (enum media_gobj_type type , u64 local_id );

Returns a u32. Takes two things. Vibes immaculate, signature tiny. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • type β€” the object type, as defined at enum media_gobj_type. This is the "what kind of thing are we even talking about" of it all. ✨
  • local_id β€” the next ID, pulled from struct media_device.id. This is the "which specific one" half of the duo. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Ngl the link list here is giving "whole extended friend group in the group chat," and every single one of them is invited. No cap, no skips, here's the full roster:

That's the whole squad. Read them, love them, link them. πŸ’œ


Sign-off time 🧚✨ β€” this page lives in ./include/media (that's the source/version bit, bestie), and it was last touched in October 2026. Go forth and encapsulate those IDs, you absolute legend. πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from