Scroll to navigation

ALLOC_ORDERED_WORKQU(9) Driver Basics ALLOC_ORDERED_WORKQU(9)

NAME

alloc_ordered_workqueue - allocate an ordered workqueue

SYNOPSIS

alloc_ordered_workqueue(fmt, flags, args...);

ARGUMENTS

fmt
printf format for the name of the workqueue
flags
WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful) args...: args for fmt
args...
variable arguments

DESCRIPTION

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 max_active of one.

RETURN

Pointer to the allocated workqueue on success, NULL on failure.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.