'\" t .\" Title: flush_delayed_work .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "FLUSH_DELAYED_WORK" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * 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" flush_delayed_work \- wait for a dwork to finish executing the last queueing .SH "SYNOPSIS" .HP \w'bool\ flush_delayed_work('u .BI "bool flush_delayed_work(struct\ delayed_work\ *\ " "dwork" ");" .SH "ARGUMENTS" .PP \fIdwork\fR .RS 4 the delayed work to flush .RE .SH "DESCRIPTION" .PP Delayed timer is cancelled and the pending work is queued for immediate execution\&. Like \fBflush_work\fR, this function only considers the last queueing instance of \fIdwork\fR\&. .SH "RETURN" .PP \fBtrue\fR if \fBflush_work\fR waited for the work to finish execution, \fBfalse\fR if it was already idle\&. .SH "COPYRIGHT" .br