Lines Matching refs:dc_dump_fd
117 dcp->dc_dump_fd = -1; in dconf_init()
130 if ((dcp->dc_dump_fd = open(dpath, O_RDWR)) == -1) { in dconf_open()
221 if ((dcp->dc_cflags = ioctl(dcp->dc_dump_fd, DIOCGETCONF, 0)) == -1) { in dconf_getdev()
226 if (ioctl(dcp->dc_dump_fd, DIOCGETDEV, dcp->dc_device) == -1) { in dconf_getdev()
241 (void) close(dcp->dc_dump_fd); in dconf_close()
343 if (ioctl(dcp->dc_dump_fd, cmd, dcp->dc_device) == 0) in dconf_dev_ioctl()
393 if ((oconf = ioctl(dcp->dc_dump_fd, DIOCGETCONF, 0)) == -1) { in dconf_update()
401 if (ioctl(dcp->dc_dump_fd, DIOCSETCONF, dcp->dc_cflags) == -1) { in dconf_update()
427 if (ioctl(dcp->dc_dump_fd, DIOCSETDEV, in dconf_update()
444 if (ioctl(dcp->dc_dump_fd, DIOCRMDEV, NULL) == -1) { in dconf_update()
470 if (ioctl(dcp->dc_dump_fd, DIOCGETDUMPSIZE, &d) == -1) { in dconf_update()
493 if ((dcp->dc_cflags = ioctl(dcp->dc_dump_fd, DIOCGETCONF, 0)) == -1) { in dconf_update()
501 (void) ioctl(dcp->dc_dump_fd, DIOCSETCONF, oconf); in dconf_update()
515 err = ioctl(dcp->dc_dump_fd, DIOCSETUUID, uuidstr); in dconf_write_uuid()
529 if (ioctl(dcp->dc_dump_fd, DIOCGETDUMPSIZE, &d) == -1) { in dconf_get_dumpsize()