Searched refs:dump_fd (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_dump.c48 static int dump_fd = -1; variable
74 if (dump_fd == -1) {
75 if ((dump_fd = open("/dev/dump", O_RDONLY)) >= 0)
76 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC);
79 fd = dump_fd;
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c244 int dump_fd; local
248 if ((dump_fd = open("/dev/dump", O_RDONLY)) < 0)
251 if (ioctl(dump_fd, DIOCGETDEV, device) != -1) {
256 (void) close(dump_fd);
272 (void) close(dump_fd);

Completed in 27 milliseconds