Home
last modified time | relevance | path

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

1234

/Linux-v6.6/fs/btrfs/
Dbio.c336 else if (!(bio->bi_opf & REQ_RAHEAD)) in btrfs_log_dev_io_error()
338 if (bio->bi_opf & REQ_PREFLUSH) in btrfs_log_dev_io_error()
345 if (bio->bi_opf & REQ_META) in btrfs_end_io_wq()
462 __func__, bio_op(bio), bio->bi_opf, bio->bi_iter.bi_sector, in btrfs_submit_dev_bio()
468 if (bio->bi_opf & REQ_BTRFS_CGROUP_PUNT) in btrfs_submit_dev_bio()
528 if (bbio->bio.bi_opf & REQ_META) in btrfs_bio_csum()
589 bio->bi_opf |= REQ_BTRFS_CGROUP_PUNT; in run_one_async_done()
608 if (op_is_sync(bbio->bio.bi_opf)) in should_async_write()
612 if ((bbio->bio.bi_opf & REQ_META) && btrfs_is_zoned(bbio->fs_info)) in should_async_write()
690 bio->bi_opf &= ~REQ_OP_WRITE; in btrfs_submit_chunk()
[all …]
/Linux-v6.6/block/
Dblk-merge.c316 if (bio->bi_opf & REQ_NOWAIT) { in bio_split_rw()
379 split->bi_opf |= REQ_NOMERGE; in __bio_split_to_limits()
747 WARN_ON_ONCE((bio->bi_opf & REQ_FAILFAST_MASK) && in blk_rq_set_mixed_merge()
748 (bio->bi_opf & REQ_FAILFAST_MASK) != ff); in blk_rq_set_mixed_merge()
749 bio->bi_opf |= ff; in blk_rq_set_mixed_merge()
756 if (bio->bi_opf & REQ_RAHEAD) in bio_failfast()
759 return bio->bi_opf & REQ_FAILFAST_MASK; in bio_failfast()
771 if (bio->bi_opf & REQ_RAHEAD) in blk_update_mixed_merge()
772 bio->bi_opf |= REQ_FAILFAST_MASK; in blk_update_mixed_merge()
776 req->cmd_flags |= bio->bi_opf & REQ_FAILFAST_MASK; in blk_update_mixed_merge()
Dblk-core.c343 if (bio->bi_opf & REQ_NOWAIT) { in __bio_queue_enter()
502 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio)) in bio_check_ro()
533 current->comm, bio->bi_bdev, bio->bi_opf, in bio_check_eod()
588 bio->bi_opf |= REQ_NOMERGE; in blk_check_zone_append()
733 if ((bio->bi_opf & REQ_NOWAIT) && !bdev_nowait(bdev)) in submit_bio_noacct()
750 if (op_is_flush(bio->bi_opf)) { in submit_bio_noacct()
755 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
1190 sizeof_field(struct bio, bi_opf)); in blk_dev_init()
Dblk-throttle.h191 blkg_rwstat_add(&tg->stat_bytes, bio->bi_opf, in blk_should_throtl()
194 blkg_rwstat_add(&tg->stat_ios, bio->bi_opf, 1); in blk_should_throtl()
Dbio.c251 bio->bi_opf = opf; in bio_init()
308 bio->bi_opf = opf; in bio_reset()
773 if ((bio->bi_opf & REQ_POLLED) && !WARN_ON_ONCE(in_interrupt())) { in bio_put_percpu_cache()
805 if (bio->bi_opf & REQ_ALLOC_CACHE) in bio_put()
850 bio = bio_alloc_bioset(bdev, 0, bio_src->bi_opf, gfp, bs); in bio_alloc_clone()
881 bio_init(bio, bdev, bio_src->bi_io_vec, 0, bio_src->bi_opf); in bio_init_clone()
1364 bio->bi_opf |= REQ_SYNC; in submit_bio_wait()
Dblk-mq-sched.h33 return !(bio->bi_opf & REQ_NOMERGE_FLAGS); in bio_mergeable()
Dbio-integrity.c85 bio->bi_opf |= REQ_INTEGRITY; in bio_integrity_alloc()
111 bio->bi_opf &= ~REQ_INTEGRITY; in bio_integrity_free()
/Linux-v6.6/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()
Drequest.c202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in bch_data_insert_start()
247 n->bi_opf = REQ_OP_WRITE; 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()
744 s->iop.flush_journal = op_is_flush(bio->bi_opf); in search_alloc()
1019 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write()
/Linux-v6.6/drivers/md/
Dmd-multipath.c86 else if (!(bio->bi_opf & REQ_RAHEAD)) { in multipath_end_request()
106 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in multipath_make_request()
127 mp_bh->bio.bi_opf |= REQ_FAILFAST_TRANSPORT; in multipath_make_request()
320 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()
401 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin()
402 (clone->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin()
495 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio)) in dm_need_zone_wp_tracking()
Ddm-raid1.c268 .bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC, in mirror_flush()
547 .bi_opf = REQ_OP_READ, in read_async_bio()
659 blk_opf_t op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH); in do_write()
661 .bi_opf = REQ_OP_WRITE | op_flags, in do_write()
670 io_req.bi_opf = REQ_OP_DISCARD | op_flags; in do_write()
708 if ((bio->bi_opf & REQ_PREFLUSH) || in do_writes()
1222 if (bio->bi_opf & REQ_RAHEAD) in mirror_map()
1259 if (!(bio->bi_opf & REQ_PREFLUSH) && in mirror_end_io()
1268 if (bio->bi_opf & REQ_RAHEAD) in mirror_end_io()
Draid1.c470 (bio->bi_opf & MD_FAILFAST) && in raid1_end_write_request()
1223 const blk_opf_t do_sync = bio->bi_opf & REQ_SYNC; in raid1_read_request()
1253 bio->bi_opf & REQ_NOWAIT)) { in raid1_read_request()
1323 read_bio->bi_opf = op | do_sync; in raid1_read_request()
1326 read_bio->bi_opf |= MD_FAILFAST; in raid1_read_request()
1354 if (bio->bi_opf & REQ_NOWAIT) { in raid1_write_request()
1376 bio->bi_opf & REQ_NOWAIT)) { in raid1_write_request()
1479 if (bio->bi_opf & REQ_NOWAIT) { in raid1_write_request()
1558 mbio->bi_opf = bio_op(bio) | (bio->bi_opf & (REQ_SYNC | REQ_FUA)); in raid1_write_request()
1562 mbio->bi_opf |= MD_FAILFAST; in raid1_write_request()
[all …]
Ddm-zero.c42 if (bio->bi_opf & REQ_RAHEAD) { in zero_map()
Ddm.c492 return ((bio->bi_opf & REQ_PREFLUSH) && bio->bi_iter.bi_size); in bio_is_flush_with_data()
631 clone->bi_opf &= ~REQ_DM_POLL_LIST; in alloc_tio()
887 (bio->bi_opf & REQ_POLLED)); in dm_handle_requeue()
894 if (bio->bi_opf & REQ_POLLED) { in dm_handle_requeue()
968 bio->bi_opf &= ~REQ_PREFLUSH; in __dm_io_complete()
1089 return unlikely((bio->bi_opf & REQ_SWAP) != 0) && unlikely(ti->limit_swap_bios); in swap_bios_limit()
1673 if (!(bio->bi_opf & REQ_DM_POLL_LIST)) { in dm_queue_poll_io()
1674 bio->bi_opf |= REQ_DM_POLL_LIST; in dm_queue_poll_io()
1710 if (unlikely((ci->bio->bi_opf & REQ_NOWAIT) != 0) && in __split_and_process_bio()
1721 ci->submit_as_polled = !!(ci->bio->bi_opf & REQ_POLLED); in __split_and_process_bio()
[all …]
Draid10.c492 (bio->bi_opf & MD_FAILFAST)) { in raid10_end_write_request()
1150 if (!wait_barrier(conf, bio->bi_opf & REQ_NOWAIT)) { in regular_request_wait()
1158 if (bio->bi_opf & REQ_NOWAIT) { in regular_request_wait()
1178 const blk_opf_t do_sync = bio->bi_opf & REQ_SYNC; in raid10_read_request()
1256 read_bio->bi_opf = op | do_sync; in raid10_read_request()
1259 read_bio->bi_opf |= MD_FAILFAST; in raid10_read_request()
1274 const blk_opf_t do_sync = bio->bi_opf & REQ_SYNC; in raid10_write_one_disk()
1275 const blk_opf_t do_fua = bio->bi_opf & REQ_FUA; in raid10_write_one_disk()
1301 mbio->bi_opf = op | do_sync | do_fua; in raid10_write_one_disk()
1305 mbio->bi_opf |= MD_FAILFAST; in raid10_write_one_disk()
[all …]
Ddm-io.c505 if ((io_req->bi_opf & REQ_OP_MASK) == REQ_OP_READ) { in dp_init()
535 io_req->bi_opf, &dp, sync_error_bits); in dm_io()
538 io_req->bi_opf, &dp, io_req->notify.fn, in dm_io()
Ddm-flakey.c22 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
359 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_common()
429 bio_init(clone, fc->dev->bdev, bio->bi_inline_vecs, nr_iovecs, bio->bi_opf); in clone_bio()
/Linux-v6.6/include/trace/events/
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);
Dblock.h303 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
330 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
487 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
528 blk_fill_rwbs(__entry->rwbs, bio->bi_opf);
/Linux-v6.6/include/linux/
Ddm-io.h62 blk_opf_t bi_opf; /* Request type and flags */ member
Dbio.h353 if (bio->bi_opf & REQ_INTEGRITY) in bio_integrity()
803 bio->bi_opf |= REQ_POLLED; in bio_set_polled()
805 bio->bi_opf |= REQ_NOWAIT; in bio_set_polled()
810 bio->bi_opf &= ~REQ_POLLED; in bio_clear_polled()
Dblk_types.h267 blk_opf_t bi_opf; /* bottom bits REQ_OP, top bits member
476 return bio->bi_opf & REQ_OP_MASK; in bio_op()
/Linux-v6.6/fs/xfs/
Dxfs_bio_io.c42 prev->bi_opf, GFP_KERNEL); in xfs_rw_bdev()
/Linux-v6.6/drivers/block/
Dbrd.c259 bio->bi_opf, sector); in brd_submit_bio()
261 if (err == -ENOMEM && bio->bi_opf & REQ_NOWAIT) { in brd_submit_bio()

1234