'\" t .\" Title: fence_remove_callback .\" 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 "FENCE_REMOVE_CALLBAC" "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" fence_remove_callback \- remove a callback from the signaling list .SH "SYNOPSIS" .HP \w'bool\ fence_remove_callback('u .BI "bool fence_remove_callback(struct\ fence\ *\ " "fence" ", struct\ fence_cb\ *\ " "cb" ");" .SH "ARGUMENTS" .PP \fIfence\fR .RS 4 [in] the fence to wait on .RE .PP \fIcb\fR .RS 4 [in] the callback to remove .RE .SH "DESCRIPTION" .PP Remove a previously queued callback from the fence\&. This function returns true if the callback is successfully removed, or false if the fence has already been signaled\&. .PP *WARNING*: Cancelling a callback should only be done if you really know what you\*(Aqre doing, since deadlocks and race conditions could occur all too easily\&. For this reason, it should only ever be done on hardware lockup recovery, with a reference held to the fence\&. .SH "COPYRIGHT" .br