Lines Matching refs:req_op
271 return blk_op_is_scsi(req_op(rq)); in blk_rq_is_scsi()
276 return blk_op_is_private(req_op(rq)); in blk_rq_is_private()
701 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ)
704 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
819 if (req_op(rq) == REQ_OP_FLUSH) in rq_mergeable()
822 if (req_op(rq) == REQ_OP_WRITE_ZEROES) in rq_mergeable()
825 if (req_op(rq) == REQ_OP_ZONE_APPEND) in rq_mergeable()
1119 req_op(rq) == REQ_OP_DISCARD || in blk_rq_get_max_sectors()
1120 req_op(rq) == REQ_OP_SECURE_ERASE) in blk_rq_get_max_sectors()
1121 return blk_queue_get_max_sectors(q, req_op(rq)); in blk_rq_get_max_sectors()
1124 blk_queue_get_max_sectors(q, req_op(rq))); in blk_rq_get_max_sectors()
1553 if (req_op(req) == REQ_OP_DISCARD && in blk_discard_mergable()