/linux/include/linux/ |
A D | blk_types.h | 87 typedef u32 __bitwise blk_status_t; typedef 89 typedef u8 __bitwise blk_status_t; typedef 92 #define BLK_STS_NOTSUPP ((__force blk_status_t)1) 93 #define BLK_STS_TIMEOUT ((__force blk_status_t)2) 94 #define BLK_STS_NOSPC ((__force blk_status_t)3) 96 #define BLK_STS_TARGET ((__force blk_status_t)5) 97 #define BLK_STS_NEXUS ((__force blk_status_t)6) 98 #define BLK_STS_MEDIUM ((__force blk_status_t)7) 101 #define BLK_STS_IOERR ((__force blk_status_t)10) 106 #define BLK_STS_AGAIN ((__force blk_status_t)12) [all …]
|
A D | blk-mq.h | 18 typedef void (rq_end_io_fn)(struct request *, blk_status_t); 494 blk_status_t (*queue_rq)(struct blk_mq_hw_ctx *, 756 void blk_mq_end_request(struct request *rq, blk_status_t error); 757 void __blk_mq_end_request(struct request *rq, blk_status_t error); 900 blk_status_t blk_insert_cloned_request(struct request_queue *q, 922 blk_status_t blk_execute_rq(struct gendisk *bd_disk, struct request *rq, 1034 bool blk_update_request(struct request *rq, blk_status_t error,
|
/linux/block/ |
A D | t10-pi.c | 30 static blk_status_t t10_pi_generate(struct blk_integrity_iter *iter, in t10_pi_generate() 54 static blk_status_t t10_pi_verify(struct blk_integrity_iter *iter, in t10_pi_verify() 103 static blk_status_t t10_pi_type1_generate_crc(struct blk_integrity_iter *iter) in t10_pi_type1_generate_crc() 108 static blk_status_t t10_pi_type1_generate_ip(struct blk_integrity_iter *iter) in t10_pi_type1_generate_ip() 113 static blk_status_t t10_pi_type1_verify_crc(struct blk_integrity_iter *iter) in t10_pi_type1_verify_crc() 118 static blk_status_t t10_pi_type1_verify_ip(struct blk_integrity_iter *iter) in t10_pi_type1_verify_ip() 215 static blk_status_t t10_pi_type3_generate_crc(struct blk_integrity_iter *iter) in t10_pi_type3_generate_crc() 220 static blk_status_t t10_pi_type3_generate_ip(struct blk_integrity_iter *iter) in t10_pi_type3_generate_ip() 225 static blk_status_t t10_pi_type3_verify_crc(struct blk_integrity_iter *iter) in t10_pi_type3_verify_crc() 230 static blk_status_t t10_pi_type3_verify_ip(struct blk_integrity_iter *iter) in t10_pi_type3_verify_ip()
|
A D | blk-exec.c | 20 static void blk_end_sync_rq(struct request *rq, blk_status_t error) in blk_end_sync_rq() 96 blk_status_t blk_execute_rq(struct gendisk *bd_disk, struct request *rq, int at_head) in blk_execute_rq() 114 return (blk_status_t)(uintptr_t)rq->end_io_data; in blk_execute_rq()
|
A D | blk-crypto-internal.h | 130 blk_status_t __blk_crypto_init_request(struct request *rq); 131 static inline blk_status_t blk_crypto_init_request(struct request *rq) in blk_crypto_init_request() 172 static inline blk_status_t blk_crypto_insert_cloned_request(struct request *rq) in blk_crypto_insert_cloned_request()
|
A D | blk-core.c | 196 blk_status_t errno_to_blk_status(int errno) in errno_to_blk_status() 202 return (__force blk_status_t)i; in errno_to_blk_status() 209 int blk_status_to_errno(blk_status_t status) in blk_status_to_errno() 219 void blk_print_req_error(struct request *req, blk_status_t status) in blk_print_req_error() 689 static inline blk_status_t blk_check_zone_append(struct request_queue *q, in blk_check_zone_append() 725 blk_status_t status = BLK_STS_IOERR; in submit_bio_checks() 1110 static blk_status_t blk_cloned_rq_check_limits(struct request_queue *q, in blk_cloned_rq_check_limits() 1153 blk_status_t blk_insert_cloned_request(struct request_queue *q, struct request *rq) in blk_insert_cloned_request() 1155 blk_status_t ret; in blk_insert_cloned_request()
|
A D | blk-flush.c | 165 unsigned int seq, blk_status_t error) in blk_flush_complete_seq() 214 static void flush_end_io(struct request *flush_rq, blk_status_t error) in flush_end_io() 349 static void mq_flush_data_end_io(struct request *rq, blk_status_t error) in mq_flush_data_end_io()
|
A D | bio-integrity.c | 156 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process() 164 blk_status_t ret = BLK_STS_OK; in bio_integrity_process() 207 blk_status_t status; in bio_integrity_prep()
|
/linux/drivers/block/null_blk/ |
A D | zoned.c | 315 static blk_status_t null_check_open(struct nullb_device *dev) in null_check_open() 349 blk_status_t ret; in null_check_zone_resources() 372 blk_status_t ret; in null_zone_write() 457 static blk_status_t null_open_zone(struct nullb_device *dev, in null_open_zone() 460 blk_status_t ret = BLK_STS_OK; in null_open_zone() 500 static blk_status_t null_close_zone(struct nullb_device *dev, in null_close_zone() 503 blk_status_t ret; in null_close_zone() 518 blk_status_t ret = BLK_STS_OK; in null_finish_zone() 560 static blk_status_t null_reset_zone(struct nullb_device *dev, in null_reset_zone() 606 blk_status_t ret; in null_zone_mgmt() [all …]
|
A D | null_blk.h | 22 blk_status_t error; 128 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector, 130 blk_status_t null_process_cmd(struct nullb_cmd *cmd, 140 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, 157 static inline blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, in null_process_zoned_cmd()
|
/linux/drivers/md/ |
A D | dm-rq.c | 22 blk_status_t error; 84 blk_status_t error = clone->bi_status; in end_clone_bio() 156 static void dm_end_request(struct request *clone, blk_status_t error) in dm_end_request() 203 static void dm_done(struct request *clone, blk_status_t error, bool mapped) in dm_done() 278 static void dm_complete_request(struct request *rq, blk_status_t error) in dm_complete_request() 293 static void dm_kill_unmapped_request(struct request *rq, blk_status_t error) in dm_kill_unmapped_request() 299 static void end_clone_request(struct request *clone, blk_status_t error) in end_clone_request() 306 static blk_status_t dm_dispatch_clone_request(struct request *clone, struct request *rq) in dm_dispatch_clone_request() 308 blk_status_t r; in dm_dispatch_clone_request() 384 blk_status_t ret; in map_request() [all …]
|
A D | dm-core.h | 229 blk_status_t status; 244 void dm_io_dec_pending(struct dm_io *io, blk_status_t error);
|
/linux/fs/btrfs/ |
A D | disk-io.h | 84 blk_status_t btrfs_submit_metadata_bio(struct inode *inode, struct bio *bio, 112 blk_status_t btrfs_bio_wq_end_io(struct btrfs_fs_info *info, struct bio *bio, 114 blk_status_t btrfs_wq_submit_bio(struct inode *inode, struct bio *bio, 118 blk_status_t btrfs_submit_bio_done(void *private_data, struct bio *bio,
|
A D | compression.h | 92 blk_status_t btrfs_submit_compressed_write(struct btrfs_inode *inode, u64 start, 99 blk_status_t btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
|
/linux/drivers/scsi/ |
A D | sd.h | 223 blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, 230 blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, sector_t *lba, 248 static inline blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, in sd_zbc_setup_zone_mgmt_cmnd() 261 static inline blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, in sd_zbc_prepare_zone_append()
|
A D | sd_zbc.c | 244 static blk_status_t sd_zbc_cmnd_checks(struct scsi_cmnd *cmd) in sd_zbc_cmnd_checks() 321 blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, sector_t *lba, in sd_zbc_prepare_zone_append() 328 blk_status_t ret; in sd_zbc_prepare_zone_append() 386 blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, in sd_zbc_setup_zone_mgmt_cmnd() 393 blk_status_t ret; in sd_zbc_setup_zone_mgmt_cmnd()
|
A D | scsi_lib.c | 656 blk_status_t blk_stat; in scsi_io_completion_action() 820 blk_status_t *blk_statp) in scsi_io_completion_nz_result() 914 blk_status_t blk_stat = BLK_STS_OK; in scsi_io_completion() 981 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd) in scsi_alloc_sgtables() 987 blk_status_t ret; in scsi_alloc_sgtables() 1178 blk_status_t ret = scsi_alloc_sgtables(cmd); in scsi_setup_scsi_cmnd() 1194 static blk_status_t 1543 static blk_status_t scsi_prepare_cmd(struct request *req) in scsi_prepare_cmd() 1576 blk_status_t ret = sdev->handler->prep_fn(sdev, req); in scsi_prepare_cmd() 1659 static blk_status_t scsi_queue_rq(struct blk_mq_hw_ctx *hctx, in scsi_queue_rq() [all …]
|
/linux/drivers/nvdimm/ |
A D | pmem.c | 72 static blk_status_t pmem_clear_poison(struct pmem_device *pmem, in pmem_clear_poison() 78 blk_status_t rc = BLK_STS_OK; in pmem_clear_poison() 119 static blk_status_t read_pmem(struct page *page, unsigned int off, in read_pmem() 141 static blk_status_t pmem_do_read(struct pmem_device *pmem, in pmem_do_read() 145 blk_status_t rc; in pmem_do_read() 157 static blk_status_t pmem_do_write(struct pmem_device *pmem, in pmem_do_write() 161 blk_status_t rc = BLK_STS_OK; in pmem_do_write() 196 blk_status_t rc = 0; in pmem_submit_bio() 238 blk_status_t rc; in pmem_rw_page()
|
/linux/drivers/md/bcache/ |
A D | io.c | 82 blk_status_t error, in bch_count_io_errors() 137 blk_status_t error, const char *m) in bch_bbio_count_io_errors() 167 blk_status_t error, const char *m) in bch_bbio_endio()
|
/linux/drivers/s390/block/ |
A D | scm_blk.h | 36 blk_status_t error; 44 void scm_blk_irq(struct scm_device *, void *, blk_status_t);
|
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() 455 bdev->tag_set.cmd_size = sizeof(blk_status_t); in scm_blk_dev_setup()
|
/linux/drivers/block/ |
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()
|
/linux/arch/s390/include/asm/ |
A D | eadm.h | 111 blk_status_t error); 118 void scm_irq_handler(struct aob *aob, blk_status_t error);
|
/linux/drivers/nvme/host/ |
A D | nvme.h | 658 blk_status_t nvme_host_path_error(struct request *req); 699 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); 700 blk_status_t nvme_fail_nonready_command(struct nvme_ctrl *ctrl, 870 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, 874 static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, in nvme_setup_zone_mgmt_send()
|
/linux/include/scsi/ |
A D | scsi_driver.h | 17 blk_status_t (*init_command)(struct scsi_cmnd *);
|