Lines Matching refs:hostt
297 if (shost->hostt->cmd_size) in scsi_find_host_cmd_pool()
298 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool()
315 struct scsi_host_template *hostt = shost->hostt; in scsi_alloc_host_cmd_pool() local
322 pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); in scsi_alloc_host_cmd_pool()
323 pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); in scsi_alloc_host_cmd_pool()
335 if (hostt->cmd_size) in scsi_alloc_host_cmd_pool()
336 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool()
344 struct scsi_host_template *hostt = shost->hostt; in scsi_get_host_cmd_pool() local
346 size_t cmd_size = sizeof(struct scsi_cmnd) + hostt->cmd_size; in scsi_get_host_cmd_pool()
382 if (hostt->cmd_size) { in scsi_get_host_cmd_pool()
384 hostt->cmd_pool = NULL; in scsi_get_host_cmd_pool()
391 struct scsi_host_template *hostt = shost->hostt; in scsi_put_host_cmd_pool() local
407 if (hostt->cmd_size) { in scsi_put_host_cmd_pool()
409 hostt->cmd_pool = NULL; in scsi_put_host_cmd_pool()
918 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
939 module_put(sdev->host->hostt->module); in scsi_device_put()