Home
last modified time | relevance | path

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

/systemd-251/src/boot/efi/
Dbcd.c53 } _packed_ BaseBlock; typedef
54 assert_cc(sizeof(BaseBlock) == 4096);
55 assert_cc(offsetof(BaseBlock, sig) == 0);
56 assert_cc(offsetof(BaseBlock, primary_seqnum) == 4);
57 assert_cc(offsetof(BaseBlock, secondary_seqnum) == 8);
58 assert_cc(offsetof(BaseBlock, version_major) == 20);
59 assert_cc(offsetof(BaseBlock, version_minor) == 24);
60 assert_cc(offsetof(BaseBlock, type) == 28);
61 assert_cc(offsetof(BaseBlock, root_cell_offset) == 36);
66 #define HIVE_CELL_OFFSET (sizeof(BaseBlock) + 4)
[all …]
Dtest-bcd.c56 BaseBlock backup; in TEST()
58 _cleanup_free_ BaseBlock *bcd = NULL; in TEST()
68 assert_se(!get_bcd_title(bcd_base, sizeof(BaseBlock) - 1)); in TEST()
103 offset = ((BaseBlock *) bcd)->root_cell_offset; in TEST()