Lines Matching refs:new_block
398 block_entry_t new_block = NULL, old_block = NULL; in ext2fs_file_write() local
445 new_block = calloc(1, sizeof(*new_block)); in ext2fs_file_write()
446 if (!new_block) { in ext2fs_file_write()
451 fs->blocksize, new_block->sha); in ext2fs_file_write()
454 new_block->sha, in ext2fs_file_write()
455 sizeof(new_block->sha)); in ext2fs_file_write()
461 free(new_block); in ext2fs_file_write()
462 new_block = NULL; in ext2fs_file_write()
471 free(new_block); in ext2fs_file_write()
472 new_block = NULL; in ext2fs_file_write()
476 if (new_block) { in ext2fs_file_write()
477 new_block->physblock = file->physblock; in ext2fs_file_write()
478 ext2fs_hashmap_add(fs->block_sha_map, new_block, in ext2fs_file_write()
479 new_block->sha, sizeof(new_block->sha)); in ext2fs_file_write()