Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dutil.c240 int j_blocks; in figure_journal_size() local
242 j_blocks = ext2fs_default_journal_size(ext2fs_blocks_count(fs->super)); in figure_journal_size()
243 if (j_blocks < 0) { in figure_journal_size()
249 j_blocks = size * 1024 / (fs->blocksize / 1024); in figure_journal_size()
250 if (j_blocks < 1024 || j_blocks > 10240000) { in figure_journal_size()
255 j_blocks); in figure_journal_size()
258 if ((unsigned) j_blocks > ext2fs_free_blocks_count(fs->super) / 2) { in figure_journal_size()
264 return j_blocks; in figure_journal_size()