Lines Matching refs:cluster_size
126 clusters_needed = (len + fs->cluster_size - 1) / fs->cluster_size;
149 * fs->cluster_size,
150 (offset_t)clusters_needed * fs->cluster_size,
156 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size,
171 fs->cluster_size = cluster_size;
173 sectors_per_cluster = cluster_size / DEFAULT_SECTOR_SIZE;
176 data_clusters = (data_size + cluster_size - 1) / cluster_size;