Searched refs:bio_data_dir (Results 1 – 25 of 43) sorted by relevance
12
/linux/drivers/md/ |
A D | dm-flakey.c | 310 (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 D | dm-crypt.c | 532 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 D | dm-cache-target.c | 522 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 D | dm-snap.c | 1991 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 D | dm-raid1.c | 524 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 D | md-faulty.c | 169 if (bio_data_dir(bio) == WRITE) { in faulty_make_request()
|
A D | dm-delay.c | 288 if (bio_data_dir(bio) == WRITE) { in delay_map()
|
A D | dm-log-writes.c | 688 if (bio_data_dir(bio) == READ) in log_writes_map() 794 if (bio_data_dir(bio) == WRITE && pb->block) { in normal_end_io()
|
A D | dm-dust.c | 232 if (bio_data_dir(bio) == READ) in dust_map()
|
A D | dm-io.c | 143 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
|
A D | dm-thin.c | 1252 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 D | dm-writecache.c | 1245 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 D | blk-throttle.c | 757 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 D | blk-throttle.h | 175 if (!tg->has_rules[bio_data_dir(bio)]) in blk_throtl_bio()
|
A D | bio-integrity.c | 222 if (bio_data_dir(bio) == READ) { in bio_integrity_prep() 292 if (bio_data_dir(bio) == WRITE) { in bio_integrity_prep()
|
A D | blk-map.c | 120 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 D | bounce.c | 213 int rw = bio_data_dir(*bio_orig); in __blk_queue_bounce()
|
A D | blk-crypto-fallback.c | 508 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
|
/linux/drivers/md/bcache/ |
A D | io.c | 141 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
|
/linux/arch/m68k/emu/ |
A D | nfblock.c | 69 dir = bio_data_dir(bio); in nfhd_submit_bio()
|
/linux/drivers/block/drbd/ |
A D | drbd_req.c | 37 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 D | dev.c | 164 bio_data_dir(bio) ? 'W' : 'R', bio_meta, in rsxx_submit_bio()
|
/linux/arch/xtensa/platforms/iss/ |
A D | simdisk.c | 115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
|
/linux/drivers/nvdimm/ |
A D | blk.c | 179 rw = bio_data_dir(bio); in nd_blk_submit_bio()
|
/linux/drivers/s390/block/ |
A D | dcssblk.c | 891 if (bio_data_dir(bio) == WRITE) { in dcssblk_submit_bio() 906 if (bio_data_dir(bio) == READ) { in dcssblk_submit_bio()
|
Completed in 65 milliseconds
12