Searched refs:boottimesecs (Results 1 – 3 of 3) sorted by relevance
153 static time_t boottimesecs; in initBoottime() local171 boottimesecs = boottime.tv_sec; in initBoottime()173 uplog(LOG_DEBUG, "initBoottime() initialized %d", boottimesecs); in initBoottime()176 return boottimesecs; in initBoottime()295 time_t boottimesecs; in getUptime() local297 boottimesecs = initBoottime(); in getUptime()299 if (boottimesecs) { in getUptime()304 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()
362 static time_t boottimesecs; in initBoottime() local392 boottimesecs = ut.ut_tv.tv_sec; in initBoottime()395 boottimesecs); in initBoottime()398 return boottimesecs; in initBoottime()404 static time_t boottimesecs; in getUptime() local406 boottimesecs = initBoottime(); in getUptime()408 if (boottimesecs) { in getUptime()413 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()
380 static time_t boottimesecs; in initBoottime() local410 boottimesecs = ut.ut_tv.tv_sec; in initBoottime()413 boottimesecs); in initBoottime()416 return boottimesecs; in initBoottime()422 static time_t boottimesecs; in getUptime() local424 boottimesecs = initBoottime(); in getUptime()426 if (boottimesecs) { in getUptime()431 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()