Searched refs:dclus (Results 1 – 5 of 5) sorted by relevance
/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 | 113 int fclus, dclus; in fat_chain_add() local 115 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_chain_add() 119 last = dclus; in fat_chain_add()
|
D | file.c | 354 int ret, fclus, dclus; in fat_free() local 356 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free() 363 ret = fat_ent_read(inode, &fatent, dclus); in fat_free()
|
D | fat.h | 316 int *fclus, int *dclus);
|
D | inode.c | 482 int ret, fclus, dclus; in fat_calc_dir_size() local 488 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()
|