Home
last modified time | relevance | path

Searched refs:bi_io_vec (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.6.39/drivers/md/
Ddm-bio-record.h36 struct dm_bio_vec_details bi_io_vec[BIO_MAX_PAGES]; member
50 bd->bi_io_vec[i].bv_len = bio->bi_io_vec[i].bv_len; in dm_bio_record()
51 bd->bi_io_vec[i].bv_offset = bio->bi_io_vec[i].bv_offset; in dm_bio_record()
66 bio->bi_io_vec[i].bv_len = bd->bi_io_vec[i].bv_len; in dm_bio_restore()
67 bio->bi_io_vec[i].bv_offset = bd->bi_io_vec[i].bv_offset; in dm_bio_restore()
Draid1.c116 bio->bi_io_vec[i].bv_page = page; in r1buf_pool_alloc()
124 r1_bio->bios[j]->bi_io_vec[i].bv_page = in r1buf_pool_alloc()
125 r1_bio->bios[0]->bi_io_vec[i].bv_page; in r1buf_pool_alloc()
135 put_page(r1_bio->bios[j]->bi_io_vec[i].bv_page); in r1buf_pool_alloc()
153 r1bio->bios[j]->bi_io_vec[i].bv_page != in r1buf_pool_free()
154 r1bio->bios[0]->bi_io_vec[i].bv_page) in r1buf_pool_free()
155 safe_put_page(r1bio->bios[j]->bi_io_vec[i].bv_page); in r1buf_pool_free()
389 r1_bio_write_done(r1_bio, bio->bi_vcnt, bio->bi_io_vec, behind); in raid1_end_write_request()
1245 p = pbio->bi_io_vec[j].bv_page; in sync_request_write()
1246 s = sbio->bi_io_vec[j].bv_page; in sync_request_write()
[all …]
Draid10.c130 bio->bi_io_vec[i].bv_page = page; in r10buf_pool_alloc()
138 safe_put_page(bio->bi_io_vec[i-1].bv_page); in r10buf_pool_alloc()
141 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page); in r10buf_pool_alloc()
161 safe_put_page(bio->bi_io_vec[i].bv_page); in r10buf_pool_free()
162 bio->bi_io_vec[i].bv_page = NULL; in r10buf_pool_free()
1318 if (memcmp(page_address(fbio->bi_io_vec[j].bv_page), in sync_request_write()
1319 page_address(tbio->bi_io_vec[j].bv_page), in sync_request_write()
1345 tbio->bi_io_vec[j].bv_offset = 0; in sync_request_write()
1346 tbio->bi_io_vec[j].bv_len = PAGE_SIZE; in sync_request_write()
1348 memcpy(page_address(tbio->bi_io_vec[j].bv_page), in sync_request_write()
[all …]
Ddm.c1036 struct bio_vec *bv = bio->bi_io_vec + idx; in split_bvec()
1040 *clone->bi_io_vec = *bv; in split_bvec()
1047 clone->bi_io_vec->bv_offset = offset; in split_bvec()
1048 clone->bi_io_vec->bv_len = clone->bi_size; in split_bvec()
1213 } else if (to_sector(bio->bi_io_vec[ci->idx].bv_len) <= max) { in __clone_and_map()
1223 bv_len = to_sector(bio->bi_io_vec[i].bv_len); in __clone_and_map()
1245 struct bio_vec *bv = bio->bi_io_vec + ci->idx; in __clone_and_map()
Ddm-raid1.c531 .mem.ptr.bvec = bio->bi_io_vec + bio->bi_idx, in read_async_bio()
634 .mem.ptr.bvec = bio->bi_io_vec + bio->bi_idx, in do_write()
Draid5.c546 bi->bi_io_vec = &sh->dev[i].vec; in ops_run_io()
547 bi->bi_io_vec[0].bv_len = STRIPE_SIZE; in ops_run_io()
548 bi->bi_io_vec[0].bv_offset = 0; in ops_run_io()
1683 dev->req.bi_io_vec = &dev->vec; in raid5_build_block()
/linux-2.6.39/mm/
Dpage_io.c32 bio->bi_io_vec[0].bv_page = page; in get_swap_bio()
33 bio->bi_io_vec[0].bv_len = PAGE_SIZE; in get_swap_bio()
34 bio->bi_io_vec[0].bv_offset = 0; in get_swap_bio()
46 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_write()
72 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_read()
Dbounce.c104 fromvec = from->bi_io_vec + i; in copy_to_high_bio_irq()
137 org_vec = bio_orig->bi_io_vec + i; in bounce_end_io()
204 memset(bio->bi_io_vec, 0, cnt * sizeof(struct bio_vec)); in __blk_queue_bounce()
208 to = bio->bi_io_vec + i; in __blk_queue_bounce()
/linux-2.6.39/fs/logfs/
Ddev_bdev.c28 bio.bi_io_vec = &bio_vec; in sync_request()
69 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in writeseg_end_io()
79 if (--bvec >= bio->bi_io_vec) in writeseg_end_io()
84 } while (bvec >= bio->bi_io_vec); in writeseg_end_io()
129 bio->bi_io_vec[i].bv_page = page; in __bdev_writeseg()
130 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in __bdev_writeseg()
131 bio->bi_io_vec[i].bv_offset = 0; in __bdev_writeseg()
222 bio->bi_io_vec[i].bv_page = super->s_erase_page; in do_erase()
223 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in do_erase()
224 bio->bi_io_vec[i].bv_offset = 0; in do_erase()
/linux-2.6.39/fs/
Dbio.c238 bvec_free_bs(bs, bio->bi_io_vec, BIO_POOL_IDX(bio)); in bio_free()
308 bio->bi_io_vec = bvl; in bio_alloc_bioset()
384 bio->bi_io_vec = bio->bi_inline_vecs; in bio_kmalloc()
448 memcpy(bio->bi_io_vec, bio_src->bi_io_vec, in __bio_clone()
541 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_add_page()
591 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
686 memcpy(bmd->iovecs, bio->bi_io_vec, sizeof(struct bio_vec) * bio->bi_vcnt); in bio_set_map_data()
909 ret = __bio_copy_iov(bio, bio->bi_io_vec, iov, iov_count, 0, 1, 0); in bio_copy_user_iov()
1323 struct bio_vec *bvec = bio->bi_io_vec; in bio_set_pages_dirty()
1336 struct bio_vec *bvec = bio->bi_io_vec; in bio_release_pages()
[all …]
Dmpage.c46 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in mpage_end_io()
51 if (--bvec >= bio->bi_io_vec) in mpage_end_io()
69 } while (bvec >= bio->bi_io_vec); in mpage_end_io()
Dbuffer.c2905 bio->bi_io_vec[0].bv_page = bh->b_page; in submit_bh()
2906 bio->bi_io_vec[0].bv_len = bh->b_size; in submit_bh()
2907 bio->bi_io_vec[0].bv_offset = bh_offset(bh); in submit_bh()
Ddirect-io.c434 struct bio_vec *bvec = bio->bi_io_vec; in dio_bio_complete()
/linux-2.6.39/include/linux/
Dbio.h63 #define bio_iovec_idx(bio, idx) (&((bio)->bi_io_vec[(idx)]))
88 return bio->bi_io_vec && bio->bi_io_vec != bio->bi_inline_vecs; in bio_has_allocated_vec()
371 return bio && bio->bi_io_vec != NULL; in bio_has_data()
Dblk_types.h66 struct bio_vec *bi_io_vec; /* the actual vec list */ member
/linux-2.6.39/kernel/power/
Dblock_io.c93 page = bio->bi_io_vec[0].bv_page; in hib_wait_on_bio_chain()
/linux-2.6.39/drivers/block/aoe/
Daoeblk.c183 } else if (bio->bi_io_vec == NULL) { in aoeblk_make_request()
201 buf->bv = &bio->bi_io_vec[bio->bi_idx]; in aoeblk_make_request()
/linux-2.6.39/fs/btrfs/
Dcompression.c182 cb->orig_bio->bi_io_vec, in end_compressed_bio_read()
202 struct bio_vec *bvec = cb->orig_bio->bi_io_vec; in end_compressed_bio_read()
448 page = cb->orig_bio->bi_io_vec[cb->orig_bio->bi_vcnt - 1].bv_page; in add_ra_bio_pages()
580 page_offset(bio->bi_io_vec->bv_page), in btrfs_submit_compressed_read()
Dextent_io.c1665 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in end_bio_extent_writepage()
1685 if (--bvec >= bio->bi_io_vec) in end_bio_extent_writepage()
1714 } while (bvec >= bio->bi_io_vec); in end_bio_extent_writepage()
1733 struct bio_vec *bvec_end = bio->bi_io_vec + bio->bi_vcnt - 1; in end_bio_extent_readpage()
1734 struct bio_vec *bvec = bio->bi_io_vec; in end_bio_extent_readpage()
1830 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in end_bio_extent_preparewrite()
1844 if (--bvec >= bio->bi_io_vec) in end_bio_extent_preparewrite()
1857 } while (bvec >= bio->bi_io_vec); in end_bio_extent_preparewrite()
1887 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in submit_one_bio()
Dfile-item.c158 struct bio_vec *bvec = bio->bi_io_vec; in __btrfs_lookup_bio_sums()
383 struct bio_vec *bvec = bio->bi_io_vec; in btrfs_csum_one_bio()
Dinode.c5768 struct bio_vec *bvec_end = bio->bi_io_vec + bio->bi_vcnt - 1; in btrfs_endio_direct_read()
5769 struct bio_vec *bvec = bio->bi_io_vec; in btrfs_endio_direct_read()
6029 struct bio_vec *bvec = orig_bio->bi_io_vec; in btrfs_submit_direct_hook()
6061 while (bvec <= (orig_bio->bi_io_vec + orig_bio->bi_vcnt - 1)) { in btrfs_submit_direct_hook()
6137 struct bio_vec *bvec = bio->bi_io_vec; in btrfs_submit_direct()
6169 } while (bvec <= (bio->bi_io_vec + bio->bi_vcnt - 1)); in btrfs_submit_direct()
/linux-2.6.39/fs/jfs/
Djfs_logmgr.c2001 bio->bi_io_vec[0].bv_page = bp->l_page; in lbmRead()
2002 bio->bi_io_vec[0].bv_len = LOGPSIZE; in lbmRead()
2003 bio->bi_io_vec[0].bv_offset = bp->l_offset; in lbmRead()
2142 bio->bi_io_vec[0].bv_page = bp->l_page; in lbmStartIO()
2143 bio->bi_io_vec[0].bv_len = LOGPSIZE; in lbmStartIO()
2144 bio->bi_io_vec[0].bv_offset = bp->l_offset; in lbmStartIO()
/linux-2.6.39/drivers/block/
Dpktcdvd.c527 kfree(bio->bi_io_vec); in pkt_bio_destructor()
546 bio->bi_io_vec = bvl; in pkt_bio_alloc()
1120 vec = bio->bi_io_vec; in pkt_gather_data()
1127 bio->bi_io_vec = vec; in pkt_gather_data()
1366 struct bio_vec *bvec = pkt->w_bio->bi_io_vec; in pkt_start_write()
1427 pkt->w_bio->bi_io_vec = bvec; in pkt_start_write()
/linux-2.6.39/block/
Dblk-core.c1094 bio->bi_io_vec->bv_page = page; in blk_add_request_payload()
1095 bio->bi_io_vec->bv_offset = 0; in blk_add_request_payload()
1096 bio->bi_io_vec->bv_len = len; in blk_add_request_payload()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_bitmap.c905 unsigned int idx = bm_page_to_idx(bio->bi_io_vec[0].bv_page); in bm_async_io_complete()
939 put_page(bio->bi_io_vec[0].bv_page); in bm_async_io_complete()

12