sync_file_get_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sync_file_get_name(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for sync_file_get_name(9) β€” we folded the manual name right into the intro so nobody has to read a boring header line, periodt ✨

🌸 NAME 🌸

sync_file_get_name β€” get the name of the sync_file πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

char * sync_file_get_name (struct sync_file *sync_file , char *buf , int len );

✨ ARGUMENTS ✨

  • sync_file β€” the sync_file to get the fence from, bestie 🫢
  • buf β€” destination buffer to copy the sync_file name into, slay πŸ’…
  • len β€” available size of the destination buffer, fr fr 🌸

πŸ’œ DESCRIPTION πŸ’œ

so every sync_file may have a name assigned either by the user (when merging sync_files together) or created from the fence it contains. in that latter case, construction of the name is deferred until use β€” and so it requires sync_file_get_name. no cap, that's the whole vibe, and the deferring is literally the reason this function exists 😭✨

🌈 RETURN 🌈

a string representing the name β€” iconic behavior, honestly πŸ‘‘πŸ’–

πŸŽ€ SEE ALSO πŸŽ€


okay that's the page, bestie β€” this one comes from the Kernel API Manual, with its source/version under ./drivers/dma-buf and dated October 2026. mwah, go forth and name those sync_files πŸ’–πŸ’…

πŸ“¦ where this page comes from