Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/boot/efi/
Dtest-bcd.c27 _cleanup_free_ void *bcd = NULL; in test_get_bcd_title_one() local
31 load_bcd(path, &bcd, &len); in test_get_bcd_title_one()
33 char16_t *title = get_bcd_title(bcd, len); in test_get_bcd_title_one()
58 _cleanup_free_ BaseBlock *bcd = NULL; in TEST() local
60 load_bcd("test-bcd/win10.bcd.zst", (void **) &bcd, &len); in TEST()
61 backup = *bcd; in TEST()
62 bcd_base = (uint8_t *) bcd; in TEST()
70 bcd->sig = 0; in TEST()
72 *bcd = backup; in TEST()
74 bcd->version_minor = 2; in TEST()
[all …]
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
128 assert(bcd); in get_subkey()
134 const SubkeyFast *subkey = (const SubkeyFast *) (bcd + offset); 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
157 assert(bcd); in get_key()
163 const Key *key = (const Key *) (bcd + offset); 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);
Dmeson.build328 'bcd.h',
385 systemd_boot_sources += files('bcd.c')
387 [files('test-bcd.c'),
394 [files('fuzz-bcd.c')],
Dboot.c2111 _cleanup_freepool_ CHAR8 *bcd = NULL; in config_entry_add_windows() local
2124 err = file_read(root_dir, L"\\EFI\\Microsoft\\Boot\\BCD", 0, 100*1024, &bcd, &len); in config_entry_add_windows()
2126 title = get_bcd_title((UINT8 *) bcd, len); in config_entry_add_windows()
/systemd-251/tools/
Doss-fuzz.sh81 bcd=$(mktemp -d)
82 for i in test/test-bcd/*.zst; do
83 unzstd "$i" -o "$bcd/$(basename "${i%.zst}")";
85 zip -jqr "$OUT/fuzz-bcd_seed_corpus.zip" "$bcd"
86 rm -rf "$bcd"
/systemd-251/test/test-bcd/
D.gitattributes1 *.bcd binary
2 *.bcd.zst binary
/systemd-251/test/
Dmeson.build74 install_subdir('test-bcd',
/systemd-251/docs/
DDISCOVERABLE_PARTITIONS.md100 | _`/usr/` Verity Partition (32-bit ARM)_ | `c215d751-7bcd-4649-be90-6627490a4c05` | ditto | ditto |