Searched refs:nr_cluster (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/fat/ |
D | dir.c | 1211 int *nr_cluster, struct msdos_dir_entry **de, in fat_add_new_entries() argument 1227 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1228 BUG_ON(*nr_cluster > 2); in fat_add_new_entries() 1230 err = fat_alloc_clusters(dir, cluster, *nr_cluster); in fat_add_new_entries() 1265 } while (++i < *nr_cluster); in fat_add_new_entries() 1381 int cluster, nr_cluster; in fat_add_entries() local 1388 cluster = fat_add_new_entries(dir, slots, nr_slots, &nr_cluster, in fat_add_entries() 1394 err = fat_chain_add(dir, cluster, nr_cluster); in fat_add_entries() 1404 dir->i_size += nr_cluster << sbi->cluster_bits; in fat_add_entries() 1405 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
D | misc.c | 107 int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster) in fat_chain_add() argument 166 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
D | file.c | 263 int nr_cluster; /* Number of clusters to be allocated */ in fat_fallocate() local 287 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate() 291 while (nr_cluster-- > 0) { in fat_fallocate()
|
D | fatent.c | 466 int fat_alloc_clusters(struct inode *inode, int *cluster, int nr_cluster) in fat_alloc_clusters() argument 475 BUG_ON(nr_cluster > (MAX_BUF_PER_PAGE / 2)); /* fixed limit */ in fat_alloc_clusters() 479 sbi->free_clusters < nr_cluster) { in fat_alloc_clusters() 515 if (idx_clus == nr_cluster) in fat_alloc_clusters()
|
D | fat.h | 394 int nr_cluster); 464 extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
|