Lines Matching refs:hit
86 struct fat_cache *hit = &nohit, *p; in fat_cache_lookup() local
92 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
93 hit = p; in fat_cache_lookup()
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
95 offset = hit->nr_contig; in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
102 if (hit != &nohit) { in fat_cache_lookup()
103 fat_cache_update_lru(inode, hit); in fat_cache_lookup()
106 cid->nr_contig = hit->nr_contig; in fat_cache_lookup()
107 cid->fcluster = hit->fcluster; in fat_cache_lookup()
108 cid->dcluster = hit->dcluster; in fat_cache_lookup()