STRUCT SYNC_TIMELINE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct sync_timeline πŸ’–

okay so bestie, this is the struct sync_timeline page from the Kernel API Manual β€” page struct sync_timeline(9), and it's literally the β€œsync object” moment. We're keeping every crumb, no skipping, no cap. πŸ’…βœ¨


🌸 NAME 🌸

struct sync_timeline β€” sync object πŸŽ€


✨ SYNOPSIS ✨

       struct sync_timeline {
           struct kref             kref;
           char name[32];
           u64 context;
           int value;
           struct rb_root          pt_tree;
           struct list_head        pt_list;
           spinlock_t lock;
           struct list_head        sync_timeline_list;
        };

πŸ’… Members πŸ’…

  • kref β€” reference count on fence. That's the whole vibe. 🫢
  • name β€” name of the sync_timeline. Useful for debugging. She's a debug helper, your honor. πŸ”
  • pt_tree β€” rbtree of active (unsignaled/errored) sync_pts. Tree structure, but make it active-only. 🌳
  • pt_list β€” list of active (unsignaled/errored) sync_pts. The list version, same active-only energy. πŸ“‹
  • lock β€” lock protecting pt_list and value. Do not touch those without the lock, bestie. πŸ”’
  • sync_timeline_list β€” membership in global sync_timeline_list. She's in the global group chat. πŸ’¬

Also, yes, the struct above has u64 context; and int value; β€” the Members list doesn't give them their own separate blurbs, so I'm not inventing extra lore. πŸ‘€βœ¨


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/dma-buf/sync_debug.h
  • struct sync_pt(9)

This little page came from ./drivers/dma-buf, dated October 2026, under the Kernel API Manual β€” page struct sync_timeline(9). Bye bestie, go sync responsibly πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from