Lines Matching refs:key
56 union ubifs_key key; member
198 ino = key_inum(c, &r->key); in trun_remove_range()
217 dbg_mntk(&r->key, "LEB %d:%d len %d deletion %d sqnum %llu key ", in apply_replay_entry()
223 if (is_hash_key(c, &r->key)) { in apply_replay_entry()
225 err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); in apply_replay_entry()
227 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
231 switch (key_type(c, &r->key)) { in apply_replay_entry()
234 ino_t inum = key_inum(c, &r->key); in apply_replay_entry()
243 err = ubifs_tnc_remove(c, &r->key); in apply_replay_entry()
247 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
253 err = ubifs_recover_size_accum(c, &r->key, r->deletion, in apply_replay_entry()
323 if (is_hash_key(c, &r->key)) in destroy_replay_list()
351 union ubifs_key *key, unsigned long long sqnum, in insert_node() argument
357 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_node()
359 if (key_inum(c, key) >= c->highest_inum) in insert_node()
360 c->highest_inum = key_inum(c, key); in insert_node()
373 key_copy(c, key, &r->key); in insert_node()
399 union ubifs_key *key, const char *name, int nlen, in insert_dent() argument
405 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_dent()
406 if (key_inum(c, key) >= c->highest_inum) in insert_dent()
407 c->highest_inum = key_inum(c, key); in insert_dent()
426 key_copy(c, key, &r->key); in insert_dent()
447 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry()
602 &snod->key, snod->sqnum, deletion, in replay_bud()
610 key_block(c, &snod->key) * in replay_bud()
614 &snod->key, snod->sqnum, deletion, in replay_bud()
628 &snod->key, dent->name, in replay_bud()
638 union ubifs_key key; in replay_bud() local
652 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
654 &key, snod->sqnum, 1, &used, in replay_bud()