Home
last modified time | relevance | path

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

/fs/ubifs/
Dreplay.c563 static int authenticate_sleb_hash(struct ubifs_info *c, struct shash_desc *log_hash, u8 *hash) in authenticate_sleb_hash() argument
569 ubifs_shash_copy_state(c, log_hash, hash_desc); in authenticate_sleb_hash()
599 struct shash_desc *log_hash, int is_last) in authenticate_sleb() argument
618 err = authenticate_sleb_hash(c, log_hash, hash); in authenticate_sleb()
633 err = crypto_shash_update(log_hash, snod->node, in authenticate_sleb()
696 n_nodes = authenticate_sleb(c, sleb, b->bud->log_hash, is_last); in replay_bud()
702 ubifs_shash_copy_state(c, b->bud->log_hash, in replay_bud()
703 c->jheads[b->bud->jhead].log_hash); in replay_bud()
917 bud->log_hash = ubifs_hash_get_desc(c); in add_replay_bud()
918 if (IS_ERR(bud->log_hash)) { in add_replay_bud()
[all …]
Dlog.c227 bud->log_hash = NULL; in ubifs_add_bud_to_log()
267 err = ubifs_shash_update(c, c->log_hash, ref, UBIFS_REF_NODE_SZ); in ubifs_add_bud_to_log()
271 err = ubifs_shash_copy_state(c, c->log_hash, c->jheads[jhead].log_hash); in ubifs_add_bud_to_log()
377 err = ubifs_shash_init(c, c->log_hash); in ubifs_log_start_commit()
381 err = ubifs_shash_update(c, c->log_hash, cs, UBIFS_CS_NODE_SZ); in ubifs_log_start_commit()
411 err = ubifs_shash_update(c, c->log_hash, ref, in ubifs_log_start_commit()
415 ubifs_shash_copy_state(c, c->log_hash, c->jheads[i].log_hash); in ubifs_log_start_commit()
527 kfree(bud->log_hash); in ubifs_log_post_commit()
Dauth.c354 c->log_hash = ubifs_hash_get_desc(c); in ubifs_init_authentication()
355 if (IS_ERR(c->log_hash)) { in ubifs_init_authentication()
356 err = PTR_ERR(c->log_hash); in ubifs_init_authentication()
388 kfree(c->log_hash); in __ubifs_exit_authentication()
Dgc.c370 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash, in move_nodes()
402 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash, in move_nodes()
423 c->jheads[GCHD].log_hash); in move_nodes()
Dsuper.c823 c->jheads[i].log_hash = ubifs_hash_get_desc(c); in alloc_wbufs()
824 if (IS_ERR(c->jheads[i].log_hash)) { in alloc_wbufs()
825 err = PTR_ERR(c->jheads[i].log_hash); in alloc_wbufs()
847 kfree(c->jheads[i].log_hash); in alloc_wbufs()
867 kfree(c->jheads[i].log_hash); in free_wbufs()
Dubifs.h718 struct shash_desc *log_hash; member
734 struct shash_desc *log_hash; member
1479 struct shash_desc *log_hash; member
Djournal.c282 err = ubifs_hash_nodes(c, buf, len, c->jheads[jhead].log_hash); in write_head()