Home
last modified time | relevance | path

Searched refs:req_op (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v4.19/block/
Dblk-merge.c459 if (op_is_write(req_op(rq))) in blk_rq_map_sg()
685 if (req_op(req) != req_op(next)) in attempt_merge()
699 if (req_op(req) == REQ_OP_WRITE_SAME && in attempt_merge()
717 if (req_op(req) == REQ_OP_DISCARD) { in attempt_merge()
749 if (req_op(req) != REQ_OP_DISCARD) in attempt_merge()
813 if (req_op(rq) != bio_op(bio)) in blk_rq_merge_ok()
829 if (req_op(rq) == REQ_OP_WRITE_SAME && in blk_rq_merge_ok()
845 if (req_op(rq) == REQ_OP_DISCARD && in blk_try_merge()
Dblk-map.c75 bio->bi_opf |= req_op(rq); in __blk_rq_map_user_iov()
239 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
Dblk-zoned.c35 switch (req_op(rq)) { in blk_req_needs_zone_write_lock()
Dbio.c1680 void generic_end_io_acct(struct request_queue *q, int req_op, in generic_end_io_acct() argument
1684 const int sgrp = op_stat_group(req_op); in generic_end_io_acct()
1689 part_dec_in_flight(q, part, op_is_write(req_op)); in generic_end_io_acct()
Delevator.c379 if (req_op(rq) != req_op(pos)) in elv_dispatch_sort()
Dblk-wbt.c732 const int op = req_op(rq); in wbt_data_dir()
/Linux-v4.19/include/linux/
Dblkdev.h285 return blk_op_is_scsi(req_op(rq)); in blk_rq_is_scsi()
290 return blk_op_is_private(req_op(rq)); in blk_rq_is_private()
763 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ)
850 if (req_op(rq) == REQ_OP_FLUSH) in rq_mergeable()
853 if (req_op(rq) == REQ_OP_WRITE_ZEROES) in rq_mergeable()
1132 req_op(rq) == REQ_OP_DISCARD || in blk_rq_get_max_sectors()
1133 req_op(rq) == REQ_OP_SECURE_ERASE) in blk_rq_get_max_sectors()
1134 return blk_queue_get_max_sectors(q, req_op(rq)); in blk_rq_get_max_sectors()
1137 blk_queue_get_max_sectors(q, req_op(rq))); in blk_rq_get_max_sectors()
Dblk_types.h370 #define req_op(req) \ macro
/Linux-v4.19/drivers/mmc/core/
Dqueue.c49 switch (req_op(req)) { in mmc_cqe_issue_type()
69 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE) in mmc_issue_type()
/Linux-v4.19/drivers/md/
Ddm-rq.c298 if (req_op(clone) == REQ_OP_WRITE_SAME && in dm_done()
301 if (req_op(clone) == REQ_OP_WRITE_ZEROES && in dm_done()
673 if (req_op(rq) != REQ_OP_FLUSH) in dm_old_request_fn()
/Linux-v4.19/drivers/block/
Dnull_blk_main.c1077 if (req_op(rq) == REQ_OP_DISCARD) { in null_handle_rq()
1086 op_is_write(req_op(rq)), sector, in null_handle_rq()
1087 req_op(rq) & REQ_FUA); in null_handle_rq()
1170 if (req_op(cmd->rq) == REQ_OP_ZONE_REPORT) { in cmd_report_zone()
1226 req_op(cmd->rq) != REQ_OP_FLUSH) { in null_handle_cmd()
1245 if (req_op(cmd->rq) == REQ_OP_FLUSH) in null_handle_cmd()
1263 op = req_op(cmd->rq); in null_handle_cmd()
Dxen-blkfront.c556 if (req_op(req) == REQ_OP_SECURE_ERASE && info->feature_secdiscard) in blkif_queue_discard_req()
758 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req()
770 if (req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA) { in blkif_queue_rw_req()
854 if (unlikely(req_op(req) == REQ_OP_DISCARD || in blkif_queue_request()
855 req_op(req) == REQ_OP_SECURE_ERASE)) in blkif_queue_request()
875 ((req_op(req) == REQ_OP_FLUSH) && in blkif_request_flush_invalid()
2094 if (req_op(shadow[j].request) == REQ_OP_FLUSH || in blkfront_resume()
2095 req_op(shadow[j].request) == REQ_OP_DISCARD || in blkfront_resume()
2096 req_op(shadow[j].request) == REQ_OP_SECURE_ERASE || in blkfront_resume()
Dps3disk.c199 switch (req_op(req)) { in ps3disk_do_request()
263 if (req_op(req) == REQ_OP_FLUSH) { in ps3disk_interrupt()
Dvirtio_blk.c179 switch (req_op(req)) { in virtblk_request_done()
232 switch (req_op(req)) { in virtio_queue_rq()
Dloop.c459 req_op(rq) != REQ_OP_READ) { in lo_complete_rq()
596 switch (req_op(rq)) { in do_req_filebacked()
1750 switch (req_op(rq)) { in loop_queue_rq()
1777 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
/Linux-v4.19/drivers/mtd/
Dmtd_blkdevs.c86 if (req_op(req) == REQ_OP_FLUSH) { in do_blktrans_request()
96 switch (req_op(req)) { in do_blktrans_request()
/Linux-v4.19/drivers/ide/
Dide-cd.c305 if (req_op(rq) == REQ_OP_WRITE) { in cdrom_decode_status()
579 switch (req_op(rq)) { in cdrom_newpc_intr()
657 switch (req_op(rq)) { in cdrom_newpc_intr()
799 switch (req_op(rq)) { in ide_cd_do_request()
Dide-floppy.c258 switch (req_op(rq)) { in ide_floppy_do_request()
Dide-disk.c435 if (req_op(rq) != REQ_OP_FLUSH) in idedisk_prep_fn()
Dide-atapi.c314 switch (req_op(rq)) { in ide_cd_get_xferlen()
/Linux-v4.19/drivers/block/paride/
Dpd.c468 switch (req_op(pd_req)) { in do_pd_io_start()
481 if (req_op(pd_req) == REQ_OP_READ) in do_pd_io_start()
/Linux-v4.19/drivers/s390/block/
Ddasd_fba.c568 if (req_op(req) == REQ_OP_DISCARD || req_op(req) == REQ_OP_WRITE_ZEROES) in dasd_fba_build_cp()
/Linux-v4.19/drivers/mtd/ubi/
Dblock.c328 switch (req_op(req)) { in ubiblock_queue_rq()
/Linux-v4.19/drivers/scsi/
Dsd_zbc.c279 switch (req_op(rq)) { in sd_zbc_complete()
/Linux-v4.19/drivers/cdrom/
Dgdrom.c666 switch (req_op(req)) { in gdrom_request()

12