Home
last modified time | relevance | path

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

/linux-6.1.9/fs/exfat/
Dcache.c221 unsigned int dclus) in cache_contiguous() argument
224 return cid->dcluster + cid->nr_contig == dclus; in cache_contiguous()
228 unsigned int fclus, unsigned int dclus) in cache_init() argument
232 cid->dcluster = dclus; in cache_init()
237 unsigned int *fclus, unsigned int *dclus, in exfat_get_cluster() argument
255 *dclus = ei->start_clu; in exfat_get_cluster()
256 *last_dclus = *dclus; in exfat_get_cluster()
261 if (cluster == 0 || *dclus == EXFAT_EOF_CLUSTER) in exfat_get_cluster()
266 if (exfat_cache_lookup(inode, cluster, &cid, fclus, dclus) == in exfat_get_cluster()
290 if (exfat_ent_get(sb, *dclus, &content)) in exfat_get_cluster()
[all …]
Dexfat_fs.h447 unsigned int *fclus, unsigned int *dclus,
/linux-6.1.9/fs/fat/
Dcache.c211 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) in cache_contiguous() argument
214 return ((cid->dcluster + cid->nr_contig) == dclus); in cache_contiguous()
217 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) in cache_init() argument
221 cid->dcluster = dclus; in cache_init()
225 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument
237 *dclus = MSDOS_I(inode)->i_start; in fat_get_cluster()
238 if (!fat_valid_entry(sbi, *dclus)) { in fat_get_cluster()
241 __func__, MSDOS_I(inode)->i_pos, *dclus); in fat_get_cluster()
247 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { in fat_get_cluster()
266 nr = fat_ent_read(inode, &fatent, *dclus); in fat_get_cluster()
[all …]
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()
Dfile.c344 int ret, fclus, dclus; in fat_free() local
346 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
353 ret = fat_ent_read(inode, &fatent, dclus); in fat_free()
Dfat.h317 int *fclus, int *dclus);
Dinode.c484 int ret, fclus, dclus; in fat_calc_dir_size() local
490 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()