Lines Matching defs:host
51 * struct scsi_proc_entry - (host template, SCSI proc dir) association
53 * @sht: SCSI host template associated with the procfs directory.
54 * @proc_dir: procfs directory associated with the SCSI host template.
128 * scsi_template_proc_dir() - returns the procfs dir for a SCSI host template
129 * @sht: SCSI host template pointer.
149 * scsi_proc_hostdir_add - Create directory in /proc for a scsi host
193 * scsi_proc_hostdir_rm - remove directory in /proc for a scsi host
215 * scsi_proc_host_add - Add entry for this host to appropriate /proc dir
216 * @shost: host to add
241 "%s: Failed to register host (%s failed)\n", __func__,
246 * scsi_proc_host_rm - remove this host's entry from /proc
247 * @shost: which host
266 * proc_print_scsidevice - return data about this host
285 sdev->host->host_no, sdev->channel, sdev->id, sdev->lun);
325 * @host: user-supplied decimal integer
338 static int scsi_add_single_device(uint host, uint channel, uint id, uint lun)
343 shost = scsi_host_lookup(host);
358 * @host: user-supplied decimal integer
366 static int scsi_remove_single_device(uint host, uint channel, uint id, uint lun)
372 shost = scsi_host_lookup(host);
408 int host, channel, id, lun;
440 host = (p < end) ? simple_strtoul(p, &p, 0) : 0;
445 err = scsi_add_single_device(host, channel, id, lun);
454 host = (p < end) ? simple_strtoul(p, &p, 0) : 0;
459 err = scsi_remove_single_device(host, channel, id, lun);