/systemd-251/src/boot/efi/ |
D | xbootldr.c | 38 if (CompareMem(&h->Header.Signature, "EFI PART", sizeof(h->Header.Signature) != 0)) in verify_gpt() 41 if (h->Header.HeaderSize < 92 || h->Header.HeaderSize > 512) in verify_gpt() 44 if (h->Header.Revision != 0x00010000U) in verify_gpt() 48 crc32_saved = h->Header.CRC32; in verify_gpt() 49 h->Header.CRC32 = 0; in verify_gpt() 50 err = BS->CalculateCrc32(gpt_header_buffer, h->Header.HeaderSize, &crc32); in verify_gpt() 51 h->Header.CRC32 = crc32_saved; in verify_gpt()
|
D | measure.c | 63 .Header.HeaderSize = sizeof(EFI_TCG2_EVENT_HEADER), in tpm2_measure_to_pcr_and_event_log() 64 .Header.HeaderVersion = EFI_TCG2_EVENT_HEADER_VERSION, in tpm2_measure_to_pcr_and_event_log() 65 .Header.PCRIndex = pcrindex, in tpm2_measure_to_pcr_and_event_log() 66 .Header.EventType = EV_IPL, in tpm2_measure_to_pcr_and_event_log()
|
D | initrd.c | 26 .Header = {
|
D | missing_efi.h | 260 EFI_TCG2_EVENT_HEADER Header; member
|
/systemd-251/src/import/ |
D | qcow2-util.c | 17 typedef struct _packed_ Header { struct 44 } Header; argument 57 static uint32_t HEADER_HEADER_LENGTH(const Header *h) { in HEADER_HEADER_LENGTH() 59 return offsetof(Header, incompatible_features); in HEADER_HEADER_LENGTH() 148 const Header *header, in normalize_offset() 193 static int verify_header(const Header *header) { in verify_header() 222 if (HEADER_HEADER_LENGTH(header) < sizeof(Header)) in verify_header() 233 Header header; in qcow2_convert()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-def.h | 15 typedef struct Header Header; typedef 219 struct Header struct_Header__contents; 221 assert_cc(sizeof(struct Header) == sizeof(struct Header__packed)); 222 assert_cc(sizeof(struct Header) == 256);
|
D | journal-authenticate.c | 302 …gcry_md_write(f->hmac, f->header->signature, offsetof(Header, state) - offsetof(Header, signature)… in journal_file_hmac_put_header() 303 …gcry_md_write(f->hmac, &f->header->file_id, offsetof(Header, boot_id) - offsetof(Header, file_id)); in journal_file_hmac_put_header() 304 …gcry_md_write(f->hmac, &f->header->seqnum_id, offsetof(Header, arena_size) - offsetof(Header, seqn… in journal_file_hmac_put_header() 305 …f->hmac, &f->header->data_hash_table_offset, offsetof(Header, tail_object_offset) - offsetof(Heade… in journal_file_hmac_put_header()
|
D | journal-verify.c | 918 error(offsetof(Header, reserved[i]), "Reserved field is non-zero"); in journal_file_verify() 942 error(offsetof(Header, tail_object_offset), in journal_file_verify() 1225 error(offsetof(Header, n_objects), in journal_file_verify() 1234 error(offsetof(Header, n_entries), in journal_file_verify() 1244 error(offsetof(Header, n_data), in journal_file_verify() 1254 error(offsetof(Header, n_fields), in journal_file_verify() 1264 error(offsetof(Header, n_tags), in journal_file_verify() 1274 error(offsetof(Header, n_entry_arrays), in journal_file_verify() 1290 error(offsetof(Header, tail_entry_seqnum), in journal_file_verify()
|
D | journal-vacuum.c | 104 if (st.st_size < (off_t) sizeof(Header)) in journal_file_empty() 108 n = pread(fd, &n_entries, sizeof(n_entries), offsetof(Header, n_entries)); in journal_file_empty()
|
D | journal-file.h | 79 Header *header; 170 (le64toh((h)->header_size) >= offsetof(Header, field) + sizeof((h)->field))
|
D | journal-file.c | 73 #define HEADER_SIZE_MIN ALIGN64(offsetof(Header, n_data)) 289 Header h = {}; in journal_file_init_header() 3549 …r = mmap_cache_fd_get(f->cache_fd, CONTEXT_HEADER, true, 0, PAGE_ALIGN(sizeof(Header)), &f->last_s… in journal_file_open() 3922 if (le64toh(f->header->header_size) < sizeof(Header)) { in journal_file_rotate_suggested()
|
/systemd-251/docs/ |
D | JOURNAL_FILE_FORMAT.md | 141 ## Header section in Journal File Format 143 The Header struct defines, well, you guessed it, the file header: 146 _packed_ struct Header { 200 Header, it shall immediately rotate the file and start a new one.
|