blk_cleanup_queue
Section: Kernel Hacker's Manual (9)
Updated: blk_cleanup_queue
Index
Return to Main Contents
NAME
blk_cleanup_queue - release a &request_queue_t when it is no longer needed
SYNOPSIS
void blk_cleanup_queue
(request_queue_t *q);
ARGUMENTS
- q
-
the request queue to be released
DESCRIPTION
blk_cleanup_queue is the pair to blk_init_queue. It should
be called when a request queue is being released; typically
when a block device is being de-registered. Currently, its
primary task it to free all the struct request structures that
were allocated to the queue.
CAVEAT
Hopefully the low level driver will have finished any
outstanding requests first...
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- CAVEAT
-
This document was created by
man2html,
using the manual pages.
Time: 03:57:47 GMT, June 12, 2005