Lines Matching refs:scsi_tgt_cmd
43 struct scsi_tgt_cmd { struct
84 struct scsi_tgt_cmd *tcmd; in scsi_host_get_command()
149 struct scsi_tgt_cmd *tcmd = rq->end_io_data; in scsi_host_put_command()
167 struct scsi_tgt_cmd *tcmd = cmd->request->end_io_data; in cmd_hashlist_del()
174 static void scsi_unmap_user_pages(struct scsi_tgt_cmd *tcmd) in scsi_unmap_user_pages()
181 struct scsi_tgt_cmd *tcmd = in scsi_tgt_cmd_destroy()
182 container_of(work, struct scsi_tgt_cmd, work); in scsi_tgt_cmd_destroy()
192 static void init_scsi_tgt_cmd(struct request *rq, struct scsi_tgt_cmd *tcmd, in init_scsi_tgt_cmd()
271 struct scsi_tgt_cmd *tcmd, *n; in scsi_tgt_free_queue()
287 tcmd = list_entry(cmds.next, struct scsi_tgt_cmd, hash_list); in scsi_tgt_free_queue()
313 struct scsi_tgt_cmd *tcmd = cmd->request->end_io_data; in scsi_tgt_queue_command()
331 struct scsi_tgt_cmd *tcmd = cmd->request->end_io_data; in scsi_tgt_cmd_done()
359 static int scsi_map_user_pages(struct scsi_tgt_cmd *tcmd, struct scsi_cmnd *cmd, in scsi_map_user_pages()
416 struct scsi_tgt_cmd *tcmd; in scsi_tgt_abort_cmd()
433 struct scsi_tgt_cmd *tcmd; in tgt_cmd_hash_lookup()
457 struct scsi_tgt_cmd *tcmd; in scsi_tgt_kspace_exec()
628 scsi_tgt_cmd_cache = KMEM_CACHE(scsi_tgt_cmd, 0); in scsi_tgt_init()