Searched refs:csum_size (Results 1 – 13 of 13) sorted by relevance
38 int csum_size = 0; in ext2fs_new_dir_block() local49 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()
44 int csum_size = 0; in link_proc() local57 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()
199 int csum_size = 0; in ext2fs_process_dir_block() local222 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()
281 int csum_size = 0; in ext2fs_inline_data_convert_dir() local285 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()
465 int csum_size = 0; in copy_dir_entries() local478 csum_size = sizeof(struct ext2_dir_entry_tail); in copy_dir_entries()494 left = fs->blocksize - csum_size; in copy_dir_entries()496 ((fs->blocksize - csum_size) * ctx->htree_slack_percentage)/100; in copy_dir_entries()511 if (csum_size) { in copy_dir_entries()521 left = (fs->blocksize - csum_size) - offset; in copy_dir_entries()554 if (csum_size) { in copy_dir_entries()570 int csum_size = 0; in set_root_node() local598 csum_size = sizeof(struct ext2_dx_tail); in set_root_node()601 limits->limit = (fs->blocksize - (32 + csum_size)) / in set_root_node()[all …]
580 int csum_size = 0; local597 csum_size = sizeof(struct journal_revoke_tail);606 if (offset + sz > journal->j_blocksize - csum_size) {
860 unsigned csum_size = 0; in scan_revoke_records() local872 csum_size = sizeof(struct journal_revoke_tail); in scan_revoke_records()873 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
582 int csum_size = 0; in parse_int_node() local624 csum_size = sizeof(struct ext2_dx_tail); in parse_int_node()626 (csum_size + ((char *) ent - block_buf))) / in parse_int_node()
62 const int csum_size = sizeof(crc); in btrfs_check_super_csum() local63 char result[csum_size]; in btrfs_check_super_csum()69 if (memcmp(raw_disk_sb, result, csum_size)) in btrfs_check_super_csum()
48 int csum_size = 0; in htree_dump_leaf_node() local51 csum_size = sizeof(struct ext2_dir_entry_tail); in htree_dump_leaf_node()100 if ((offset == fs->blocksize - csum_size) && in htree_dump_leaf_node()102 (dirent->rec_len == csum_size) && in htree_dump_leaf_node()
169 unsigned csum_size = 0; in journal_add_revoke_to_trans() local184 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() local288 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()
506 int offset, tag_size, csum_size = 0; in dump_descriptor_block() local519 csum_size = sizeof(struct journal_block_tail); in dump_descriptor_block()537 if (offset > blocksize - csum_size) in dump_descriptor_block()
602 unsigned csum_size = sizeof(struct ext2_dir_entry_tail); in rewrite_dir_block() local610 rec_len == csum_size) { in rewrite_dir_block()620 if (rec_len <= (8 + name_size + csum_size)) { in rewrite_dir_block()625 ext2fs_set_rec_len(fs, rec_len - csum_size, last_de); in rewrite_dir_block()