Home
last modified time | relevance | path

Searched refs:errno_to_nvme_status (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dio-cmd-file.c123 status = errno_to_nvme_status(req, ret); in nvmet_file_io_done()
143 nvmet_req_complete(req, errno_to_nvme_status(req, -ENOSPC)); in nvmet_file_execute_io()
261 return errno_to_nvme_status(req, vfs_fsync(req->ns->file, 1)); in nvmet_file_flush()
299 status = errno_to_nvme_status(req, -ENOSPC); in nvmet_file_execute_discard()
306 status = errno_to_nvme_status(req, ret); in nvmet_file_execute_discard()
353 nvmet_req_complete(req, errno_to_nvme_status(req, -ENOSPC)); in nvmet_file_write_zeroes_work()
358 nvmet_req_complete(req, ret < 0 ? errno_to_nvme_status(req, ret) : 0); in nvmet_file_write_zeroes_work()
Dio-cmd-bdev.c374 return errno_to_nvme_status(req, ret); in nvmet_bdev_discard_range()
449 nvmet_req_complete(req, errno_to_nvme_status(req, ret)); in nvmet_bdev_execute_write_zeroes()
Dnvmet.h655 u16 errno_to_nvme_status(struct nvmet_req *req, int errno);
Dcore.c49 inline u16 errno_to_nvme_status(struct nvmet_req *req, int errno) in errno_to_nvme_status() function