Lines Matching refs:key

62 	union ubifs_key key;  member
204 ino = key_inum(c, &r->key); in trun_remove_range()
223 dbg_mntk(&r->key, "LEB %d:%d len %d deletion %d sqnum %llu key ", in apply_replay_entry()
229 if (is_hash_key(c, &r->key)) { in apply_replay_entry()
231 err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); in apply_replay_entry()
233 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
237 switch (key_type(c, &r->key)) { in apply_replay_entry()
240 ino_t inum = key_inum(c, &r->key); in apply_replay_entry()
249 err = ubifs_tnc_remove(c, &r->key); in apply_replay_entry()
253 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
259 err = ubifs_recover_size_accum(c, &r->key, r->deletion, in apply_replay_entry()
329 if (is_hash_key(c, &r->key)) in destroy_replay_list()
357 union ubifs_key *key, unsigned long long sqnum, in insert_node() argument
363 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_node()
365 if (key_inum(c, key) >= c->highest_inum) in insert_node()
366 c->highest_inum = key_inum(c, key); in insert_node()
379 key_copy(c, key, &r->key); in insert_node()
405 union ubifs_key *key, const char *name, int nlen, in insert_dent() argument
411 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_dent()
412 if (key_inum(c, key) >= c->highest_inum) in insert_dent()
413 c->highest_inum = key_inum(c, key); in insert_dent()
432 key_copy(c, key, &r->key); in insert_dent()
453 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry()
608 &snod->key, snod->sqnum, deletion, in replay_bud()
616 key_block(c, &snod->key) * in replay_bud()
620 &snod->key, snod->sqnum, deletion, in replay_bud()
634 &snod->key, dent->name, in replay_bud()
644 union ubifs_key key; in replay_bud() local
658 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
660 &key, snod->sqnum, 1, &used, in replay_bud()