'\" t .\" Title: alloc_ordered_workqueue .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ALLOC_ORDERED_WORKQU" "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" alloc_ordered_workqueue \- allocate an ordered workqueue .SH "SYNOPSIS" .HP \w'alloc_ordered_workqueue('u .BI "alloc_ordered_workqueue(" "fmt" ", " "flags" ", " "args\&.\&.\&." ");" .SH "ARGUMENTS" .PP \fIfmt\fR .RS 4 printf format for the name of the workqueue .RE .PP \fIflags\fR .RS 4 WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful) \fIargs\fR\&.\&.\&.: args for \fIfmt\fR .RE .PP \fIargs\&.\&.\&.\fR .RS 4 variable arguments .RE .SH "DESCRIPTION" .PP Allocate an ordered workqueue\&. An ordered workqueue executes at most one work item at any given time in the queued order\&. They are implemented as unbound workqueues with \fImax_active\fR of one\&. .SH "RETURN" .PP Pointer to the allocated workqueue on success, \fBNULL\fR on failure\&. .SH "COPYRIGHT" .br