Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Dcatalog.c44 le64_t header_size; member
395 .header_size = htole64(CONST_ALIGN_TO(sizeof(CatalogHeader), 8)), in write_catalog()
532 le64toh(h->header_size) < sizeof(CatalogHeader) || in open_mmap()
536 …st.st_size < (off_t) (le64toh(h->header_size) + le64toh(h->catalog_item_size) * le64toh(h->n_items… in open_mmap()
565 (const uint8_t*) p + le64toh(h->header_size), in find_id()
576 (const uint8_t*) p + le64toh(h->header_size), in find_id()
588 (const uint8_t*) p + le64toh(h->header_size), in find_id()
598 le64toh(h->header_size) + in find_id()
686 items = (const CatalogItem*) ((const uint8_t*) p + le64toh(h->header_size)); in catalog_list()
Djournal-def.h193 le64_t header_size; \
233 le64_t header_size; member
Djournal-authenticate.c366 if (le64toh(m->header_size) < sizeof(FSSHeader)) { in journal_file_fss_load()
376 f->fss_file_size = le64toh(m->header_size) + le64toh(m->fsprg_state_size); in journal_file_fss_load()
403 f->fsprg_state = (uint8_t*) f->fss_file + le64toh(f->fss_file->header_size); in journal_file_fss_load()
Djournal-file.c107 p = le64toh(f->header->header_size); in journal_file_tail_end_by_pread()
144 p = le64toh(f->header->header_size); in journal_file_tail_end_by_mmap()
312 h.header_size = htole64(ALIGN64(sizeof(h))); in journal_file_init_header()
412 uint64_t arena_size, header_size; in journal_file_verify_header() local
432 header_size = le64toh(READ_NOW(f->header->header_size)); in journal_file_verify_header()
435 if (header_size < HEADER_SIZE_MIN) in journal_file_verify_header()
443 …if (UINT64_MAX - header_size < arena_size || header_size + arena_size > (uint64_t) f->last_stat.st… in journal_file_verify_header()
446 if (le64toh(f->header->tail_object_offset) > header_size + arena_size) in journal_file_verify_header()
534 old_header_size = le64toh(READ_NOW(f->header->header_size)); in journal_file_allocate()
815 if (offset < le64toh(f->header->header_size)) in journal_file_move_to_object()
[all …]
Djournal-verify.c772 … Object *o, uint64_t p, uint64_t *n_hash_tables, uint64_t header_offset, uint64_t header_size) { in verify_hash_table() argument
794 if (header_size != le64toh(o->object.size) - offsetof(Object, hash_table.items)) { in verify_hash_table()
798 header_size, in verify_hash_table()
926 p = le64toh(f->header->header_size); in journal_file_verify()
1164 q = le64toh(f->header->header_size); in journal_file_verify()
Djournal-file.h170 (le64toh((h)->header_size) >= offsetof(Header, field) + sizeof((h)->field))
/systemd-251/src/libsystemd/sd-hwdb/
Dhwdb-internal.h36 le64_t header_size; member
Dsd-hwdb.c333 log_debug("header size %8"PRIu64" bytes", le64toh(hwdb->head->header_size)); in sd_hwdb_new()
/systemd-251/src/journal/
Dmanaged-journal-file.c32 f->header->arena_size = htole64(p - le64toh(f->header->header_size)); in managed_journal_file_truncate()
87 f->header->arena_size = htole64(ALIGN64(offset) - le64toh(f->header->header_size)); in managed_journal_file_entry_array_punch_hole()
Dtest-journal.c195 p = le64toh(f->file->header->header_size); in check_compressed()
Djournalctl.c1941 .header_size = htole64(sizeof(h)), in setup_keys()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-internal.h137 size_t header_size,
Dnetlink-message.c50 size_t header_size, in message_new_full() argument
61 size = NLMSG_SPACE(header_size); in message_new_full()
/systemd-251/src/libsystemd/sd-device/
Ddevice-monitor.c62 unsigned header_size; member
554 .header_size = sizeof nlh, in device_monitor_send_device()
/systemd-251/src/shared/
Dhwdb-util.c367 .header_size = htole64(sizeof(struct trie_header_f)), in trie_store()
/systemd-251/src/home/
Dhomed-home.c2154 stat_used = UINT64_MAX, fs_size = UINT64_MAX, header_size = 0; in home_get_disk_status_luks() local
2239 header_size = disk_size - fs_size; in home_get_disk_status_luks()
2258 disk_floor = minimal_size_by_fs_magic(sfs.f_type) + header_size; in home_get_disk_status_luks()
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md156 le64_t header_size;
195 The currently used part of the file is the **header_size** plus the