blk.h File Reference

Go to the source code of this file.

Defines

#define BLK_BATCH_TIME   (HZ/50UL)
#define BLK_BATCH_REQ   32

Enumerations

enum  rq_atomic_flags { REQ_ATOM_COMPLETE = 0 }

Functions

void init_request_from_bio (struct request *req, struct bio *bio)
void blk_rq_bio_prep (struct request_queue *q, struct request *rq, struct bio *bio)
void __blk_queue_free_tags (struct request_queue *q)
void blk_unplug_work (struct work_struct *work)
void blk_unplug_timeout (unsigned long data)
void blk_rq_timed_out_timer (unsigned long data)
void blk_delete_timer (struct request *)
void blk_add_timer (struct request *)
void __generic_unplug_device (struct request_queue *)
static int blk_mark_rq_complete (struct request *rq)
static void blk_clear_rq_complete (struct request *rq)
static int blk_should_fake_timeout (struct request_queue *q)
struct io_context * current_io_context (gfp_t gfp_flags, int node)
int ll_back_merge_fn (struct request_queue *q, struct request *req, struct bio *bio)
int ll_front_merge_fn (struct request_queue *q, struct request *req, struct bio *bio)
int attempt_back_merge (struct request_queue *q, struct request *rq)
int attempt_front_merge (struct request_queue *q, struct request *rq)
void blk_recalc_rq_segments (struct request *rq)
void blk_recalc_rq_sectors (struct request *rq, int nsect)
void blk_queue_congestion_threshold (struct request_queue *q)
int blk_dev_init (void)
static int queue_congestion_on_threshold (struct request_queue *q)
static int queue_congestion_off_threshold (struct request_queue *q)
static int blk_cpu_to_group (int cpu)
static int blk_do_io_stat (struct request_queue *q)

Variables

struct kmem_cacheblk_requestq_cachep
struct kobj_type blk_queue_ktype


Define Documentation

#define BLK_BATCH_REQ   32

Definition at line 8 of file blk.h.

#define BLK_BATCH_TIME   (HZ/50UL)

Definition at line 5 of file blk.h.


Enumeration Type Documentation

Enumerator:
REQ_ATOM_COMPLETE 

Definition at line 28 of file blk.h.


Function Documentation

void __blk_queue_free_tags ( struct request_queue *  q  ) 

void __generic_unplug_device ( struct request_queue *   ) 

Definition at line 268 of file blk-core.c.

int attempt_back_merge ( struct request_queue *  q,
struct request *  rq 
)

int attempt_front_merge ( struct request_queue *  q,
struct request *  rq 
)

void blk_add_timer ( struct request *   ) 

static void blk_clear_rq_complete ( struct request *  rq  )  [inline, static]

Definition at line 41 of file blk.h.

static int blk_cpu_to_group ( int  cpu  )  [inline, static]

Definition at line 99 of file blk.h.

void blk_delete_timer ( struct request *   ) 

int blk_dev_init ( void   ) 

Definition at line 2159 of file blk-core.c.

static int blk_do_io_stat ( struct request_queue *  q  )  [inline, static]

Definition at line 111 of file blk.h.

static int blk_mark_rq_complete ( struct request *  rq  )  [inline, static]

Definition at line 36 of file blk.h.

void blk_queue_congestion_threshold ( struct request_queue *  q  ) 

Definition at line 88 of file blk-core.c.

void blk_recalc_rq_sectors ( struct request *  rq,
int  nsect 
)

void blk_recalc_rq_segments ( struct request *  rq  ) 

void blk_rq_bio_prep ( struct request_queue *  q,
struct request *  rq,
struct bio *  bio 
)

Definition at line 2103 of file blk-core.c.

void blk_rq_timed_out_timer ( unsigned long  data  ) 

static int blk_should_fake_timeout ( struct request_queue *  q  )  [inline, static]

Definition at line 52 of file blk.h.

void blk_unplug_timeout ( unsigned long  data  ) 

Definition at line 316 of file blk-core.c.

void blk_unplug_work ( struct work_struct *  work  ) 

Definition at line 307 of file blk-core.c.

struct io_context* current_io_context ( gfp_t  gfp_flags,
int  node 
) [read]

void init_request_from_bio ( struct request *  req,
struct bio *  bio 
)

Definition at line 1097 of file blk-core.c.

int ll_back_merge_fn ( struct request_queue *  q,
struct request *  req,
struct bio *  bio 
)

int ll_front_merge_fn ( struct request_queue *  q,
struct request *  req,
struct bio *  bio 
)

static int queue_congestion_off_threshold ( struct request_queue *  q  )  [inline, static]

Definition at line 86 of file blk.h.

static int queue_congestion_on_threshold ( struct request_queue *  q  )  [inline, static]

Definition at line 78 of file blk.h.


Variable Documentation

struct kobj_type blk_queue_ktype

Definition at line 58 of file blk-core.c.


Generated on Wed Apr 11 06:39:15 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6