Home
last modified time | relevance | path

Searched refs:fclus (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/fs/exfat/
H A Dcache.c84 unsigned int fclus, struct exfat_cache_id *cid, in exfat_cache_lookup()
94 /* Find the cache of "fclus" or nearest cache. */ in exfat_cache_lookup()
95 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in exfat_cache_lookup()
97 if (hit->fcluster + hit->nr_contig < fclus) { in exfat_cache_lookup()
100 offset = fclus - hit->fcluster; in exfat_cache_lookup()
228 unsigned int fclus, unsigned int dclus) in cache_init()
231 cid->fcluster = fclus; in cache_init()
237 unsigned int *fclus, unsigned int *dclus, in exfat_get_cluster()
254 *fclus = 0; in exfat_get_cluster()
266 if (exfat_cache_lookup(inode, cluster, &cid, fclus, dclu in exfat_get_cluster()
83 exfat_cache_lookup(struct inode *inode, unsigned int fclus, struct exfat_cache_id *cid, unsigned int *cached_fclus, unsigned int *cached_dclus) exfat_cache_lookup() argument
227 cache_init(struct exfat_cache_id *cid, unsigned int fclus, unsigned int dclus) cache_init() argument
236 exfat_get_cluster(struct inode *inode, unsigned int cluster, unsigned int *fclus, unsigned int *dclus, unsigned int *last_dclus, int allow_eof) exfat_get_cluster() argument
[all...]
H A Dinode.c141 unsigned int fclus = 0; in exfat_map_cluster() local
143 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
147 clu_offset -= fclus; in exfat_map_cluster()
H A Dexfat_fs.h444 unsigned int *fclus, unsigned int *dclus,
/kernel/linux/linux-6.6/fs/exfat/
H A Dcache.c84 unsigned int fclus, struct exfat_cache_id *cid, in exfat_cache_lookup()
94 /* Find the cache of "fclus" or nearest cache. */ in exfat_cache_lookup()
95 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in exfat_cache_lookup()
97 if (hit->fcluster + hit->nr_contig < fclus) { in exfat_cache_lookup()
100 offset = fclus - hit->fcluster; in exfat_cache_lookup()
228 unsigned int fclus, unsigned int dclus) in cache_init()
231 cid->fcluster = fclus; in cache_init()
237 unsigned int *fclus, unsigned int *dclus, in exfat_get_cluster()
254 *fclus = 0; in exfat_get_cluster()
266 if (exfat_cache_lookup(inode, cluster, &cid, fclus, dclu in exfat_get_cluster()
83 exfat_cache_lookup(struct inode *inode, unsigned int fclus, struct exfat_cache_id *cid, unsigned int *cached_fclus, unsigned int *cached_dclus) exfat_cache_lookup() argument
227 cache_init(struct exfat_cache_id *cid, unsigned int fclus, unsigned int dclus) cache_init() argument
236 exfat_get_cluster(struct inode *inode, unsigned int cluster, unsigned int *fclus, unsigned int *dclus, unsigned int *last_dclus, int allow_eof) exfat_get_cluster() argument
[all...]
H A Dinode.c147 unsigned int fclus = 0; in exfat_map_cluster() local
149 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
153 clu_offset -= fclus; in exfat_map_cluster()
H A Dexfat_fs.h472 unsigned int *fclus, unsigned int *dclus,
/kernel/linux/linux-5.10/fs/fat/
H A Dcache.c80 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup() argument
91 /* Find the cache of "fclus" or nearest cache. */ in fat_cache_lookup()
92 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
217 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) in cache_init() argument
220 cid->fcluster = fclus; in cache_init()
225 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument
236 *fclus = 0; in fat_get_cluster()
247 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclu in fat_get_cluster()
294 int ret, fclus, dclus; fat_bmap_cluster() local
[all...]
H A Dmisc.c113 int fclus, dclus; in fat_chain_add() local
115 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_chain_add()
118 new_fclus = fclus + 1; in fat_chain_add()
H A Dfile.c343 int ret, fclus, dclus; in fat_free() local
345 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
H A Dfat.h316 int *fclus, int *dclus);
H A Dinode.c482 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()
491 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()
/kernel/linux/linux-6.6/fs/fat/
H A Dcache.c80 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup() argument
91 /* Find the cache of "fclus" or nearest cache. */ in fat_cache_lookup()
92 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
217 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) in cache_init() argument
220 cid->fcluster = fclus; in cache_init()
225 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument
236 *fclus = 0; in fat_get_cluster()
247 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclu in fat_get_cluster()
294 int ret, fclus, dclus; fat_bmap_cluster() local
[all...]
H A 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()
124 new_fclus = fclus + 1; in fat_chain_add()
H A Dfile.c344 int ret, fclus, dclus; in fat_free() local
346 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
H A Dfat.h317 int *fclus, int *dclus);
H A Dinode.c479 int ret, fclus, dclus; in fat_calc_dir_size() local
485 ret = fat_get_cluster(inode, FAT_ENT_EOF, &fclus, &dclus); in fat_calc_dir_size()
488 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()

Completed in 27 milliseconds