Lines Matching refs:num_clusters
87 if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) in is_valid_cluster()
160 unsigned int num_clusters = 0; in __exfat_free_cluster() local
201 num_clusters++; in __exfat_free_cluster()
202 } while (num_clusters < p_chain->size); in __exfat_free_cluster()
222 num_clusters++; in __exfat_free_cluster()
230 sbi->used_clusters -= num_clusters; in __exfat_free_cluster()
326 unsigned int num_clusters = 0, total_cnt; in exfat_alloc_cluster() local
368 num_clusters)) { in exfat_alloc_cluster()
383 num_clusters)) { in exfat_alloc_cluster()
396 num_clusters++; in exfat_alloc_cluster()
418 sbi->used_clusters += num_clusters; in exfat_alloc_cluster()
420 p_chain->size += num_clusters; in exfat_alloc_cluster()
426 if (hint_clu >= sbi->num_clusters) { in exfat_alloc_cluster()
431 num_clusters)) { in exfat_alloc_cluster()
440 if (num_clusters) in exfat_alloc_cluster()
466 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; i++) { in exfat_count_num_clusters()