Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_bio_io.c32 bio->bi_opf = op | REQ_META | REQ_SYNC; in xfs_rw_bdev()
45 bio->bi_opf = prev->bi_opf; in xfs_rw_bdev()
/kernel/linux/linux-5.10/include/trace/events/
Dblock.h254 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
291 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
318 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
385 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
414 bio ? bio->bi_opf : 0, __entry->nr_sector);
548 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
591 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
Dbcache.h31 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
105 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
140 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
171 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
241 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
/kernel/linux/linux-5.10/block/
Dblk-core.c479 bool nowait = bio->bi_opf & REQ_NOWAIT; in bio_queue_enter()
655 bio_devname(bio, b), bio->bi_opf, in handle_bad_sector()
701 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio)) in bio_check_ro()
801 bio->bi_opf |= REQ_NOMERGE; in blk_check_zone_append()
816 bio->bi_opf |= REQ_NOWAIT; in submit_bio_checks()
822 if ((bio->bi_opf & REQ_NOWAIT) && !blk_queue_nowait(q)) in submit_bio_checks()
842 if (op_is_flush(bio->bi_opf) && in submit_bio_checks()
844 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_checks()
852 bio->bi_opf &= ~REQ_HIPRI; in submit_bio_checks()
1241 if ((bio->bi_opf & ff) != ff) in blk_rq_err_bytes()
[all …]
Dblk-merge.c339 split->bi_opf |= REQ_NOMERGE; in __blk_queue_split()
694 WARN_ON_ONCE((bio->bi_opf & REQ_FAILFAST_MASK) && in blk_rq_set_mixed_merge()
695 (bio->bi_opf & REQ_FAILFAST_MASK) != ff); in blk_rq_set_mixed_merge()
696 bio->bi_opf |= ff; in blk_rq_set_mixed_merge()
928 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_back_merge()
952 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_front_merge()
Dblk-map.c161 bio->bi_opf |= req_op(rq); in bio_copy_user_iov()
257 bio->bi_opf |= req_op(rq); in bio_map_user_iov()
705 bio->bi_opf &= ~REQ_OP_MASK; in blk_rq_map_kern()
706 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
Dbounce.c250 bio->bi_opf = bio_src->bi_opf; in bounce_clone_bio()
Dblk-lib.c270 bio->bi_opf = REQ_OP_WRITE_ZEROES; in __blkdev_issue_write_zeroes()
272 bio->bi_opf |= REQ_NOUNMAP; in __blkdev_issue_write_zeroes()
Dbio-integrity.c90 bio->bi_opf |= REQ_INTEGRITY; in bio_integrity_alloc()
117 bio->bi_opf &= ~REQ_INTEGRITY; in bio_integrity_free()
Dblk-zoned.c243 bio->bi_opf = REQ_OP_ZONE_RESET_ALL | REQ_SYNC; in blkdev_zone_mgmt()
247 bio->bi_opf = op | REQ_SYNC; in blkdev_zone_mgmt()
/kernel/linux/linux-5.10/drivers/md/bcache/
Dwriteback.h119 return (op_is_sync(bio->bi_opf) || in should_writeback()
120 bio->bi_opf & (REQ_META|REQ_PRIO) || in should_writeback()
Drequest.c202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in bch_data_insert_start()
391 if ((bio->bi_opf & (REQ_RAHEAD|REQ_BACKGROUND))) { in check_should_bypass()
392 if (!(bio->bi_opf & (REQ_META|REQ_PRIO)) && in check_should_bypass()
653 bio->bi_opf & REQ_PREFLUSH)) { in backing_request_endio()
743 s->iop.flush_journal = op_is_flush(bio->bi_opf); in search_alloc()
893 if (!(bio->bi_opf & REQ_RAHEAD) && in cached_dev_cache_miss()
894 !(bio->bi_opf & (REQ_META|REQ_PRIO)) && in cached_dev_cache_miss()
1024 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write()
1040 flush->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in cached_dev_write()
Ddebug.c56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify()
118 check->bi_opf = REQ_OP_READ; in bch_data_verify()
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h206 unsigned int bi_opf; /* bottom bits req flags, member
448 ((bio)->bi_opf & REQ_OP_MASK)
456 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
Dbio.h78 if (bio->bi_opf & REQ_NOMERGE_FLAGS) in bio_mergeable()
331 if (bio->bi_opf & REQ_INTEGRITY) in bio_integrity()
807 bio->bi_opf |= REQ_HIPRI; in bio_set_polled()
809 bio->bi_opf |= REQ_NOWAIT; in bio_set_polled()
/kernel/linux/linux-5.10/drivers/md/
Dmd-multipath.c86 else if (!(bio->bi_opf & REQ_RAHEAD)) { in multipath_end_request()
107 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in multipath_make_request()
129 mp_bh->bio.bi_opf |= REQ_FAILFAST_TRANSPORT; in multipath_make_request()
326 bio->bi_opf |= REQ_FAILFAST_TRANSPORT; in multipathd()
Ddm-zero.c40 if (bio->bi_opf & REQ_RAHEAD) { in zero_map()
Ddm-flakey.c19 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
310 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_data()
Ddm-raid1.c653 .bi_op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH), in do_write()
700 if ((bio->bi_opf & REQ_PREFLUSH) || in do_writes()
1210 if (bio->bi_opf & REQ_RAHEAD) in mirror_map()
1247 if (!(bio->bi_opf & REQ_PREFLUSH) && in mirror_end_io()
1256 if (bio->bi_opf & REQ_RAHEAD) in mirror_end_io()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-bdev.c271 bio->bi_opf = op; in nvmet_bdev_execute_rw()
295 bio->bi_opf = op; in nvmet_bdev_execute_rw()
328 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in nvmet_bdev_execute_flush()
/kernel/linux/linux-5.10/mm/
Dpage_io.c314 bio->bi_opf = REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc); in __swap_writepage()
382 bio->bi_opf |= REQ_HIPRI; in swap_readpage()
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-cache.c51 if (bio->bi_opf & REQ_PREFLUSH) { in pblk_write_to_cache()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c296 bio->bi_opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in iomap_dio_bio_actor()
298 bio->bi_opf |= REQ_FUA; in iomap_dio_bio_actor()
303 bio->bi_opf = REQ_OP_READ; in iomap_dio_bio_actor()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dnd_virtio.c113 child->bi_opf = REQ_PREFLUSH; in async_pmem_flush()
/kernel/linux/linux-5.10/fs/btrfs/
Dcompression.c410 bio->bi_opf = REQ_OP_WRITE | write_flags; in btrfs_submit_compressed_write()
415 bio->bi_opf |= REQ_CGROUP_PUNT; in btrfs_submit_compressed_write()
457 bio->bi_opf = REQ_OP_WRITE | write_flags; in btrfs_submit_compressed_write()
461 bio->bi_opf |= REQ_CGROUP_PUNT; in btrfs_submit_compressed_write()
697 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()
747 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()

12345