'\" t .\" Title: blk_post_runtime_resume .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BLK_POST_RUNTIME_RES" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Block Devices" .\" ----------------------------------------------------------------- .\" * 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" blk_post_runtime_resume \- Post runtime resume processing .SH "SYNOPSIS" .HP \w'void\ blk_post_runtime_resume('u .BI "void blk_post_runtime_resume(struct\ request_queue\ *\ " "q" ", int\ " "err" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 the queue of the device .RE .PP \fIerr\fR .RS 4 return value of the device\*(Aqs runtime_resume function .RE .SH "DESCRIPTION" .PP Update the queue\*(Aqs runtime status according to the return value of the device\*(Aqs runtime_resume function\&. If it is successfully resumed, process the requests that are queued into the device\*(Aqs queue when it is resuming and then mark last busy and initiate autosuspend for it\&. .PP This function should be called near the end of the device\*(Aqs runtime_resume callback\&. .SH "COPYRIGHT" .br