Lines Matching refs:device
291 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device",
745 * takes either either a string containing the cd or the device name, and
746 * returns the device name.
752 char *device;
754 /* if the arg has a leading '/', assume it's a valid device name */
759 /* treat the "all" keyword as a valid device name */
766 * subsequently convert that cd to its corresponding device name.
773 device = cd_to_device((int)cd);
776 if (device && (strcmp(device, ""))) {
777 /* it seems to be a valid device name */
778 return (device);
786 remove_hint(char *device)
807 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device",
814 if (strcmp(device, buf) != 0)
835 progname, device);
845 char device[NSC_MAXPATH];
872 (void) strcpy(device, "system");
874 (void) strncpy(device, cd_to_device(cd), NSC_MAXPATH);
878 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device",
885 if (strcmp(device, buf) == 0) {
903 (void) strncpy(buf, device, CFG_MAX_BUF);
1169 gettext("%s: device %s not "
1192 gettext("%s: device %s not "
1223 gettext("%s: device or cd %s not found\n"),
1230 "%s: device for cd %d not found\n"),
1250 gettext("%s: device or cd %s not found\n"),
1298 gettext("%s: device or cd %s not found\n"),
1328 gettext("%s: device or cd %s not found\n"),
1420 " bitmapfs is a block device or filesystem mount point\n"));
1675 * Background daemon to wait for alert (on any device)
1722 cd = SDT_ANY_CD; /* any device */
1749 * write header to identify device, write entries
1784 char *s1 = "device name";
1858 * cache device -- lookup names and cache descriptors of all configured devices
1912 * cache device -- specified by number or lookup name