Lines Matching refs:jsb
201 journal_superblock_t *jsb; in get_journal_sb() local
215 jsb = (journal_superblock_t *) buf; in get_journal_sb()
216 if ((jsb->s_header.h_magic != (unsigned)ntohl(JFS_MAGIC_NUMBER)) || in get_journal_sb()
217 (jsb->s_header.h_blocktype != (unsigned)ntohl(JFS_SUPERBLOCK_V2))) { in get_journal_sb()
245 journal_superblock_t *jsb; in remove_journal_device() local
287 jsb = (journal_superblock_t *) buf; in remove_journal_device()
289 nr_users = ntohl(jsb->s_nr_users); in remove_journal_device()
291 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
299 memcpy(&jsb->s_users[i * 16], &jsb->s_users[(i + 1) * 16], 16); in remove_journal_device()
300 jsb->s_nr_users = htonl(nr_users); in remove_journal_device()
2673 journal_superblock_t *jsb; in fs_update_journal_user() local
2706 jsb = (journal_superblock_t *) buf; in fs_update_journal_user()
2708 nr_users = ntohl(jsb->s_nr_users); in fs_update_journal_user()
2710 j_uuid = journal_user(old_uuid, jsb->s_users, nr_users); in fs_update_journal_user()
3098 journal_superblock_t *jsb; in main() local
3100 jsb = (journal_superblock_t *) buf; in main()
3102 memcpy(jsb->s_uuid, sb->s_uuid, sizeof(sb->s_uuid)); in main()