sync_pt_create(9)
π 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β parentsync_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms