/linux-6.6.21/drivers/md/ |
D | dm-crypt.c | 538 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen() 556 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post() 688 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen() 711 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post() 994 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant() 1001 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant() 1011 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant() 1031 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen() 1043 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post() 1352 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead() [all …]
|
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()
|
D | dm-cache-target.c | 523 return bio_data_dir(bio) == WRITE ? in lock_level() 761 if (bio_data_dir(bio) == WRITE) in remap_to_origin_clear_discard() 770 if (bio_data_dir(bio) == WRITE) { in remap_to_cache_dirty() 838 if (bio_data_dir(origin_bio) == WRITE) in remap_to_origin_and_cache() 1061 return (bio_data_dir(bio) == WRITE) && in bio_writes_complete_block() 1601 atomic_inc(bio_data_dir(bio) == READ ? in inc_hit_counter() 1607 atomic_inc(bio_data_dir(bio) == READ ? in inc_miss_counter() 1634 data_dir = bio_data_dir(bio); in map_bio() 1695 if (bio_data_dir(bio) == WRITE) { in map_bio() 1702 if (bio_data_dir(bio) == WRITE && writethrough_mode(cache) && in map_bio()
|
D | dm-snap.c | 1970 if (bio_data_dir(bio) == WRITE) { in snapshot_map() 1979 bio_data_dir(bio) == WRITE)) { in snapshot_map() 2029 if (bio_data_dir(bio) == WRITE) { in snapshot_map() 2149 if (bio_data_dir(bio) == WRITE && in snapshot_merge_map() 2161 if (bio_data_dir(bio) == WRITE) in snapshot_merge_map() 2169 if (bio_data_dir(bio) == WRITE) { in snapshot_merge_map() 2675 if (bio_data_dir(bio) != WRITE) in origin_map()
|
D | md-faulty.c | 169 if (bio_data_dir(bio) == WRITE) { in faulty_make_request()
|
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()
|
D | dm-delay.c | 297 if (bio_data_dir(bio) == WRITE) { in delay_map()
|
D | dm-log-writes.c | 666 if (bio_data_dir(bio) == READ) in log_writes_map() 772 if (bio_data_dir(bio) == WRITE && pb->block) { in normal_end_io()
|
D | dm-io.c | 148 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
|
D | dm-dust.c | 232 if (bio_data_dir(bio) == READ) in dust_map()
|
D | dm-thin.c | 1247 return (bio_data_dir(bio) == WRITE) && in io_overwrites_block() 1838 if (bio_data_dir(bio) == WRITE || op_is_flush(bio->bi_opf) || in __remap_and_issue_shared_cell() 1891 if (bio_data_dir(bio) == WRITE && bio->bi_iter.bi_size) { in process_shared_bio() 1927 if (bio_data_dir(bio) == READ) { in provision_block() 1981 if (bio_data_dir(bio) == READ && tc->origin_dev) { in process_cell() 2032 int rw = bio_data_dir(bio); in __process_bio_read_only()
|
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()
|
/linux-6.6.21/block/ |
D | blk-throttle.h | 186 int rw = bio_data_dir(bio); in blk_should_throtl()
|
D | bio-integrity.c | 234 if (bio_data_dir(bio) == READ) { in bio_integrity_prep() 290 if (bio_data_dir(bio) == WRITE) { in bio_integrity_prep()
|
D | blk-throttle.c | 834 bool rw = bio_data_dir(bio); in tg_within_iops_limit() 859 bool rw = bio_data_dir(bio); in tg_within_bps_limit() 904 bool rw = bio_data_dir(bio); in tg_may_dispatch() 963 bool rw = bio_data_dir(bio); in throtl_charge_bio() 989 bool rw = bio_data_dir(bio); in throtl_add_bio_tg() 1101 tg_dispatch_one_bio(tg, bio_data_dir(bio)); in throtl_dispatch_tg() 1111 tg_dispatch_one_bio(tg, bio_data_dir(bio)); in throtl_dispatch_tg() 2183 bool rw = bio_data_dir(bio); in __blk_throtl_bio() 2321 int rw = bio_data_dir(bio); in blk_throtl_bio_endio()
|
D | bounce.c | 205 int rw = bio_data_dir(bio_orig); in __blk_queue_bounce()
|
D | blk-map.c | 122 else if (bio_data_dir(bio) == READ) in bio_uncopy_user() 757 bio_release_pages(bio, bio_data_dir(bio) == READ); in blk_rq_unmap_user()
|
D | blk-crypto-fallback.c | 508 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
|
/linux-6.6.21/drivers/md/bcache/ |
D | io.c | 142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
|
D | request.c | 1177 int rw = bio_data_dir(bio); in cached_dev_submit_bio() 1304 } else if (bio_data_dir(bio)) { in flash_dev_submit_bio()
|
/linux-6.6.21/arch/m68k/emu/ |
D | nfblock.c | 68 dir = bio_data_dir(bio); in nfhd_submit_bio()
|
/linux-6.6.21/drivers/block/drbd/ |
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-6.6.21/arch/xtensa/platforms/iss/ |
D | simdisk.c | 115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
|
/linux-6.6.21/drivers/s390/block/ |
D | dcssblk.c | 883 if (bio_data_dir(bio) == WRITE) { in dcssblk_submit_bio() 899 if (bio_data_dir(bio) == READ) in dcssblk_submit_bio()
|
/linux-6.6.21/include/linux/ |
D | bio.h | 48 #define bio_data_dir(bio) \ macro
|