Home
last modified time | relevance | path

Searched refs:blk_status_t (Results 1 – 25 of 98) sorted by relevance

1234

/drivers/block/null_blk/
Dzoned.c251 static blk_status_t __null_close_zone(struct nullb_device *dev, in __null_close_zone()
303 static blk_status_t null_check_active(struct nullb_device *dev) in null_check_active()
315 static blk_status_t null_check_open(struct nullb_device *dev) in null_check_open()
346 static blk_status_t null_check_zone_resources(struct nullb_device *dev, in null_check_zone_resources()
349 blk_status_t ret; in null_check_zone_resources()
366 static blk_status_t null_zone_write(struct nullb_cmd *cmd, sector_t sector, in null_zone_write()
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()
[all …]
Dnull_blk.h22 blk_status_t error;
122 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector,
124 blk_status_t null_process_cmd(struct nullb_cmd *cmd,
134 blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd,
151 static inline blk_status_t null_process_zoned_cmd(struct nullb_cmd *cmd, in null_process_zoned_cmd()
Dmain.c1089 blk_status_t null_handle_discard(struct nullb_device *dev, in null_handle_discard()
1230 static inline blk_status_t null_handle_throttled(struct nullb_cmd *cmd) in null_handle_throttled()
1234 blk_status_t sts = BLK_STS_OK; in null_handle_throttled()
1251 static inline blk_status_t null_handle_badblocks(struct nullb_cmd *cmd, in null_handle_badblocks()
1265 static inline blk_status_t null_handle_memory_backed(struct nullb_cmd *cmd, in null_handle_memory_backed()
1336 blk_status_t null_process_cmd(struct nullb_cmd *cmd, in null_process_cmd()
1341 blk_status_t ret; in null_process_cmd()
1355 static blk_status_t null_handle_cmd(struct nullb_cmd *cmd, sector_t sector, in null_handle_cmd()
1360 blk_status_t sts; in null_handle_cmd()
1476 static blk_status_t null_queue_rq(struct blk_mq_hw_ctx *hctx, in null_queue_rq()
/drivers/md/
Ddm-rq.c23 blk_status_t error;
85 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()
279 static void dm_complete_request(struct request *rq, blk_status_t error) in dm_complete_request()
294 static void dm_kill_unmapped_request(struct request *rq, blk_status_t error) in dm_kill_unmapped_request()
300 static void end_clone_request(struct request *clone, blk_status_t error) in end_clone_request()
307 static blk_status_t dm_dispatch_clone_request(struct request *clone, struct request *rq) in dm_dispatch_clone_request()
309 blk_status_t r; in dm_dispatch_clone_request()
385 blk_status_t ret; in map_request()
[all …]
Ddm-core.h233 blk_status_t status;
248 void dm_io_dec_pending(struct dm_io *io, blk_status_t error);
Ddm-bio-prison-v1.h94 struct dm_bio_prison_cell *cell, blk_status_t error);
Ddm-bufio.c146 blk_status_t read_error;
147 blk_status_t write_error;
158 void (*end_io)(struct dm_buffer *, blk_status_t);
616 blk_status_t status = bio->bi_status; in bio_complete()
679 void (*end_io)(struct dm_buffer *, blk_status_t)) in submit_io() argument
723 static void write_endio(struct dm_buffer *b, blk_status_t status) in write_endio()
1061 static void read_endio(struct dm_buffer *b, blk_status_t status) in read_endio()
Ddm-zone.c428 static blk_status_t dm_zone_map_bio_end(struct mapped_device *md, in dm_zone_map_bio_end()
529 blk_status_t sts; in dm_zone_map_bio()
/drivers/nvdimm/
Dpmem.c72 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()
239 blk_status_t rc; in pmem_rw_page()
/drivers/scsi/
Dsd.h225 blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd,
232 blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, sector_t *lba,
250 static inline blk_status_t sd_zbc_setup_zone_mgmt_cmnd(struct scsi_cmnd *cmd, in sd_zbc_setup_zone_mgmt_cmnd()
263 static inline blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, in sd_zbc_prepare_zone_append()
Dsd_zbc.c244 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()
Dscsi_lib.c537 static bool scsi_end_request(struct request *req, blk_status_t error, in scsi_end_request()
594 static blk_status_t scsi_result_to_blk_status(struct scsi_cmnd *cmd, int result) in scsi_result_to_blk_status()
657 blk_status_t blk_stat; in scsi_io_completion_action()
821 blk_status_t *blk_statp) in scsi_io_completion_nz_result()
915 blk_status_t blk_stat = BLK_STS_OK; in scsi_io_completion()
982 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd) in scsi_alloc_sgtables()
988 blk_status_t ret; in scsi_alloc_sgtables()
1158 static blk_status_t scsi_setup_scsi_cmnd(struct scsi_device *sdev, in scsi_setup_scsi_cmnd()
1170 blk_status_t ret = scsi_alloc_sgtables(cmd); in scsi_setup_scsi_cmnd()
1186 static blk_status_t
[all …]
Dsd.c116 static blk_status_t sd_init_command(struct scsi_cmnd *SCpnt);
871 static blk_status_t sd_setup_unmap_cmnd(struct scsi_cmnd *cmd) in sd_setup_unmap_cmnd()
906 static blk_status_t sd_setup_write_same16_cmnd(struct scsi_cmnd *cmd, in sd_setup_write_same16_cmnd()
938 static blk_status_t sd_setup_write_same10_cmnd(struct scsi_cmnd *cmd, in sd_setup_write_same10_cmnd()
970 static blk_status_t sd_setup_write_zeroes_cmnd(struct scsi_cmnd *cmd) in sd_setup_write_zeroes_cmnd()
1067 static blk_status_t sd_setup_write_same_cmnd(struct scsi_cmnd *cmd) in sd_setup_write_same_cmnd()
1076 blk_status_t ret; in sd_setup_write_same_cmnd()
1117 static blk_status_t sd_setup_flush_cmnd(struct scsi_cmnd *cmd) in sd_setup_flush_cmnd()
1134 static blk_status_t sd_setup_rw32_cmnd(struct scsi_cmnd *cmd, bool write, in sd_setup_rw32_cmnd()
1156 static blk_status_t sd_setup_rw16_cmnd(struct scsi_cmnd *cmd, bool write, in sd_setup_rw16_cmnd()
[all …]
/drivers/md/bcache/
Dio.c82 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()
Drequest.h14 blk_status_t status;
Dbcache.h961 void bch_count_io_errors(struct cache *ca, blk_status_t error,
964 blk_status_t error, const char *m);
966 blk_status_t error, const char *m);
/drivers/s390/block/
Dscm_blk.h36 blk_status_t error;
44 void scm_blk_irq(struct scm_device *, void *, blk_status_t);
Dscm_blk.c254 blk_status_t *error; in scm_request_finish()
284 static blk_status_t scm_blk_request(struct blk_mq_hw_ctx *hctx, in scm_blk_request()
403 void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error) in scm_blk_irq()
421 blk_status_t *error = blk_mq_rq_to_pdu(req); in scm_blk_request_done()
456 bdev->tag_set.cmd_size = sizeof(blk_status_t); in scm_blk_dev_setup()
/drivers/block/
Dps3disk.c95 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()
/drivers/nvme/host/
Dnvme.h674 blk_status_t nvme_host_path_error(struct request *req);
712 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
713 blk_status_t nvme_fail_nonready_command(struct nvme_ctrl *ctrl,
905 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
909 static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, in nvme_setup_zone_mgmt_send()
Dpci.c613 static blk_status_t nvme_pci_setup_prps(struct nvme_dev *dev, in nvme_pci_setup_prps()
726 static blk_status_t nvme_pci_setup_sgls(struct nvme_dev *dev, in nvme_pci_setup_sgls()
788 static blk_status_t nvme_setup_prp_simple(struct nvme_dev *dev, in nvme_setup_prp_simple()
809 static blk_status_t nvme_setup_sgl_simple(struct nvme_dev *dev, in nvme_setup_sgl_simple()
827 static blk_status_t nvme_map_data(struct nvme_dev *dev, struct request *req, in nvme_map_data()
831 blk_status_t ret = BLK_STS_RESOURCE; in nvme_map_data()
884 static blk_status_t nvme_map_metadata(struct nvme_dev *dev, struct request *req, in nvme_map_metadata()
900 static blk_status_t nvme_queue_rq(struct blk_mq_hw_ctx *hctx, in nvme_queue_rq()
909 blk_status_t ret; in nvme_queue_rq()
1186 static void abort_endio(struct request *req, blk_status_t error) in abort_endio()
[all …]
/drivers/mtd/
Dmtd_blkdevs.c45 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()
165 static blk_status_t mtd_queue_rq(struct blk_mq_hw_ctx *hctx, in mtd_queue_rq()
/drivers/block/paride/
Dpf.c209 static blk_status_t pf_queue_rq(struct blk_mq_hw_ctx *hctx,
824 static void pf_end_request(blk_status_t err) in pf_end_request()
868 static blk_status_t pf_queue_rq(struct blk_mq_hw_ctx *hctx, in pf_queue_rq()
903 static inline void next_request(blk_status_t err) in next_request()
Dpcd.c187 static blk_status_t pcd_queue_rq(struct blk_mq_hw_ctx *hctx,
704 static blk_status_t pcd_queue_rq(struct blk_mq_hw_ctx *hctx, in pcd_queue_rq()
722 static inline void next_request(blk_status_t err) in next_request()
/drivers/cdrom/
Dgdrom.c571 static blk_status_t gdrom_readdisk_dma(struct request *req) in gdrom_readdisk_dma()
574 blk_status_t err; in gdrom_readdisk_dma()
635 static blk_status_t gdrom_queue_rq(struct blk_mq_hw_ctx *hctx, in gdrom_queue_rq()

1234