STRUCT MEDIA_GRAPH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

This is the page for struct media_graph(9) β€” Media graph traversal state β€” straight from the Kernel API Manual. Bestie, it's giving struct lore, and we're about to go through every field with main character energy. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the exact shape of it, no edits, just vibes:

       struct media_graph {
           struct {
             struct media_entity *entity;
             struct list_head *link;
           } stack[MEDIA_ENTITY_ENUM_MAX_DEPTH];
           struct media_entity_enum ent_enum;
           int top;
        };

πŸŽ€ Members πŸŽ€

Here's the cast of members β€” yes, every single one matters. 🫢

  • stack β€” the graph traversal stack. It contains information about the path β€” the media entities to be walked β€” and the links through which they were reached.
    • stack.entity β€” a pointer to the struct media_entity at the graph.
    • stack.link β€” a pointer to struct list_head.
  • ent_enum β€” the visited entities.
  • top β€” the top of the stack.

🌈 SEE ALSO 🌈

Kernel file ./include/media/media-entity.h is the home base. Here's the whole squad of related pages, no cap:


Source/version: ./include/media Β· Date: October 2026 Β· Page: struct media_graph(9) β€” bye bestie, go walk that graph πŸ’–βœ¨

πŸ“¦ where this page comes from