Home
last modified time | relevance | path

Searched refs:bi_opf (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/md/dm-vdo/
H A Dvio.h124 blk_opf_t bi_opf, physical_block_number_t pbn);
127 blk_opf_t bi_opf, physical_block_number_t pbn);
129 blk_opf_t bi_opf, physical_block_number_t pbn);
/linux/drivers/md/bcache/
H A Dwriteback.h123 return (op_is_sync(bio->bi_opf) || in should_writeback()
124 bio->bi_opf & (REQ_META|REQ_PRIO) || in should_writeback()
H A Drequest.c202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in CLOSURE_CALLBACK()
247 n->bi_opf = REQ_OP_WRITE; in CLOSURE_CALLBACK()
405 if ((bio->bi_opf & (REQ_RAHEAD|REQ_BACKGROUND))) { in check_should_bypass()
406 if (!(bio->bi_opf & (REQ_META|REQ_PRIO)) && in check_should_bypass()
667 bio->bi_opf & REQ_PREFLUSH)) { in backing_request_endio()
758 s->iop.flush_journal = op_is_flush(bio->bi_opf); in search_alloc()
1033 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write()
H A Ddebug.c56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify()
/linux/include/trace/events/
H A Dbcache.h31 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
105 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
140 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
171 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
241 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
/linux/include/linux/
H A Ddm-io.h62 blk_opf_t bi_opf; /* Request type and flags */ member
/linux/drivers/md/
H A Ddm-io.c483 if ((io_req->bi_opf & REQ_OP_MASK) == REQ_OP_READ) { in dp_init()
508 if (num_regions > 1 && !op_is_write(io_req->bi_opf)) { in dm_io()
519 io_req->bi_opf, &dp, sync_error_bits, ioprio); in dm_io()
521 async_io(io_req->client, num_regions, where, io_req->bi_opf, &dp, in dm_io()
H A Ddm-flakey.c22 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
379 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_common()
444 bio_init_inline(clone, fc->dev->bdev, nr_iovecs, bio->bi_opf); in clone_bio()
H A Draid1-10.c303 return !(bio->bi_opf & (REQ_RAHEAD | REQ_NOWAIT)) && in raid1_should_handle_error()
H A Ddm-stripe.c278 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
414 if (bio->bi_opf & REQ_RAHEAD) in stripe_end_io()
H A Ddm-log-writes.c653 bool flush_bio = (bio->bi_opf & REQ_PREFLUSH); in log_writes_map()
654 bool fua_bio = (bio->bi_opf & REQ_FUA); in log_writes_map()
656 bool meta_bio = (bio->bi_opf & REQ_META); in log_writes_map()
H A Ddm-region-hash.c406 if (bio->bi_opf & REQ_PREFLUSH) { in dm_rh_mark_nosync()
534 if (bio->bi_opf & REQ_PREFLUSH || bio_op(bio) == REQ_OP_DISCARD) in dm_rh_inc_pending()
H A Dmd-linear.c241 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in linear_make_request()
H A Ddm-clone-target.c271 return op_is_flush(bio->bi_opf) && in bio_triggers_commit()
424 if (!(bio->bi_opf & REQ_FUA)) { in complete_overwrite_bio()
1262 if ((bio->bi_opf & REQ_PREFLUSH) && dest_dev_flushed) { in process_deferred_flush_bios()
1331 if (bio->bi_opf & REQ_PREFLUSH) { in clone_map()
H A Ddm-ebs-target.c198 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
H A Ddm-delay.c371 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
H A Ddm-thin.c415 op->bio->bi_opf = REQ_OP_DISCARD; in end_discard()
737 return op_is_flush(bio->bi_opf) && in bio_triggers_commit()
912 if (op_is_flush(bio->bi_opf) || bio_op(bio) == REQ_OP_DISCARD) in __inc_remap_and_issue_cell()
1834 if (bio_data_dir(bio) == WRITE || op_is_flush(bio->bi_opf) || in __remap_and_issue_shared_cell()
2407 if (bio->bi_opf & REQ_PREFLUSH) in process_deferred_bios()
2742 if (op_is_flush(bio->bi_opf) || bio_op(bio) == REQ_OP_DISCARD) { in thin_bio_map()
/linux/fs/ntfs/
H A Dbdev-io.c58 prev->bi_opf, GFP_KERNEL); in ntfs_bdev_read()
/linux/drivers/block/
H A Dbrd.c143 blk_opf_t opf = bio->bi_opf; in brd_rw_bvec()
206 if (unlikely(op_is_discard(bio->bi_opf))) { in brd_submit_bio()
/linux/fs/iomap/
H A Dbio.c128 bio->bi_opf |= REQ_RAHEAD; in iomap_read_alloc_bio()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-flakey.rst67 Perform the replacement only if bio->bi_opf has all the
/linux/drivers/md/dm-pcache/
H A Dcache_req.c774 ret = cache_key_append(cache, key, pcache_req->bio->bi_opf & REQ_FUA); in cache_write()
829 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in pcache_cache_handle_req()
/linux/drivers/block/drbd/
H A Ddrbd_req.c266 !(req->master_bio->bi_opf & REQ_RAHEAD) && in drbd_req_complete()
1122 D_ASSERT(device, req->master_bio->bi_opf & REQ_PREFLUSH); in drbd_process_write_request()
1160 else if (bio->bi_opf & REQ_RAHEAD) in drbd_submit_req_private_bio()
1175 ((bio->bi_opf & REQ_NOUNMAP) ? 0 : EE_TRIM)); in drbd_submit_req_private_bio()
/linux/block/
H A Dblk-mq-sched.c350 hctx = blk_mq_map_queue(bio->bi_opf, ctx); in blk_mq_sched_bio_merge()
/linux/kernel/trace/
H A Dblktrace.c1114 bio->bi_opf, what, error, 0, NULL, in blk_add_trace_bio()
1222 bio->bi_iter.bi_size, bio->bi_opf, BLK_TA_SPLIT, in blk_add_trace_split()
1258 bio->bi_opf, BLK_TA_REMAP, in blk_add_trace_bio_remap()

12