/linux-2.6.39/drivers/md/ |
D | dm-bio-record.h | 36 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()
|
D | raid1.c | 116 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 …]
|
D | raid10.c | 130 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 …]
|
D | dm.c | 1036 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()
|
D | dm-raid1.c | 531 .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()
|
D | raid5.c | 546 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/ |
D | page_io.c | 32 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()
|
D | bounce.c | 104 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/ |
D | dev_bdev.c | 28 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/ |
D | bio.c | 238 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 …]
|
D | mpage.c | 46 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()
|
D | buffer.c | 2905 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()
|
D | direct-io.c | 434 struct bio_vec *bvec = bio->bi_io_vec; in dio_bio_complete()
|
/linux-2.6.39/include/linux/ |
D | bio.h | 63 #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()
|
D | blk_types.h | 66 struct bio_vec *bi_io_vec; /* the actual vec list */ member
|
/linux-2.6.39/kernel/power/ |
D | block_io.c | 93 page = bio->bi_io_vec[0].bv_page; in hib_wait_on_bio_chain()
|
/linux-2.6.39/drivers/block/aoe/ |
D | aoeblk.c | 183 } 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/ |
D | compression.c | 182 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()
|
D | extent_io.c | 1665 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()
|
D | file-item.c | 158 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()
|
D | inode.c | 5768 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/ |
D | jfs_logmgr.c | 2001 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/ |
D | pktcdvd.c | 527 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/ |
D | blk-core.c | 1094 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/ |
D | drbd_bitmap.c | 905 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()
|