Lines Matching refs:jsb
211 journal_superblock_t *jsb; in get_journal_sb() local
225 jsb = (journal_superblock_t *) buf; in get_journal_sb()
226 if ((jsb->s_header.h_magic != (unsigned)ntohl(JBD2_MAGIC_NUMBER)) || in get_journal_sb()
227 (jsb->s_header.h_blocktype != (unsigned)ntohl(JBD2_SUPERBLOCK_V2))) { in get_journal_sb()
255 journal_superblock_t *jsb; in remove_journal_device() local
297 jsb = (journal_superblock_t *) buf; in remove_journal_device()
299 nr_users = ntohl(jsb->s_nr_users); in remove_journal_device()
307 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
315 memcpy(&jsb->s_users[i * 16], &jsb->s_users[(i + 1) * 16], 16); in remove_journal_device()
316 jsb->s_nr_users = htonl(nr_users); in remove_journal_device()
2866 journal_superblock_t *jsb; in fs_update_journal_user() local
2899 jsb = (journal_superblock_t *) buf; in fs_update_journal_user()
2901 nr_users = ntohl(jsb->s_nr_users); in fs_update_journal_user()
2908 j_uuid = journal_user(old_uuid, jsb->s_users, nr_users); in fs_update_journal_user()
3350 journal_superblock_t *jsb; in main() local
3352 jsb = (journal_superblock_t *) buf; in main()
3354 memcpy(jsb->s_uuid, sb->s_uuid, sizeof(sb->s_uuid)); in main()