Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 5 of 5) sorted by relevance

/fs/
Dbio-integrity.c350 struct bio_vec *bv; in bio_integrity_generate() local
359 bio_for_each_segment(bv, bio, i) { in bio_integrity_generate()
360 void *kaddr = kmap_atomic(bv->bv_page); in bio_integrity_generate()
361 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_generate()
362 bix.data_size = bv->bv_len; in bio_integrity_generate()
368 sectors = bv->bv_len / bi->sector_size; in bio_integrity_generate()
491 struct bio_vec *bv; in bio_integrity_verify() local
500 bio_for_each_segment(bv, bio, i) { in bio_integrity_verify()
501 void *kaddr = kmap_atomic(bv->bv_page); in bio_integrity_verify()
502 bix.data_buf = kaddr + bv->bv_offset; in bio_integrity_verify()
[all …]
Dbio.c157 void bvec_free_bs(struct bio_set *bs, struct bio_vec *bv, unsigned int idx) in bvec_free_bs() argument
162 mempool_free(bv, bs->bvec_pool); in bvec_free_bs()
166 kmem_cache_free(bvs->slab, bv); in bvec_free_bs()
393 struct bio_vec *bv; in zero_fill_bio() local
396 bio_for_each_segment(bv, bio, i) { in zero_fill_bio()
397 char *data = bvec_kmap_irq(bv, &flags); in zero_fill_bio()
398 memset(data, 0, bv->bv_len); in zero_fill_bio()
399 flush_dcache_page(bv->bv_page); in zero_fill_bio()
1559 struct bio_vec *bv; in bio_sector_offset() local
1569 __bio_for_each_segment(bv, bio, i, 0) { in bio_sector_offset()
[all …]
/fs/debugfs/
Dfile.c426 bool bv; in write_file_bool() local
433 if (strtobool(buf, &bv) == 0) in write_file_bool()
434 *val = bv; in write_file_bool()
/fs/exofs/
Dore.c401 struct bio_vec *bv; in _clear_bio() local
404 __bio_for_each_segment(bv, bio, i, 0) { in _clear_bio()
405 unsigned this_count = bv->bv_len; in _clear_bio()
408 clear_highpage(bv->bv_page); in _clear_bio()
410 zero_user(bv->bv_page, bv->bv_offset, this_count); in _clear_bio()
Dore_raid.c425 struct bio_vec *bv; in _mark_read4write_pages_uptodate() local
435 __bio_for_each_segment(bv, bio, i, 0) { in _mark_read4write_pages_uptodate()
436 struct page *page = bv->bv_page; in _mark_read4write_pages_uptodate()