Searched refs:tod_fd (Results 1 – 1 of 1) sorted by relevance
612 int tod_fd = -1; in check_shutdown() local718 tod_fd = open(TOD, O_RDWR); in check_shutdown()719 if (info->pd_autoresume && tod_fd != -1) { in check_shutdown()731 (void) close(tod_fd); in check_shutdown()734 if (ioctl(tod_fd, TOD_SET_ALARM, in check_shutdown()738 (void) close(tod_fd); in check_shutdown()746 if (info->pd_autoresume && tod_fd != -1) { in check_shutdown()747 if (ioctl(tod_fd, TOD_CLEAR_ALARM, in check_shutdown()751 (void) close(tod_fd); in check_shutdown()