Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
drbd_req.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/drbd.h>
#include "drbd_int.h"
#include "drbd_req.h"

Go to the source code of this file.

Macros

#define OVERLAPS   overlaps(sector, size, i->sector, i->size)
 
#define OVERLAPS   overlaps(sector, size, e->sector, e->size)
 
#define OVERLAPS   overlaps(i->sector, i->size, sector, size)
 
#define OVERLAPS   overlaps(e->sector, e->size, sector, size)
 

Functions

void complete_master_bio (struct drbd_conf *mdev, struct bio_and_error *m)
 
void _req_may_be_done (struct drbd_request *req, struct bio_and_error *m)
 
int __req_mod (struct drbd_request *req, enum drbd_req_event what, struct bio_and_error *m)
 
void drbd_make_request (struct request_queue *q, struct bio *bio)
 
int drbd_merge_bvec (struct request_queue *q, struct bvec_merge_data *bvm, struct bio_vec *bvec)
 
void request_timer_fn (unsigned long data)
 

Macro Definition Documentation

#define OVERLAPS   overlaps(sector, size, i->sector, i->size)
#define OVERLAPS   overlaps(sector, size, e->sector, e->size)
#define OVERLAPS   overlaps(i->sector, i->size, sector, size)
#define OVERLAPS   overlaps(e->sector, e->size, sector, size)

Function Documentation

int __req_mod ( struct drbd_request req,
enum drbd_req_event  what,
struct bio_and_error m 
)

Definition at line 402 of file drbd_req.c.

void _req_may_be_done ( struct drbd_request req,
struct bio_and_error m 
)

Definition at line 214 of file drbd_req.c.

void complete_master_bio ( struct drbd_conf mdev,
struct bio_and_error m 
)

Definition at line 201 of file drbd_req.c.

void drbd_make_request ( struct request_queue q,
struct bio *  bio 
)

Definition at line 1126 of file drbd_req.c.

int drbd_merge_bvec ( struct request_queue q,
struct bvec_merge_data *  bvm,
struct bio_vec *  bvec 
)

Definition at line 1216 of file drbd_req.c.

void request_timer_fn ( unsigned long  data)

Definition at line 1243 of file drbd_req.c.