Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dcore.c715 struct nvme_error_slot *new_error_slot; in nvmet_set_error() local
725 new_error_slot = in nvmet_set_error()
728 new_error_slot->error_count = cpu_to_le64(ctrl->err_counter); in nvmet_set_error()
729 new_error_slot->sqid = cpu_to_le16(req->sq->qid); in nvmet_set_error()
730 new_error_slot->cmdid = cpu_to_le16(req->cmd->common.command_id); in nvmet_set_error()
731 new_error_slot->status_field = cpu_to_le16(status << 1); in nvmet_set_error()
732 new_error_slot->param_error_location = cpu_to_le16(req->error_loc); in nvmet_set_error()
733 new_error_slot->lba = cpu_to_le64(req->error_slba); in nvmet_set_error()
734 new_error_slot->nsid = req->cmd->common.nsid; in nvmet_set_error()