Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/fs/crypto/
A Dbio.c59 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt()
85 bio_reset(bio, inode->i_sb->s_bdev, REQ_OP_WRITE); in fscrypt_zeroout_range_inline_crypt()
154 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
184 bio_reset(bio, inode->i_sb->s_bdev, REQ_OP_WRITE); in fscrypt_zeroout_range()
/linux-6.3-rc2/drivers/md/
A Ddm-zone.c133 case REQ_OP_WRITE: in dm_is_zone_write()
391 case REQ_OP_WRITE: in dm_zone_map_bio_begin()
402 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin()
444 case REQ_OP_WRITE: in dm_zone_map_bio_end()
500 case REQ_OP_WRITE: in dm_need_zone_wp_tracking()
A Ddm-ebs-target.c198 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
211 else if (bio_op(bio) == REQ_OP_WRITE) { in __ebs_process_bios()
213 r = __ebs_rw_bio(ec, REQ_OP_WRITE, bio); in __ebs_process_bios()
231 if (unlikely(r && bio_op(bio) == REQ_OP_WRITE)) in __ebs_process_bios()
A Ddm-zero.c47 case REQ_OP_WRITE: in zero_map()
A Ddm-integrity.c574 if (op == REQ_OP_WRITE) { in sync_rw_sb()
1159 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, in write_journal()
1207 io_req.bi_opf = REQ_OP_WRITE; in copy_from_journal()
1987 if (likely(dio->op == REQ_OP_WRITE)) in __journal_read_write()
2044 if (likely(dio->op == REQ_OP_WRITE)) in __journal_read_write()
2056 if (likely(dio->op == REQ_OP_WRITE)) { in __journal_read_write()
2099 if (likely(dio->op == REQ_OP_WRITE)) { in __journal_read_write()
2152 if (dio->op == REQ_OP_WRITE) { in dm_integrity_map_continue()
2656 r = sync_rw_sb(ic, REQ_OP_WRITE); in recalc_write_super()
3157 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_postsuspend()
[all …]
A Ddm-snap-persistent.c303 REQ_OP_WRITE, 0); in zero_disk_area()
395 return chunk_io(ps, ps->header_area, 0, REQ_OP_WRITE, 1); in write_header()
742 if (ps->valid && area_io(ps, REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA | in persistent_commit_exception()
820 r = area_io(ps, REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in persistent_commit_merge()
A Ddm-zoned-target.c90 bio_op(bio) == REQ_OP_WRITE && in dmz_bio_endio()
144 if (bio_op(bio) == REQ_OP_WRITE && dmz_is_seq(zone)) in dmz_submit_bio()
429 case REQ_OP_WRITE: in dmz_handle_bio()
645 if (!nr_sectors && bio_op(bio) != REQ_OP_WRITE) in dmz_map()
659 if (!nr_sectors && bio_op(bio) == REQ_OP_WRITE) { in dmz_map()
A Ddm-log-writes.c221 bio = bio_alloc(lc->logdev->bdev, 1, REQ_OP_WRITE, GFP_KERNEL); in write_metadata()
273 bio = bio_alloc(lc->logdev->bdev, bio_pages, REQ_OP_WRITE, in write_inline_data()
355 REQ_OP_WRITE, GFP_KERNEL); in log_one_block()
373 REQ_OP_WRITE, GFP_KERNEL); in log_one_block()
A Ddm-log.c314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
638 r = rw_header(lc, REQ_OP_WRITE); in disk_resume()
710 r = rw_header(lc, REQ_OP_WRITE); in disk_flush()
A Ddm-bufio.c702 if (op != REQ_OP_WRITE) { in submit_io()
779 submit_io(b, REQ_OP_WRITE, write_endio); in __write_dirty_buffer()
793 submit_io(b, REQ_OP_WRITE, write_endio); in __flush_write_list()
1378 .bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC, in dm_bufio_issue_flush()
1483 submit_io(b, REQ_OP_WRITE, write_endio); in dm_bufio_release_move()
A Draid5-ppl.c254 REQ_OP_WRITE | REQ_FUA); in ppl_new_iounit()
633 REQ_OP_WRITE | REQ_PREFLUSH, in ppl_do_flush()
949 page1, REQ_OP_WRITE, false)) { in ppl_recover_entry()
1064 PPL_HEADER_SIZE, page, REQ_OP_WRITE | REQ_SYNC | in ppl_write_empty_header()
/linux-6.3-rc2/drivers/block/rnbd/
A Drnbd-proto.h241 bio_opf = REQ_OP_WRITE; in rnbd_to_bio_flags()
275 case REQ_OP_WRITE: in rq_to_rnbd_flags()
/linux-6.3-rc2/fs/
A Ddirect-io.c175 if (ret < 0 && sdio->blocks_available && dio_op == REQ_OP_WRITE) { in dio_refill_pages()
289 ret > 0 && dio_op == REQ_OP_WRITE && in dio_complete()
308 if (ret > 0 && dio_op == REQ_OP_WRITE) in dio_complete()
357 (dio_op == REQ_OP_WRITE && in dio_bio_end_aio()
634 create = dio_op == REQ_OP_WRITE; in get_more_blocks()
786 if (dio_op == REQ_OP_WRITE) { in submit_page_section()
975 if (dio_op == REQ_OP_WRITE) { in do_direct_IO()
1179 dio->opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in __blockdev_direct_IO()
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_actlog.c138 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()
389 if (drbd_md_sync_page_io(device, device->ldev, sector, REQ_OP_WRITE)) { in __al_write_transaction()
/linux-6.3-rc2/fs/xfs/
A Dxfs_bio_io.c26 if (is_vmalloc && op == REQ_OP_WRITE) in xfs_rw_bdev()
/linux-6.3-rc2/fs/ocfs2/
A Dbuffer_head_io.c67 submit_bh(REQ_OP_WRITE, bh); in ocfs2_write_block()
452 submit_bh(REQ_OP_WRITE, bh); in ocfs2_write_super_or_backup()
/linux-6.3-rc2/drivers/target/
A Dtarget_core_iblock.c422 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache()
525 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE); in iblock_execute_write_same()
538 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE); in iblock_execute_write_same()
742 opf = REQ_OP_WRITE; in iblock_execute_rw()
/linux-6.3-rc2/drivers/block/null_blk/
A Dzoned.c382 return null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
439 ret = null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
675 case REQ_OP_WRITE: in null_process_zoned_cmd()
/linux-6.3-rc2/drivers/nvme/target/
A Dio-cmd-bdev.c263 opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in nvmet_bdev_execute_rw()
345 ARRAY_SIZE(req->inline_bvec), REQ_OP_WRITE | REQ_PREFLUSH); in nvmet_bdev_execute_flush()
/linux-6.3-rc2/mm/
A Dpage_io.c339 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc)); in swap_writepage_bdev_sync()
359 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc), in swap_writepage_bdev_async()
/linux-6.3-rc2/drivers/block/xen-blkback/
A Dblkback.c980 err = xen_vbd_translate(&preq, blkif, REQ_OP_WRITE); in dispatch_discard_io()
1220 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1228 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1364 else if (operation == REQ_OP_WRITE) in dispatch_rw_block_io()
/linux-6.3-rc2/kernel/power/
A Dswap.c332 error = hib_submit_io(REQ_OP_WRITE | REQ_SYNC, in mark_swapfiles()
409 return hib_submit_io(REQ_OP_WRITE | REQ_SYNC, offset, src, hb); in write_page()
1535 error = hib_submit_io(REQ_OP_WRITE | REQ_SYNC, in swsusp_check()
1590 error = hib_submit_io(REQ_OP_WRITE | REQ_SYNC, in swsusp_unmark()
/linux-6.3-rc2/fs/hfsplus/
A Dwrapper.c70 if (op != REQ_OP_WRITE && data) in hfsplus_submit_bio()
/linux-6.3-rc2/fs/iomap/
A Ddirect-io.c198 bio = iomap_dio_alloc_bio(iter, dio, 1, REQ_OP_WRITE | REQ_SYNC | REQ_IDLE); in iomap_dio_zero()
223 opflags |= REQ_OP_WRITE; in iomap_dio_bio_opflags()
/linux-6.3-rc2/block/
A Dblk-lib.c181 REQ_OP_WRITE, gfp_mask); in __blkdev_issue_zero_pages()

Completed in 55 milliseconds

12345