/linux-master/arch/um/drivers/ |
H A D | ubd_kern.c | 474 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { 1199 if (req_op(req->req) == REQ_OP_READ) { 1219 enum req_op op = req_op(req); 1282 enum req_op op = req_op(req); 1319 switch (req_op(req)) { 1437 if (req_op(req->req) == REQ_OP_FLUSH) { 1458 switch (req_op(req->req)) {
|
/linux-master/block/ |
H A D | blk-core.c | 138 inline const char *blk_op_str(enum req_op op) 1000 unsigned long bdev_start_io_acct(struct block_device *bdev, enum req_op op, 1024 void bdev_end_io_acct(struct block_device *bdev, enum req_op op,
|
H A D | blk-iocost.c | 2579 switch (req_op(rq)) { 2811 switch (req_op(rq)) {
|
H A D | blk-map.c | 160 bio_init(bio, NULL, bio->bi_inline_vecs, nr_pages, req_op(rq)); 267 bio_init(bio, NULL, bio->bi_inline_vecs, nr_vecs, req_op(rq)); 805 bio->bi_opf |= req_op(rq);
|
H A D | blk-merge.c | 596 max_sectors = blk_queue_get_max_sectors(q, req_op(rq)); 598 req_op(rq) == REQ_OP_DISCARD || 599 req_op(rq) == REQ_OP_SECURE_ERASE) 615 if (req_op(req) == REQ_OP_DISCARD) 782 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]); 784 in_flight[op_is_write(req_op(req))]); 810 if (req_op(req) != req_op(next)) 928 if (req_op(rq) != bio_op(bio)) 974 part_stat_inc(req->part, merges[op_stat_group(req_op(re [all...] |
H A D | blk-mq-debugfs.c | 281 const enum req_op op = req_op(rq);
|
H A D | blk-mq.c | 770 const int sgrp = op_stat_group(req_op(req)); 785 blk_rq_pos(req), (__force u32)req_op(req), 786 blk_op_str(req_op(req)), 808 if (blk_integrity_rq(req) && req_op(req) == REQ_OP_READ) 879 if (blk_integrity_rq(req) && req_op(req) == REQ_OP_READ && 993 const int sgrp = op_stat_group(req_op(req)); 1000 in_flight[op_is_write(req_op(req))]); 1024 in_flight[op_is_write(req_op(req))]); 1268 if (blk_integrity_rq(rq) && req_op(rq) == REQ_OP_WRITE) 2499 } else if (req_op(r [all...] |
H A D | blk-wbt.c | 745 const enum req_op op = req_op(rq);
|
H A D | blk-zoned.c | 265 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op, 399 enum req_op op;
|
H A D | blk.h | 144 if (req_op(rq) == REQ_OP_FLUSH) 147 if (req_op(rq) == REQ_OP_WRITE_ZEROES) 150 if (req_op(rq) == REQ_OP_ZONE_APPEND) 171 if (req_op(req) == REQ_OP_DISCARD && 179 if (req_op(rq) == REQ_OP_DISCARD) 185 enum req_op op) 433 if (req_op(rq) == REQ_OP_ZONE_APPEND || bio_zone_write_plugging(bio))
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_actlog.c | 127 sector_t sector, enum req_op op) 178 sector_t sector, enum req_op op)
|
H A D | drbd_bitmap.c | 993 enum req_op op = ctx->flags & BM_AIO_READ ? REQ_OP_READ : REQ_OP_WRITE;
|
H A D | drbd_int.h | 338 /* Equivalent to bio_op and req_op. */ 1443 struct drbd_backing_dev *bdev, sector_t sector, enum req_op op);
|
H A D | drbd_receiver.c | 2400 static enum req_op wire_flags_to_bio_op(u32 dpf)
|
/linux-master/drivers/block/ |
H A D | loop.c | 341 req_op(rq) != REQ_OP_READ) { 473 switch (req_op(rq)) { 1848 switch (req_op(rq)) { 1884 const bool write = op_is_write(req_op(rq));
|
H A D | nbd.c | 404 switch (req_op(req)) {
|
H A D | ps3disk.c | 168 switch (req_op(req)) { 231 if (req_op(req) == REQ_OP_FLUSH) {
|
H A D | rbd.c | 4781 switch (req_op(bd->rq)) { 4795 rbd_warn(rbd_dev, "unknown req_op %d", req_op(bd->rq));
|
H A D | ublk_drv.c | 371 switch (req_op(req)) { 833 return ublk_rq_has_data(req) && req_op(req) == REQ_OP_WRITE; 839 (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_DRV_IN); 918 enum req_op op = req_op(req); 925 switch (req_op(req)) { 982 if (!io->res && req_op(req) == REQ_OP_READ) 996 if (req_op(req) != REQ_OP_READ && req_op(re [all...] |
/linux-master/drivers/block/null_blk/ |
H A D | main.c | 1235 op_is_write(req_op(rq)), sector, 1282 enum req_op op, 1300 if (!dev->memory_backed && req_op(rq) == REQ_OP_READ) { 1334 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op, 1353 sector_t nr_sectors, enum req_op op) 1519 cmd->error = null_process_cmd(cmd, req_op(req), blk_rq_pos(req), 1614 null_handle_cmd(cmd, sector, nr_sectors, req_op(rq));
|
H A D | null_blk.h | 130 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op, 139 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, enum req_op op, 158 enum req_op op, sector_t sector, sector_t nr_sectors)
|
H A D | trace.h | 39 __field(enum req_op, op) 44 __entry->op = req_op(blk_mq_rq_from_pdu(cmd));
|
H A D | zoned.c | 620 static blk_status_t null_zone_mgmt(struct nullb_cmd *cmd, enum req_op op, 682 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, enum req_op op,
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 1012 if ((req_op(rq) != REQ_OP_DISCARD) && (req_op(rq) != REQ_OP_WRITE_ZEROES))
|
H A D | rnbd-proto.h | 261 switch (req_op(rq)) { 282 (__force u32)req_op(rq),
|