Home
last modified time | relevance | path

Searched refs:REQ_OP_WRITE (Results 1 – 25 of 120) sorted by relevance

12345

/kernel/linux/linux-5.10/fs/
Dmpage.c611 bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); in __mpage_writepage()
637 bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); in __mpage_writepage()
647 bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); in __mpage_writepage()
659 bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); in __mpage_writepage()
718 mpage_bio_submit(REQ_OP_WRITE, op_flags, mpd.bio); in mpage_writepages()
739 mpage_bio_submit(REQ_OP_WRITE, op_flags, mpd.bio); in mpage_writepage()
Ddirect-io.c176 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages()
290 ret > 0 && dio->op == REQ_OP_WRITE && in dio_complete()
309 if (ret > 0 && dio->op == REQ_OP_WRITE) in dio_complete()
357 (dio->op == REQ_OP_WRITE && in dio_bio_end_aio()
664 create = dio->op == REQ_OP_WRITE; in get_more_blocks()
815 if (dio->op == REQ_OP_WRITE) { in submit_page_section()
1003 if (dio->op == REQ_OP_WRITE) { in do_direct_IO()
1208 dio->op = REQ_OP_WRITE; in do_blockdev_direct_IO()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-proto.h234 bio_opf = REQ_OP_WRITE; in rnbd_to_bio_flags()
271 case REQ_OP_WRITE: in rq_to_rnbd_flags()
/kernel/linux/linux-5.10/fs/crypto/
Dbio.c66 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in fscrypt_zeroout_range_inline_crypt()
156 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in fscrypt_zeroout_range()
/kernel/linux/linux-5.10/drivers/md/
Ddm-zero.c46 case REQ_OP_WRITE: in zero_map()
Ddm-integrity.c505 if (op == REQ_OP_WRITE) in sync_rw_sb()
1030 rw_journal(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, commit_start, in write_journal()
1042 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1053 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1059 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1063 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal()
1089 io_req.bi_op = REQ_OP_WRITE; in copy_from_journal()
1415 fr.io_req.bi_op = REQ_OP_WRITE, in dm_integrity_flush_buffers()
1482 if (unlikely(ic->synchronous_mode) && bio_op(bio) == REQ_OP_WRITE) { in do_endio()
1511 if (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD)) in dec_in_flight()
[all …]
Ddm-ebs-target.c196 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
209 else if (bio_op(bio) == REQ_OP_WRITE) { in __ebs_process_bios()
229 if (unlikely(r && bio_op(bio) == REQ_OP_WRITE)) in __ebs_process_bios()
Ddm-snap-persistent.c300 REQ_OP_WRITE, 0, 0); in zero_disk_area()
393 return chunk_io(ps, ps->header_area, 0, REQ_OP_WRITE, 0, 1); in write_header()
737 if (ps->valid && area_io(ps, REQ_OP_WRITE, in persistent_commit_exception()
815 r = area_io(ps, REQ_OP_WRITE, REQ_PREFLUSH | REQ_FUA); in persistent_commit_merge()
Ddm-zoned-target.c90 bio_op(bio) == REQ_OP_WRITE && in dmz_bio_endio()
145 if (bio_op(bio) == REQ_OP_WRITE && dmz_is_seq(zone)) in dmz_submit_bio()
430 case REQ_OP_WRITE: in dmz_handle_bio()
646 if (!nr_sectors && bio_op(bio) != REQ_OP_WRITE) in dmz_map()
660 if (!nr_sectors && bio_op(bio) == REQ_OP_WRITE) { in dmz_map()
Ddm-log.c310 lc->io_req.bi_op = REQ_OP_WRITE; in flush_header()
634 r = rw_header(lc, REQ_OP_WRITE); in disk_resume()
702 r = rw_header(lc, REQ_OP_WRITE); in disk_flush()
Ddm-log-writes.c231 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in write_metadata()
290 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in write_inline_data()
377 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in log_one_block()
399 bio_set_op_attrs(bio, REQ_OP_WRITE, 0); in log_one_block()
Ddm-bufio.c683 if (rw != REQ_OP_WRITE) { in submit_io()
758 submit_io(b, REQ_OP_WRITE, write_endio); in __write_dirty_buffer()
771 submit_io(b, REQ_OP_WRITE, write_endio); in __flush_write_list()
1345 .bi_op = REQ_OP_WRITE, in dm_bufio_issue_flush()
1451 submit_io(b, REQ_OP_WRITE, write_endio); in dm_bufio_release_move()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_bio_io.c26 if (is_vmalloc && op == REQ_OP_WRITE) in xfs_rw_bdev()
/kernel/linux/linux-5.10/fs/ocfs2/
Dbuffer_head_io.c69 submit_bh(REQ_OP_WRITE, 0, bh); in ocfs2_write_block()
454 submit_bh(REQ_OP_WRITE, 0, bh); in ocfs2_write_super_or_backup()
/kernel/linux/linux-5.10/fs/nilfs2/
Dsegbuf.c463 res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); in nilfs_segbuf_write()
469 res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); in nilfs_segbuf_write()
479 res = nilfs_segbuf_submit_bio(segbuf, &wi, REQ_OP_WRITE, in nilfs_segbuf_write()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_actlog.c137 if ((op == REQ_OP_WRITE) && !test_bit(MD_NO_FUA, &device->flags)) in _drbd_md_sync_page_io()
151 if (op != REQ_OP_WRITE && device->state.disk == D_DISKLESS && device->ldev == NULL) in _drbd_md_sync_page_io()
164 if (drbd_insert_fault(device, (op == REQ_OP_WRITE) ? DRBD_FAULT_MD_WR : DRBD_FAULT_MD_RD)) in _drbd_md_sync_page_io()
187 (unsigned long long)sector, (op == REQ_OP_WRITE) ? "WRITE" : "READ", in drbd_md_sync_page_io()
195 (op == REQ_OP_WRITE) ? "WRITE" : "READ"); in drbd_md_sync_page_io()
201 (op == REQ_OP_WRITE) ? "WRITE" : "READ", err); in drbd_md_sync_page_io()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_iblock.c384 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in iblock_execute_sync_cache()
481 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE, 0); in iblock_execute_write_same()
494 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE, in iblock_execute_write_same()
701 op = REQ_OP_WRITE; in iblock_execute_rw()
/kernel/linux/linux-5.10/drivers/block/
Dnull_blk_zoned.c346 return null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
409 ret = null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
597 case REQ_OP_WRITE: in null_process_zoned_cmd()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-bdev.c247 op = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in nvmet_bdev_execute_rw()
328 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in nvmet_bdev_execute_flush()
/kernel/linux/linux-5.10/kernel/power/
Dswap.c330 error = hib_submit_io(REQ_OP_WRITE, REQ_SYNC, in mark_swapfiles()
407 return hib_submit_io(REQ_OP_WRITE, REQ_SYNC, offset, src, hb); in write_page()
1540 error = hib_submit_io(REQ_OP_WRITE, REQ_SYNC, in swsusp_check()
1589 error = hib_submit_io(REQ_OP_WRITE, REQ_SYNC, in swsusp_unmark()
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
Dblkback.c981 err = xen_vbd_translate(&preq, blkif, REQ_OP_WRITE); in dispatch_discard_io()
1219 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1227 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1372 else if (operation == REQ_OP_WRITE) in dispatch_rw_block_io()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c200 bio_set_op_attrs(bio, REQ_OP_WRITE, flags); in iomap_dio_zero()
296 bio->bi_opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in iomap_dio_bio_actor()
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h340 REQ_OP_WRITE = 1, enumerator
/kernel/linux/linux-5.10/drivers/scsi/
Dsd_zbc.c423 case REQ_OP_WRITE: in sd_zbc_need_zone_wp_update()
479 case REQ_OP_WRITE: in sd_zbc_zone_wp_update()
/kernel/linux/linux-5.10/fs/jbd2/
Dcommit.c156 ret = submit_bh(REQ_OP_WRITE, in journal_submit_commit_record()
159 ret = submit_bh(REQ_OP_WRITE, REQ_SYNC, bh); in journal_submit_commit_record()
775 submit_bh(REQ_OP_WRITE, REQ_SYNC, bh); in jbd2_journal_commit_transaction()

12345