Lines Matching defs:device
346 disk_split_ap_path_sata(const char *ap_path, char *device, int *target)
352 * /devices/rootnode/.../device:target
354 (void) strncpy(device, ap_path, MAXPATHLEN);
355 p = strrchr(device, ':');
363 disk_split_ap_path_scsi(const char *ap_path, char *device, int *target)
369 * /devices/rootnode/.../device:scsi::dsk/cXtXdX
372 (void) strncpy(device, ap_path, MAXPATHLEN);
373 p = strrchr(device, ':');
379 *strchr(device, ':') = '\0';
383 disk_split_ap_path(const char *ap_path, char *device, int *target)
388 * /devices/rootnode/.../device:portnum
390 * /devices/rootnode/.../device:scsi::dsk/cXtXdX
394 disk_split_ap_path_scsi(ap_path, device, target);
396 disk_split_ap_path_sata(ap_path, device, target);
400 disk_split_device_path(const char *dev_path, char *device, int *target)
405 * The disk device path is of the form:
406 * /rootnode/.../device/target@tgtid,tgtlun
409 (void) strncpy(device, dev_path, MAXPATHLEN);
410 e = t = strrchr(device, '/');
442 /* pare dev_path into device and target components */
479 /* Match only the device-tree portion of the name */
509 /* Match only the device-tree portion of the name */
573 log_msg(MM_HPMGR, "match_sysevent_to_disk: device/ap: %s\n",
587 * event is received, the device path sent as part of the event is matched