Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Djournal-file.h187 int journal_file_move_to_object(JournalFile *f, ObjectType type, uint64_t offset, Object **ret);
188 int journal_file_read_object_header(JournalFile *f, ObjectType type, uint64_t offset, Object *ret);
193 uint64_t journal_file_entry_n_items(Object *o) _pure_;
194 uint64_t journal_file_entry_array_n_items(Object *o) _pure_;
195 uint64_t journal_file_hash_table_n_items(Object *o) _pure_;
197 int journal_file_append_object(JournalFile *f, ObjectType type, uint64_t size, Object **ret, uint64…
204 Object **ret,
207 int journal_file_find_data_object(JournalFile *f, const void *data, uint64_t size, Object **ret, ui…
208 …ith_hash(JournalFile *f, const void *data, uint64_t size, uint64_t hash, Object **ret, uint64_t *r…
210 int journal_file_find_field_object(JournalFile *f, const void *field, uint64_t size, Object **ret, …
[all …]
Djournal-file.c109 Object tail; in journal_file_tail_end_by_pread()
146 Object *tail; in journal_file_tail_end_by_mmap()
634 static uint64_t minimum_header_size(Object *o) { in minimum_header_size()
654 static int journal_file_check_object(JournalFile *f, uint64_t offset, Object *o) { in journal_file_check_object()
667 if (le64toh(o->object.size) <= offsetof(Object, data.payload)) in journal_file_check_object()
670 offsetof(Object, data.payload), in journal_file_check_object()
689 if (le64toh(o->object.size) <= offsetof(Object, field.payload)) in journal_file_check_object()
692 offsetof(Object, field.payload), in journal_file_check_object()
709 if (sz < offsetof(Object, entry.items) || in journal_file_check_object()
710 (sz - offsetof(Object, entry.items)) % sizeof(EntryItem) != 0) in journal_file_check_object()
[all …]
Djournal-verify.c113 static int hash_payload(JournalFile *f, Object *o, uint64_t offset, const uint8_t *src, uint64_t si… in hash_payload()
142 static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o) { in journal_file_object_verify()
173 if (le64toh(o->object.size) - offsetof(Object, data.payload) <= 0) { in journal_file_object_verify()
175 offsetof(Object, data.payload), in journal_file_object_verify()
182 le64toh(o->object.size) - offsetof(Object, data.payload), in journal_file_object_verify()
211 if (le64toh(o->object.size) - offsetof(Object, field.payload) <= 0) { in journal_file_object_verify()
214 offsetof(Object, field.payload), in journal_file_object_verify()
221 le64toh(o->object.size) - offsetof(Object, field.payload), in journal_file_object_verify()
243 … if ((le64toh(o->object.size) - offsetof(Object, entry.items)) % sizeof(EntryItem) != 0) { in journal_file_object_verify()
246 offsetof(Object, entry.items), in journal_file_object_verify()
[all …]
Djournal-authenticate.c28 Object *o; in journal_file_append_tag()
223 int journal_file_hmac_put_object(JournalFile *f, ObjectType type, Object *o, uint64_t p) { in journal_file_hmac_put_object()
251 … gcry_md_write(f->hmac, o->data.payload, le64toh(o->object.size) - offsetof(Object, data.payload)); in journal_file_hmac_put_object()
257 …gcry_md_write(f->hmac, o->field.payload, le64toh(o->object.size) - offsetof(Object, field.payload)… in journal_file_hmac_put_object()
262 …gcry_md_write(f->hmac, &o->entry.seqnum, le64toh(o->object.size) - offsetof(Object, entry.seqnum)); in journal_file_hmac_put_object()
447 if (p < offsetof(Object, hash_table.items)) in journal_file_append_first_tag()
449 p -= offsetof(Object, hash_table.items); in journal_file_append_first_tag()
456 if (p < offsetof(Object, hash_table.items)) in journal_file_append_first_tag()
458 p -= offsetof(Object, hash_table.items); in journal_file_append_first_tag()
Djournal-def.h18 typedef union Object Object; typedef
132 union Object { union
Dsd-journal.c114 static void init_location(Location *l, LocationType type, JournalFile *f, Object *o) { in init_location()
134 static void set_location(sd_journal *j, JournalFile *f, Object *o) { in set_location()
491 Object **ret, in next_for_match()
502 Object *d; in next_for_match()
588 Object **ret, in find_location_for_match()
598 Object *d; in find_location_for_match()
694 Object **ret, in find_location_with_matches()
730 Object **ret, in next_with_matches()
752 Object *c; in next_beyond_location()
823 Object *o; in real_journal_next()
[all …]
Djournal-authenticate.h15 int journal_file_hmac_put_object(JournalFile *f, ObjectType type, Object *o, uint64_t p);
/systemd-251/src/journal/
Dmanaged-journal-file.c41 Object o; in managed_journal_file_entry_array_punch_hole()
69 offset = p + offsetof(Object, entry_array.items) + in managed_journal_file_entry_array_punch_hole()
131 Object o; in managed_journal_file_punch_holes()
Dtest-journal.c32 Object *o, *d; in TEST()
167 Object *o; in check_compressed()
Dtest-journal-flush.c44 Object *o; in main()
Djournald-server.c1188 Object *o = NULL; in server_flush_to_var()
/systemd-251/docs/
DJOURNAL_EXPORT_FORMATS.md149 This translates into the following JSON Object:
DJOURNAL_FILE_FORMAT.md579 ## Tag Object
/systemd-251/hwdb.d/
Dusb.ids16562 2801 Entropic Engineering Object Manipulation
D20-usb-vendor-model.hwdb49620 ID_MODEL_FROM_DATABASE=Entropic Engineering Object Manipulation