Lines Matching defs:host
35 * ioctl_probe -- return host identification
36 * @host: host to identify
42 static int ioctl_probe(struct Scsi_Host *host, void __user *buffer)
51 if (host->hostt->info)
52 string = host->hostt->info(host);
54 string = host->hostt->name;
68 * The SCSI_IOCTL_SEND_COMMAND ioctl sends a command out to the SCSI host.
177 struct device *dev = scsi_get_device(sdev->host);
219 + ((sdev->host->host_no & 0xff) << 24),
220 .host_unique_id = sdev->host->unique_id
227 return put_user(sdev->host->host_no, (int __user *)arg);
229 return ioctl_probe(sdev->host, arg);
280 if (sdev->host->hostt->ioctl)
281 return sdev->host->hostt->ioctl(sdev, cmd, arg);
295 if (sdev->host->hostt->compat_ioctl)
296 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg);
310 if (scsi_host_in_recovery(sdev->host))