Home
last modified time | relevance | path

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

123456

/linux-6.15/fs/btrfs/
H A Dbio.c176 bio_reset(&repair_bbio->bio, NULL, REQ_OP_READ); in btrfs_end_repair_bio()
243 repair_bio = bio_alloc_bioset(NULL, 1, REQ_OP_READ, GFP_NOFS, in repair_one_sector()
349 if (bio_op(bio) == REQ_OP_READ) { in btrfs_simple_end_io()
366 if (bio_op(bio) == REQ_OP_READ && is_data_bbio(bbio)) in btrfs_raid56_end_io()
452 if (dev->fs_devices->collect_fs_stats && bio_op(bio) == REQ_OP_READ && dev->fs_info) in btrfs_submit_dev_bio()
466 ASSERT(bio_op(orig_bio) != REQ_OP_READ); in btrfs_submit_mirrored_bio()
492 if (bio_op(bio) != REQ_OP_READ) in btrfs_submit_bio()
501 if (bio_op(bio) == REQ_OP_READ) in btrfs_submit_bio()
715 if (bio_op(bio) == REQ_OP_READ && is_data_bbio(bbio)) { in btrfs_submit_chunk()
/linux-6.15/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 Ddm-zero.c41 case REQ_OP_READ: in zero_map()
H A 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()
H A Ddm-integrity.c559 if (op == REQ_OP_READ) { in sync_rw_sb()
1075 dm_integrity_io_error(ic, (opf & REQ_OP_MASK) == REQ_OP_READ ? in rw_journal_sectors()
1716 io_req.bi_opf = REQ_OP_READ; in integrity_recheck()
1894 this_len, dio->op == REQ_OP_READ ? TAG_READ : TAG_WRITE); in integrity_metadata()
2050 if (unlikely(dio->op == REQ_OP_READ)) { in __journal_read_write()
2151 if (unlikely(dio->op == REQ_OP_READ)) in __journal_read_write()
3088 io_req.bi_opf = REQ_OP_READ; in integrity_recalc()
3434 rw_journal(ic, REQ_OP_READ, 0, ic->journal_sections, NULL); in replay_journal()
3665 rw_journal_sectors(ic, REQ_OP_READ, 0, in dm_integrity_resume()
3681 rw_journal_sectors(ic, REQ_OP_READ, 0, in dm_integrity_resume()
[all …]
H A Draid5-ppl.c896 REQ_OP_READ, false)) { in ppl_recover_entry()
918 block_size, page2, REQ_OP_READ, in ppl_recover_entry()
995 s, page, REQ_OP_READ, false)) { in ppl_recover()
1096 pplhdr_offset, PAGE_SIZE, page, REQ_OP_READ, in ppl_load_distributed()
H A 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-6.15/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()
H A Dwrapper.c191 REQ_OP_READ); in hfsplus_read_wrapper()
223 (void **)&sbi->s_backup_vhdr, REQ_OP_READ); in hfsplus_read_wrapper()
/linux-6.15/fs/nilfs2/
H A Dgcinode.c88 submit_bh(REQ_OP_READ, bh); in nilfs_gccache_submit_read_data()
127 REQ_OP_READ, out_bh, &pbn); in nilfs_gccache_submit_read_node()
H A Dmdt.c178 err = nilfs_mdt_submit_block(inode, block, REQ_OP_READ, &first_bh); in nilfs_mdt_read_block()
189 REQ_OP_READ | REQ_RAHEAD, &bh); in nilfs_mdt_read_block()
/linux-6.15/drivers/block/rnbd/
H A Drnbd-proto.h225 bio_opf = REQ_OP_READ; in rnbd_to_bio_flags()
262 case REQ_OP_READ: in rq_to_rnbd_flags()
/linux-6.15/block/
H A Dbio-integrity-auto.c85 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
127 case REQ_OP_READ: in bio_integrity_prep()
H A Dfops.c68 bio_init(&bio, bdev, vecs, nr_pages, REQ_OP_READ); in __blkdev_direct_IO_simple()
175 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO()
321 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
H A Dblk-wbt.c623 if (bio_op(bio) == REQ_OP_READ) { in bio_to_wbt_flags()
744 if (op == REQ_OP_READ) in wbt_data_dir()
/linux-6.15/fs/xfs/
H A Dxfs_bio_io.c56 if (is_vmalloc && op == REQ_OP_READ) in xfs_rw_bdev()
/linux-6.15/fs/ocfs2/
H A Dbuffer_head_io.c150 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks_sync()
330 submit_bh(REQ_OP_READ, bh); in ocfs2_read_blocks()
/linux-6.15/drivers/md/bcache/
H A Ddebug.c56 bio->bi_opf = REQ_OP_READ | REQ_META; in bch_btree_verify()
119 REQ_OP_READ); in bch_data_verify()
/linux-6.15/include/linux/
H A Dblk_types.h327 REQ_OP_READ = (__force blk_opf_t)0, enumerator
457 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
/linux-6.15/fs/
H A Ddirect-io.c264 if (dio_op == REQ_OP_READ && in dio_complete()
437 if (dio->is_async && dio_op == REQ_OP_READ && dio->should_dirty) in dio_bio_submit()
503 bool should_dirty = dio_op == REQ_OP_READ && dio->should_dirty; in dio_bio_complete()
1186 dio->opf = REQ_OP_READ; in __blockdev_direct_IO()
/linux-6.15/drivers/md/dm-vdo/
H A Dvio.c291 if (bio_op(vio->bio) == REQ_OP_READ) { in vio_record_metadata_io_error()
470 case REQ_OP_READ: in vdo_count_bios()
/linux-6.15/fs/bcachefs/
H A Dfs-io-direct.c99 REQ_OP_READ, in bch2_direct_IO_read()
139 REQ_OP_READ, in bch2_direct_IO_read()
143 bio->bi_opf = REQ_OP_READ|REQ_SYNC; in bch2_direct_IO_read()
/linux-6.15/kernel/power/
H A Dswap.c319 hib_submit_io(REQ_OP_READ, swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles()
1044 error = hib_submit_io(REQ_OP_READ, offset, tmp->map, NULL); in get_swap_reader()
1068 error = hib_submit_io(REQ_OP_READ, offset, buf, hb); in swap_read_page()
1593 error = hib_submit_io(REQ_OP_READ, swsusp_resume_block, in swsusp_check()
1653 hib_submit_io(REQ_OP_READ, swsusp_resume_block, in swsusp_unmark()
/linux-6.15/mm/
H A Dpage_io.c584 bio_init(&bio, sis->bdev, &bv, 1, REQ_OP_READ); in swap_read_folio_bdev_sync()
605 bio = bio_alloc(sis->bdev, 1, REQ_OP_READ, GFP_KERNEL); in swap_read_folio_bdev_async()
/linux-6.15/fs/erofs/
H A Dfileio.c73 bio_init(&rq->bio, NULL, rq->bvecs, ARRAY_SIZE(rq->bvecs), REQ_OP_READ); in erofs_fileio_rq_alloc()

123456