Searched refs:fclus (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/fs/fat/ |
D | cache.c | 79 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup() argument 91 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup() 93 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup() 96 offset = fclus - hit->fcluster; in fat_cache_lookup() 216 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) in cache_init() argument 219 cid->fcluster = fclus; in cache_init() 224 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument 234 *fclus = 0; in fat_get_cluster() 239 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { in fat_get_cluster() 248 while (*fclus < cluster) { in fat_get_cluster() [all …]
|
D | misc.c | 111 int fclus, dclus; in fat_chain_add() local 113 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_chain_add() 116 new_fclus = fclus + 1; in fat_chain_add()
|
D | file.c | 253 int ret, fclus, dclus; in fat_free() local 255 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
|
D | fat.h | 287 int *fclus, int *dclus);
|
D | inode.c | 438 int ret, fclus, dclus; in fat_calc_dir_size() local 444 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size() 447 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()
|