/linux-6.3-rc2/drivers/block/null_blk/ |
A D | null_blk.h | 141 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op, 150 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, enum req_op op, 169 enum req_op op, sector_t sector, sector_t nr_sectors) in null_process_zoned_cmd()
|
A D | trace.h | 39 __field(enum req_op, op) 44 __entry->op = req_op(cmd->rq);
|
/linux-6.3-rc2/block/ |
A D | blk.h | 126 if (req_op(rq) == REQ_OP_FLUSH) in rq_mergeable() 129 if (req_op(rq) == REQ_OP_WRITE_ZEROES) in rq_mergeable() 132 if (req_op(rq) == REQ_OP_ZONE_APPEND) in rq_mergeable() 153 if (req_op(req) == REQ_OP_DISCARD && in blk_discard_mergable() 161 if (req_op(rq) == REQ_OP_DISCARD) in blk_rq_get_max_segments() 167 enum req_op op) in blk_queue_get_max_sectors()
|
A D | blk-merge.c | 599 max_sectors = blk_queue_get_max_sectors(q, req_op(rq)); in blk_rq_get_max_sectors() 601 req_op(rq) == REQ_OP_DISCARD || in blk_rq_get_max_sectors() 602 req_op(rq) == REQ_OP_SECURE_ERASE) in blk_rq_get_max_sectors() 618 if (req_op(req) == REQ_OP_DISCARD) in ll_new_hw_segment() 785 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]); in blk_account_io_merge_request() 811 if (req_op(req) != req_op(next)) in attempt_merge() 923 if (req_op(rq) != bio_op(bio)) in blk_rq_merge_ok() 965 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]); in blk_account_io_merge_bio()
|
A D | blk-stat.c | 61 if (req_op(rq) == REQ_OP_READ || req_op(rq) == REQ_OP_WRITE) in blk_stat_add()
|
A D | blk-zoned.c | 66 if (bdev_op_is_zoned_write(rq->q->disk->part0, req_op(rq))) in blk_req_needs_zone_write_lock() 256 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op, in blkdev_zone_mgmt() 390 enum req_op op; in blkdev_zone_mgmt_ioctl()
|
A D | blk-map.c | 159 bio_init(bio, NULL, bio->bi_inline_vecs, nr_pages, req_op(rq)); in bio_copy_user_iov() 259 bio_init(bio, NULL, bio->bi_inline_vecs, nr_vecs, req_op(rq)); in blk_rq_map_bio_alloc() 798 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
|
/linux-6.3-rc2/include/linux/ |
A D | blk_types.h | 358 enum req_op { enum 470 static inline enum req_op bio_op(const struct bio *bio) in bio_op() 511 static inline bool op_is_zone_mgmt(enum req_op op) in op_is_zone_mgmt() 524 static inline int op_stat_group(enum req_op op) in op_stat_group()
|
A D | blk-mq.h | 206 static inline enum req_op req_op(const struct request *req) in req_op() function 213 return blk_op_is_passthrough(req_op(rq)); in blk_rq_is_passthrough() 221 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) 224 (op_is_write(req_op(rq)) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
|
/linux-6.3-rc2/drivers/block/rnbd/ |
A D | rnbd-proto.h | 271 switch (req_op(rq)) { in rq_to_rnbd_flags() 289 (__force u32)req_op(rq), in rq_to_rnbd_flags()
|
/linux-6.3-rc2/fs/zonefs/ |
A D | trace.h | 24 enum req_op op), 29 __field(enum req_op, op)
|
A D | zonefs.h | 260 int zonefs_inode_zone_mgmt(struct inode *inode, enum req_op op);
|
/linux-6.3-rc2/fs/ |
A D | direct-io.c | 169 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_refill_pages() 236 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_complete() 332 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_end_aio() 419 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_submit() 495 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_bio_complete() 599 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in get_more_blocks() 782 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in submit_page_section() 899 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in do_direct_IO()
|
/linux-6.3-rc2/include/trace/events/ |
A D | nilfs2.h | 195 enum req_op mode), 203 __field(enum req_op, mode)
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | ubd_kern.c | 483 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler() 1245 if (req_op(req->req) == REQ_OP_READ) { in cowify_req() 1265 enum req_op op = req_op(req); in ubd_map_req() 1328 enum req_op op = req_op(req); in ubd_submit_request() 1365 switch (req_op(req)) { in ubd_queue_rq() 1483 if (req_op(req->req) == REQ_OP_FLUSH) { in do_io() 1504 switch (req_op(req->req)) { in do_io()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | sd_zbc.c | 509 switch (req_op(rq)) { in sd_zbc_need_zone_wp_update() 538 enum req_op op = req_op(rq); in sd_zbc_zone_wp_update() 612 if (op_is_zone_mgmt(req_op(rq)) && in sd_zbc_complete() 625 if (req_op(rq) == REQ_OP_ZONE_APPEND) in sd_zbc_complete()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_bio_io.c | 18 enum req_op op) in xfs_rw_bdev()
|
A D | xfs_linux.h | 200 char *data, enum req_op op);
|
/linux-6.3-rc2/drivers/mmc/core/ |
A D | queue.c | 46 switch (req_op(req)) { in mmc_cqe_issue_type() 67 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE) in mmc_issue_type()
|
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/ |
A D | sec_crypto.c | 269 ctx->req_op->buf_unmap(ctx, req); in sec_req_cb() 271 ctx->req_op->callback(ctx, req, err); in sec_req_cb() 1244 ret = ctx->req_op->buf_map(ctx, req); in sec_request_transfer() 1248 ctx->req_op->do_transfer(ctx, req); in sec_request_transfer() 1250 ret = ctx->req_op->bd_fill(ctx, req); in sec_request_transfer() 1257 ctx->req_op->buf_unmap(ctx, req); in sec_request_transfer() 1263 ctx->req_op->buf_unmap(ctx, req); in sec_request_untransfer() 1787 ret = ctx->req_op->bd_send(ctx, req); in sec_process() 1864 ctx->req_op = &sec_skcipher_req_ops; in sec_skcipher_ctx_init() 1897 ctx->req_op = &sec_aead_req_ops; in sec_aead_init() [all …]
|
A D | sec.h | 138 const struct sec_req_op *req_op; member
|
/linux-6.3-rc2/drivers/block/ |
A D | ublk_drv.c | 537 if (req_op(req) != REQ_OP_WRITE && req_op(req) != REQ_OP_FLUSH) in ublk_map_io() 561 if (req_op(req) == REQ_OP_READ && ublk_rq_has_data(req)) { in ublk_unmap_io() 612 switch (req_op(req)) { in ublk_setup_iod() 660 if (!io->res && req_op(req) == REQ_OP_READ) in ublk_complete_rq() 674 if (req_op(req) != REQ_OP_READ && req_op(req) != REQ_OP_WRITE) { in ublk_complete_rq() 773 (req_op(req) == REQ_OP_WRITE || in __ublk_rq_task_work() 774 req_op(req) == REQ_OP_FLUSH)) { in __ublk_rq_task_work() 1331 if (!ub_cmd->addr && (!ublk_need_get_data(ubq) || req_op(req) == REQ_OP_READ)) in ublk_ch_uring_cmd()
|
A D | xen-blkfront.c | 566 if (req_op(req) == REQ_OP_SECURE_ERASE && info->feature_secdiscard) in blkif_queue_discard_req() 771 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req() 783 if (req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA) { in blkif_queue_rw_req() 872 if (unlikely(req_op(req) == REQ_OP_DISCARD || in blkif_queue_request() 873 req_op(req) == REQ_OP_SECURE_ERASE)) in blkif_queue_request() 893 ((req_op(req) == REQ_OP_FLUSH) && in blkif_request_flush_invalid() 2082 if (req_op(shadow[j].request) == REQ_OP_FLUSH || in blkfront_resume() 2083 req_op(shadow[j].request) == REQ_OP_DISCARD || in blkfront_resume() 2084 req_op(shadow[j].request) == REQ_OP_SECURE_ERASE || in blkfront_resume()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-rq.c | 218 if (req_op(clone) == REQ_OP_DISCARD && in dm_done() 221 else if (req_op(clone) == REQ_OP_WRITE_ZEROES && in dm_done()
|
A D | dm-ebs-target.c | 65 static int __ebs_rw_bvec(struct ebs_c *ec, enum req_op op, struct bio_vec *bv, in __ebs_rw_bvec() 122 static int __ebs_rw_bio(struct ebs_c *ec, enum req_op op, struct bio *bio) in __ebs_rw_bio()
|