'\" t .\" Title: queue_delayed_work_on .\" 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 "QUEUE_DELAYED_WORK_O" "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" queue_delayed_work_on \- queue work on specific CPU after delay .SH "SYNOPSIS" .HP \w'bool\ queue_delayed_work_on('u .BI "bool queue_delayed_work_on(int\ " "cpu" ", struct\ workqueue_struct\ *\ " "wq" ", struct\ delayed_work\ *\ " "dwork" ", unsigned\ long\ " "delay" ");" .SH "ARGUMENTS" .PP \fIcpu\fR .RS 4 CPU number to execute work on .RE .PP \fIwq\fR .RS 4 workqueue to use .RE .PP \fIdwork\fR .RS 4 work to queue .RE .PP \fIdelay\fR .RS 4 number of jiffies to wait before queueing .RE .SH "RETURN" .PP \fBfalse\fR if \fIwork\fR was already on a queue, \fBtrue\fR otherwise\&. If \fIdelay\fR is zero and \fIdwork\fR is idle, it will be scheduled for immediate execution\&. .SH "COPYRIGHT" .br