Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/fs/xfs/
H A 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()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dblock.h258 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
295 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
322 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
389 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
418 bio ? bio->bi_opf : 0, __entry->nr_sector);
552 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
595 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
H A 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);
/OK3568_Linux_fs/kernel/block/
H A Dblk-core.c485 bool nowait = bio->bi_opf & REQ_NOWAIT; in bio_queue_enter()
661 bio_devname(bio, b), bio->bi_opf, in handle_bad_sector()
707 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio)) in bio_check_ro()
807 bio->bi_opf |= REQ_NOMERGE; in blk_check_zone_append()
822 bio->bi_opf |= REQ_NOWAIT; in submit_bio_checks()
828 if ((bio->bi_opf & REQ_NOWAIT) && !blk_queue_nowait(q)) in submit_bio_checks()
848 if (op_is_flush(bio->bi_opf) && in submit_bio_checks()
850 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_checks()
858 bio->bi_opf &= ~REQ_HIPRI; in submit_bio_checks()
1256 if ((bio->bi_opf & ff) != ff) in blk_rq_err_bytes()
[all …]
H A Dblk-merge.c341 split->bi_opf |= REQ_NOMERGE; in __blk_queue_split()
696 WARN_ON_ONCE((bio->bi_opf & REQ_FAILFAST_MASK) && in blk_rq_set_mixed_merge()
697 (bio->bi_opf & REQ_FAILFAST_MASK) != ff); in blk_rq_set_mixed_merge()
698 bio->bi_opf |= ff; in blk_rq_set_mixed_merge()
933 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_back_merge()
957 const int ff = bio->bi_opf & REQ_FAILFAST_MASK; in bio_attempt_front_merge()
H A 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()
H A Dbounce.c250 bio->bi_opf = bio_src->bi_opf; in bounce_clone_bio()
H A 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()
H A 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()
H A Dbio-integrity.c90 bio->bi_opf |= REQ_INTEGRITY; in bio_integrity_alloc()
117 bio->bi_opf &= ~REQ_INTEGRITY; in bio_integrity_free()
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dwriteback.h119 return (op_is_sync(bio->bi_opf) || in should_writeback()
120 bio->bi_opf & (REQ_META|REQ_PRIO) || in should_writeback()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dblk_types.h213 unsigned int bi_opf; /* bottom bits req flags, member
461 ((bio)->bi_opf & REQ_OP_MASK)
469 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
H A Dbio.h79 if (bio->bi_opf & REQ_NOMERGE_FLAGS) in bio_mergeable()
336 if (bio->bi_opf & REQ_INTEGRITY) in bio_integrity()
817 bio->bi_opf |= REQ_HIPRI; in bio_set_polled()
819 bio->bi_opf |= REQ_NOWAIT; in bio_set_polled()
/OK3568_Linux_fs/kernel/drivers/md/
H A 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()
H A Ddm-zero.c40 if (bio->bi_opf & REQ_RAHEAD) { in zero_map()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A 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()
/OK3568_Linux_fs/kernel/fs/iomap/
H A Ddirect-io.c302 bio->bi_opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in iomap_dio_bio_actor()
304 bio->bi_opf |= REQ_FUA; in iomap_dio_bio_actor()
309 bio->bi_opf = REQ_OP_READ; in iomap_dio_bio_actor()
H A Dbuffered-io.c296 ctx->bio->bi_opf = REQ_OP_READ; in iomap_readpage_actor()
298 ctx->bio->bi_opf |= REQ_RAHEAD; in iomap_readpage_actor()
543 bio.bi_opf = REQ_OP_READ; in iomap_read_page_sync()
1228 bio->bi_opf = REQ_OP_WRITE | wbc_to_write_flags(wbc); in iomap_alloc_ioend()
1259 new->bi_opf = prev->bi_opf; in iomap_chain_bio()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A 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()
/OK3568_Linux_fs/kernel/mm/
H A Dpage_io.c319 bio->bi_opf = REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc); in __swap_writepage()
392 bio->bi_opf |= REQ_HIPRI; in swap_readpage()
/OK3568_Linux_fs/kernel/drivers/lightnvm/
H A Dpblk-cache.c51 if (bio->bi_opf & REQ_PREFLUSH) { in pblk_write_to_cache()

12345