| /linux/fs/iomap/ |
| H A D | bio.c | 132 bio = bio_alloc_bioset(iomap->bdev, bio_max_segs(nr_vecs), REQ_OP_READ, in iomap_read_alloc_bio() 135 bio = bio_alloc_bioset(iomap->bdev, 1, REQ_OP_READ, orig_gfp, in iomap_read_alloc_bio() 176 bio_init(&bio, srcmap->bdev, &bvec, 1, REQ_OP_READ); in iomap_bio_read_folio_range_sync()
|
| H A D | ioend.c | 332 bio_op(&ioend->io_bio) == REQ_OP_READ) { in iomap_finish_ioend() 339 if (bio_op(&ioend->io_bio) == REQ_OP_READ) in iomap_finish_ioend() 384 if (bio_op(&ioend->io_bio) == REQ_OP_READ || in iomap_ioend_can_merge() 385 bio_op(&next->io_bio) == REQ_OP_READ) in iomap_ioend_can_merge()
|
| H A D | direct-io.c | 519 bio_opf |= REQ_OP_READ; in iomap_dio_bio_iter() 1025 REQ_OP_READ, gfp, &iomap_dio_simple_pool); in __iomap_dio_read_simple()
|
| /linux/drivers/md/ |
| H A D | dm-ebs-target.c | 86 if (op == REQ_OP_READ || buf_off || bv_len < dm_bufio_get_block_size(ec->bufio)) in __ebs_rw_bvec() 100 if (op == REQ_OP_READ) { in __ebs_rw_bvec() 196 if (bio_op(bio) == REQ_OP_READ) in __ebs_process_bios() 209 if (bio_op(bio) == REQ_OP_READ) in __ebs_process_bios() 210 r = __ebs_rw_bio(ec, REQ_OP_READ, bio); in __ebs_process_bios()
|
| H A D | raid5-ppl.c | 898 REQ_OP_READ, false)) { in ppl_recover_entry() 920 block_size, page2, REQ_OP_READ, in ppl_recover_entry() 997 s, page, REQ_OP_READ, false)) { in ppl_recover() 1098 pplhdr_offset, PAGE_SIZE, page, REQ_OP_READ, in ppl_load_distributed()
|
| H A D | dm-integrity.c | 574 if (op == REQ_OP_READ) { in sync_rw_sb() 1092 dm_integrity_io_error(ic, (opf & REQ_OP_MASK) == REQ_OP_READ ? in rw_journal_sectors() 1893 io_req.bi_opf = REQ_OP_READ; in integrity_recheck() 2034 checksums_ptr - checksums, dio->op == REQ_OP_READ ? TAG_CMP : TAG_WRITE); in integrity_metadata() 2076 this_len, dio->op == REQ_OP_READ ? TAG_READ : TAG_WRITE); in integrity_metadata() 2197 if (unlikely(ic->mode == 'R') && unlikely(dio->op != REQ_OP_READ)) in dm_integrity_map() 2233 if (unlikely(dio->op == REQ_OP_READ)) { in __journal_read_write() 2323 if (unlikely(dio->op == REQ_OP_READ)) in __journal_read_write() 2360 bool need_sync_io = ic->internal_hash && dio->op == REQ_OP_READ; in dm_integrity_map_continue() 2730 outgoing_bio = bio_alloc_bioset(ic->dev->bdev, 1, REQ_OP_READ, GFP_NOIO, &ic->recheck_bios); in dm_integrity_inline_recheck() [all …]
|
| H A D | raid1.c | 2153 REQ_OP_READ, false)) { in fix_sync_read_error() 2216 REQ_OP_READ) != 0) in fix_sync_read_error() 2253 bio_reset(b, conf->mirrors[i].rdev->bdev, REQ_OP_READ); in process_checks() 2402 conf->tmppage, REQ_OP_READ, false)) in fix_read_error() 2445 conf->tmppage, REQ_OP_READ)) { in fix_read_error() 2881 bio->bi_opf = REQ_OP_READ; in raid1_sync_request()
|
| H A D | raid10.c | 2493 REQ_OP_READ, false); in fix_recovery_read_error() 2582 (op == REQ_OP_READ || test_bit(WriteErrorSeen, &rdev->flags))) in r10_sync_page_io() 2652 REQ_OP_READ, false); in fix_read_error() 2730 s, conf->tmppage, REQ_OP_READ)) { in fix_read_error() 3378 bio->bi_opf = REQ_OP_READ; in raid10_sync_request() 3570 bio->bi_opf = REQ_OP_READ; in raid10_sync_request() 4748 read_bio = bio_alloc_bioset(rdev->bdev, RESYNC_PAGES, REQ_OP_READ, in reshape_request() 4987 REQ_OP_READ, false); in handle_reshape_read_error()
|
| /linux/fs/hfsplus/ |
| H A D | part_tbl.c | 115 buf, (void **)&pm, REQ_OP_READ); in hfs_parse_new_pmap() 139 buf, &data, REQ_OP_READ); in hfs_part_find()
|
| /linux/drivers/md/bcache/ |
| H A D | debug.c | 56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify() 118 bio_init_inline(check, bio->bi_bdev, nr_segs, REQ_OP_READ); in bch_data_verify()
|
| /linux/include/linux/ |
| H A D | blk_types.h | 350 REQ_OP_READ = (__force blk_opf_t)0, enumerator 481 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
|
| /linux/block/ |
| H A D | bio-integrity-auto.c | 62 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
|
| H A D | fops.c | 74 bio_init(&bio, bdev, vecs, nr_pages, REQ_OP_READ); in __blkdev_direct_IO_simple() 182 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() 328 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
|
| H A D | blk-wbt.c | 626 if (bio_op(bio) == REQ_OP_READ) { in bio_to_wbt_flags() 705 if (op == REQ_OP_READ) in wbt_data_dir()
|
| H A D | blk-mq.h | 99 else if ((opf & REQ_OP_MASK) == REQ_OP_READ) in blk_mq_get_hctx_type()
|
| H A D | blk-core.c | 868 case REQ_OP_READ: in submit_bio_noacct() 958 if (bio_op(bio) == REQ_OP_READ) { in submit_bio()
|
| /linux/fs/xfs/ |
| H A D | xfs_verify_media.c | 335 bio = bio_alloc(btp->bt_bdev, 1, REQ_OP_READ, GFP_KERNEL); in xfs_verify_media() 345 bio_reset(bio, btp->bt_bdev, REQ_OP_READ); in xfs_verify_media()
|
| H A D | xfs_ioend.c | 151 if (bio_op(&ioend->io_bio) == REQ_OP_READ) in xfs_end_io()
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 455 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate() 1319 operation = REQ_OP_READ; in dispatch_rw_block_io() 1385 operation == REQ_OP_READ ? "read" : "write", in dispatch_rw_block_io() 1465 if (operation == REQ_OP_READ) in dispatch_rw_block_io()
|
| /linux/fs/erofs/ |
| H A D | fileio.c | 71 bio_init(&rq->bio, NULL, rq->bvecs, ARRAY_SIZE(rq->bvecs), REQ_OP_READ); in erofs_fileio_rq_alloc()
|
| /linux/fs/squashfs/ |
| H A D | block.c | 234 bio_init_inline(bio, sb->s_bdev, page_count, REQ_OP_READ); in squashfs_bio_read()
|
| /linux/arch/um/drivers/ |
| H A D | ubd_kern.c | 1178 if (req_op(req->req) == REQ_OP_READ) { in cowify_req() 1300 case REQ_OP_READ: in ubd_queue_rq() 1438 case REQ_OP_READ: in do_io()
|
| /linux/fs/ |
| H A D | buffer.c | 1157 bh_submit(bh, REQ_OP_READ, bh_end_read); in __bread_slow() 2359 bh_submit(prev, REQ_OP_READ, bh_end_async_read); in block_read_full_folio() 2373 bh_submit(prev, REQ_OP_READ, bh_end_async_read); in block_read_full_folio() 2943 bh_submit(bh, REQ_OP_READ | op_flags, bh_end_read); in __bh_read() 2985 bh_submit(bh, REQ_OP_READ | op_flags, bh_end_read); in __bh_read_batch()
|
| /linux/drivers/block/ |
| H A D | zloop.c | 523 int rw = req_op(rq) == REQ_OP_READ ? ITER_DEST : ITER_SOURCE; in zloop_do_rw() 756 case REQ_OP_READ: in zloop_handle_cmd() 812 case REQ_OP_READ: in zloop_complete_rq()
|
| /linux/fs/btrfs/ |
| H A D | scrub.c | 961 bbio = alloc_scrub_bbio(fs_info, REQ_OP_READ, in scrub_stripe_submit_repair_read() 1818 bbio = alloc_scrub_bbio(fs_info, REQ_OP_READ, in scrub_submit_extent_sector_read() 1855 bbio = alloc_scrub_bbio(fs_info, REQ_OP_READ, in scrub_submit_initial_read() 2088 bio_init(&bio, NULL, NULL, 0, REQ_OP_READ); in scrub_raid56_cached_parity() 2917 BTRFS_SUPER_INFO_SIZE, REQ_OP_READ); in scrub_one_super()
|