/external/e2fsprogs/lib/ext2fs/ |
D | link.c | 44 int csum_size = 0; in link_proc() local 57 csum_size = sizeof(struct ext2_dir_entry_tail); in link_proc() 63 if ((offset + (int) curr_rec_len < blocksize - (8 + csum_size)) && in link_proc() 81 if (csum_size && in link_proc() 84 curr_rec_len -= csum_size; in link_proc() 94 if (csum_size && in link_proc() 98 curr_rec_len -= csum_size; in link_proc()
|
D | newdir.c | 38 int csum_size = 0; in ext2fs_new_dir_block() local 49 csum_size = sizeof(struct ext2_dir_entry_tail); in ext2fs_new_dir_block() 51 retval = ext2fs_set_rec_len(fs, fs->blocksize - csum_size, dir); in ext2fs_new_dir_block() 67 rec_len = (fs->blocksize - csum_size) - EXT2_DIR_REC_LEN(1); in ext2fs_new_dir_block() 87 if (csum_size) { in ext2fs_new_dir_block()
|
D | dir_iterate.c | 199 int csum_size = 0; in ext2fs_process_dir_block() local 222 csum_size = sizeof(struct ext2_dir_entry_tail); in ext2fs_process_dir_block() 242 (offset == buflen - csum_size) && in ext2fs_process_dir_block() 243 (dirent->rec_len == csum_size) && in ext2fs_process_dir_block()
|
D | inline_data.c | 281 int csum_size = 0; in ext2fs_inline_data_convert_dir() local 285 csum_size = sizeof(struct ext2_dir_entry_tail); in ext2fs_inline_data_convert_dir() 299 rec_len = (fs->blocksize - csum_size) - EXT2_DIR_REC_LEN(1); in ext2fs_inline_data_convert_dir() 331 rec_len += fs->blocksize - csum_size - offset; in ext2fs_inline_data_convert_dir() 336 if (csum_size) { in ext2fs_inline_data_convert_dir()
|
/external/e2fsprogs/e2fsck/ |
D | rehash.c | 440 int csum_size = 0; in copy_dir_entries() local 453 csum_size = sizeof(struct ext2_dir_entry_tail); in copy_dir_entries() 469 left = fs->blocksize - csum_size; in copy_dir_entries() 471 ((fs->blocksize - csum_size) * ctx->htree_slack_percentage)/100; in copy_dir_entries() 486 if (csum_size) { in copy_dir_entries() 496 left = (fs->blocksize - csum_size) - offset; in copy_dir_entries() 529 if (csum_size) { in copy_dir_entries() 545 int csum_size = 0; in set_root_node() local 573 csum_size = sizeof(struct ext2_dx_tail); in set_root_node() 576 limits->limit = (fs->blocksize - (32 + csum_size)) / in set_root_node() [all …]
|
D | revoke.c | 580 int csum_size = 0; local 597 csum_size = sizeof(struct journal_revoke_tail); 606 if (offset + sz > journal->j_blocksize - csum_size) {
|
D | recovery.c | 860 unsigned csum_size = 0; in scan_revoke_records() local 872 csum_size = sizeof(struct journal_revoke_tail); in scan_revoke_records() 873 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
|
D | pass2.c | 581 int csum_size = 0; in parse_int_node() local 623 csum_size = sizeof(struct ext2_dx_tail); in parse_int_node() 625 (csum_size + ((char *) ent - block_buf))) / in parse_int_node()
|
/external/u-boot/fs/btrfs/ |
D | super.c | 61 const int csum_size = sizeof(crc); in btrfs_check_super_csum() local 62 char result[csum_size]; in btrfs_check_super_csum() 68 if (memcmp(raw_disk_sb, result, csum_size)) in btrfs_check_super_csum()
|
/external/e2fsprogs/debugfs/ |
D | htree.c | 47 int csum_size = 0; in htree_dump_leaf_node() local 50 csum_size = sizeof(struct ext2_dir_entry_tail); in htree_dump_leaf_node() 98 if ((offset == fs->blocksize - csum_size) && in htree_dump_leaf_node() 100 (dirent->rec_len == csum_size) && in htree_dump_leaf_node()
|
D | do_journal.c | 169 unsigned csum_size = 0; in journal_add_revoke_to_trans() local 184 csum_size = sizeof(struct journal_revoke_tail); in journal_add_revoke_to_trans() 205 if (offset + sz > trans->journal->j_blocksize - csum_size) { in journal_add_revoke_to_trans() 269 int csum_size = 0; in journal_add_blocks_to_trans() local 288 csum_size = sizeof(struct journal_block_tail); in journal_add_blocks_to_trans() 323 (char *)jdb_buf + trans->journal->j_blocksize - csum_size) { in journal_add_blocks_to_trans()
|
D | revoke.c | 580 int csum_size = 0; local 597 csum_size = sizeof(struct journal_revoke_tail); 606 if (offset + sz > journal->j_blocksize - csum_size) {
|
D | logdump.c | 506 int offset, tag_size, csum_size = 0; in dump_descriptor_block() local 519 csum_size = sizeof(struct journal_block_tail); in dump_descriptor_block() 537 if (offset > blocksize - csum_size) in dump_descriptor_block()
|
D | recovery.c | 860 unsigned csum_size = 0; in scan_revoke_records() local 872 csum_size = sizeof(struct journal_revoke_tail); in scan_revoke_records() 873 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 660 unsigned csum_size = sizeof(struct ext2_dir_entry_tail); in rewrite_dir_block() local 668 rec_len == csum_size) { in rewrite_dir_block() 678 if (rec_len <= (8 + name_size + csum_size)) { in rewrite_dir_block() 683 ext2fs_set_rec_len(fs, rec_len - csum_size, last_de); in rewrite_dir_block()
|