sync_file_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the sync_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 🌈

byeee β€” from ./drivers/dma-buf, dated October 2026, this is sync_file_create(9) signing off. πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from