/linux/include/linux/ |
H A D | blk_types.h | 96 typedef u8 __bitwise blk_status_t; typedef 99 #define BLK_STS_NOTSUPP ((__force blk_status_t)1) 100 #define BLK_STS_TIMEOUT ((__force blk_status_t)2) 101 #define BLK_STS_NOSPC ((__force blk_status_t)3) 102 #define BLK_STS_TRANSPORT ((__force blk_status_t)4) 103 #define BLK_STS_TARGET ((__force blk_status_t)5) 104 #define BLK_STS_RESV_CONFLICT ((__force blk_status_t)6) 105 #define BLK_STS_MEDIUM ((__force blk_status_t)7) 106 #define BLK_STS_PROTECTION ((__force blk_status_t)8) 107 #define BLK_STS_RESOURCE ((__force blk_status_t)9) [all …]
|
H A D | blk-mq.h | 24 typedef enum rq_end_io_ret (rq_end_io_fn)(struct request *, blk_status_t); 560 blk_status_t (*queue_rq)(struct blk_mq_hw_ctx *, 848 void blk_mq_end_request(struct request *rq, blk_status_t error); 849 void __blk_mq_end_request(struct request *rq, blk_status_t error); 1001 blk_status_t blk_insert_cloned_request(struct request *rq); 1023 blk_status_t blk_execute_rq(struct request *rq, bool at_head); 1132 bool blk_update_request(struct request *rq, blk_status_t error,
|
/linux/drivers/block/null_blk/ |
H A D | null_blk.h | 19 blk_status_t error; 129 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector, 131 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op, 140 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, enum req_op op, 158 static inline blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, in null_process_zoned_cmd()
|
/linux/drivers/md/ |
H A D | dm-rq.c | 23 blk_status_t error; 84 blk_status_t error = clone->bi_status; in end_clone_bio() 157 static void dm_end_request(struct request *clone, blk_status_t error) in dm_end_request() 204 static void dm_done(struct request *clone, blk_status_t error, bool mapped) in dm_done() 276 static void dm_complete_request(struct request *rq, blk_status_t error) in dm_complete_request() 291 static void dm_kill_unmapped_request(struct request *rq, blk_status_t error) in dm_kill_unmapped_request() 298 blk_status_t error) in end_clone_request() 369 blk_status_t ret; in map_request() 477 static blk_status_t dm_mq_queue_rq(struct blk_mq_hw_ctx *hctx, in dm_mq_queue_rq()
|
/linux/fs/btrfs/ |
H A D | file-item.h | 54 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio); 65 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio); 66 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio);
|
H A D | bio.h | 83 blk_status_t status; 105 void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status);
|
H A D | bio.c | 120 void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status) in btrfs_bio_end_io() 273 blk_status_t status = bbio->bio.bi_status; in btrfs_check_read_bio() 515 static blk_status_t btrfs_bio_csum(struct btrfs_bio *bbio) in btrfs_bio_csum() 546 blk_status_t ret; in run_one_async_start() 677 blk_status_t ret; in btrfs_submit_chunk()
|
/linux/block/ |
H A D | blk-crypto-internal.h | 73 blk_status_t blk_crypto_get_keyslot(struct blk_crypto_profile *profile, 166 blk_status_t __blk_crypto_rq_get_keyslot(struct request *rq); 167 static inline blk_status_t blk_crypto_rq_get_keyslot(struct request *rq) in blk_crypto_rq_get_keyslot()
|
H A D | blk-core.c | 169 blk_status_t errno_to_blk_status(int errno) in errno_to_blk_status() 175 return (__force blk_status_t)i; in errno_to_blk_status() 182 int blk_status_to_errno(blk_status_t status) in blk_status_to_errno() 192 const char *blk_status_to_str(blk_status_t status) in blk_status_to_str() 588 static inline blk_status_t blk_check_zone_append(struct request_queue *q, in blk_check_zone_append() 744 static blk_status_t blk_validate_atomic_write_op_size(struct request_queue *q, in blk_validate_atomic_write_op_size() 769 blk_status_t status = BLK_STS_IOERR; in submit_bio_noacct()
|
H A D | blk-flush.c | 150 unsigned int seq, blk_status_t error) in blk_flush_complete_seq() 202 blk_status_t error) in flush_end_io() 338 blk_status_t error) in mq_flush_data_end_io()
|
/linux/drivers/md/bcache/ |
H A D | io.c | 83 blk_status_t error, in bch_count_io_errors() 138 blk_status_t error, const char *m) in bch_bbio_count_io_errors() 168 blk_status_t error, const char *m) in bch_bbio_endio()
|
H A D | request.h | 14 blk_status_t status;
|
/linux/drivers/s390/block/ |
H A D | scm_blk.h | 35 blk_status_t error; 43 void scm_blk_irq(struct scm_device *, void *, blk_status_t);
|
H A D | scm_blk.c | 253 blk_status_t *error; in scm_request_finish() 283 static blk_status_t scm_blk_request(struct blk_mq_hw_ctx *hctx, in scm_blk_request() 402 void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error) in scm_blk_irq() 420 blk_status_t *error = blk_mq_rq_to_pdu(req); in scm_blk_request_done() 461 bdev->tag_set.cmd_size = sizeof(blk_status_t); in scm_blk_dev_setup()
|
/linux/drivers/block/ |
H A D | ps3disk.c | 95 static blk_status_t ps3disk_submit_request_sg(struct ps3_storage_device *dev, in ps3disk_submit_request_sg() 142 static blk_status_t ps3disk_submit_flush_request(struct ps3_storage_device *dev, in ps3disk_submit_flush_request() 163 static blk_status_t ps3disk_do_request(struct ps3_storage_device *dev, in ps3disk_do_request() 180 static blk_status_t ps3disk_queue_rq(struct blk_mq_hw_ctx *hctx, in ps3disk_queue_rq() 186 blk_status_t ret; in ps3disk_queue_rq() 203 blk_status_t error; in ps3disk_interrupt()
|
H A D | virtio_blk.c | 114 static inline blk_status_t virtblk_result(u8 status) in virtblk_result() 239 static blk_status_t virtblk_setup_cmd(struct virtio_device *vdev, in virtblk_setup_cmd() 338 blk_status_t status = virtblk_result(virtblk_vbr_status(vbr)); in virtblk_request_done() 392 static blk_status_t virtblk_fail_to_queue(struct request *req, int rc) in virtblk_fail_to_queue() 405 static blk_status_t virtblk_prep_rq(struct blk_mq_hw_ctx *hctx, in virtblk_prep_rq() 410 blk_status_t status; in virtblk_prep_rq() 427 static blk_status_t virtio_queue_rq(struct blk_mq_hw_ctx *hctx, in virtio_queue_rq() 436 blk_status_t status; in virtio_queue_rq()
|
/linux/arch/s390/include/asm/ |
H A D | eadm.h | 112 blk_status_t error); 119 void scm_irq_handler(struct aob *aob, blk_status_t error);
|
/linux/drivers/scsi/ |
H A D | sd.h | 238 blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, 258 static inline blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, in sd_zbc_setup_zone_mgmt_cmnd()
|
H A D | scsi_lib.c | 624 static bool scsi_end_request(struct request *req, blk_status_t error, in scsi_end_request() 678 static blk_status_t scsi_result_to_blk_status(int result) in scsi_result_to_blk_status() 787 blk_status_t blk_stat; in scsi_io_completion_action() 957 blk_status_t *blk_statp) in scsi_io_completion_nz_result() 1049 blk_status_t blk_stat = BLK_STS_OK; in scsi_io_completion() 1109 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd) in scsi_alloc_sgtables() 1115 blk_status_t ret; in scsi_alloc_sgtables() 1256 static blk_status_t scsi_setup_scsi_cmnd(struct scsi_device *sdev, in scsi_setup_scsi_cmnd() 1268 blk_status_t ret = scsi_alloc_sgtables(cmd); in scsi_setup_scsi_cmnd() 1281 static blk_status_t [all …]
|
/linux/fs/jfs/ |
H A D | jfs_metapage.c | 79 blk_status_t status; 142 static inline void dec_io(struct folio *folio, blk_status_t status, in dec_io() argument 143 void (*handler)(struct folio *, blk_status_t)) in dec_io() 266 static void last_read_complete(struct folio *folio, blk_status_t status) in last_read_complete() 305 static void last_write_complete(struct folio *folio, blk_status_t status) in last_write_complete()
|
/linux/include/scsi/ |
H A D | scsi_driver.h | 17 blk_status_t (*init_command)(struct scsi_cmnd *);
|
H A D | scsi_dh.h | 60 blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
|
/linux/fs/bcachefs/ |
H A D | errcode.c | 66 const char *bch2_blk_status_to_str(blk_status_t status) in bch2_blk_status_to_str()
|
/linux/drivers/nvme/host/ |
H A D | nvme.h | 791 blk_status_t nvme_host_path_error(struct request *req); 839 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); 840 blk_status_t nvme_fail_nonready_command(struct nvme_ctrl *ctrl, 1088 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, 1092 static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, in nvme_setup_zone_mgmt_send()
|
/linux/drivers/mtd/ |
H A D | mtd_blkdevs.c | 45 static blk_status_t do_blktrans_request(struct mtd_blktrans_ops *tr, in do_blktrans_request() 129 blk_status_t res; in mtd_blktrans_work() 166 static blk_status_t mtd_queue_rq(struct blk_mq_hw_ctx *hctx, in mtd_queue_rq()
|