Home
last modified time | relevance | path

Searched refs:bcd_len (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/boot/efi/
Dbcd.c125 static const Key *get_key(const UINT8 *bcd, UINT32 bcd_len, UINT32 offset, const CHAR8 *name);
127 static const Key *get_subkey(const UINT8 *bcd, UINT32 bcd_len, UINT32 offset, const CHAR8 *name) { in get_subkey() argument
131 if (BAD_STRUCT(SubkeyFast, offset, bcd_len)) in get_subkey()
138 if (BAD_ARRAY(SubkeyFast, entries, offset, subkey->n_entries, bcd_len)) in get_subkey()
145 const Key *key = get_key(bcd, bcd_len, subkey->entries[i].key_offset, name); in get_subkey()
156 static const Key *get_key(const UINT8 *bcd, UINT32 bcd_len, UINT32 offset, const CHAR8 *name) { in get_key() argument
160 if (BAD_STRUCT(Key, offset, bcd_len)) in get_key()
167 if (BAD_ARRAY(Key, key_name, offset, key->key_name_len, bcd_len)) in get_key()
178 return *name ? get_subkey(bcd, bcd_len, key->subkeys_offset, name) : key; in get_key()
181 static const KeyValue *get_key_value(const UINT8 *bcd, UINT32 bcd_len, const Key *key, const CHAR8 … in get_key_value() argument
[all …]
Dbcd.h6 CHAR16 *get_bcd_title(UINT8 *bcd, UINTN bcd_len);