Home
last modified time | relevance | path

Searched refs:now (Results 1 – 6 of 6) sorted by relevance

/nscd/
A Dnscd_helper.c62 struct __timespec64 now; in wait_on_socket() local
63 __clock_gettime64 (CLOCK_REALTIME, &now); in wait_on_socket()
64 int64_t end = (now.tv_sec * 1000 + usectmo in wait_on_socket()
74 __clock_gettime64 (CLOCK_REALTIME, &now); in wait_on_socket()
75 timeout = end - ((now.tv_sec * 1000 in wait_on_socket()
215 struct __timespec64 now; in open_socket() local
216 __clock_gettime64 (CLOCK_REALTIME, &now); in open_socket()
219 tvend.tv_nsec = now.tv_nsec; in open_socket()
220 tvend.tv_sec = now.tv_sec + 5; in open_socket()
225 to = ((tvend.tv_sec - now.tv_sec) * 1000 in open_socket()
[all …]
A Ddbg_log.c63 struct tm now; in dbg_log() local
64 localtime_r (&t, &now); in dbg_log()
67 strftime (buf, sizeof (buf), "%c", &now); in dbg_log()
A Dcache.c247 prune_cache (struct database_dyn *table, time_t now, int fd) in prune_cache() argument
267 if (table->check_file && now != LONG_MAX) in prune_cache()
300 now = LONG_MAX; in prune_cache()
341 dbnames[table - dbs], (long int) now); in prune_cache()
374 if (dh->timeout < now) in prune_cache()
398 || now == LONG_MAX) in prune_cache()
547 return next_timeout == NO_TIMEOUT ? 24 * 60 * 60 : next_timeout - now; in prune_cache()
A Dconnections.c358 time_t now = time (NULL); in verify_persistent_db() local
1458 time_t now = time (NULL); in restart() local
1502 time_t now = time (NULL); in nscd_run_prune() local
1531 now = time (NULL); in nscd_run_prune()
1773 restart_p (time_t now) in restart_p() argument
1776 && now >= restart_time); in restart_p()
2058 time_t now = time (NULL); in main_loop_poll() local
2179 if (restart_p (now)) in main_loop_poll()
2230 time_t now = time (NULL); in main_loop_epoll() local
2252 starttime[fd] = now; in main_loop_epoll()
[all …]
A DMakefile89 LDFLAGS-nscd = -Wl,-z,now
A Dnscd.h284 extern time_t prune_cache (struct database_dyn *table, time_t now, int fd);

Completed in 18 milliseconds