Scroll to navigation

SYNC_FILE_CREATE(9) Device drivers infrastructure SYNC_FILE_CREATE(9)

NAME

sync_file_create - creates a sync file

SYNOPSIS

struct sync_file * sync_file_create(struct fence * fence);

ARGUMENTS

fence

fence to add to the sync_fence

DESCRIPTION

Creates a sync_file containg fence. Once this is called, the sync_file takes ownership of fence. The sync_file can be released with fput(sync_file->file). Returns the sync_file or NULL in case of error.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.