Home
last modified time | relevance | path

Searched refs:fclus (Results 1 – 8 of 8) sorted by relevance

/linux/fs/exfat/
A Dcache.c100 offset = fclus - hit->fcluster; in exfat_cache_lookup()
228 unsigned int fclus, unsigned int dclus) in cache_init() argument
231 cid->fcluster = fclus; in cache_init()
254 *fclus = 0; in exfat_get_cluster()
278 if (*fclus == cluster) in exfat_get_cluster()
281 while (*fclus < cluster) { in exfat_get_cluster()
283 if (*fclus > limit) { in exfat_get_cluster()
286 (*fclus)); in exfat_get_cluster()
295 (*fclus)++; in exfat_get_cluster()
301 *fclus, (*last_dclus)); in exfat_get_cluster()
[all …]
A Dinode.c142 unsigned int fclus = 0; in exfat_map_cluster() local
144 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
148 clu_offset -= fclus; in exfat_map_cluster()
A Dexfat_fs.h440 unsigned int *fclus, unsigned int *dclus,
/linux/fs/fat/
A Dcache.c80 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup() argument
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
220 cid->fcluster = fclus; in cache_init()
236 *fclus = 0; in fat_get_cluster()
256 while (*fclus < cluster) { in fat_get_cluster()
258 if (*fclus > limit) { in fat_get_cluster()
279 (*fclus)++; in fat_get_cluster()
282 cache_init(&cid, *fclus, *dclus); in fat_get_cluster()
294 int ret, fclus, dclus; in fat_bmap_cluster() local
[all …]
A Dmisc.c113 int fclus, dclus; in fat_chain_add() local
115 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_chain_add()
118 new_fclus = fclus + 1; in fat_chain_add()
A Dfile.c343 int ret, fclus, dclus; in fat_free() local
345 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
A Dfat.h316 int *fclus, int *dclus);
A Dinode.c483 int ret, fclus, dclus; in fat_calc_dir_size() local
489 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()
492 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()

Completed in 21 milliseconds