Searched refs:num_to_be_allocated (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | inode.c | 115 unsigned int num_to_be_allocated = 0, num_clusters = 0; in exfat_map_cluster() local 122 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster() 124 if (!create && (num_to_be_allocated > 0)) { in exfat_map_cluster() 175 if (num_to_be_allocated < 1) { in exfat_map_cluster() 181 ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu); in exfat_map_cluster() 215 num_clusters += num_to_be_allocated; in exfat_map_cluster() 245 inode->i_blocks += EXFAT_CLU_TO_B(num_to_be_allocated, sbi) >> 9; in exfat_map_cluster() 250 * This only works when num_to_be_allocated >= 2, in exfat_map_cluster() 255 *clu += num_to_be_allocated - 1; in exfat_map_cluster() 257 while (num_to_be_allocated > in exfat_map_cluster() [all...] |
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | inode.c | 121 unsigned int num_to_be_allocated = 0, num_clusters = 0; in exfat_map_cluster() local 128 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster() 130 if (!create && (num_to_be_allocated > 0)) { in exfat_map_cluster() 181 if (num_to_be_allocated < 1) { in exfat_map_cluster() 187 ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu, in exfat_map_cluster() 220 num_clusters += num_to_be_allocated; in exfat_map_cluster() 223 inode->i_blocks += EXFAT_CLU_TO_B(num_to_be_allocated, sbi) >> 9; in exfat_map_cluster() 228 * This only works when num_to_be_allocated >= 2, in exfat_map_cluster() 233 *clu += num_to_be_allocated - 1; in exfat_map_cluster() 235 while (num_to_be_allocated > in exfat_map_cluster() [all...] |
Completed in 1 milliseconds