Searched refs:nr_cluster (Results 1 – 5 of 5) sorted by relevance
/fs/fat/ |
D | dir.c | 1196 int *nr_cluster, struct msdos_dir_entry **de, in fat_add_new_entries() argument 1212 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1213 BUG_ON(*nr_cluster > 2); in fat_add_new_entries() 1215 err = fat_alloc_clusters(dir, cluster, *nr_cluster); in fat_add_new_entries() 1247 } while (++i < *nr_cluster); in fat_add_new_entries() 1363 int cluster, nr_cluster; in fat_add_entries() local 1370 cluster = fat_add_new_entries(dir, slots, nr_slots, &nr_cluster, in fat_add_entries() 1376 err = fat_chain_add(dir, cluster, nr_cluster); in fat_add_entries() 1386 dir->i_size += nr_cluster << sbi->cluster_bits; in fat_add_entries() 1387 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
D | misc.c | 99 int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster) in fat_chain_add() argument 158 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
D | file.c | 233 int nr_cluster; /* Number of clusters to be allocated */ in fat_fallocate() local 257 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate() 261 while (nr_cluster-- > 0) { in fat_fallocate()
|
D | fatent.c | 462 int fat_alloc_clusters(struct inode *inode, int *cluster, int nr_cluster) in fat_alloc_clusters() argument 471 BUG_ON(nr_cluster > (MAX_BUF_PER_PAGE / 2)); /* fixed limit */ in fat_alloc_clusters() 475 sbi->free_clusters < nr_cluster) { in fat_alloc_clusters() 511 if (idx_clus == nr_cluster) in fat_alloc_clusters()
|
D | fat.h | 356 int nr_cluster); 407 extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
|