Home
last modified time | relevance | path

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

/system/extras/fatblock/
Dfs.c126 clusters_needed = (len + fs->cluster_size - 1) / fs->cluster_size; in fs_alloc_extent()
149 * fs->cluster_size, in fs_alloc_extent()
150 (offset_t)clusters_needed * fs->cluster_size, in fs_alloc_extent()
156 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, in fs_init() argument
171 fs->cluster_size = cluster_size; in fs_init()
173 sectors_per_cluster = cluster_size / DEFAULT_SECTOR_SIZE; in fs_init()
176 data_clusters = (data_size + cluster_size - 1) / cluster_size; in fs_init()
Dfs.h24 uint16_t cluster_size; member
48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out);
Dfatblock.c34 uint16_t cluster_size, offset_t data_size, in fs_import() argument
39 ret = fs_init(fs, cluster_size, data_size, total_size_out); in fs_import()