Searched refs:dclus (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/exfat/ |
D | cache.c | 221 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 …]
|
D | exfat_fs.h | 484 unsigned int *fclus, unsigned int *dclus,
|
/linux-6.12.1/fs/fat/ |
D | cache.c | 211 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 …]
|
D | misc.c | 119 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()
|
D | file.c | 344 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()
|
D | fat.h | 320 int *fclus, int *dclus);
|
D | inode.c | 477 int ret, fclus, dclus; in fat_calc_dir_size() local 483 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()
|