Searched refs:Header (Results 1 - 7 of 7) sorted by relevance

/systemd/src/import/
H A Dqcow2-util.c34 typedef struct _packed_ Header { struct
61 } Header; typedef in typeref:struct:Header
74 static uint32_t HEADER_HEADER_LENGTH(const Header *h) {
76 return offsetof(Header, incompatible_features);
165 const Header *header,
210 static int verify_header(const Header *header) {
240 if (HEADER_HEADER_LENGTH(header) < sizeof(Header))
251 Header header;
/systemd/src/journal/
H A Djournal-def.h34 typedef struct Header Header; typedef in typeref:struct:Header
157 /* Header flags */
188 struct Header { struct
H A Djournal-authenticate.c311 gcry_md_write(f->hmac, f->header->signature, offsetof(Header, state) - offsetof(Header, signature));
312 gcry_md_write(f->hmac, &f->header->file_id, offsetof(Header, boot_id) - offsetof(Header, file_id));
313 gcry_md_write(f->hmac, &f->header->seqnum_id, offsetof(Header, arena_size) - offsetof(Header, seqnum_id));
314 gcry_md_write(f->hmac, &f->header->data_hash_table_offset, offsetof(Header, tail_object_offset) - offsetof(Header, data_hash_table_offset));
H A Djournal-file.h89 Header *header;
179 (le64toh((h)->header_size) >= offsetof(Header, field) + sizeof((h)->field))
H A Djournal-verify.c868 error(offsetof(Header, reserved[i]), "Reserved field is non-zero");
892 error(offsetof(Header, tail_object_offset), "Invalid tail object pointer");
1023 error(p, "Header fields for field hash table invalid");
1156 error(offsetof(Header, n_objects), "Object number mismatch");
1162 error(offsetof(Header, n_entries), "Entry number mismatch");
1169 error(offsetof(Header, n_data), "Data number mismatch");
1176 error(offsetof(Header, n_fields), "Field number mismatch");
1183 error(offsetof(Header, n_tags), "Tag number mismatch");
1190 error(offsetof(Header, n_entry_arrays), "Entry array number mismatch");
1203 error(offsetof(Header, tail_entry_seqnu
[all...]
H A Djournal-vacuum.c132 if (st.st_size < (off_t) sizeof(Header))
136 n = pread(fd, &n_entries, sizeof(n_entries), offsetof(Header, n_entries));
H A Djournal-file.c75 #define HEADER_SIZE_MIN ALIGN64(offsetof(Header, n_data))
207 Header h = {};
2609 "Header size: %"PRIu64"\n"
2825 r = mmap_cache_get(f->mmap, f->fd, f->prot, CONTEXT_HEADER, true, 0, PAGE_ALIGN(sizeof(Header)), &f->last_stat, &h);
3273 if (le64toh(f->header->header_size) < sizeof(Header)) {

Completed in 1786 milliseconds