Lines Matching refs:vhost_scsi_cmd
68 struct vhost_scsi_cmd { struct
318 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd()
319 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_release_cmd()
373 static void vhost_scsi_complete_cmd(struct vhost_scsi_cmd *cmd) in vhost_scsi_complete_cmd()
384 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_data_in()
385 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_queue_data_in()
392 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_status()
393 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_queue_status()
440 static void vhost_scsi_free_cmd(struct vhost_scsi_cmd *cmd) in vhost_scsi_free_cmd()
534 struct vhost_scsi_cmd *cmd; in vhost_scsi_complete_cmd_work()
543 cmd = llist_entry(llnode, struct vhost_scsi_cmd, in vhost_scsi_complete_cmd_work()
581 static struct vhost_scsi_cmd *
586 struct vhost_scsi_cmd *cmd; in vhost_scsi_get_tag()
606 cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[tag]; in vhost_scsi_get_tag()
610 memset(cmd, 0, sizeof(struct vhost_scsi_cmd)); in vhost_scsi_get_tag()
635 vhost_scsi_map_to_sgl(struct vhost_scsi_cmd *cmd, in vhost_scsi_map_to_sgl()
701 vhost_scsi_iov_to_sgl(struct vhost_scsi_cmd *cmd, bool write, in vhost_scsi_iov_to_sgl()
728 vhost_scsi_mapal(struct vhost_scsi_cmd *cmd, in vhost_scsi_mapal()
792 struct vhost_scsi_cmd *cmd = in vhost_scsi_submission_work()
793 container_of(work, struct vhost_scsi_cmd, work); in vhost_scsi_submission_work()
852 struct vhost_scsi_cmd *cmd; in vhost_scsi_handle_vq()
1670 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_free_cmd_map_res()
1677 tv_cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[i]; in vhost_scsi_free_cmd_map_res()
1730 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_make_nexus()
1753 sizeof(struct vhost_scsi_cmd), in vhost_scsi_make_nexus()
1762 tv_cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[i]; in vhost_scsi_make_nexus()