Lines Matching defs:cache
50 static struct cachekey *cache = 0;
84 struct cachekey_header { /* First in each key cache file */
89 size_t reclength; /* cache file record size in bytes */
212 /* Construct cache file name */
222 syslog(LOG_WARNING, "cache file open error for mech %d-%d: %m",
229 syslog(LOG_WARNING, "cache file lock error for mech %d-%d: %m",
237 syslog(LOG_WARNING, "cache file fstat error for mech %d-%d: %m",
272 "cache file ftruncate error for mech %d-%d: %m",
287 "cache file mmap1 error for mech %d-%d: %m",
302 "cache file consistency error for mech %d-%d",
312 "cache file munmap error for mech %d-%d: %m",
323 "cache file mmap2 error for mech %d-%d: %m",
388 syslog(LOG_WARNING, "cache file invalid for mech %d-%d",
454 * Remap cache file with space for 'newrecs' records. The mmap:ed address
507 syslog(LOG_WARNING, "cache file invalid for mech %d-%d",
555 syslog(LOG_WARNING, "cache file invalid for mech %d-%d",
794 * Find the cache item specified by the header, uid, and public key. If
1127 for (c = cache; c != 0; c = c->next) {
1134 /* Spin until there are no cache readers */
1149 c->next = cache;
1150 cache = c;
1170 for (c = cache; c != 0; c = c->next) {