Searched refs:tod_fd (Results 1 – 1 of 1) sorted by relevance
603 int tod_fd = -1; in check_shutdown() local709 tod_fd = open(TOD, O_RDWR); in check_shutdown()710 if (info->pd_autoresume && tod_fd != -1) { in check_shutdown()722 (void) close(tod_fd); in check_shutdown()725 if (ioctl(tod_fd, TOD_SET_ALARM, in check_shutdown()729 (void) close(tod_fd); in check_shutdown()737 if (info->pd_autoresume && tod_fd != -1) { in check_shutdown()738 if (ioctl(tod_fd, TOD_CLEAR_ALARM, in check_shutdown()742 (void) close(tod_fd); in check_shutdown()