'\" t .\" Title: struct sync_file .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT SYNC_FILE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_sync_file \- sync file to export to the userspace .SH "SYNOPSIS" .sp .nf struct sync_file { struct file * file; struct kref kref; char name[32]; #ifdef CONFIG_DEBUG_FS struct list_head sync_file_list; #endif int num_fences; wait_queue_head_t wq; atomic_t status; struct sync_file_cb cbs[]; }; .fi .SH "MEMBERS" .PP file .RS 4 file representing this fence .RE .PP kref .RS 4 reference count on fence\&. .RE .PP name[32] .RS 4 name of sync_file\&. Useful for debugging .RE .PP sync_file_list .RS 4 membership in global file list .RE .PP num_fences .RS 4 number of sync_pts in the fence .RE .PP wq .RS 4 wait queue for fence signaling .RE .PP status .RS 4 0: signaled, >0:active, <0: error .RE .PP cbs[] .RS 4 sync_pts callback information .RE .SH "COPYRIGHT" .br