• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/device_handler/

Lines Matching defs:handler

2  * SCSI device handler infrastruture.
32 struct scsi_device_handler *handler;
65 found_dh = tmp->handler;
92 * device_handler_match - Attach a device handler to a device
93 * @scsi_dh - The device handler to match against or NULL
96 * Tests @sdev against the device handler @scsi_dh or against
98 * Returns the found device handler or NULL if not found.
132 tmp->handler = found_dh;
145 * scsi_dh_handler_attach - Attach a device handler to a device
146 * @sdev - SCSI device the device handler should attach to
147 * @scsi_dh - The device handler to attach
176 * scsi_dh_handler_detach - Detach a device handler from a device
177 * @sdev - SCSI device the device handler should be detached from
178 * @scsi_dh - Device handler to be detached
180 * Detach from a device handler. If a device handler is specified,
181 * only detach if the currently attached handler matches @scsi_dh.
212 * Attach to a device handler
221 * Detach from a device handler
227 * Activate a device handler
368 * scsi_register_device_handler - register a device handler personality
370 * @scsi_dh - device handler to be registered.
372 * Returns 0 on success, -EBUSY if handler already registered.
383 printk(KERN_INFO "%s: device handler registered\n", scsi_dh->name);
390 * scsi_unregister_device_handler - register a device handler personality
392 * @scsi_dh - device handler to be unregistered.
394 * Returns 0 on success, -ENODEV if handler not registered.
409 if (pos->handler == scsi_dh) {
415 printk(KERN_INFO "%s: device handler unregistered\n", scsi_dh->name);
493 * scsi_dh_handler_exist - Return TRUE(1) if a device handler exists for
495 * @name - name of the device handler.
504 * scsi_dh_handler_attach - Attach device handler
505 * @sdev - sdev the handler should be attached to
506 * @name - name of the handler to attach
534 * scsi_dh_handler_detach - Detach device handler
535 * @sdev - sdev the handler should be detached from
537 * This function will detach the device handler only
591 MODULE_DESCRIPTION("SCSI device handler");