Searched refs:bv (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | bio-integrity.c | 306 struct bio_vec *bv; in bio_integrity_generate() local 315 bio_for_each_segment(bv, bio, i) { in bio_integrity_generate() 316 void *kaddr = kmap_atomic(bv->bv_page, KM_USER0); in bio_integrity_generate() 317 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_generate() 318 bix.data_size = bv->bv_len; in bio_integrity_generate() 324 sectors = bv->bv_len / bi->sector_size; in bio_integrity_generate() 447 struct bio_vec *bv; in bio_integrity_verify() local 456 bio_for_each_segment(bv, bio, i) { in bio_integrity_verify() 457 void *kaddr = kmap_atomic(bv->bv_page, KM_USER0); in bio_integrity_verify() 458 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_verify() [all …]
|
D | bio.c | 159 void bvec_free_bs(struct bio_set *bs, struct bio_vec *bv, unsigned int idx) in bvec_free_bs() argument 164 mempool_free(bv, bs->bvec_pool); in bvec_free_bs() 168 kmem_cache_free(bvs->slab, bv); in bvec_free_bs() 378 struct bio_vec *bv; in zero_fill_bio() local 381 bio_for_each_segment(bv, bio, i) { in zero_fill_bio() 382 char *data = bvec_kmap_irq(bv, &flags); in zero_fill_bio() 383 memset(data, 0, bv->bv_len); in zero_fill_bio() 384 flush_dcache_page(bv->bv_page); in zero_fill_bio() 1481 struct bio_vec *bv; in bio_sector_offset() local 1490 __bio_for_each_segment(bv, bio, i, 0) { in bio_sector_offset() [all …]
|