Home
last modified time | relevance | path

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

12345

/Linux-v6.6/drivers/md/
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()
Ddm-zero.c41 case REQ_OP_READ: in zero_map()
Ddm-kcopyd.c427 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()
Draid5-ppl.c900 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()
Ddm-snap-persistent.c335 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()
/Linux-v6.6/fs/hfsplus/
Dpart_tbl.c115 buf, (void **)&pm, REQ_OP_READ); in hfs_parse_new_pmap()
139 buf, &data, REQ_OP_READ); in hfs_part_find()
Dwrapper.c188 REQ_OP_READ); in hfsplus_read_wrapper()
220 (void **)&sbi->s_backup_vhdr, REQ_OP_READ); in hfsplus_read_wrapper()
/Linux-v6.6/fs/btrfs/
Dbio.c199 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()
681 if (bio_op(bio) == REQ_OP_READ && is_data_bbio(bbio)) { in btrfs_submit_chunk()
/Linux-v6.6/fs/nilfs2/
Dgcinode.c93 submit_bh(REQ_OP_READ, bh); in nilfs_gccache_submit_read_data()
133 REQ_OP_READ, out_bh, &pbn); in nilfs_gccache_submit_read_node()
Dmdt.c176 err = nilfs_mdt_submit_block(inode, block, REQ_OP_READ, &first_bh); in nilfs_mdt_read_block()
187 REQ_OP_READ | REQ_RAHEAD, &bh); in nilfs_mdt_read_block()
/Linux-v6.6/drivers/block/rnbd/
Drnbd-proto.h225 bio_opf = REQ_OP_READ; in rnbd_to_bio_flags()
259 case REQ_OP_READ: in rq_to_rnbd_flags()
/Linux-v6.6/fs/xfs/
Dxfs_bio_io.c56 if (is_vmalloc && op == REQ_OP_READ) in xfs_rw_bdev()
/Linux-v6.6/fs/ocfs2/
Dbuffer_head_io.c150 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks_sync()
331 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks()
/Linux-v6.6/drivers/md/bcache/
Ddebug.c56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify()
119 REQ_OP_READ); in bch_data_verify()
Dmovinggc.c163 bio->bi_opf = REQ_OP_READ; in read_moving()
/Linux-v6.6/include/linux/
Dblk_types.h372 REQ_OP_READ = (__force blk_opf_t)0, enumerator
500 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
/Linux-v6.6/block/
Dbio-integrity.c224 if (bio_op(bio) != REQ_OP_READ && bio_op(bio) != REQ_OP_WRITE) in bio_integrity_prep()
347 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
Dfops.c69 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()
Dblk-stat.c60 if (req_op(rq) == REQ_OP_READ || req_op(rq) == REQ_OP_WRITE) in blk_stat_add()
Dblk-wbt.c623 if (bio_op(bio) == REQ_OP_READ) { in bio_to_wbt_flags()
755 if (op == REQ_OP_READ) in wbt_data_dir()
/Linux-v6.6/fs/
Ddirect-io.c265 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()
/Linux-v6.6/kernel/power/
Dswap.c319 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()
/Linux-v6.6/mm/
Dpage_io.c466 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()
/Linux-v6.6/drivers/block/xen-blkback/
Dblkback.c455 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()
/Linux-v6.6/drivers/block/
Dublk_drv.c877 (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_DRV_IN); in ublk_need_unmap_req()
969 case REQ_OP_READ: in ublk_setup_iod()
1025 if (!io->res && req_op(req) == REQ_OP_READ) in __ublk_complete_rq()
1039 if (req_op(req) != REQ_OP_READ && req_op(req) != REQ_OP_WRITE && in __ublk_complete_rq()
1755 req_op(req) == REQ_OP_READ)) in __ublk_ch_uring_cmd()
1838 if ((req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_DRV_IN) && in ublk_check_ubuf_dir()

12345