Searched refs:master_bio (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Dmultipath.h29 struct bio *master_bio; member in struct:multipath_bh
H A Draid10.h89 struct bio *master_bio; member in struct:r10bio_s
H A Draid1.h92 struct bio *master_bio; member in struct:r1bio_s
H A Dmultipath.c78 struct bio *bio = mp_bh->master_bio;
152 mp_bh->master_bio = bio;
385 bio->bi_sector = mp_bh->master_bio->bi_sector;
398 *bio = *(mp_bh->master_bio);
H A Draid10.c238 struct bio *bio = r10_bio->master_bio;
869 r10_bio->master_bio = bio;
1293 if (r10_bio->master_bio == NULL) {
1300 r10bio_t *r10_bio2 = (r10bio_t *)r10_bio->master_bio;
1736 const unsigned long do_sync = (r10_bio->master_bio->bi_rw & REQ_SYNC);
1745 bio = bio_clone(r10_bio->master_bio, GFP_NOIO);
1802 * The r10_bio structures are linked using a borrowed master_bio pointer.
1890 * borrowed master_bio pointer, and the counter in the master
1932 r10_bio->master_bio = (struct bio*)rb2;
2009 r10_bio = (r10bio_t*) rb2->master_bio;
[all...]
H A Draid1.c137 r1_bio->master_bio = NULL;
236 struct bio *bio = r1_bio->master_bio;
364 struct bio *mbio = r1_bio->master_bio;
843 r1_bio->master_bio = bio;
1636 const unsigned long do_sync = (r1_bio->master_bio->bi_rw & REQ_SYNC);
1647 bio = bio_clone(r1_bio->master_bio, GFP_NOIO);
1692 const unsigned long do_sync = r1_bio->master_bio->bi_rw & REQ_SYNC;
1697 bio = bio_clone(r1_bio->master_bio, GFP_NOIO);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/drbd/
H A Ddrbd_req.c49 int rw = bio_data_dir(req->master_bio);
210 int rw = req->master_bio ? bio_data_dir(req->master_bio) : WRITE;
228 if (req->master_bio) {
245 * what we need to do here is just: complete the master_bio.
268 m->bio = req->master_bio;
269 req->master_bio = NULL;
415 if (bio_data_dir(req->master_bio) == WRITE)
551 if (bio_data_dir(req->master_bio) == WRITE &&
888 bio_endio(req->master_bio,
[all...]
H A Ddrbd_req.h132 * master_bio may already be completed and invalidated.
148 * when cleared, the master_bio may be completed.
255 req->master_bio = bio_src;
H A Ddrbd_main.c2345 if (req->master_bio->bi_rw & REQ_HARDBARRIER) {
2349 if (req->master_bio->bi_rw & REQ_SYNC)
2353 if (req->master_bio->bi_rw & REQ_UNPLUG)
2365 drbd_csum_bio(mdev, mdev->integrity_w_tfm, req->master_bio, dgb);
2370 ok = _drbd_send_bio(mdev, req->master_bio);
2372 ok = _drbd_send_zc_bio(mdev, req->master_bio);
H A Ddrbd_int.h689 struct bio *master_bio; /* master bio pointer */ member in struct:drbd_request
H A Ddrbd_receiver.c1489 bio = req->master_bio;

Completed in 234 milliseconds