Lines Matching refs:jfs
207 static int get_journal_sb(ext2_filsys jfs, char buf[SUPERBLOCK_SIZE]) in get_journal_sb() argument
212 if (!ext2fs_has_feature_journal_dev(jfs->super)) { in get_journal_sb()
217 if ((retval = io_channel_read_blk64(jfs->io, in get_journal_sb()
218 ext2fs_journal_sb_start(jfs->blocksize), -SUPERBLOCK_SIZE, buf))) { in get_journal_sb()
252 ext2_filsys jfs; in remove_journal_device() local
282 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
289 if ((retval = get_journal_sb(jfs, buf))) { in remove_journal_device()
318 retval = io_channel_write_blk64(jfs->io, in remove_journal_device()
1490 ext2_filsys jfs; in add_journal() local
1511 fs->blocksize, io_ptr, &jfs); in add_journal()
1522 retval = ext2fs_add_journal_device(fs, jfs); in add_journal()
1523 ext2fs_close_free(&jfs); in add_journal()
2845 ext2_filsys jfs; in fs_update_journal_user() local
2861 0, 0, unix_io_manager, &jfs); in fs_update_journal_user()
2869 retval = get_journal_sb(jfs, buf); in fs_update_journal_user()
2895 start = ext2fs_journal_sb_start(jfs->blocksize); in fs_update_journal_user()
2897 retval = io_channel_write_blk64(jfs->io, start, -SUPERBLOCK_SIZE, buf); in fs_update_journal_user()
2904 ext2fs_close(jfs); in fs_update_journal_user()