Home
last modified time | relevance | path

Searched refs:bv_offset (Results 1 – 25 of 48) sorted by relevance

12

/linux-2.6.39/drivers/md/
Ddm-bio-record.h23 __u16 bv_offset; member
26 unsigned bv_offset;
51 bd->bi_io_vec[i].bv_offset = bio->bi_io_vec[i].bv_offset; in dm_bio_record()
67 bio->bi_io_vec[i].bv_offset = bd->bi_io_vec[i].bv_offset; in dm_bio_restore()
Ddm-io.c219 *offset = bvec->bv_offset; in bvec_get_page()
/linux-2.6.39/mm/
Dbounce.c55 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec()
63 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len)
117 vfrom = page_address(fromvec->bv_page) + tovec->bv_offset; in copy_to_high_bio_irq()
212 to->bv_offset = from->bv_offset; in __blk_queue_bounce()
219 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce()
220 vfrom = kmap(from->bv_page) + from->bv_offset; in __blk_queue_bounce()
243 to->bv_offset = from->bv_offset; in __blk_queue_bounce()
Dpage_io.c34 bio->bi_io_vec[0].bv_offset = 0; in get_swap_bio()
/linux-2.6.39/include/linux/
Dbio.h66 #define bio_offset(bio) bio_iovec((bio))->bv_offset
95 #define bvec_to_phys(bv) (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset)
105 bio_iovec_idx((bio), (idx))->bv_offset)
332 return (char *) addr + bvec->bv_offset; in bvec_kmap_irq()
346 return page_address(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_irq()
Dblk_types.h26 unsigned int bv_offset; member
/linux-2.6.39/fs/
Dbio-integrity.c189 iv->bv_offset = offset; in bio_integrity_add_page()
360 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_generate()
501 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_verify()
599 iv->bv_offset += skip; in bio_integrity_mark_head()
716 bp->iv2.bv_offset += sectors * bi->tuple_size; in bio_integrity_split()
Dbio.c544 offset == prev->bv_offset + prev->bv_len) { in __bio_add_page()
594 bvec->bv_offset = offset; in __bio_add_page()
616 bvec->bv_offset = 0; in __bio_add_page()
1511 bp->bv2.bv_offset += first_sectors << 9; in bio_split()
1560 if (offset > bv->bv_offset) in bio_sector_offset()
1561 sectors += (offset - bv->bv_offset) / sector_sz; in bio_sector_offset()
/linux-2.6.39/fs/logfs/
Ddev_bdev.c31 bio_vec.bv_offset = 0; in sync_request()
131 bio->bi_io_vec[i].bv_offset = 0; in __bdev_writeseg()
224 bio->bi_io_vec[i].bv_offset = 0; in do_erase()
/linux-2.6.39/drivers/s390/block/
Ddasd_fba.c326 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_fba_build_cp()
331 memcpy(copy + bv->bv_offset, dst, bv->bv_len); in dasd_fba_build_cp()
333 dst = copy + bv->bv_offset; in dasd_fba_build_cp()
399 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_fba_free_cp()
Dxpram.c204 kmap(bvec->bv_page) + bvec->bv_offset; in xpram_make_request()
Ddasd_eckd.c2186 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_eckd_build_cp_cmd_single()
2191 memcpy(copy + bv->bv_offset, dst, bv->bv_len); in dasd_eckd_build_cp_cmd_single()
2193 dst = copy + bv->bv_offset; in dasd_eckd_build_cp_cmd_single()
2351 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_eckd_build_cp_cmd_track()
2665 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_eckd_build_cp_tpm_track()
2696 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_eckd_build_cp_tpm_track()
2892 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_raw_build_cp()
2953 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_eckd_free_cp()
Ddasd_diag.c548 dst = page_address(bv->bv_page) + bv->bv_offset; in dasd_diag_build_cp()
/linux-2.6.39/fs/btrfs/
Dfile-item.c185 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in __btrfs_lookup_bio_sums()
403 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio()
411 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio()
436 data + bvec->bv_offset, in btrfs_csum_one_bio()
Dextent_io.c1677 bvec->bv_offset; in end_bio_extent_writepage()
1680 if (bvec->bv_offset == 0 && bvec->bv_len == PAGE_CACHE_SIZE) in end_bio_extent_writepage()
1752 bvec->bv_offset; in end_bio_extent_readpage()
1755 if (bvec->bv_offset == 0 && bvec->bv_len == PAGE_CACHE_SIZE) in end_bio_extent_readpage()
1841 bvec->bv_offset; in end_bio_extent_preparewrite()
1892 start = ((u64)page->index << PAGE_CACHE_SHIFT) + bvec->bv_offset; in submit_one_bio()
/linux-2.6.39/drivers/scsi/
Dsd_dif.c396 + iv->bv_offset; in sd_dif_prepare()
457 + iv->bv_offset; in sd_dif_complete()
/linux-2.6.39/drivers/block/
Dpktcdvd.c991 src_bvl->bv_offset + offs; in pkt_copy_bio_data()
1022 void *vfrom = kmap_atomic(bvec[f].bv_page, KM_USER0) + bvec[f].bv_offset; in pkt_make_local_copy()
1027 bvec[f].bv_offset = offs; in pkt_make_local_copy()
1029 BUG_ON(bvec[f].bv_offset != offs); in pkt_make_local_copy()
1370 bvec[f].bv_offset = (f * CD_FRAMESIZE) % PAGE_SIZE; in pkt_start_write()
1397 bvec[f].bv_offset = src_bvl->bv_offset + src_offs; in pkt_start_write()
1400 bvec[f].bv_page, bvec[f].bv_offset); in pkt_start_write()
1430 if (!bio_add_page(pkt->w_bio, bvec[f].bv_page, CD_FRAMESIZE, bvec[f].bv_offset)) in pkt_start_write()
Dnbd.c226 result = sock_xmit(lo, 1, kaddr + bvec->bv_offset, bvec->bv_len, flags); in sock_send_bvec()
314 result = sock_xmit(lo, 0, kaddr + bvec->bv_offset, bvec->bv_len, in sock_recv_bvec()
Dloop.c223 bv_offs = bvec->bv_offset; in do_lo_send_aops()
309 kmap(bvec->bv_page) + bvec->bv_offset, in do_lo_send_direct_write()
333 bvec->bv_offset, bvec->bv_len, pos >> 9); in do_lo_send_write()
436 cookie.offset = bvec->bv_offset; in do_lo_receive()
Dbrd.c358 bvec->bv_offset, rw, sector); in brd_make_request()
/linux-2.6.39/arch/powerpc/sysdev/
Daxonram.c128 user_mem = page_address(vec->bv_page) + vec->bv_offset; in axon_ram_make_request()
/linux-2.6.39/block/
Dblk-integrity.c116 sg_set_page(sg, iv->bv_page, iv->bv_len, iv->bv_offset); in blk_rq_map_integrity_sg()
Dblk-merge.c165 sg_set_page(sg, bvec->bv_page, nbytes, bvec->bv_offset); in blk_rq_map_sg()
/linux-2.6.39/drivers/block/aoe/
Daoeblk.c204 buf->bv_off = buf->bv->bv_offset; in aoeblk_make_request()
/linux-2.6.39/drivers/staging/hv/
Dblkvsc_drv.c946 || (bvec->bv_offset != 0) || in blkvsc_do_request()
984 = bvec->bv_offset; in blkvsc_do_request()

12