Home
last modified time | relevance | path

Searched refs:fcluster (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/fs/exfat/
Dcache.c25 unsigned int fcluster; /* cluster number in the file. */ member
32 unsigned int fcluster; member
88 static struct exfat_cache nohit = { .fcluster = 0, }; in exfat_cache_lookup()
95 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in exfat_cache_lookup()
97 if (hit->fcluster + hit->nr_contig < fclus) { in exfat_cache_lookup()
100 offset = fclus - hit->fcluster; in exfat_cache_lookup()
110 cid->fcluster = hit->fcluster; in exfat_cache_lookup()
112 *cached_fclus = cid->fcluster + offset; in exfat_cache_lookup()
128 if (p->fcluster == new->fcluster) { in exfat_cache_merge()
143 if (new->fcluster == EXFAT_EOF_CLUSTER) /* dummy cache */ in exfat_cache_add()
[all …]
/linux-5.19.10/fs/fat/
Dcache.c21 int fcluster; /* cluster number in the file. */ member
28 int fcluster; member
84 static struct fat_cache nohit = { .fcluster = 0, }; in fat_cache_lookup()
92 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
107 cid->fcluster = hit->fcluster; in fat_cache_lookup()
109 *cached_fclus = cid->fcluster + offset; in fat_cache_lookup()
124 if (p->fcluster == new->fcluster) { in fat_cache_merge()
138 if (new->fcluster == -1) /* dummy cache */ in fat_cache_add()
[all …]