Lines Matching refs:num_clusters
87 if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) in is_valid_cluster()
156 unsigned int num_clusters = 0; in exfat_free_cluster() local
184 num_clusters++; in exfat_free_cluster()
185 } while (num_clusters < p_chain->size); in exfat_free_cluster()
193 num_clusters++; in exfat_free_cluster()
198 sbi->used_clusters -= num_clusters; in exfat_free_cluster()
283 unsigned int num_clusters = 0, total_cnt; in exfat_alloc_cluster() local
321 num_clusters)) in exfat_alloc_cluster()
334 num_clusters)) { in exfat_alloc_cluster()
347 num_clusters++; in exfat_alloc_cluster()
369 sbi->used_clusters += num_clusters; in exfat_alloc_cluster()
371 p_chain->size += num_clusters; in exfat_alloc_cluster()
376 if (hint_clu >= sbi->num_clusters) { in exfat_alloc_cluster()
381 num_clusters)) { in exfat_alloc_cluster()
390 if (num_clusters) in exfat_alloc_cluster()
414 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; i++) { in exfat_count_num_clusters()