/third_party/e2fsprogs/lib/e2p/ |
D | ljs.c | 43 static inline int get_num_fc_blks(journal_superblock_t *jsb) in get_num_fc_blks() argument 45 int num_fc_blocks = e2p_be32(jsb->s_num_fc_blks); in get_num_fc_blks() 63 journal_superblock_t *jsb = (journal_superblock_t *) journal_sb_buf; in e2p_list_journal_super() local 73 journal_blks = ntohl(jsb->s_maxlen) - num_fc_blks; in e2p_list_journal_super() 75 for (i=0, mask_ptr=&jsb->s_feature_compat; i <3; i++,mask_ptr++) { in e2p_list_journal_super() 88 size = (ntohl(jsb->s_blocksize) / 1024) * ntohl(jsb->s_maxlen); in e2p_list_journal_super() 93 nr_users = (unsigned int) ntohl(jsb->s_nr_users); in e2p_list_journal_super() 94 if (exp_block_size != (int) ntohl(jsb->s_blocksize)) in e2p_list_journal_super() 96 (unsigned int)ntohl(jsb->s_blocksize)); in e2p_list_journal_super() 104 if (ntohl(jsb->s_first) != 1) in e2p_list_journal_super() [all …]
|
/third_party/e2fsprogs/debugfs/ |
D | journal.c | 48 journal_superblock_t *jsb) in ext2fs_journal_verify_csum_type() argument 53 return jsb->s_checksum_type == JBD2_CRC32C_CHKSUM; in ext2fs_journal_verify_csum_type() 56 static __u32 ext2fs_journal_sb_csum(journal_superblock_t *jsb) in ext2fs_journal_sb_csum() argument 60 old_crc = jsb->s_checksum; in ext2fs_journal_sb_csum() 61 jsb->s_checksum = 0; in ext2fs_journal_sb_csum() 62 crc = ext2fs_crc32c_le(~0, (unsigned char *)jsb, in ext2fs_journal_sb_csum() 64 jsb->s_checksum = old_crc; in ext2fs_journal_sb_csum() 70 journal_superblock_t *jsb) in ext2fs_journal_sb_csum_verify() argument 77 provided = ext2fs_be32_to_cpu(jsb->s_checksum); in ext2fs_journal_sb_csum_verify() 78 calculated = ext2fs_journal_sb_csum(jsb); in ext2fs_journal_sb_csum_verify() [all …]
|
D | logdump.c | 74 #define WRAP(jsb, blocknr, maxlen) \ argument 76 blocknr -= (maxlen - be32_to_cpu((jsb)->s_first)); 355 journal_superblock_t *jsb; in dump_journal() local 371 jsb = (journal_superblock_t *) buf; in dump_journal() 378 if ((be32_to_cpu(jsb->s_header.h_magic) != JBD2_MAGIC_NUMBER) && in dump_journal() 406 jsb = (journal_superblock_t *) jsb_buffer; in dump_journal() 407 if (be32_to_cpu(jsb->s_header.h_magic) != JBD2_MAGIC_NUMBER) { in dump_journal() 412 blocksize = be32_to_cpu(jsb->s_blocksize); in dump_journal() 418 be32_to_cpu(jsb->s_blocksize), blocksize); in dump_journal() 421 transaction = be32_to_cpu(jsb->s_sequence); in dump_journal() [all …]
|
D | do_journal.c | 770 journal_superblock_t *jsb; in update_journal_csum() local 783 jsb = journal->j_superblock; in update_journal_csum() 802 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in update_journal_csum() 803 sizeof(jsb->s_uuid)); in update_journal_csum()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | mkjournal.c | 52 journal_superblock_t *jsb; in ext2fs_create_journal_superblock2() local 57 if ((retval = ext2fs_get_mem(fs->blocksize, &jsb))) in ext2fs_create_journal_superblock2() 60 memset (jsb, 0, fs->blocksize); in ext2fs_create_journal_superblock2() 62 jsb->s_header.h_magic = htonl(JBD2_MAGIC_NUMBER); in ext2fs_create_journal_superblock2() 64 jsb->s_header.h_blocktype = htonl(JBD2_SUPERBLOCK_V1); in ext2fs_create_journal_superblock2() 66 jsb->s_header.h_blocktype = htonl(JBD2_SUPERBLOCK_V2); in ext2fs_create_journal_superblock2() 67 jsb->s_blocksize = htonl(fs->blocksize); in ext2fs_create_journal_superblock2() 68 jsb->s_maxlen = htonl(jparams->num_journal_blocks + jparams->num_fc_blocks); in ext2fs_create_journal_superblock2() 69 jsb->s_nr_users = htonl(1); in ext2fs_create_journal_superblock2() 70 jsb->s_first = htonl(1); in ext2fs_create_journal_superblock2() [all …]
|
D | kernel-jbd.h | 266 extern int jbd2_journal_get_num_fc_blks(journal_superblock_t *jsb); 411 _INLINE_ int jbd2_journal_get_num_fc_blks(journal_superblock_t *jsb) in jbd2_journal_get_num_fc_blks() argument 413 int num_fc_blocks = be32_to_cpu(jsb->s_num_fc_blks); in jbd2_journal_get_num_fc_blks()
|
/third_party/e2fsprogs/e2fsck/ |
D | journal.c | 43 journal_superblock_t *jsb) in e2fsck_journal_verify_csum_type() argument 48 return jsb->s_checksum_type == JBD2_CRC32C_CHKSUM; in e2fsck_journal_verify_csum_type() 51 static __u32 e2fsck_journal_sb_csum(journal_superblock_t *jsb) in e2fsck_journal_sb_csum() argument 55 old_crc = jsb->s_checksum; in e2fsck_journal_sb_csum() 56 jsb->s_checksum = 0; in e2fsck_journal_sb_csum() 57 crc = ext2fs_crc32c_le(~0, (unsigned char *)jsb, in e2fsck_journal_sb_csum() 59 jsb->s_checksum = old_crc; in e2fsck_journal_sb_csum() 65 journal_superblock_t *jsb) in e2fsck_journal_sb_csum_verify() argument 72 provided = ext2fs_be32_to_cpu(jsb->s_checksum); in e2fsck_journal_sb_csum_verify() 73 calculated = e2fsck_journal_sb_csum(jsb); in e2fsck_journal_sb_csum_verify() [all …]
|
D | jfs_user.h | 214 #define JSB_HAS_INCOMPAT_FEATURE(jsb, mask) \ argument 215 ((jsb)->s_header.h_blocktype == ext2fs_cpu_to_be32(JBD2_SUPERBLOCK_V2) && \ 216 ((jsb)->s_feature_incompat & ext2fs_cpu_to_be32((mask))))
|
/third_party/e2fsprogs/misc/ |
D | dumpe2fs.c | 361 journal_superblock_t *jsb; in print_inline_journal_information() local 390 jsb = (journal_superblock_t *) buf; in print_inline_journal_information() 391 if (be32_to_cpu(jsb->s_header.h_magic) != JBD2_MAGIC_NUMBER) { in print_inline_journal_information() 405 journal_superblock_t *jsb; in print_journal_information() local 416 jsb = (journal_superblock_t *) buf; in print_journal_information() 417 if ((jsb->s_header.h_magic != (unsigned) ntohl(JBD2_MAGIC_NUMBER)) || in print_journal_information() 418 (jsb->s_header.h_blocktype != in print_journal_information()
|
D | tune2fs.c | 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() [all …]
|
/third_party/openssl/test/recipes/30-test_evp_data/ |
D | evppkey.txt | 17900 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 17916 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 17977 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 17998 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18065 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18092 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18175 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18212 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18317 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb 18365 Y3K7GQsHp8juCm1wngL84c334uzANATNKDQvYZFy/pzphYP/jk8SMu7ygYPD/jsb
|