Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/md/
Ddm-crypt.c538 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 …]
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()
Ddm-cache-target.c523 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()
Ddm-snap.c1970 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()
Dmd-faulty.c169 if (bio_data_dir(bio) == WRITE) { in faulty_make_request()
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()
Ddm-delay.c297 if (bio_data_dir(bio) == WRITE) { in delay_map()
Ddm-log-writes.c666 if (bio_data_dir(bio) == READ) in log_writes_map()
772 if (bio_data_dir(bio) == WRITE && pb->block) { in normal_end_io()
Ddm-io.c148 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
Ddm-dust.c232 if (bio_data_dir(bio) == READ) in dust_map()
Ddm-thin.c1247 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()
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()
/linux-6.6.21/block/
Dblk-throttle.h186 int rw = bio_data_dir(bio); in blk_should_throtl()
Dbio-integrity.c234 if (bio_data_dir(bio) == READ) { in bio_integrity_prep()
290 if (bio_data_dir(bio) == WRITE) { in bio_integrity_prep()
Dblk-throttle.c834 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()
Dbounce.c205 int rw = bio_data_dir(bio_orig); in __blk_queue_bounce()
Dblk-map.c122 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()
Dblk-crypto-fallback.c508 if (bio_data_dir(bio) == WRITE) in blk_crypto_fallback_bio_prep()
/linux-6.6.21/drivers/md/bcache/
Dio.c142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors()
Drequest.c1177 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/
Dnfblock.c68 dir = bio_data_dir(bio); in nfhd_submit_bio()
/linux-6.6.21/drivers/block/drbd/
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-6.6.21/arch/xtensa/platforms/iss/
Dsimdisk.c115 bio_data_dir(bio) == WRITE); in simdisk_submit_bio()
/linux-6.6.21/drivers/s390/block/
Ddcssblk.c883 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/
Dbio.h48 #define bio_data_dir(bio) \ macro

12