Searched refs:req_op (Results 1 - 25 of 89) sorted by relevance

1234

/linux-master/drivers/block/null_blk/
H A Dtrace.h39 __field(enum req_op, op)
44 __entry->op = req_op(blk_mq_rq_from_pdu(cmd));
H A Dnull_blk.h128 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op,
137 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, enum req_op op,
156 enum req_op op, sector_t sector, sector_t nr_sectors)
/linux-master/fs/xfs/
H A Dxfs_bio_io.c18 enum req_op op)
/linux-master/include/linux/
H A Dblk_types.h318 * enum req_op - Operations common to the bio and request structures.
330 enum req_op { enum
434 static inline enum req_op bio_op(const struct bio *bio)
475 static inline bool op_is_zone_mgmt(enum req_op op)
488 static inline int op_stat_group(enum req_op op)
H A Dblk-mq.h193 static inline enum req_op req_op(const struct request *req) function
208 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ)
211 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
1172 return op_needs_zoned_write_locking(req_op(rq)) &&
H A Dblkdev.h332 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op,
833 extern const char *blk_op_str(enum req_op op);
1307 static inline bool op_needs_zoned_write_locking(enum req_op op)
1313 enum req_op op)
1459 unsigned long bdev_start_io_acct(struct block_device *bdev, enum req_op op,
1461 void bdev_end_io_acct(struct block_device *bdev, enum req_op op,
/linux-master/include/trace/events/
H A Dnilfs2.h195 enum req_op mode),
203 __field(enum req_op, mode)
/linux-master/fs/zonefs/
H A Dtrace.h24 enum req_op op),
29 __field(enum req_op, op)
H A Dzonefs.h260 int zonefs_inode_zone_mgmt(struct inode *inode, enum req_op op);
/linux-master/drivers/block/rnbd/
H A Drnbd-proto.h261 switch (req_op(rq)) {
282 (__force u32)req_op(rq),
/linux-master/block/
H A Dblk.h143 if (req_op(rq) == REQ_OP_FLUSH)
146 if (req_op(rq) == REQ_OP_WRITE_ZEROES)
149 if (req_op(rq) == REQ_OP_ZONE_APPEND)
170 if (req_op(req) == REQ_OP_DISCARD &&
178 if (req_op(rq) == REQ_OP_DISCARD)
184 enum req_op op)
H A Dblk-merge.c595 max_sectors = blk_queue_get_max_sectors(q, req_op(rq));
597 req_op(rq) == REQ_OP_DISCARD ||
598 req_op(rq) == REQ_OP_SECURE_ERASE)
614 if (req_op(req) == REQ_OP_DISCARD)
781 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]);
807 if (req_op(req) != req_op(next))
925 if (req_op(rq) != bio_op(bio))
971 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]);
H A Dblk-stat.c60 if (req_op(rq) == REQ_OP_READ || req_op(rq) == REQ_OP_WRITE)
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-zoned.c247 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op,
381 enum req_op op;
/linux-master/fs/
H A Ddirect-io.c170 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
247 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
337 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
428 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
503 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
607 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
790 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
907 const enum req_op dio_op = dio->opf & REQ_OP_MASK;
/linux-master/drivers/scsi/
H A Dsd_zbc.c509 switch (req_op(rq)) {
538 enum req_op op = req_op(rq);
612 if (op_is_zone_mgmt(req_op(rq)) &&
625 if (req_op(rq) == REQ_OP_ZONE_APPEND)
/linux-master/drivers/block/
H A Dublk_drv.c372 switch (req_op(req)) {
834 return ublk_rq_has_data(req) && req_op(req) == REQ_OP_WRITE;
840 (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_DRV_IN);
919 enum req_op op = req_op(req);
926 switch (req_op(req)) {
983 if (!io->res && req_op(req) == REQ_OP_READ)
997 if (req_op(req) != REQ_OP_READ && req_op(re
[all...]
/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/drivers/mmc/core/
H A Dqueue.c46 switch (req_op(req)) {
67 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE)
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec.h138 const struct sec_req_op *req_op; member in struct:sec_ctx
H A Dsec_crypto.c272 ctx->req_op->buf_unmap(ctx, req);
274 ctx->req_op->callback(ctx, req, err);
1243 ret = ctx->req_op->buf_map(ctx, req);
1247 ctx->req_op->do_transfer(ctx, req);
1249 ret = ctx->req_op->bd_fill(ctx, req);
1256 ctx->req_op->buf_unmap(ctx, req);
1262 ctx->req_op->buf_unmap(ctx, req);
1786 ret = ctx->req_op->bd_send(ctx, req);
1863 ctx->req_op = &sec_skcipher_req_ops;
1866 ctx->req_op
[all...]
/linux-master/drivers/md/
H A Ddm-rq.c218 if (req_op(clone) == REQ_OP_DISCARD &&
221 else if (req_op(clone) == REQ_OP_WRITE_ZEROES &&
H A Ddm-ebs-target.c65 static int __ebs_rw_bvec(struct ebs_c *ec, enum req_op op, struct bio_vec *bv,
122 static int __ebs_rw_bio(struct ebs_c *ec, enum req_op op, struct bio *bio)
/linux-master/fs/hfsplus/
H A Dwrapper.c51 const enum req_op op = opf & REQ_OP_MASK;

Completed in 211 milliseconds

1234