Lines Matching refs:rec_len
617 unsigned int rec_len, name_size; in rewrite_dir_block() local
626 ctx->errcode = ext2fs_get_rec_len(fs, de, &rec_len); in rewrite_dir_block()
627 if (!ctx->errcode && !rec_len) in rewrite_dir_block()
631 de = (struct ext2_dir_entry *)(((char *)de) + rec_len); in rewrite_dir_block()
633 ctx->errcode = ext2fs_get_rec_len(fs, last_de, &rec_len); in rewrite_dir_block()
643 rec_len != sizeof(struct ext2_dir_entry_tail)) in rewrite_dir_block()
650 &rec_len); in rewrite_dir_block()
651 if (!rec_len) in rewrite_dir_block()
655 ext2fs_set_rec_len(fs, rec_len + in rewrite_dir_block()
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()