blob: 2bf93dc67c11525f80989e866b0db8252023f71f [file] [log] [blame]
* Copyright (C) 2011 The Chromium OS Authors <>
* Device-Mapper block hash tree interface.
* This file is released under the GPLv2.
/* Functions for creating struct dm_bhts on disk. A newly created dm_bht
* should not be directly used for verification. (It should be repopulated.)
* In addition, these functions aren't meant to be called in parallel.
int dm_bht_compute(struct dm_bht *bht);
void dm_bht_set_buffer(struct dm_bht *bht, void *buffer);
int dm_bht_store_block(struct dm_bht *bht, unsigned int block,
u8 *block_data);