sync_file_create(9)
π NAME π
okay so bestie, this is sync_file_create(9) from the Kernel API Manual β the function sync_file_create creates a sync file. slay. π«Ά
β¨ SYNOPSIS β¨
struct sync_file * sync_file_create (struct dma_fence *fence );
π ARGUMENTS π
fenceβ the fence you're adding to thesync_fence. that's the whole argument, no cap. π
π¦ DESCRIPTION π¦
okay so it creates a sync_file containing fence (yes bestie, the original says "containg" β typo era, but we know what she means π). When it succeeds, this function acquires an additional reference of fence for the newly-created sync_file. The sync_file can be released with fput(sync_file->file). It returns the sync_file, or NULL in case of error.
π SEE ALSO π
- Kernel file
./drivers/dma-buf/sync_file.c sync_file_get_fence(9)sync_file_get_name(9)sync_file_merge(9)
byeee β from ./drivers/dma-buf, dated October 2026, this is sync_file_create(9) signing off. πβ¨π«Ά
π¦ 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