/openbmc/linux/fs/crypto/ |
H A D | bio.c | 59 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()
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 228 bio_opf = REQ_OP_WRITE; in rnbd_to_bio_flags() 231 bio_opf = REQ_OP_WRITE | REQ_PREFLUSH; in rnbd_to_bio_flags() 262 case REQ_OP_WRITE: in rq_to_rnbd_flags()
|
/openbmc/linux/drivers/md/ |
H A D | dm-zone.c | 134 case REQ_OP_WRITE: in dm_is_zone_write() 390 case REQ_OP_WRITE: in dm_zone_map_bio_begin() 401 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin() 443 case REQ_OP_WRITE: in dm_zone_map_bio_end() 499 case REQ_OP_WRITE: in dm_need_zone_wp_tracking()
|
H A D | dm-ebs-target.c | 198 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()
|
H A D | dm-zero.c | 48 case REQ_OP_WRITE: in zero_map()
|
H A D | dm-integrity.c | 559 if (op == REQ_OP_WRITE) { in sync_rw_sb() 1131 rw_journal(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, commit_start, in write_journal() 1144 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, in write_journal() 1156 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1162 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1166 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal() 1192 io_req.bi_opf = REQ_OP_WRITE; in copy_from_journal() 1521 fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC, in dm_integrity_flush_buffers() 1590 if (unlikely(ic->synchronous_mode) && bio_op(bio) == REQ_OP_WRITE) { in do_endio() 1620 if (dio->op == REQ_OP_WRITE || unlikely(dio->op == REQ_OP_DISCARD)) in dec_in_flight() [all …]
|
H A D | dm-snap-persistent.c | 303 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()
|
H A D | dm-zoned-target.c | 90 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()
|
H A D | dm-log-writes.c | 221 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()
|
H A D | dm-log.c | 314 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()
|
H A D | raid5-ppl.c | 254 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()
|
/openbmc/linux/fs/ |
H A D | direct-io.c | 176 if (ret < 0 && sdio->blocks_available && dio_op == REQ_OP_WRITE) { in dio_refill_pages() 300 ret > 0 && dio_op == REQ_OP_WRITE) in dio_complete() 313 if (ret > 0 && dio_op == REQ_OP_WRITE) in dio_complete() 362 (dio_op == REQ_OP_WRITE && in dio_bio_end_aio() 640 create = dio_op == REQ_OP_WRITE; in get_more_blocks() 792 if (dio_op == REQ_OP_WRITE) { in submit_page_section() 981 if (dio_op == REQ_OP_WRITE) { in do_direct_IO() 1186 dio->opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in __blockdev_direct_IO()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_actlog.c | 138 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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_bio_io.c | 26 if (is_vmalloc && op == REQ_OP_WRITE) in xfs_rw_bdev()
|
/openbmc/linux/fs/ocfs2/ |
H A D | buffer_head_io.c | 67 submit_bh(REQ_OP_WRITE, bh); in ocfs2_write_block() 452 submit_bh(REQ_OP_WRITE, bh); in ocfs2_write_super_or_backup()
|
/openbmc/linux/drivers/nvdimm/ |
H A D | nd_virtio.c | 118 REQ_OP_WRITE | REQ_PREFLUSH, in async_pmem_flush()
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | zoned.c | 387 return null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write() 444 ret = null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write() 680 case REQ_OP_WRITE: in null_process_zoned_cmd()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_iblock.c | 427 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache() 530 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE); in iblock_execute_write_same() 543 bio = iblock_get_bio(cmd, block_lba, 1, REQ_OP_WRITE); in iblock_execute_write_same() 747 opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in iblock_execute_rw()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | io-cmd-bdev.c | 262 opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; in nvmet_bdev_execute_rw() 344 ARRAY_SIZE(req->inline_bvec), REQ_OP_WRITE | REQ_PREFLUSH); in nvmet_bdev_execute_flush()
|
/openbmc/linux/mm/ |
H A D | page_io.c | 337 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc)); in swap_writepage_bdev_sync() 358 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc), in swap_writepage_bdev_async()
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 332 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() 1538 error = hib_submit_io(REQ_OP_WRITE | REQ_SYNC, in swsusp_check() 1594 error = hib_submit_io(REQ_OP_WRITE | REQ_SYNC, in swsusp_unmark()
|
/openbmc/linux/fs/iomap/ |
H A D | direct-io.c | 242 bio = iomap_dio_alloc_bio(iter, dio, 1, REQ_OP_WRITE | REQ_SYNC | REQ_IDLE); in iomap_dio_zero() 266 opflags |= REQ_OP_WRITE; in iomap_dio_bio_opflags()
|
/openbmc/linux/block/ |
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-lib.c | 181 REQ_OP_WRITE, gfp_mask); in __blkdev_issue_zero_pages()
|
/openbmc/linux/fs/hfsplus/ |
H A D | wrapper.c | 70 if (op != REQ_OP_WRITE && data) in hfsplus_submit_bio()
|