/linux/block/ |
H A D | bio-integrity.c | 145 if (bio_data_dir(bio) == READ) in bio_integrity_unmap_user() 152 bio_data_dir(bio) == READ); in bio_integrity_unmap_user() 324 if (bio_data_dir(bio) == READ) in bio_integrity_map_user() 448 if (bio_data_dir(bio) == WRITE) in bio_integrity_prep()
|
H A D | blk-throttle.h | 163 int rw = bio_data_dir(bio); in blk_should_throtl()
|
H A D | blk-throttle.c | 677 bool rw = bio_data_dir(bio); in tg_within_iops_limit() 705 bool rw = bio_data_dir(bio); in tg_within_bps_limit() 750 bool rw = bio_data_dir(bio); in tg_may_dispatch() 809 bool rw = bio_data_dir(bio); in throtl_charge_bio() 835 bool rw = bio_data_dir(bio); in throtl_add_bio_tg() 1610 bool rw = bio_data_dir(bio); in __blk_throtl_bio()
|
H A D | bounce.c | 206 int rw = bio_data_dir(bio_orig); in __blk_queue_bounce()
|
H A D | blk-map.c | 122 else if (bio_data_dir(bio) == READ) in bio_uncopy_user() 733 bio_release_pages(bio, bio_data_dir(bio) == READ); in blk_rq_unmap_user()
|
H A D | blk-crypto-fallback.c | 509 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 568 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen() 586 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post() 712 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen() 735 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post() 1018 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant() 1025 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant() 1035 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant() 1055 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen() 1067 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post() 1376 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead() [all …]
|
H A D | dm-flakey.c | 359 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_common() 502 if (bio_data_dir(bio) == READ) { in flakey_map() 562 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io()
|
H A D | dm-cache-target.c | 522 return bio_data_dir(bio) == WRITE ? in lock_level() 759 if (bio_data_dir(bio) == WRITE) in remap_to_origin_clear_discard() 768 if (bio_data_dir(bio) == WRITE) { in remap_to_cache_dirty() 836 if (bio_data_dir(origin_bio) == WRITE) in remap_to_origin_and_cache() 1059 return (bio_data_dir(bio) == WRITE) && in bio_writes_complete_block() 1599 atomic_inc(bio_data_dir(bio) == READ ? in inc_hit_counter() 1605 atomic_inc(bio_data_dir(bio) == READ ? in inc_miss_counter() 1632 data_dir = bio_data_dir(bio); in map_bio() 1693 if (bio_data_dir(bio) == WRITE) { in map_bio() 1700 if (bio_data_dir(bio) == WRITE && writethrough_mode(cache) && in map_bio()
|
H A D | dm-raid1.c | 533 queue_bio(m->ms, bio, bio_data_dir(bio)); in read_callback() 1198 int r, rw = bio_data_dir(bio); in mirror_map() 1248 int rw = bio_data_dir(bio); in mirror_end_io()
|
H A D | dm-delay.c | 357 if (bio_data_dir(bio) == WRITE) { in delay_map()
|
H A D | dm-io.c | 148 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
|
H A D | dm-dust.c | 232 if (bio_data_dir(bio) == READ) in dust_map()
|
H A D | dm-writecache.c | 1251 int rw = bio_data_dir(bio); in bio_copy_block() 1571 if (bio_data_dir(bio) == READ) in writecache_map() 1591 atomic_inc(&wc->bio_in_progress[bio_data_dir(bio)]); in writecache_map() 1621 int dir = bio_data_dir(bio); in writecache_end_io()
|
H A D | dm-clone-target.c | 305 return (bio_data_dir(bio) == WRITE && bio_sectors(bio) == clone->region_size); in is_overwrite_bio() 1362 } else if (bio_data_dir(bio) == READ) { in clone_map()
|
/linux/drivers/md/bcache/ |
H A D | io.c | 142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
|
/linux/arch/m68k/emu/ |
H A D | nfblock.c | 68 dir = bio_data_dir(bio); in nfhd_submit_bio()
|
/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new() 819 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod() 1204 const int rw = bio_data_dir(bio); in drbd_request_prepare() 1321 const int rw = bio_data_dir(req->master_bio); in drbd_send_and_submit() 1449 const int rw = bio_data_dir(req->master_bio); in submit_fast_path()
|
/linux/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
|
/linux/drivers/s390/block/ |
H A D | dcssblk.c | 886 if (bio_data_dir(bio) == WRITE) { in dcssblk_submit_bio() 902 if (bio_data_dir(bio) == READ) in dcssblk_submit_bio()
|
/linux/include/linux/ |
H A D | bio.h | 48 #define bio_data_dir(bio) \ macro
|
/linux/fs/bcachefs/ |
H A D | super-io.c | 877 bio_data_dir(bio) in write_super_endio() 881 bio_data_dir(bio) ? "write" : "read", in write_super_endio()
|
H A D | ec.c | 731 bio_data_dir(bio) in ec_block_endio() 735 bio_data_dir(bio) ? "write" : "read", in ec_block_endio() 743 bio_data_dir(bio) == READ ? "reading from" : "writing to", in ec_block_endio()
|
/linux/drivers/block/ |
H A D | pktcdvd.c | 836 if (bio_data_dir(bio) == READ) in pkt_queue_bio() 918 if (bio_data_dir(bio) == READ) in pkt_iosched_process_queue() 2444 if (bio_data_dir(bio) == READ) { in pkt_submit_bio()
|
H A D | ps3vram.c | 534 int write = bio_data_dir(bio) == WRITE; in ps3vram_do_bio()
|