| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | gc.c | 129 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp() 130 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp() 173 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp() 174 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp() 187 ubifs_assert(key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 188 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 189 ubifs_assert(key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 190 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 264 ubifs_assert(key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes() 265 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes() [all …]
|
| H A D | tnc_misc.c | 316 switch (key_type(c, &zbr->key)) { in read_znode() 324 i, key_type(c, &zbr->key)); in read_znode() 332 type = key_type(c, &zbr->key); in read_znode() 454 int err, type = key_type(c, key); in ubifs_tnc_read_node()
|
| H A D | replay.c | 231 switch (key_type(c, &r->key)) { in apply_replay_entry() 447 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry() local 455 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry() 460 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { in ubifs_validate_entry() 461 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
|
| H A D | key.h | 316 static inline int key_type(const struct ubifs_info *c, in key_type() function 518 int type = key_type(c, key); in is_hash_key()
|
| H A D | tnc.c | 506 ret = try_read_node(c, node, key_type(c, key), zbr->len, zbr->lnum, in fallible_read_node() 1179 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0() 1563 key_type(c, key) != UBIFS_DATA_KEY) { in ubifs_tnc_get_bu_keys() 2019 if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { in tnc_insert() 2024 key_type(c, key1) == UBIFS_DATA_KEY) in tnc_insert() 2035 key_type(c, key1) == UBIFS_DATA_KEY) { in tnc_insert() 2038 key_type(c, key1) != UBIFS_DATA_KEY) { in tnc_insert() 2769 int n, err, type = key_type(c, key); in ubifs_tnc_next_ent() 2832 key_type(c, dkey) != type) { in ubifs_tnc_next_ent() 2999 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
|
| H A D | orphan.c | 823 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) in dbg_orphan_check() 825 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check()
|
| H A D | recovery.c | 1378 switch (key_type(c, key)) { in ubifs_recover_size_accum()
|
| H A D | debug.c | 105 int type = key_type(c, key); in dbg_snprintf_key() 2029 int err, type = key_type(c, &zbr->key); in check_leaf()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | attestation_key.c | 72 static const char *get_keyslot_str(keymaster_algorithm_t key_type) in get_keyslot_str() argument 74 switch (key_type) { in get_keyslot_str() 201 static uint32_t write_key(keymaster_algorithm_t key_type, in write_key() argument 208 get_keyslot_str(key_type)); in write_key() 216 static uint32_t write_cert(keymaster_algorithm_t key_type, const uint8_t *cert, in write_cert() argument 222 get_keyslot_str(key_type), index); in write_cert() 229 static uint32_t write_cert_chain_length(keymaster_algorithm_t key_type, in write_cert_chain_length() argument 237 ATTESTATION_CERT_PREFIX, get_keyslot_str(key_type)); in write_cert_chain_length()
|