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()
195 int csum_size = 0; in link_proc() local207 csum_size = sizeof(struct ext2_dir_entry_tail); in link_proc()213 if ((offset + (int) curr_rec_len < blocksize - (8 + csum_size)) && in link_proc()326 int csum_size = 0; in dx_move_dirents() local330 csum_size = sizeof(struct ext2_dir_entry_tail); in dx_move_dirents()345 rec_len = fs->blocksize - ((char *)to - (char *)base) - csum_size; in dx_move_dirents()349 if (csum_size) in dx_move_dirents()463 int csum_size = 0; in dx_grow_tree() local467 csum_size = sizeof(struct ext2_dx_tail); in dx_grow_tree()514 (fs->blocksize - (8 + csum_size)) / in dx_grow_tree()[all …]
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()
2106 int csum_size = 0; in ext2fs_htree_intnode_maxrecs() local2110 csum_size = sizeof(struct ext2_dx_tail); in ext2fs_htree_intnode_maxrecs()2111 return blocks * ((fs->blocksize - (8 + csum_size)) / in ext2fs_htree_intnode_maxrecs()
548 int csum_size = 0; in copy_dir_entries() local563 csum_size = sizeof(struct ext2_dir_entry_tail); in copy_dir_entries()579 left = fs->blocksize - csum_size; in copy_dir_entries()581 ((fs->blocksize - csum_size) * ctx->htree_slack_percentage)/100; in copy_dir_entries()597 if (csum_size) { in copy_dir_entries()607 left = (fs->blocksize - csum_size) - offset; in copy_dir_entries()645 if (csum_size) { in copy_dir_entries()662 int csum_size = 0; in set_root_node() local693 csum_size = sizeof(struct ext2_dx_tail); in set_root_node()696 limits->limit = (fs->blocksize - (32 + csum_size)) / in set_root_node()[all …]
578 int csum_size = 0; in write_one_revoke_record() local594 csum_size = sizeof(struct jbd2_journal_block_tail); in write_one_revoke_record()603 if (offset + sz > journal->j_blocksize - csum_size) { in write_one_revoke_record()
899 unsigned csum_size = 0; in scan_revoke_records() local908 csum_size = sizeof(struct jbd2_journal_block_tail); in scan_revoke_records()909 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
648 int csum_size = 0; in parse_int_node() local690 csum_size = sizeof(struct ext2_dx_tail); in parse_int_node()692 (csum_size + ((char *) ent - block_buf))) / in parse_int_node()
48 int csum_size = 0; in htree_dump_leaf_node() local51 csum_size = sizeof(struct ext2_dir_entry_tail); in htree_dump_leaf_node()102 if ((offset == fs->blocksize - csum_size) && in htree_dump_leaf_node()104 (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 jbd2_journal_block_tail); in journal_add_revoke_to_trans()205 if (offset + sz > trans->journal->j_blocksize - csum_size) { in journal_add_revoke_to_trans()270 int csum_size = 0; in journal_add_blocks_to_trans() local289 csum_size = sizeof(struct jbd2_journal_block_tail); in journal_add_blocks_to_trans()324 (char *)jdb_buf + trans->journal->j_blocksize - csum_size) { in journal_add_blocks_to_trans()
650 int offset, tag_size, csum_size = 0; in dump_descriptor_block() local663 csum_size = sizeof(struct jbd2_journal_block_tail); in dump_descriptor_block()681 if (offset > blocksize - csum_size) in dump_descriptor_block()
617 unsigned csum_size = sizeof(struct ext2_dir_entry_tail); in rewrite_dir_block() local625 rec_len == csum_size) { in rewrite_dir_block()635 if (rec_len <= (8 + name_size + csum_size)) { in rewrite_dir_block()640 ext2fs_set_rec_len(fs, rec_len - csum_size, last_de); in rewrite_dir_block()