sync_pt_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual page for sync_pt_create(9) β€” this one creates a sync pt, and honestly? iconic little fence-maker behavior. πŸ’…


✨ SYNOPSIS ✨

struct sync_pt * sync_pt_create (struct sync_timeline *obj , unsigned
       int value );

yep bestie, that's the whole signature β€” no cap. πŸŽ€


πŸŽ€ ARGUMENTS πŸŽ€

  • obj β€” parent sync_timeline 🌸
  • value β€” value of the fence 🚧

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: a new sync_pt (fence) is created as a child of parent β€” main character energy fr fr. size bytes will be allocated allowing for implementation specific data to be kept after the generic sync_timeline struct. Then it returns the sync_pt object or NULL in case of error. periodt. 😭✨

lowkey important: that NULL is the error vibe check, so don't ignore it. πŸ’€

🌈 SEE ALSO 🌈

The SEE ALSO situation is giving kernel-file realness: Kernel file ./drivers/dma-buf/sw_sync.c, struct sw_sync_get_deadline(9), sync_timeline_create(9), and sync_timeline_signal(9). iykyk πŸ§šπŸ’œ


πŸ’Œ cute sign-off: this page lives under ./drivers/dma-buf, dated October 2026, and it's sync_pt_create(9) β€” slay. πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from