Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include "blk.h"
#include <scsi/scsi_cmnd.h>
Go to the source code of this file.
Functions | |
void | blk_execute_rq_nowait (struct request_queue *q, struct gendisk *bd_disk, struct request *rq, int at_head, rq_end_io_fn *done) |
EXPORT_SYMBOL_GPL (blk_execute_rq_nowait) | |
int | blk_execute_rq (struct request_queue *q, struct gendisk *bd_disk, struct request *rq, int at_head) |
EXPORT_SYMBOL (blk_execute_rq) | |
int blk_execute_rq | ( | struct request_queue * | q, |
struct gendisk * | bd_disk, | ||
struct request * | rq, | ||
int | at_head | ||
) |
blk_execute_rq - insert a request into queue for execution : queue to insert the request in : matching gendisk : request to insert : insert request at head or tail of queue
Description: Insert a fully prepared request at the back of the I/O scheduler queue for execution and wait for completion.
Definition at line 97 of file blk-exec.c.
void blk_execute_rq_nowait | ( | struct request_queue * | q, |
struct gendisk * | bd_disk, | ||
struct request * | rq, | ||
int | at_head, | ||
rq_end_io_fn * | done | ||
) |
blk_execute_rq_nowait - insert a request into queue for execution : queue to insert the request in : matching gendisk : request to insert : insert request at head or tail of queue : I/O completion handler
Description: Insert a fully prepared request at the back of the I/O scheduler queue for execution. Don't wait for completion.
Note: This function will invoke directly if the queue is dead.
Definition at line 50 of file blk-exec.c.
EXPORT_SYMBOL | ( | blk_execute_rq | ) |
EXPORT_SYMBOL_GPL | ( | blk_execute_rq_nowait | ) |