Lines Matching refs:jfs
203 static int get_journal_sb(ext2_filsys jfs, char buf[SUPERBLOCK_SIZE]) in get_journal_sb() argument
208 if (!ext2fs_has_feature_journal_dev(jfs->super)) { in get_journal_sb()
213 if ((retval = io_channel_read_blk64(jfs->io, in get_journal_sb()
214 ext2fs_journal_sb_start(jfs->blocksize), -SUPERBLOCK_SIZE, buf))) { in get_journal_sb()
248 ext2_filsys jfs; in remove_journal_device() local
278 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
285 if ((retval = get_journal_sb(jfs, buf))) { in remove_journal_device()
314 retval = io_channel_write_blk64(jfs->io, in remove_journal_device()
1533 ext2_filsys jfs; in add_journal() local
1554 fs->blocksize, io_ptr, &jfs); in add_journal()
1565 retval = ext2fs_add_journal_device(fs, jfs); in add_journal()
1566 ext2fs_close_free(&jfs); in add_journal()
2829 ext2_filsys jfs; in fs_update_journal_user() local
2845 0, 0, unix_io_manager, &jfs); in fs_update_journal_user()
2853 retval = get_journal_sb(jfs, buf); in fs_update_journal_user()
2879 start = ext2fs_journal_sb_start(jfs->blocksize); in fs_update_journal_user()
2881 retval = io_channel_write_blk64(jfs->io, start, -SUPERBLOCK_SIZE, buf); in fs_update_journal_user()
2888 ext2fs_close(jfs); in fs_update_journal_user()