mp_bh              51 drivers/md/md-multipath.c static void multipath_reschedule_retry (struct multipath_bh *mp_bh)
mp_bh              54 drivers/md/md-multipath.c 	struct mddev *mddev = mp_bh->mddev;
mp_bh              58 drivers/md/md-multipath.c 	list_add(&mp_bh->retry_list, &conf->retry_list);
mp_bh              68 drivers/md/md-multipath.c static void multipath_end_bh_io(struct multipath_bh *mp_bh, blk_status_t status)
mp_bh              70 drivers/md/md-multipath.c 	struct bio *bio = mp_bh->master_bio;
mp_bh              71 drivers/md/md-multipath.c 	struct mpconf *conf = mp_bh->mddev->private;
mp_bh              75 drivers/md/md-multipath.c 	mempool_free(mp_bh, &conf->pool);
mp_bh              80 drivers/md/md-multipath.c 	struct multipath_bh *mp_bh = bio->bi_private;
mp_bh              81 drivers/md/md-multipath.c 	struct mpconf *conf = mp_bh->mddev->private;
mp_bh              82 drivers/md/md-multipath.c 	struct md_rdev *rdev = conf->multipaths[mp_bh->path].rdev;
mp_bh              85 drivers/md/md-multipath.c 		multipath_end_bh_io(mp_bh, 0);
mp_bh              91 drivers/md/md-multipath.c 		md_error (mp_bh->mddev, rdev);
mp_bh              95 drivers/md/md-multipath.c 		multipath_reschedule_retry(mp_bh);
mp_bh              97 drivers/md/md-multipath.c 		multipath_end_bh_io(mp_bh, bio->bi_status);
mp_bh             104 drivers/md/md-multipath.c 	struct multipath_bh * mp_bh;
mp_bh             111 drivers/md/md-multipath.c 	mp_bh = mempool_alloc(&conf->pool, GFP_NOIO);
mp_bh             113 drivers/md/md-multipath.c 	mp_bh->master_bio = bio;
mp_bh             114 drivers/md/md-multipath.c 	mp_bh->mddev = mddev;
mp_bh             116 drivers/md/md-multipath.c 	mp_bh->path = multipath_map(conf);
mp_bh             117 drivers/md/md-multipath.c 	if (mp_bh->path < 0) {
mp_bh             119 drivers/md/md-multipath.c 		mempool_free(mp_bh, &conf->pool);
mp_bh             122 drivers/md/md-multipath.c 	multipath = conf->multipaths + mp_bh->path;
mp_bh             124 drivers/md/md-multipath.c 	bio_init(&mp_bh->bio, NULL, 0);
mp_bh             125 drivers/md/md-multipath.c 	__bio_clone_fast(&mp_bh->bio, bio);
mp_bh             127 drivers/md/md-multipath.c 	mp_bh->bio.bi_iter.bi_sector += multipath->rdev->data_offset;
mp_bh             128 drivers/md/md-multipath.c 	bio_set_dev(&mp_bh->bio, multipath->rdev->bdev);
mp_bh             129 drivers/md/md-multipath.c 	mp_bh->bio.bi_opf |= REQ_FAILFAST_TRANSPORT;
mp_bh             130 drivers/md/md-multipath.c 	mp_bh->bio.bi_end_io = multipath_end_request;
mp_bh             131 drivers/md/md-multipath.c 	mp_bh->bio.bi_private = mp_bh;
mp_bh             132 drivers/md/md-multipath.c 	mddev_check_writesame(mddev, &mp_bh->bio);
mp_bh             133 drivers/md/md-multipath.c 	mddev_check_write_zeroes(mddev, &mp_bh->bio);
mp_bh             134 drivers/md/md-multipath.c 	generic_make_request(&mp_bh->bio);
mp_bh             316 drivers/md/md-multipath.c 	struct multipath_bh *mp_bh;
mp_bh             328 drivers/md/md-multipath.c 		mp_bh = list_entry(head->prev, struct multipath_bh, retry_list);
mp_bh             332 drivers/md/md-multipath.c 		bio = &mp_bh->bio;
mp_bh             333 drivers/md/md-multipath.c 		bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector;
mp_bh             335 drivers/md/md-multipath.c 		if ((mp_bh->path = multipath_map (conf))<0) {
mp_bh             339 drivers/md/md-multipath.c 			multipath_end_bh_io(mp_bh, BLK_STS_IOERR);
mp_bh             344 drivers/md/md-multipath.c 			*bio = *(mp_bh->master_bio);
mp_bh             346 drivers/md/md-multipath.c 				conf->multipaths[mp_bh->path].rdev->data_offset;
mp_bh             347 drivers/md/md-multipath.c 			bio_set_dev(bio, conf->multipaths[mp_bh->path].rdev->bdev);
mp_bh             350 drivers/md/md-multipath.c 			bio->bi_private = mp_bh;
mp_bh              37 fs/gfs2/bmap.c 	struct buffer_head *mp_bh[GFS2_MAX_META_HEIGHT];
mp_bh             262 fs/gfs2/bmap.c 	struct buffer_head *bh = mp->mp_bh[height];
mp_bh             286 fs/gfs2/bmap.c 	const struct buffer_head *bh = mp->mp_bh[height];
mp_bh             296 fs/gfs2/bmap.c 		get_bh(clone->mp_bh[hgt]);
mp_bh             334 fs/gfs2/bmap.c 		ret = gfs2_meta_indirect_buffer(ip, x + 1, dblock, &mp->mp_bh[x + 1]);
mp_bh             383 fs/gfs2/bmap.c 			if (mp->mp_bh[x])
mp_bh             411 fs/gfs2/bmap.c 		if (mp->mp_bh[i] == NULL)
mp_bh             413 fs/gfs2/bmap.c 		brelse(mp->mp_bh[i]);
mp_bh             414 fs/gfs2/bmap.c 		mp->mp_bh[i] = NULL;
mp_bh             521 fs/gfs2/bmap.c 		brelse(mp->mp_bh[hgt]);
mp_bh             522 fs/gfs2/bmap.c 		mp->mp_bh[hgt] = NULL;
mp_bh             613 fs/gfs2/bmap.c 	__be64 *ptr = (__be64 *)(mp->mp_bh[i - 1]->b_data +
mp_bh             617 fs/gfs2/bmap.c 	BUG_ON(mp->mp_bh[i] != NULL);
mp_bh             618 fs/gfs2/bmap.c 	mp->mp_bh[i] = gfs2_meta_new(gl, bn);
mp_bh             619 fs/gfs2/bmap.c 	gfs2_trans_add_meta(gl, mp->mp_bh[i]);
mp_bh             620 fs/gfs2/bmap.c 	gfs2_metatype_set(mp->mp_bh[i], GFS2_METATYPE_IN, GFS2_FORMAT_IN);
mp_bh             621 fs/gfs2/bmap.c 	gfs2_buffer_clear_tail(mp->mp_bh[i], sizeof(struct gfs2_meta_header));
mp_bh             668 fs/gfs2/bmap.c 	struct buffer_head *dibh = mp->mp_bh[0];
mp_bh             729 fs/gfs2/bmap.c 				gfs2_buffer_copy_tail(mp->mp_bh[i],
mp_bh             735 fs/gfs2/bmap.c 				ptr = (__be64 *)(mp->mp_bh[i]->b_data +
mp_bh             740 fs/gfs2/bmap.c 					if (mp->mp_bh[i] == NULL)
mp_bh             742 fs/gfs2/bmap.c 					brelse(mp->mp_bh[i]);
mp_bh             743 fs/gfs2/bmap.c 					mp->mp_bh[i] = NULL;
mp_bh             752 fs/gfs2/bmap.c 				gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[i-1]);
mp_bh             763 fs/gfs2/bmap.c 			BUG_ON(mp->mp_bh[end_of_metadata] == NULL);
mp_bh             764 fs/gfs2/bmap.c 			gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[end_of_metadata]);
mp_bh             866 fs/gfs2/bmap.c 	mp->mp_bh[0] = dibh;
mp_bh             920 fs/gfs2/bmap.c 	bh = mp->mp_bh[ip->i_height - 1];
mp_bh            1667 fs/gfs2/bmap.c 	struct buffer_head *bh = mp->mp_bh[h];
mp_bh            1704 fs/gfs2/bmap.c 	struct buffer_head *bh = mp->mp_bh[height];
mp_bh            1831 fs/gfs2/bmap.c 	mp.mp_bh[0] = dibh;
mp_bh            1864 fs/gfs2/bmap.c 			bh = mp.mp_bh[mp_h];
mp_bh            1891 fs/gfs2/bmap.c 			ret = sweep_bh_for_rgrps(ip, &rd_gh, mp.mp_bh[mp_h],
mp_bh            1911 fs/gfs2/bmap.c 				brelse(mp.mp_bh[mp_h]);
mp_bh            1912 fs/gfs2/bmap.c 				mp.mp_bh[mp_h] = NULL;