Searched refs:hit (Results 1 – 2 of 2) sorted by relevance
87 struct fat_cache *hit = &nohit, *p; in fat_cache_lookup() local93 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()94 hit = p; in fat_cache_lookup()95 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()96 offset = hit->nr_contig; in fat_cache_lookup()98 offset = fclus - hit->fcluster; in fat_cache_lookup()103 if (hit != &nohit) { in fat_cache_lookup()104 fat_cache_update_lru(inode, hit); in fat_cache_lookup()107 cid->nr_contig = hit->nr_contig; in fat_cache_lookup()108 cid->fcluster = hit->fcluster; in fat_cache_lookup()[all …]
64 int hit; in coda_cache_check() local67 hit = (mask & cii->c_cached_perm) == mask && in coda_cache_check()72 return hit; in coda_cache_check()