Searched refs:log_hash (Results 1 - 7 of 7) sorted by relevance

/linux-master/fs/ubifs/
H A Dreplay.c566 struct shash_desc *log_hash, u8 *hash)
572 ubifs_shash_copy_state(c, log_hash, hash_desc);
580 * @log_hash:
593 struct shash_desc *log_hash, int is_last)
612 err = authenticate_sleb_hash(c, log_hash, hash);
628 err = crypto_shash_update(log_hash, snod->node,
691 n_nodes = authenticate_sleb(c, sleb, b->bud->log_hash, is_last);
697 ubifs_shash_copy_state(c, b->bud->log_hash,
698 c->jheads[b->bud->jhead].log_hash);
912 bud->log_hash
565 authenticate_sleb_hash(struct ubifs_info *c, struct shash_desc *log_hash, u8 *hash) argument
592 authenticate_sleb(struct ubifs_info *c, struct ubifs_scan_leb *sleb, struct shash_desc *log_hash, int is_last) argument
[all...]
H A Dlog.c227 bud->log_hash = NULL;
267 err = ubifs_shash_update(c, c->log_hash, ref, UBIFS_REF_NODE_SZ);
271 err = ubifs_shash_copy_state(c, c->log_hash, c->jheads[jhead].log_hash);
377 err = ubifs_shash_init(c, c->log_hash);
381 err = ubifs_shash_update(c, c->log_hash, cs, UBIFS_CS_NODE_SZ);
411 err = ubifs_shash_update(c, c->log_hash, ref,
415 ubifs_shash_copy_state(c, c->log_hash, c->jheads[i].log_hash);
527 kfree(bud->log_hash);
[all...]
H A Dauth.c338 c->log_hash = ubifs_hash_get_desc(c);
339 if (IS_ERR(c->log_hash)) {
340 err = PTR_ERR(c->log_hash);
372 kfree(c->log_hash);
H A Dgc.c367 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash,
399 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash,
420 c->jheads[GCHD].log_hash);
H A Dsuper.c837 c->jheads[i].log_hash = ubifs_hash_get_desc(c);
838 if (IS_ERR(c->jheads[i].log_hash)) {
839 err = PTR_ERR(c->jheads[i].log_hash);
861 kfree(c->jheads[i].log_hash);
881 kfree(c->jheads[i].log_hash);
923 kfree(bud->log_hash);
1194 kfree(bud->log_hash);
H A Dubifs.h718 * @log_hash: the log hash from the commit start node up to this bud
726 struct shash_desc *log_hash; member in struct:ubifs_bud
734 * @log_hash: the log hash from the commit start node up to this journal head
742 struct shash_desc *log_hash; member in struct:ubifs_jhead
1257 * @log_hash: the log hash from the commit start node up to the latest reference
1510 struct shash_desc *log_hash; member in struct:ubifs_info
H A Djournal.c282 err = ubifs_hash_nodes(c, buf, len, c->jheads[jhead].log_hash);

Completed in 218 milliseconds