Home
last modified time | relevance | path

Searched refs:REQ_OP_READ (Results 1 – 25 of 76) sorted by relevance

1234

/linux/fs/iomap/
H A Dbio.c132 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 Dioend.c332 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 Ddirect-io.c519 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 Ddm-ebs-target.c86 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 Draid5-ppl.c898 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 Ddm-integrity.c574 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 Draid1.c2153 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 Draid10.c2493 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 Dpart_tbl.c115 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 Ddebug.c56 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 Dblk_types.h350 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 Dbio-integrity-auto.c62 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
H A Dfops.c74 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 Dblk-wbt.c626 if (bio_op(bio) == REQ_OP_READ) { in bio_to_wbt_flags()
705 if (op == REQ_OP_READ) in wbt_data_dir()
H A Dblk-mq.h99 else if ((opf & REQ_OP_MASK) == REQ_OP_READ) in blk_mq_get_hctx_type()
H A Dblk-core.c868 case REQ_OP_READ: in submit_bio_noacct()
958 if (bio_op(bio) == REQ_OP_READ) { in submit_bio()
/linux/fs/xfs/
H A Dxfs_verify_media.c335 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 Dxfs_ioend.c151 if (bio_op(&ioend->io_bio) == REQ_OP_READ) in xfs_end_io()
/linux/drivers/block/xen-blkback/
H A Dblkback.c455 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 Dfileio.c71 bio_init(&rq->bio, NULL, rq->bvecs, ARRAY_SIZE(rq->bvecs), REQ_OP_READ); in erofs_fileio_rq_alloc()
/linux/fs/squashfs/
H A Dblock.c234 bio_init_inline(bio, sb->s_bdev, page_count, REQ_OP_READ); in squashfs_bio_read()
/linux/arch/um/drivers/
H A Dubd_kern.c1178 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 Dbuffer.c1157 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 Dzloop.c523 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 Dscrub.c961 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()

1234