Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dio-cmd-file.c116 status = errno_to_nvme_status(req, ret); in nvmet_file_io_done()
136 nvmet_req_complete(req, errno_to_nvme_status(req, -ENOSPC)); in nvmet_file_execute_io()
255 return errno_to_nvme_status(req, vfs_fsync(req->ns->file, 1)); in nvmet_file_flush()
293 status = errno_to_nvme_status(req, -ENOSPC); in nvmet_file_execute_discard()
300 status = errno_to_nvme_status(req, ret); in nvmet_file_execute_discard()
347 nvmet_req_complete(req, errno_to_nvme_status(req, -ENOSPC)); in nvmet_file_write_zeroes_work()
352 nvmet_req_complete(req, ret < 0 ? errno_to_nvme_status(req, ret) : 0); in nvmet_file_write_zeroes_work()
Dio-cmd-bdev.c373 return errno_to_nvme_status(req, ret); in nvmet_bdev_discard_range()
448 nvmet_req_complete(req, errno_to_nvme_status(req, ret)); in nvmet_bdev_execute_write_zeroes()
Dnvmet.h658 u16 errno_to_nvme_status(struct nvmet_req *req, int errno);
Dcore.c51 inline u16 errno_to_nvme_status(struct nvmet_req *req, int errno) in errno_to_nvme_status() function