/nscd/ |
A D | netgroupcache.c | 80 time_t timeout; in do_notfound() local 106 *timeoutp = timeout; in do_notfound() 127 time_t timeout; in addgetnetgrentX() local 386 dh->timeout = dataset->head.timeout; in addgetnetgrentX() 446 return timeout; in addgetnetgrentX() 479 time_t timeout; in addinnetgrX() local 483 timeout = result->head.timeout; in addinnetgrX() 519 dataset->head.timeout = timeout; in addinnetgrX() 562 dh->timeout = timeout; in addinnetgrX() 605 return timeout; in addinnetgrX() [all …]
|
A D | initgrcache.c | 170 time_t timeout; in addinitgroupsX() local 173 timeout = MAX_TIMEOUT_VALUE; in addinitgroupsX() 189 timeout = dh->timeout = time (NULL) + db->postimeout; in addinitgroupsX() 211 timeout = datahead_init_neg (&dataset->head, in addinitgroupsX() 270 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in addinitgroupsX() 315 dh->timeout = dataset->head.timeout; in addinitgroupsX() 381 return timeout; in addinitgroupsX()
|
A D | servicescache.c | 83 time_t timeout = MAX_TIMEOUT_VALUE; in cache_addserv() local 96 timeout = dh->timeout = t + db->postimeout; in cache_addserv() 122 timeout = datahead_init_neg (&dataset->head, in cache_addserv() 205 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in cache_addserv() 248 dh->timeout = dataset->head.timeout; in cache_addserv() 313 return timeout; in cache_addserv() 378 time_t timeout = cache_addserv (db, fd, req, key, serv, uid, he, dh, errval); in addservbyX() local 380 return timeout; in addservbyX()
|
A D | pwdcache.c | 95 time_t timeout = MAX_TIMEOUT_VALUE; in cache_addpw() local 108 timeout = dh->timeout = t + db->postimeout; in cache_addpw() 134 timeout = datahead_init_neg (&dataset->head, in cache_addpw() 219 timeout = datahead_init_pos (&dataset->head, total + n, in cache_addpw() 265 dh->timeout = dataset->head.timeout; in cache_addpw() 366 return timeout; in cache_addpw() 428 time_t timeout = cache_addpw (db, fd, req, keystr, pwd, c_uid, he, dh, in addpwbyX() local 431 return timeout; in addpwbyX()
|
A D | grpcache.c | 89 time_t timeout = MAX_TIMEOUT_VALUE; in cache_addgr() local 102 timeout = dh->timeout = t + db->postimeout; in cache_addgr() 127 timeout = datahead_init_neg (&dataset->head, in cache_addgr() 236 timeout = datahead_init_pos (&dataset->head, total + n, in cache_addgr() 281 dh->timeout = dataset->head.timeout; in cache_addgr() 388 return timeout; in cache_addgr() 450 time_t timeout = cache_addgr (db, fd, req, keystr, grp, uid, he, dh, errval); in addgrbyX() local 452 return timeout; in addgrbyX()
|
A D | hstcache.c | 111 time_t timeout = MAX_TIMEOUT_VALUE; in cache_addhst() local 124 timeout = dh->timeout = t + dh->ttl; in cache_addhst() 152 timeout = datahead_init_neg (&dataset->head, in cache_addhst() 253 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in cache_addhst() 314 dh->timeout = dataset->head.timeout; in cache_addhst() 405 return timeout; in cache_addhst() 477 time_t timeout = cache_addhst (db, fd, req, key, hst, uid, he, dh, in addhstbyX() local 480 return timeout; in addhstbyX()
|
A D | aicache.c | 97 time_t timeout = MAX_TIMEOUT_VALUE; in addhstaiX() local 362 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in addhstaiX() 397 dh->timeout = dataset->head.timeout; in addhstaiX() 454 timeout = dh->timeout = time (NULL) + dh->ttl; in addhstaiX() 477 timeout = datahead_init_neg (&dataset->head, in addhstaiX() 518 return timeout; in addhstaiX()
|
A D | cache.c | 221 if (next_wakeup > packet->timeout + CACHE_PRUNE_INTERVAL) in cache_add() 223 table->wakeup_time = packet->timeout; in cache_add() 370 serv2str[runp->type], str, dh->timeout); in prune_cache() 374 if (dh->timeout < now) in prune_cache() 414 time_t timeout = readdfcts[runp->type] (table, runp, dh); in prune_cache() local 415 next_timeout = MIN (next_timeout, timeout); in prune_cache() 426 next_timeout = MIN (next_timeout, dh->timeout); in prune_cache()
|
A D | nscd-client.h | 215 nscd_time_t timeout; /* Time when this entry becomes invalid. */ member 255 return head->timeout = time (NULL) + ttl; in datahead_init_common()
|
A D | nscd_helper.c | 66 long int timeout = usectmo; in wait_on_socket() local 69 n = __poll (fds, 1, timeout); in wait_on_socket() 75 timeout = end - ((now.tv_sec * 1000 in wait_on_socket()
|
A D | cachedumper.c | 150 DH (timeout); in nscd_print_cache()
|