ENUM MEDIA_GOBJ_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum media_gobj_type(9) πŸ¦‹

okay so we're in the Kernel API Manual bestie, and this page is literally just a little enum that tells you what kind of graph object you're looking at ✨ no cap, that's the whole vibe.


πŸ’… NAME

enum media_gobj_type β€” the type of a graph object. iykyk πŸ‘‘


🌸 SYNOPSIS

enum media_gobj_type {
    MEDIA_GRAPH_ENTITY ,
    MEDIA_GRAPH_PAD ,
    MEDIA_GRAPH_LINK ,
    MEDIA_GRAPH_INTF_DEVNODE

};

like… she's short, she's cute, she's load-bearing πŸŽ€


✨ Constants ✨

okay so these are the four flavors, and each one is iconic in her own way:

  • MEDIA_GRAPH_ENTITY β€” identifies a media entity 🫢
  • MEDIA_GRAPH_PAD β€” identifies a media pad πŸ’–
  • MEDIA_GRAPH_LINK β€” identifies a media link πŸ”₯
  • MEDIA_GRAPH_INTF_DEVNODE β€” identifies a media Kernel API interface via a device node ⭐
bestie pls note: these are constants, so there's no "default" to worry about, no arguments to pass, nothing spicy. just vibes and identification πŸ’€

🌈 SEE ALSO

okay this list is long long, so buckle up, we're going on a tour 🧚. in the kernel file ./include/media/media-entity.h:

yeah that's all of them, she ate and left no crumbs πŸ’…πŸ”₯


that's the whole page bestie, love that for us 🫢 the source lives in ./include/media, dated October 2026, and honestly? iconic. periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from