Lines Matching refs:hostt
343 if (shost->hostt->cmd_size) in scsi_find_host_cmd_pool()
344 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool()
361 struct scsi_host_template *hostt = shost->hostt; in scsi_alloc_host_cmd_pool() local
368 pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); in scsi_alloc_host_cmd_pool()
369 pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); in scsi_alloc_host_cmd_pool()
381 if (hostt->cmd_size) in scsi_alloc_host_cmd_pool()
382 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool()
390 struct scsi_host_template *hostt = shost->hostt; in scsi_get_host_cmd_pool() local
392 size_t cmd_size = sizeof(struct scsi_cmnd) + hostt->cmd_size; in scsi_get_host_cmd_pool()
428 if (hostt->cmd_size) { in scsi_get_host_cmd_pool()
430 hostt->cmd_pool = NULL; in scsi_get_host_cmd_pool()
437 struct scsi_host_template *hostt = shost->hostt; in scsi_put_host_cmd_pool() local
453 if (hostt->cmd_size) { in scsi_put_host_cmd_pool()
455 hostt->cmd_pool = NULL; in scsi_put_host_cmd_pool()
985 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
1006 module_put(sdev->host->hostt->module); in scsi_device_put()