Home
last modified time | relevance | path

Searched refs:bio_data_dir (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/md/
A Ddm-flakey.c310 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_data()
340 if (bio_data_dir(bio) == READ) { in flakey_map()
389 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io()
A Ddm-crypt.c532 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
550 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
682 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
705 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
1030 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1353 if (bio_data_dir(ctx->bio_in) == WRITE) { in crypt_convert_block_aead()
1448 if (bio_data_dir(ctx->bio_in) == WRITE) in crypt_convert_block_skcipher()
1809 unsigned rw = bio_data_dir(clone); in crypt_endio()
2202 if (bio_data_dir(io->base_bio) == READ) { in kcryptd_async_done()
2219 if (bio_data_dir(io->base_bio) == READ) in kcryptd_crypt()
[all …]
A Ddm-cache-target.c522 return bio_data_dir(bio) == WRITE ? in lock_level()
753 if (bio_data_dir(bio) == WRITE) in __remap_to_origin_clear_discard()
769 if (bio_data_dir(bio) == WRITE) { in remap_to_cache_dirty()
1057 return (bio_data_dir(bio) == WRITE) && in bio_writes_complete_block()
1587 atomic_inc(bio_data_dir(bio) == READ ? in inc_hit_counter()
1593 atomic_inc(bio_data_dir(bio) == READ ? in inc_miss_counter()
1620 data_dir = bio_data_dir(bio); in map_bio()
1681 if (bio_data_dir(bio) == WRITE) { in map_bio()
1688 if (bio_data_dir(bio) == WRITE && writethrough_mode(cache) && in map_bio()
A Ddm-snap.c1991 if (bio_data_dir(bio) == WRITE) { in snapshot_map()
2000 bio_data_dir(bio) == WRITE)) { in snapshot_map()
2050 if (bio_data_dir(bio) == WRITE) { in snapshot_map()
2170 if (bio_data_dir(bio) == WRITE && in snapshot_merge_map()
2182 if (bio_data_dir(bio) == WRITE) in snapshot_merge_map()
2190 if (bio_data_dir(bio) == WRITE) { in snapshot_merge_map()
2697 if (bio_data_dir(bio) != WRITE) in origin_map()
A Ddm-raid1.c524 queue_bio(m->ms, bio, bio_data_dir(bio)); in read_callback()
1186 int r, rw = bio_data_dir(bio); in mirror_map()
1236 int rw = bio_data_dir(bio); in mirror_end_io()
A Dmd-faulty.c169 if (bio_data_dir(bio) == WRITE) { in faulty_make_request()
A Ddm-delay.c288 if (bio_data_dir(bio) == WRITE) { in delay_map()
A Ddm-log-writes.c688 if (bio_data_dir(bio) == READ) in log_writes_map()
794 if (bio_data_dir(bio) == WRITE && pb->block) { in normal_end_io()
A Ddm-dust.c232 if (bio_data_dir(bio) == READ) in dust_map()
A Ddm-io.c143 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
A Ddm-thin.c1252 return (bio_data_dir(bio) == WRITE) && in io_overwrites_block()
1821 if (bio_data_dir(bio) == WRITE || op_is_flush(bio->bi_opf) || in __remap_and_issue_shared_cell()
1874 if (bio_data_dir(bio) == WRITE && bio->bi_iter.bi_size) { in process_shared_bio()
1910 if (bio_data_dir(bio) == READ) { in provision_block()
1964 if (bio_data_dir(bio) == READ && tc->origin_dev) { in process_cell()
2015 int rw = bio_data_dir(bio); in __process_bio_read_only()
A Ddm-writecache.c1245 int rw = bio_data_dir(bio); in bio_copy_block()
1553 if (bio_data_dir(bio) == READ) in writecache_map()
1573 atomic_inc(&wc->bio_in_progress[bio_data_dir(bio)]); in writecache_map()
1602 int dir = bio_data_dir(bio); in writecache_end_io()
/linux/block/
A Dblk-throttle.c757 bool rw = bio_data_dir(bio); in tg_with_in_iops_limit()
805 bool rw = bio_data_dir(bio); in tg_with_in_bps_limit()
858 bool rw = bio_data_dir(bio); in tg_may_dispatch()
918 bool rw = bio_data_dir(bio); in throtl_charge_bio()
950 bool rw = bio_data_dir(bio); in throtl_add_bio_tg()
1061 tg_dispatch_one_bio(tg, bio_data_dir(bio)); in throtl_dispatch_tg()
1071 tg_dispatch_one_bio(tg, bio_data_dir(bio)); in throtl_dispatch_tg()
2050 bool rw = bio_data_dir(bio); in blk_throtl_charge_bio_split()
2071 bool rw = bio_data_dir(bio); in __blk_throtl_bio()
2213 int rw = bio_data_dir(bio); in blk_throtl_bio_endio()
A Dblk-throttle.h175 if (!tg->has_rules[bio_data_dir(bio)]) in blk_throtl_bio()
A Dbio-integrity.c222 if (bio_data_dir(bio) == READ) { in bio_integrity_prep()
292 if (bio_data_dir(bio) == WRITE) { in bio_integrity_prep()
A Dblk-map.c120 else if (bio_data_dir(bio) == READ) in bio_uncopy_user()
600 bio_release_pages(bio, bio_data_dir(bio) == READ); in blk_rq_unmap_user()
A Dbounce.c213 int rw = bio_data_dir(*bio_orig); in __blk_queue_bounce()
A Dblk-crypto-fallback.c508 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
/linux/drivers/md/bcache/
A Dio.c141 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
/linux/arch/m68k/emu/
A Dnfblock.c69 dir = bio_data_dir(bio); in nfhd_submit_bio()
/linux/drivers/block/drbd/
A Ddrbd_req.c37 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
809 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
1196 const int rw = bio_data_dir(bio); in drbd_request_prepare()
1309 const int rw = bio_data_dir(req->master_bio); in drbd_send_and_submit()
1437 const int rw = bio_data_dir(req->master_bio); in submit_fast_path()
/linux/drivers/block/rsxx/
A Ddev.c164 bio_data_dir(bio) ? 'W' : 'R', bio_meta, in rsxx_submit_bio()
/linux/arch/xtensa/platforms/iss/
A Dsimdisk.c115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
/linux/drivers/nvdimm/
A Dblk.c179 rw = bio_data_dir(bio); in nd_blk_submit_bio()
/linux/drivers/s390/block/
A Ddcssblk.c891 if (bio_data_dir(bio) == WRITE) { in dcssblk_submit_bio()
906 if (bio_data_dir(bio) == READ) { in dcssblk_submit_bio()

Completed in 62 milliseconds

12