Lines Matching refs:vhost_scsi_cmd
69 struct vhost_scsi_cmd { struct
472 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd()
473 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_release_cmd()
532 static void vhost_scsi_complete_cmd(struct vhost_scsi_cmd *cmd) in vhost_scsi_complete_cmd()
543 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_data_in()
544 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_queue_data_in()
551 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_status()
552 struct vhost_scsi_cmd, tvc_se_cmd); in vhost_scsi_queue_status()
599 static void vhost_scsi_free_cmd(struct vhost_scsi_cmd *cmd) in vhost_scsi_free_cmd()
693 struct vhost_scsi_cmd *cmd; in vhost_scsi_complete_cmd_work()
702 cmd = llist_entry(llnode, struct vhost_scsi_cmd, in vhost_scsi_complete_cmd_work()
740 static struct vhost_scsi_cmd *
745 struct vhost_scsi_cmd *cmd; in vhost_scsi_get_tag()
765 cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[tag]; in vhost_scsi_get_tag()
769 memset(cmd, 0, sizeof(struct vhost_scsi_cmd)); in vhost_scsi_get_tag()
794 vhost_scsi_map_to_sgl(struct vhost_scsi_cmd *cmd, in vhost_scsi_map_to_sgl()
860 vhost_scsi_iov_to_sgl(struct vhost_scsi_cmd *cmd, bool write, in vhost_scsi_iov_to_sgl()
887 vhost_scsi_mapal(struct vhost_scsi_cmd *cmd, in vhost_scsi_mapal()
951 struct vhost_scsi_cmd *cmd = in vhost_scsi_submission_work()
952 container_of(work, struct vhost_scsi_cmd, work); in vhost_scsi_submission_work()
1010 struct vhost_scsi_cmd *cmd; in vhost_scsi_handle_vq()
1872 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_free_cmd_map_res()
1879 tv_cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[i]; in vhost_scsi_free_cmd_map_res()
1932 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_make_nexus()
1955 sizeof(struct vhost_scsi_cmd), in vhost_scsi_make_nexus()
1964 tv_cmd = &((struct vhost_scsi_cmd *)se_sess->sess_cmd_map)[i]; in vhost_scsi_make_nexus()