Home
last modified time | relevance | path

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

12

/linux/block/
H A Dbio-integrity.c145 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 Dblk-throttle.h163 int rw = bio_data_dir(bio); in blk_should_throtl()
H A Dblk-throttle.c677 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 Dbounce.c206 int rw = bio_data_dir(bio_orig); in __blk_queue_bounce()
H A Dblk-map.c122 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 Dblk-crypto-fallback.c509 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
/linux/drivers/md/
H A Ddm-crypt.c568 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 Ddm-flakey.c359 (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 Ddm-cache-target.c522 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 Ddm-raid1.c533 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 Ddm-delay.c357 if (bio_data_dir(bio) == WRITE) { in delay_map()
H A Ddm-io.c148 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
H A Ddm-dust.c232 if (bio_data_dir(bio) == READ) in dust_map()
H A Ddm-writecache.c1251 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 Ddm-clone-target.c305 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 Dio.c142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
/linux/arch/m68k/emu/
H A Dnfblock.c68 dir = bio_data_dir(bio); in nfhd_submit_bio()
/linux/drivers/block/drbd/
H A Ddrbd_req.c33 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 Dsimdisk.c115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
/linux/drivers/s390/block/
H A Ddcssblk.c886 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 Dbio.h48 #define bio_data_dir(bio) \ macro
/linux/fs/bcachefs/
H A Dsuper-io.c877 bio_data_dir(bio) in write_super_endio()
881 bio_data_dir(bio) ? "write" : "read", in write_super_endio()
H A Dec.c731 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 Dpktcdvd.c836 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 Dps3vram.c534 int write = bio_data_dir(bio) == WRITE; in ps3vram_do_bio()

12