Lines Matching refs:entries
73 for (i = 0; i < cache->entries; i++)
77 if (i == cache->entries) {
79 * Block not in cache, if all cache entries are used
97 for (n = 0; n < cache->entries; n++) {
100 i = (i + 1) % cache->entries;
103 cache->next_blk = (i + 1) % cache->entries;
213 for (i = 0; i < cache->entries; i++) {
227 * Initialise cache allocating the specified number of entries, each of
231 struct squashfs_cache *squashfs_cache_init(char *name, int entries,
242 cache->entry = kcalloc(entries, sizeof(*(cache->entry)), GFP_KERNEL);
249 cache->unused = entries;
250 cache->entries = entries;
259 for (i = 0; i < entries; i++) {