Home
last modified time | relevance | path

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

12345

/Linux-v5.15/fs/xfs/
Dxfs_bio_io.c41 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC; in xfs_flush_bdev_async()
67 bio->bi_opf = op | REQ_META | REQ_SYNC; in xfs_rw_bdev()
80 bio->bi_opf = prev->bi_opf; in xfs_rw_bdev()
/Linux-v5.15/drivers/md/bcache/
Dwriteback.h123 return (op_is_sync(bio->bi_opf) || in should_writeback()
124 bio->bi_opf & (REQ_META|REQ_PRIO) || in should_writeback()
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()
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()
745 s->iop.flush_journal = op_is_flush(bio->bi_opf); in search_alloc()
1021 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write()
1037 flush->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in cached_dev_write()
/Linux-v5.15/block/
Dblk-core.c477 if (bio->bi_opf & REQ_NOWAIT) { in bio_queue_enter()
659 bio_devname(bio, b), bio->bi_opf, in handle_bad_sector()
703 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio)) in bio_check_ro()
792 bio->bi_opf |= REQ_NOMERGE; in blk_check_zone_append()
808 bio->bi_opf |= REQ_NOWAIT; in submit_bio_checks()
814 if ((bio->bi_opf & REQ_NOWAIT) && !blk_queue_nowait(q)) in submit_bio_checks()
832 if (op_is_flush(bio->bi_opf) && in submit_bio_checks()
834 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_checks()
1222 if ((bio->bi_opf & ff) != ff) in blk_rq_err_bytes()
1464 req->cmd_flags |= req->bio->bi_opf & REQ_FAILFAST_MASK; in blk_update_request()
[all …]
Dfops.c93 bio.bi_opf = REQ_OP_READ; in __blkdev_direct_IO_simple()
97 bio.bi_opf = dio_bio_write_op(iocb); in __blkdev_direct_IO_simple()
101 bio.bi_opf |= REQ_NOWAIT; in __blkdev_direct_IO_simple()
248 bio->bi_opf = REQ_OP_READ; in __blkdev_direct_IO()
252 bio->bi_opf = dio_bio_write_op(iocb); in __blkdev_direct_IO()
256 bio->bi_opf |= REQ_NOWAIT; in __blkdev_direct_IO()
Dblk-map.c158 bio->bi_opf |= req_op(rq); in bio_copy_user_iov()
247 bio->bi_opf |= req_op(rq); in bio_map_user_iov()
647 bio->bi_opf &= ~REQ_OP_MASK; in blk_rq_map_kern()
648 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
Dblk-merge.c345 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()
922 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_back_merge()
946 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_front_merge()
Dbounce.c172 bio->bi_opf = bio_src->bi_opf; in bounce_clone_bio()
Dblk-zoned.c220 bio->bi_opf = REQ_OP_ZONE_RESET | REQ_SYNC; in blkdev_zone_reset_all_emulated()
244 bio.bi_opf = REQ_OP_ZONE_RESET_ALL | REQ_SYNC; in blkdev_zone_reset_all()
311 bio->bi_opf = op | REQ_SYNC; in blkdev_zone_mgmt()
Dblk-lib.c271 bio->bi_opf = REQ_OP_WRITE_ZEROES; in __blkdev_issue_write_zeroes()
273 bio->bi_opf |= REQ_NOUNMAP; in __blkdev_issue_write_zeroes()
Dbio-integrity.c85 bio->bi_opf |= REQ_INTEGRITY; in bio_integrity_alloc()
111 bio->bi_opf &= ~REQ_INTEGRITY; in bio_integrity_free()
/Linux-v5.15/include/linux/
Dblk_types.h218 unsigned int bi_opf; /* bottom bits req flags, member
433 ((bio)->bi_opf & REQ_OP_MASK)
441 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
Dbio.h83 if (bio->bi_opf & REQ_NOMERGE_FLAGS) in bio_mergeable()
348 if (bio->bi_opf & REQ_INTEGRITY) in bio_integrity()
787 bio->bi_opf |= REQ_HIPRI; in bio_set_polled()
789 bio->bi_opf |= REQ_NOWAIT; in bio_set_polled()
/Linux-v5.15/include/trace/events/
Dblock.h252 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
279 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
436 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
477 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
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-v5.15/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-zone.c135 return !op_is_flush(bio->bi_opf) && bio_sectors(bio); in dm_is_zone_write()
405 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin()
406 (orig_bio->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin()
502 if (op_is_flush(orig_bio->bi_opf) && !bio_sectors(orig_bio)) in dm_need_zone_wp_tracking()
Ddm-zero.c40 if (bio->bi_opf & REQ_RAHEAD) { in zero_map()
/Linux-v5.15/mm/
Dpage_io.c343 bio->bi_opf = REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc); in __swap_writepage()
408 bio->bi_opf = REQ_OP_READ; in swap_readpage()
419 bio->bi_opf |= REQ_HIPRI; in swap_readpage()
/Linux-v5.15/drivers/nvme/target/
Dio-cmd-bdev.c277 bio->bi_opf = op; in nvmet_bdev_execute_rw()
301 bio->bi_opf = op; in nvmet_bdev_execute_rw()
334 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in nvmet_bdev_execute_flush()
Dzns.c416 bio->bi_opf = zsa_req_op(req->cmd->zms.zsa) | REQ_SYNC; in nvmet_bdev_zone_mgmt_emulate_all()
559 bio->bi_opf = REQ_OP_ZONE_APPEND | REQ_SYNC | REQ_IDLE; in nvmet_bdev_execute_zone_append()
565 bio->bi_opf |= REQ_FUA; in nvmet_bdev_execute_zone_append()
/Linux-v5.15/drivers/nvdimm/
Dnd_virtio.c113 child->bi_opf = REQ_PREFLUSH; in async_pmem_flush()
/Linux-v5.15/fs/btrfs/
Dcompression.c423 bio->bi_opf = bio_op | write_flags; in btrfs_submit_compressed_write()
441 bio->bi_opf |= REQ_CGROUP_PUNT; in btrfs_submit_compressed_write()
495 bio->bi_opf = bio_op | write_flags; in btrfs_submit_compressed_write()
499 bio->bi_opf |= REQ_CGROUP_PUNT; in btrfs_submit_compressed_write()
753 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()
811 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()
/Linux-v5.15/fs/iomap/
Dbuffered-io.c299 ctx->bio->bi_opf = REQ_OP_READ; in iomap_readpage_iter()
301 ctx->bio->bi_opf |= REQ_RAHEAD; in iomap_readpage_iter()
532 bio.bi_opf = REQ_OP_READ; in iomap_read_page_sync()
1186 bio->bi_opf = REQ_OP_WRITE | wbc_to_write_flags(wbc); in iomap_alloc_ioend()
1216 new->bi_opf = prev->bi_opf; in iomap_chain_bio()

12345