Lines Matching refs:block_buffer
635 char *block_buffer = NULL; in search_dir() local
644 block_buffer = zalloc(fs->blksz); in search_dir()
645 if (!block_buffer) in search_dir()
656 0, fs->blksz, (char *)block_buffer); in search_dir()
667 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir()
685 free(block_buffer); in search_dir()
691 free(block_buffer); in search_dir()
868 char *block_buffer = NULL; in unlink_filename() local
875 block_buffer = zalloc(fs->blksz); in unlink_filename()
876 if (!block_buffer) in unlink_filename()
881 fs->blksz, block_buffer); in unlink_filename()
893 dir = (struct ext2_dirent *)(block_buffer + offset); in unlink_filename()
912 if (ext4fs_log_journal(block_buffer, blknr)) in unlink_filename()
925 if (ext4fs_put_metadata(block_buffer, blknr)) in unlink_filename()
930 free(block_buffer); in unlink_filename()