Lines Matching refs:num_blocks

45 					   __u32 num_blocks, int flags,  in ext2fs_create_journal_superblock()  argument
51 if (num_blocks < 1024) in ext2fs_create_journal_superblock()
65 jsb->s_maxlen = htonl(num_blocks); in ext2fs_create_journal_superblock()
93 blk_t num_blocks, int flags) in write_journal_file() argument
100 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, in write_journal_file()
124 for (i = 1; i < num_blocks; i++) { in write_journal_file()
217 int num_blocks; member
256 es->num_blocks--; in mkjournal_proc()
289 if (es->num_blocks == 0) in mkjournal_proc()
300 blk_t num_blocks, int flags) in write_journal_inode() argument
309 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, in write_journal_inode()
324 es.num_blocks = num_blocks; in write_journal_inode()
379 inode_size = (unsigned long long)fs->blocksize * num_blocks; in write_journal_inode()
412 int ext2fs_default_journal_size(__u64 num_blocks) in ext2fs_default_journal_size() argument
414 if (num_blocks < 2048) in ext2fs_default_journal_size()
416 if (num_blocks < 32768) in ext2fs_default_journal_size()
418 if (num_blocks < 256*1024) in ext2fs_default_journal_size()
420 if (num_blocks < 512*1024) in ext2fs_default_journal_size()
422 if (num_blocks < 1024*1024) in ext2fs_default_journal_size()
493 errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t num_blocks, int flags) in ext2fs_add_journal_inode() argument
544 if ((retval = write_journal_file(fs, jfile, num_blocks, flags))) in ext2fs_add_journal_inode()
584 num_blocks, flags))) in ext2fs_add_journal_inode()