Searched refs:req_op (Results 1 - 25 of 86) sorted by path

1234

/linux-master/arch/um/drivers/
H A Dubd_kern.c474 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 Dblk-core.c138 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 Dblk-iocost.c2579 switch (req_op(rq)) {
2811 switch (req_op(rq)) {
H A Dblk-map.c160 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 Dblk-merge.c596 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 Dblk-mq-debugfs.c281 const enum req_op op = req_op(rq);
H A Dblk-mq.c770 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 Dblk-wbt.c745 const enum req_op op = req_op(rq);
H A Dblk-zoned.c265 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op,
399 enum req_op op;
H A Dblk.h144 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 Ddrbd_actlog.c127 sector_t sector, enum req_op op)
178 sector_t sector, enum req_op op)
H A Ddrbd_bitmap.c993 enum req_op op = ctx->flags & BM_AIO_READ ? REQ_OP_READ : REQ_OP_WRITE;
H A Ddrbd_int.h338 /* Equivalent to bio_op and req_op. */
1443 struct drbd_backing_dev *bdev, sector_t sector, enum req_op op);
H A Ddrbd_receiver.c2400 static enum req_op wire_flags_to_bio_op(u32 dpf)
/linux-master/drivers/block/
H A Dloop.c341 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 Dnbd.c404 switch (req_op(req)) {
H A Dps3disk.c168 switch (req_op(req)) {
231 if (req_op(req) == REQ_OP_FLUSH) {
H A Drbd.c4781 switch (req_op(bd->rq)) {
4795 rbd_warn(rbd_dev, "unknown req_op %d", req_op(bd->rq));
H A Dublk_drv.c371 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 Dmain.c1235 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 Dnull_blk.h130 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 Dtrace.h39 __field(enum req_op, op)
44 __entry->op = req_op(blk_mq_rq_from_pdu(cmd));
H A Dzoned.c620 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 Drnbd-clt.c1012 if ((req_op(rq) != REQ_OP_DISCARD) && (req_op(rq) != REQ_OP_WRITE_ZEROES))
H A Drnbd-proto.h261 switch (req_op(rq)) {
282 (__force u32)req_op(rq),

Completed in 385 milliseconds

1234