Lines Matching refs:entry
209 if (dir_ent->d_type == DT_REG) { /* If the entry is a regular file */
232 struct lru_file *entry = NULL;
234 entry = list_first_entry(lru_file_list, struct lru_file, node);
236 if (!entry|| sb.st_atime < entry->lru_atime) {
243 entry = calloc(1, sizeof(struct lru_file));
248 char *tmp = realloc(entry->lru_name, len + 1);
258 if (sb.st_atime < entry->lru_atime) {
265 list_addtail(&entry->node, list_node);
273 entry->lru_name = tmp;
274 memcpy(entry->lru_name, dir_ent->d_name, len + 1);
275 entry->lru_atime = sb.st_atime;
276 entry->lru_file_size = sb.st_blocks * 512;
303 /* Is entry a regular file, and not having a name with a trailing
341 /* Is entry a directory with a two-character name, (and not the
652 * mesa version that produced the entry or deal with hash collisions,
999 * processes from updating the same entry simultaneously. The idea
1003 * writes result in a corrupt entry, that's not really any
1005 * guarantees of the cryptographic hash, a corrupt entry is