Home
last modified time | relevance | path

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

/external/genext2fs/
Dgenext2fs.c1959 init_fs(int nbblocks, int nbinodes, int nbresrvd, int holes, uint32 fs_timestamp) in init_fs() argument
1977 if(nbblocks < 8) in init_fs()
1989 nbgroups = (nbblocks - first_block + BLOCKS_PER_GROUP - 1) / BLOCKS_PER_GROUP; in init_fs()
1991 nbblocks_per_group = rndup((nbblocks - first_block + nbgroups - 1)/nbgroups, 8); in init_fs()
2000 if((uint32)nbblocks - 1 < overhead_per_group * nbgroups) in init_fs()
2002 free_blocks = nbblocks - overhead_per_group*nbgroups - 1 /*boot block*/; in init_fs()
2005 if(!(fs = (filesystem*)calloc(nbblocks, BLOCKSIZE))) in init_fs()
2010 fs->sb.s_blocks_count = nbblocks; in init_fs()
2418 uint32 nbblocks = fs->sb.s_blocks_count; in dump_fs() local
2422 if(fwrite(fs, BLOCKSIZE, nbblocks, fh) < nbblocks) in dump_fs()
[all …]