Searched refs:dclus (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/fs/fat/ |
H A D | cache.c | 210 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) cache_contiguous() argument 213 return ((cid->dcluster + cid->nr_contig) == dclus); cache_contiguous() 216 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) cache_init() argument 220 cid->dcluster = dclus; cache_init() 224 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) fat_get_cluster() argument 235 *dclus = MSDOS_I(inode)->i_start; fat_get_cluster() 239 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { fat_get_cluster() 259 nr = fat_ent_read(inode, &fatent, *dclus); fat_get_cluster() 274 *dclus = nr; fat_get_cluster() 275 if (!cache_contiguous(&cid, *dclus)) fat_get_cluster() 276 cache_init(&cid, *fclus, *dclus); fat_get_cluster() 288 int ret, fclus, dclus; fat_bmap_cluster() local 293 ret = fat_get_cluster(inode, cluster, &fclus, &dclus); fat_bmap_cluster() 301 return dclus; fat_bmap_cluster()
|
H A D | misc.c | 111 int fclus, dclus; fat_chain_add() local 113 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); fat_chain_add() 117 last = dclus; fat_chain_add()
|
H A D | file.c | 252 int ret, fclus, dclus; fat_free() local 254 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); fat_free() 261 ret = fat_ent_read(inode, &fatent, dclus); fat_free()
|
H A D | fat.h | 287 int *fclus, int *dclus);
|
H A D | inode.c | 437 int ret, fclus, dclus; fat_calc_dir_size() local 443 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); fat_calc_dir_size()
|
Completed in 212 milliseconds