Home
last modified time | relevance | path

Searched refs:dclus (Results 1 – 7 of 7) sorted by relevance

/linux/fs/exfat/
H A Dcache.c246 unsigned int dclus) in cache_contiguous() argument
249 return cid->dcluster + cid->nr_contig == dclus; in cache_contiguous()
253 unsigned int fclus, unsigned int dclus) in cache_init() argument
257 cid->dcluster = dclus; in cache_init()
262 unsigned int *dclus, unsigned int *count, in exfat_get_cluster() argument
280 *dclus = ei->start_clu; in exfat_get_cluster()
281 *last_dclus = *dclus; in exfat_get_cluster()
288 if (*dclus == EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
297 cache_init(&cid, fclus, *dclus); in exfat_get_cluster()
302 end = exfat_cache_lookup(inode, &cid, cluster, end, &fclus, dclus); in exfat_get_cluster()
[all …]
H A Dexfat_fs.h489 unsigned int *dclus, unsigned int *count, unsigned int *last_dclus);
/linux/fs/fat/
H A Dcache.c206 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) in cache_contiguous() argument
209 return ((cid->dcluster + cid->nr_contig) == dclus); in cache_contiguous()
212 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) in cache_init() argument
216 cid->dcluster = dclus; in cache_init()
220 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument
232 *dclus = MSDOS_I(inode)->i_start; in fat_get_cluster()
233 if (!fat_valid_entry(sbi, *dclus)) { in fat_get_cluster()
236 __func__, MSDOS_I(inode)->i_pos, *dclus); in fat_get_cluster()
242 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { in fat_get_cluster()
261 nr = fat_ent_read(inode, &fatent, *dclus); in fat_get_cluster()
[all …]
H A Dmisc.c119 int fclus, dclus; in fat_chain_add() local
121 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_chain_add()
125 last = dclus; in fat_chain_add()
H A Dfile.c345 int ret, fclus, dclus; in fat_free() local
347 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
354 ret = fat_ent_read(inode, &fatent, dclus); in fat_free()
H A Dfat.h320 int *fclus, int *dclus);
H A Dinode.c480 int ret, fclus, dclus; in fat_calc_dir_size() local
486 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()