Searched refs:cluster_size (Results 1 - 3 of 3) sorted by relevance

/system/extras/fatblock/
H A Dfs.h24 uint16_t cluster_size; member in struct:fs
48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out);
H A Dfs.c126 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, argument
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;
[all...]
H A Dfatblock.c34 uint16_t cluster_size, offset_t data_size,
39 ret = fs_init(fs, cluster_size, data_size, total_size_out);
33 fs_import(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out) argument

Completed in 109 milliseconds