/Linux-v5.4/block/ |
D | blk-merge.c | 525 if (op_is_write(req_op(rq))) in blk_rq_map_sg() 703 if (req_op(req) == REQ_OP_DISCARD && in blk_discard_mergable() 730 if (req_op(req) != req_op(next)) in attempt_merge() 737 if (req_op(req) == REQ_OP_WRITE_SAME && in attempt_merge() 853 if (req_op(rq) != bio_op(bio)) in blk_rq_merge_ok() 869 if (req_op(rq) == REQ_OP_WRITE_SAME && in blk_rq_merge_ok()
|
D | blk-map.c | 81 bio->bi_opf |= req_op(rq); in __blk_rq_map_user_iov() 245 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
|
D | blk-core.c | 223 blk_rq_pos(req), req_op(req), blk_op_str(req_op(req)), in print_req_error() 1219 if (blk_rq_sectors(rq) > blk_queue_get_max_sectors(q, req_op(rq))) { in blk_cloned_rq_check_limits() 1222 blk_queue_get_max_sectors(q, req_op(rq))); in blk_cloned_rq_check_limits() 1312 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_completion() 1330 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_done() 1441 if (blk_integrity_rq(req) && req_op(req) == REQ_OP_READ && in blk_update_request()
|
D | blk-zoned.c | 42 switch (req_op(rq)) { in blk_req_needs_zone_write_lock()
|
D | bio.c | 1733 void generic_end_io_acct(struct request_queue *q, int req_op, in generic_end_io_acct() argument 1738 const int sgrp = op_stat_group(req_op); in generic_end_io_acct() 1745 part_dec_in_flight(q, part, op_is_write(req_op)); in generic_end_io_acct()
|
D | blk-wbt.c | 674 const int op = req_op(rq); in wbt_data_dir()
|
/Linux-v5.4/include/linux/ |
D | blkdev.h | 261 return blk_op_is_scsi(req_op(rq)); in blk_rq_is_scsi() 266 return blk_op_is_private(req_op(rq)); in blk_rq_is_private() 675 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) 678 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE) 749 if (req_op(rq) == REQ_OP_FLUSH) in rq_mergeable() 752 if (req_op(rq) == REQ_OP_WRITE_ZEROES) in rq_mergeable() 1032 req_op(rq) == REQ_OP_DISCARD || in blk_rq_get_max_sectors() 1033 req_op(rq) == REQ_OP_SECURE_ERASE) in blk_rq_get_max_sectors() 1034 return blk_queue_get_max_sectors(q, req_op(rq)); in blk_rq_get_max_sectors() 1037 blk_queue_get_max_sectors(q, req_op(rq))); in blk_rq_get_max_sectors()
|
D | blk_types.h | 380 #define req_op(req) \ macro
|
/Linux-v5.4/drivers/mmc/core/ |
D | queue.c | 48 switch (req_op(req)) { in mmc_cqe_issue_type() 68 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE) in mmc_issue_type()
|
/Linux-v5.4/drivers/md/ |
D | dm-rq.c | 225 if (req_op(clone) == REQ_OP_DISCARD && in dm_done() 228 else if (req_op(clone) == REQ_OP_WRITE_SAME && in dm_done() 231 else if (req_op(clone) == REQ_OP_WRITE_ZEROES && in dm_done()
|
/Linux-v5.4/arch/um/drivers/ |
D | ubd_kern.c | 522 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler() 1300 if (req_op(req->req) == REQ_OP_READ) { in cowify_req() 1386 switch (req_op(req)) { in ubd_queue_rq() 1509 if (req_op(req->req) == REQ_OP_FLUSH) { in do_io() 1531 switch (req_op(req->req)) { in do_io()
|
/Linux-v5.4/drivers/block/ |
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() 2095 if (req_op(shadow[j].request) == REQ_OP_FLUSH || in blkfront_resume() 2096 req_op(shadow[j].request) == REQ_OP_DISCARD || in blkfront_resume() 2097 req_op(shadow[j].request) == REQ_OP_SECURE_ERASE || in blkfront_resume()
|
D | null_blk_zoned.c | 128 switch (req_op(cmd->rq)) { in null_zone_reset()
|
D | ps3disk.c | 183 switch (req_op(req)) { in ps3disk_do_request() 246 if (req_op(req) == REQ_OP_FLUSH) { in ps3disk_interrupt()
|
D | null_blk_main.c | 1064 if (req_op(rq) == REQ_OP_DISCARD) { in null_handle_rq() 1073 op_is_write(req_op(rq)), sector, in null_handle_rq() 1074 req_op(rq) & REQ_FUA); in null_handle_rq() 1358 return null_handle_cmd(cmd, sector, nr_sectors, req_op(bd->rq)); in null_queue_rq()
|
D | loop.c | 460 req_op(rq) != REQ_OP_READ) { in lo_complete_rq() 596 switch (req_op(rq)) { in do_req_filebacked() 1903 switch (req_op(rq)) { in loop_queue_rq() 1930 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
|
D | virtio_blk.c | 219 switch (req_op(req)) { in virtblk_request_done() 287 switch (req_op(req)) { in virtio_queue_rq()
|
/Linux-v5.4/drivers/mtd/ |
D | mtd_blkdevs.c | 75 if (req_op(req) == REQ_OP_FLUSH) { in do_blktrans_request() 85 switch (req_op(req)) { in do_blktrans_request()
|
/Linux-v5.4/drivers/ide/ |
D | ide-cd.c | 316 if (req_op(rq) == REQ_OP_WRITE) { in cdrom_decode_status() 666 switch (req_op(rq)) { in cdrom_newpc_intr() 744 switch (req_op(rq)) { in cdrom_newpc_intr() 888 switch (req_op(rq)) { in ide_cd_do_request()
|
D | ide-floppy.c | 258 switch (req_op(rq)) { in ide_floppy_do_request()
|
/Linux-v5.4/drivers/scsi/ |
D | sd_zbc.c | 266 if (req_op(rq) == REQ_OP_ZONE_RESET && in sd_zbc_complete()
|
/Linux-v5.4/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-v5.4/drivers/block/paride/ |
D | pd.c | 487 switch (req_op(pd_req)) { in do_pd_io_start() 500 if (req_op(pd_req) == REQ_OP_READ) in do_pd_io_start()
|
/Linux-v5.4/drivers/mtd/ubi/ |
D | block.c | 320 switch (req_op(req)) { in ubiblock_queue_rq()
|
/Linux-v5.4/drivers/cdrom/ |
D | gdrom.c | 636 switch (req_op(bd->rq)) { in gdrom_queue_rq()
|