Searched refs:log_hash (Results 1 – 7 of 7) sorted by relevance
| /fs/ubifs/ |
| A D | replay.c | 567 struct shash_desc *log_hash, u8 *hash) in authenticate_sleb_hash() argument 573 ubifs_shash_copy_state(c, log_hash, hash_desc); in authenticate_sleb_hash() 594 struct shash_desc *log_hash, int is_last) in authenticate_sleb() argument 698 ubifs_shash_copy_state(c, b->bud->log_hash, in replay_bud() 699 c->jheads[b->bud->jhead].log_hash); in replay_bud() 913 bud->log_hash = ubifs_hash_get_desc(c); in add_replay_bud() 914 if (IS_ERR(bud->log_hash)) { in add_replay_bud() 915 err = PTR_ERR(bud->log_hash); in add_replay_bud() 919 ubifs_shash_copy_state(c, c->log_hash, bud->log_hash); in add_replay_bud() 1037 err = ubifs_shash_init(c, c->log_hash); in replay_log_leb() [all …]
|
| A D | log.c | 227 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()
|
| A D | auth.c | 338 c->log_hash = ubifs_hash_get_desc(c); in ubifs_init_authentication() 339 if (IS_ERR(c->log_hash)) { in ubifs_init_authentication() 340 err = PTR_ERR(c->log_hash); in ubifs_init_authentication() 372 kfree(c->log_hash); in __ubifs_exit_authentication()
|
| A D | gc.c | 367 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash, in move_nodes() 399 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash, in move_nodes() 420 c->jheads[GCHD].log_hash); in move_nodes()
|
| A D | super.c | 837 c->jheads[i].log_hash = ubifs_hash_get_desc(c); in alloc_wbufs() 838 if (IS_ERR(c->jheads[i].log_hash)) { in alloc_wbufs() 839 err = PTR_ERR(c->jheads[i].log_hash); in alloc_wbufs() 861 kfree(c->jheads[i].log_hash); in alloc_wbufs() 881 kfree(c->jheads[i].log_hash); in free_wbufs() 923 kfree(bud->log_hash); in free_buds() 1137 kfree(bud->log_hash); in destroy_journal()
|
| A D | ubifs.h | 714 struct shash_desc *log_hash; member 730 struct shash_desc *log_hash; member 1491 struct shash_desc *log_hash; member
|
| A D | journal.c | 282 err = ubifs_hash_nodes(c, buf, len, c->jheads[jhead].log_hash); in write_head()
|
Completed in 29 milliseconds