/Linux-v4.19/block/ |
D | blk-merge.c | 459 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()
|
D | blk-map.c | 75 bio->bi_opf |= req_op(rq); in __blk_rq_map_user_iov() 239 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
|
D | blk-zoned.c | 35 switch (req_op(rq)) { in blk_req_needs_zone_write_lock()
|
D | bio.c | 1680 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()
|
D | elevator.c | 379 if (req_op(rq) != req_op(pos)) in elv_dispatch_sort()
|
D | blk-wbt.c | 732 const int op = req_op(rq); in wbt_data_dir()
|
/Linux-v4.19/include/linux/ |
D | blkdev.h | 285 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()
|
D | blk_types.h | 370 #define req_op(req) \ macro
|
/Linux-v4.19/drivers/mmc/core/ |
D | queue.c | 49 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/ |
D | dm-rq.c | 298 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/ |
D | null_blk_main.c | 1077 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()
|
D | xen-blkfront.c | 556 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()
|
D | ps3disk.c | 199 switch (req_op(req)) { in ps3disk_do_request() 263 if (req_op(req) == REQ_OP_FLUSH) { in ps3disk_interrupt()
|
D | virtio_blk.c | 179 switch (req_op(req)) { in virtblk_request_done() 232 switch (req_op(req)) { in virtio_queue_rq()
|
D | loop.c | 459 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/ |
D | mtd_blkdevs.c | 86 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/ |
D | ide-cd.c | 305 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()
|
D | ide-floppy.c | 258 switch (req_op(rq)) { in ide_floppy_do_request()
|
D | ide-disk.c | 435 if (req_op(rq) != REQ_OP_FLUSH) in idedisk_prep_fn()
|
D | ide-atapi.c | 314 switch (req_op(rq)) { in ide_cd_get_xferlen()
|
/Linux-v4.19/drivers/block/paride/ |
D | pd.c | 468 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/ |
D | dasd_fba.c | 568 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/ |
D | block.c | 328 switch (req_op(req)) { in ubiblock_queue_rq()
|
/Linux-v4.19/drivers/scsi/ |
D | sd_zbc.c | 279 switch (req_op(rq)) { in sd_zbc_complete()
|
/Linux-v4.19/drivers/cdrom/ |
D | gdrom.c | 666 switch (req_op(req)) { in gdrom_request()
|