/openbmc/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 | dm-zero.c | 41 case REQ_OP_READ: in zero_map()
|
H A D | dm-kcopyd.c | 427 if (job->op == REQ_OP_READ || in pop_io_job() 580 if (job->op == REQ_OP_READ) in run_io_job() 827 job->op = REQ_OP_READ; in dm_kcopyd_copy()
|
H A D | raid5-ppl.c | 900 REQ_OP_READ, false)) { in ppl_recover_entry() 922 block_size, page2, REQ_OP_READ, in ppl_recover_entry() 1001 s, page, REQ_OP_READ, false)) { in ppl_recover() 1102 pplhdr_offset, PAGE_SIZE, page, REQ_OP_READ, in ppl_load_distributed()
|
H A D | dm-integrity.c | 572 if (op == REQ_OP_READ) { in sync_rw_sb() 1088 dm_integrity_io_error(ic, (opf & REQ_OP_MASK) == REQ_OP_READ ? in rw_journal_sectors() 1731 io_req.bi_opf = REQ_OP_READ; in integrity_recheck() 1867 checksums_ptr - checksums, dio->op == REQ_OP_READ ? TAG_CMP : TAG_WRITE); in integrity_metadata() 1909 this_len, dio->op == REQ_OP_READ ? TAG_READ : TAG_WRITE); in integrity_metadata() 2015 if (unlikely(ic->mode == 'R') && unlikely(dio->op != REQ_OP_READ)) in dm_integrity_map() 2051 if (unlikely(dio->op == REQ_OP_READ)) { in __journal_read_write() 2152 if (unlikely(dio->op == REQ_OP_READ)) in __journal_read_write() 2189 bool need_sync_io = ic->internal_hash && dio->op == REQ_OP_READ; in dm_integrity_map_continue() 2820 io_req.bi_opf = REQ_OP_READ; in integrity_recalc() [all …]
|
H A D | dm-snap-persistent.c | 335 r = chunk_io(ps, ps->header_area, 0, REQ_OP_READ, 1); in read_header() 783 r = area_io(ps, REQ_OP_READ); in persistent_prepare_merge()
|
/openbmc/linux/fs/btrfs/ |
H A D | bio.c | 199 bio_reset(&repair_bbio->bio, NULL, REQ_OP_READ); in btrfs_end_repair_bio() 266 repair_bio = bio_alloc_bioset(NULL, 1, REQ_OP_READ, GFP_NOFS, in repair_one_sector() 372 if (bio_op(bio) == REQ_OP_READ) { in btrfs_simple_end_io() 389 if (bio_op(bio) == REQ_OP_READ && is_data_bbio(bbio)) in btrfs_raid56_end_io() 478 ASSERT(bio_op(orig_bio) != REQ_OP_READ); in btrfs_submit_mirrored_bio() 503 if (bio_op(bio) != REQ_OP_READ) in __btrfs_submit_bio() 512 if (bio_op(bio) == REQ_OP_READ) in __btrfs_submit_bio() 680 if (bio_op(bio) == REQ_OP_READ && is_data_bbio(bbio)) { in btrfs_submit_chunk()
|
/openbmc/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()
|
H A D | wrapper.c | 190 REQ_OP_READ); in hfsplus_read_wrapper() 222 (void **)&sbi->s_backup_vhdr, REQ_OP_READ); in hfsplus_read_wrapper()
|
/openbmc/linux/fs/nilfs2/ |
H A D | gcinode.c | 91 submit_bh(REQ_OP_READ, bh); in nilfs_gccache_submit_read_data() 131 REQ_OP_READ, out_bh, &pbn); in nilfs_gccache_submit_read_node()
|
H A D | mdt.c | 175 err = nilfs_mdt_submit_block(inode, block, REQ_OP_READ, &first_bh); in nilfs_mdt_read_block() 186 REQ_OP_READ | REQ_RAHEAD, &bh); in nilfs_mdt_read_block()
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 225 bio_opf = REQ_OP_READ; in rnbd_to_bio_flags() 259 case REQ_OP_READ: in rq_to_rnbd_flags()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_bio_io.c | 56 if (is_vmalloc && op == REQ_OP_READ) in xfs_rw_bdev()
|
/openbmc/linux/fs/ocfs2/ |
H A D | buffer_head_io.c | 150 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks_sync() 330 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | debug.c | 56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify() 119 REQ_OP_READ); in bch_data_verify()
|
H A D | movinggc.c | 163 bio->bi_opf = REQ_OP_READ; in read_moving()
|
/openbmc/linux/include/linux/ |
H A D | blk_types.h | 373 REQ_OP_READ = (__force blk_opf_t)0, enumerator 501 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
|
/openbmc/linux/block/ |
H A D | bio-integrity.c | 225 if (bio_op(bio) != REQ_OP_READ && bio_op(bio) != REQ_OP_WRITE) in bio_integrity_prep() 356 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
|
H A D | fops.c | 69 bio_init(&bio, bdev, vecs, nr_pages, REQ_OP_READ); in __blkdev_direct_IO_simple() 170 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() 307 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
|
H A D | blk-stat.c | 60 if (req_op(rq) == REQ_OP_READ || req_op(rq) == REQ_OP_WRITE) in blk_stat_add()
|
H A D | blk-wbt.c | 623 if (bio_op(bio) == REQ_OP_READ) { in bio_to_wbt_flags() 755 if (op == REQ_OP_READ) in wbt_data_dir()
|
/openbmc/linux/fs/ |
H A D | direct-io.c | 265 if (dio_op == REQ_OP_READ && in dio_complete() 436 if (dio->is_async && dio_op == REQ_OP_READ && dio->should_dirty) in dio_bio_submit() 502 bool should_dirty = dio_op == REQ_OP_READ && dio->should_dirty; in dio_bio_complete() 1190 dio->opf = REQ_OP_READ; in __blockdev_direct_IO()
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 319 hib_submit_io(REQ_OP_READ, swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles() 1004 error = hib_submit_io(REQ_OP_READ, offset, tmp->map, NULL); in get_swap_reader() 1028 error = hib_submit_io(REQ_OP_READ, offset, buf, hb); in swap_read_page() 1530 error = hib_submit_io(REQ_OP_READ, swsusp_resume_block, in swsusp_check() 1590 hib_submit_io(REQ_OP_READ, swsusp_resume_block, in swsusp_unmark()
|
/openbmc/linux/mm/ |
H A D | page_io.c | 466 bio_init(&bio, sis->bdev, &bv, 1, REQ_OP_READ); in swap_readpage_bdev_sync() 485 bio = bio_alloc(sis->bdev, 1, REQ_OP_READ, GFP_KERNEL); in swap_readpage_bdev_async()
|
/openbmc/linux/drivers/block/xen-blkback/ |
H A D | blkback.c | 455 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate() 1320 operation = REQ_OP_READ; in dispatch_rw_block_io() 1386 operation == REQ_OP_READ ? "read" : "write", in dispatch_rw_block_io() 1466 if (operation == REQ_OP_READ) in dispatch_rw_block_io()
|