Searched refs:fd_cache (Results 1 – 2 of 2) sorted by relevance
147 cached_fd fd_cache[MAX_FDS_IN_CACHE]; member643 p->fd_cache[i].last_used = 0;649 if (p->fd_cache[i].fd == fd->fd && p->fd_cache[i].salt == fd->salt) {651 p->fd_cache[i].last_used = p->fd_cache_counter;654 } else if (p->fd_cache[i].last_used < p->fd_cache[lru_idx].last_used) {664 p->fd_cache[lru_idx].fd = fd->fd;665 p->fd_cache[lru_idx].salt = fd->salt;666 p->fd_cache[lru_idx].last_used = p->fd_cache_counter;
123 struct fd_cache { struct417 struct fd_cache *alloc_fdcache(char *file, int oflags);1413 struct fd_cache *fdc; in do_read()1611 struct fd_cache *fdc; in do_write()2893 struct fd_cache *fdc; in sy_mmrw()2955 struct fd_cache *fdc; in fmt_mmrw()3072 struct fd_cache *fdc; in do_rw()3743 struct fd_cache *fdc; in check_file()4260 struct fd_cache *fdc; in alloc_fd()4261 struct fd_cache *alloc_fdcache(char *file, int oflags); in alloc_fd()[all …]