Lines Matching refs:scsi
2 * linux/drivers/scsi/scsi_proc.c
31 #include <scsi/scsi.h>
32 #include <scsi/scsi_device.h>
33 #include <scsi/scsi_host.h>
34 #include <scsi/scsi_transport.h>
101 * scsi_proc_hostdir_add - Create directory in /proc for a scsi host
123 * scsi_proc_hostdir_rm - remove directory in /proc for a scsi host
182 * @dev: A scsi device
199 "Host: scsi%d Channel: %02d Id: %02d Lun: %02d\n Vendor: ",
245 * Description: called by writing "scsi add-single-device" to /proc/scsi/scsi.
277 * Description: called by writing "scsi remove-single-device" to
278 * /proc/scsi/scsi. Does a scsi_device_lookup() and scsi_remove_device()
301 * proc_scsi_write - handle writes to /proc/scsi/scsi
309 * "echo 'scsi add-single-device 0 1 2 3' > /proc/scsi/scsi" or
310 * "echo 'scsi remove-single-device 0 1 2 3' > /proc/scsi/scsi" with
344 * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
347 if (!strncmp("scsi add-single-device", buffer, 22)) {
358 * Usage: echo "scsi remove-single-device 0 1 2 3" >/proc/scsi/scsi
361 } else if (!strncmp("scsi remove-single-device", buffer, 25)) {
385 * proc_scsi_show - show contents of /proc/scsi/scsi (attached devices)
422 * scsi_init_procfs - create scsi and scsi/scsi in procfs
428 proc_scsi = proc_mkdir("scsi", NULL);
432 pde = proc_create("scsi/scsi", 0, NULL, &proc_scsi_operations);
439 remove_proc_entry("scsi", NULL);
445 * scsi_exit_procfs - Remove scsi/scsi and scsi from procfs
449 remove_proc_entry("scsi/scsi", NULL);
450 remove_proc_entry("scsi", NULL);