Home
last modified time | relevance | path

Searched refs:req_op (Results 1 – 25 of 49) sorted by relevance

12

/OK3568_Linux_fs/kernel/block/
H A Dblk-merge.c552 if (req_op(rq) == REQ_OP_DISCARD) in blk_rq_get_max_segments()
567 if (req_op(req) == REQ_OP_DISCARD) in ll_new_hw_segment()
707 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]); in blk_account_io_merge_request()
735 if (req_op(req) != req_op(next)) in attempt_merge()
742 if (req_op(req) == REQ_OP_WRITE_SAME && in attempt_merge()
862 if (req_op(rq) != bio_op(bio)) in blk_rq_merge_ok()
886 if (req_op(rq) == REQ_OP_WRITE_SAME && in blk_rq_merge_ok()
920 part_stat_inc(req->part, merges[op_stat_group(req_op(req))]); in blk_account_io_merge_bio()
H A Dblk-core.c239 blk_rq_pos(req), req_op(req), blk_op_str(req_op(req)), in print_req_error()
256 if (req_op(rq) == REQ_OP_ZONE_APPEND && error == BLK_STS_OK) { in req_bio_endio()
1157 unsigned int max_sectors = blk_queue_get_max_sectors(q, req_op(rq)); in blk_cloned_rq_check_limits()
1285 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_completion()
1304 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_done()
1450 if (blk_integrity_rq(req) && req_op(req) == REQ_OP_READ && in blk_update_request()
H A Dblk-map.c161 bio->bi_opf |= req_op(rq); in bio_copy_user_iov()
257 bio->bi_opf |= req_op(rq); in bio_map_user_iov()
706 bio->bi_opf |= req_op(rq); in blk_rq_map_kern()
H A Dblk-zoned.c74 switch (req_op(rq)) { in blk_req_needs_zone_write_lock()
/OK3568_Linux_fs/kernel/include/linux/
H A Dblkdev.h271 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()
[all …]
H A Dblk_types.h462 #define req_op(req) \ macro
/OK3568_Linux_fs/kernel/drivers/block/rnbd/
H A Drnbd-proto.h267 switch (req_op(rq)) { in rq_to_rnbd_flags()
288 req_op(rq), (unsigned long long)rq->cmd_flags); in rq_to_rnbd_flags()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c189 ctx->req_op->buf_unmap(ctx, req); in sec_req_cb()
191 ctx->req_op->callback(ctx, req, err); in sec_req_cb()
953 ret = ctx->req_op->buf_map(ctx, req); in sec_request_transfer()
957 ctx->req_op->do_transfer(ctx, req); in sec_request_transfer()
959 ret = ctx->req_op->bd_fill(ctx, req); in sec_request_transfer()
966 ctx->req_op->buf_unmap(ctx, req); in sec_request_transfer()
973 ctx->req_op->buf_unmap(ctx, req); in sec_request_untransfer()
1257 ret = ctx->req_op->bd_send(ctx, req); in sec_process()
1308 ctx->req_op = &sec_skcipher_req_ops; in sec_skcipher_ctx_init()
1331 ctx->req_op = &sec_aead_req_ops; in sec_aead_init()
[all …]
H A Dsec.h122 const struct sec_req_op *req_op; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsd_zbc.c417 switch (req_op(rq)) { in sd_zbc_need_zone_wp_update()
447 enum req_opf op = req_op(rq); in sd_zbc_zone_wp_update()
519 if (op_is_zone_mgmt(req_op(rq)) && in sd_zbc_complete()
532 if (req_op(rq) == REQ_OP_ZONE_APPEND) in sd_zbc_complete()
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dqueue.c49 switch (req_op(req)) { in mmc_cqe_issue_type()
69 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE) in mmc_issue_type()
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dubd_kern.c530 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler()
1305 if (req_op(req->req) == REQ_OP_READ) { in cowify_req()
1325 int op = req_op(req); in ubd_map_req()
1389 int op = req_op(req); in ubd_submit_request()
1426 switch (req_op(req)) { in ubd_queue_rq()
1544 if (req_op(req->req) == REQ_OP_FLUSH) { in do_io()
1565 switch (req_op(req->req)) { in do_io()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-rq.c218 if (req_op(clone) == REQ_OP_DISCARD && in dm_done()
221 else if (req_op(clone) == REQ_OP_WRITE_SAME && in dm_done()
224 else if (req_op(clone) == REQ_OP_WRITE_ZEROES && in dm_done()
/OK3568_Linux_fs/kernel/drivers/block/
H A Dnull_blk_trace.h44 __entry->op = req_op(cmd->rq);
H A Dxen-blkfront.c578 if (req_op(req) == REQ_OP_SECURE_ERASE && info->feature_secdiscard) in blkif_queue_discard_req()
783 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req()
795 if (req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA) { in blkif_queue_rw_req()
884 if (unlikely(req_op(req) == REQ_OP_DISCARD || in blkif_queue_request()
885 req_op(req) == REQ_OP_SECURE_ERASE)) in blkif_queue_request()
905 ((req_op(req) == REQ_OP_FLUSH) && in blkif_request_flush_invalid()
2182 if (req_op(shadow[j].request) == REQ_OP_FLUSH || in blkfront_resume()
2183 req_op(shadow[j].request) == REQ_OP_DISCARD || in blkfront_resume()
2184 req_op(shadow[j].request) == REQ_OP_SECURE_ERASE || in blkfront_resume()
H A Dps3disk.c183 switch (req_op(req)) { in ps3disk_do_request()
246 if (req_op(req) == REQ_OP_FLUSH) { in ps3disk_interrupt()
H A Dnull_blk_main.c1158 if (req_op(rq) == REQ_OP_DISCARD) { in null_handle_rq()
1167 op_is_write(req_op(rq)), sector, in null_handle_rq()
1289 } else if (req_op(cmd->rq) == REQ_OP_READ) { in nullb_zero_read_cmd_buffer()
1509 return null_handle_cmd(cmd, sector, nr_sectors, req_op(bd->rq)); in null_queue_rq()
H A Dloop.c463 req_op(rq) != REQ_OP_READ) { in lo_complete_rq()
600 switch (req_op(rq)) { in do_req_filebacked()
2009 switch (req_op(rq)) { in loop_queue_rq()
2036 const bool write = op_is_write(req_op(rq)); in loop_handle_cmd()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtd_blkdevs.c75 if (req_op(req) == REQ_OP_FLUSH) { in do_blktrans_request()
85 switch (req_op(req)) { in do_blktrans_request()
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dide-cd.c317 if (req_op(rq) == REQ_OP_WRITE) { in cdrom_decode_status()
667 switch (req_op(rq)) { in cdrom_newpc_intr()
745 switch (req_op(rq)) { in cdrom_newpc_intr()
889 switch (req_op(rq)) { in ide_cd_do_request()
H A Dide-floppy.c259 switch (req_op(rq)) { in ide_floppy_do_request()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dzns.c253 if (req_op(req) == REQ_OP_ZONE_RESET_ALL) in nvme_setup_zone_mgmt_send()
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Dpd.c487 switch (req_op(pd_req)) { in do_pd_io_start()
500 if (req_op(pd_req) == REQ_OP_READ) in do_pd_io_start()
/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddasd_fba.c569 if (req_op(req) == REQ_OP_DISCARD || req_op(req) == REQ_OP_WRITE_ZEROES) in dasd_fba_build_cp()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dpassthru.c205 bio->bi_opf = req_op(rq) | op_flags; in nvmet_passthru_map_sg()

12