Lines Matching refs:device
29 * RCM module for managing dump device during dynamic
57 char device[MAXPATHLEN];
68 * dump device, the cache is multi-entry since there
151 (void) rcm_unregister_interest(hdl, dc->device, 0);
184 * Relocate dump device to maintain availability during suspension.
236 * forced, attempt to relocate the dump device.
317 * to relocate dump to swap. For dump device on
329 * This state may get out of sync for a dump device on swap,
332 * the same device during a rollback.
343 *errstr = strdup(gettext("unable to relocate dump device"));
352 * (Re)Configure dump device.
361 assert(dc != NULL && dc->device != NULL);
367 (void) snprintf(cmd, sizeof (cmd), "%s%s", DUMPADM, dc->device);
371 *errstr = strdup(gettext("unable to configure dump device"));
412 if (ioctl(fd, DIOCGETDEV, dc->device) == -1) {
414 dc->device[0] = '\0';
424 if (dc->device[0] != '\0') {
459 if (curr_dump->device[0] == '\0') {
461 } else if ((ent = cache_lookup(curr_dump->device)) != NULL) {
481 if (rcm_unregister_interest(hdl, ent->device, 0) !=
484 "unregister %s\n", ent->device);
498 if (rcm_register_interest(hdl, ent->device, 0, NULL) !=
501 "%s\n", ent->device);
505 ent->device);
524 if (strcmp(rsrc, dc->device) == 0) {
581 *cpp = strdup(gettext("dump device (dedicated)"));
583 *cpp = strdup(gettext("dump device (swap)"));