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