le64toh 216 src/journal-remote/journal-remote-parse.c source->data_size = le64toh( *(uint64_t *) data ); le64toh 510 src/journal/catalog.c le64toh(h->header_size) < sizeof(CatalogHeader) || le64toh 511 src/journal/catalog.c le64toh(h->catalog_item_size) < sizeof(CatalogItem) || le64toh 513 src/journal/catalog.c le64toh(h->n_items) <= 0 || le64toh 514 src/journal/catalog.c st.st_size < (off_t) (le64toh(h->header_size) + le64toh(h->catalog_item_size) * le64toh(h->n_items))) { le64toh 540 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); le64toh 547 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); le64toh 554 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); le64toh 561 src/journal/catalog.c le64toh(h->header_size) + le64toh 562 src/journal/catalog.c le64toh(h->n_items) * le64toh(h->catalog_item_size) + le64toh 563 src/journal/catalog.c le64toh(f->offset); le64toh 658 src/journal/catalog.c items = (const CatalogItem*) ((const uint8_t*) p + le64toh(h->header_size)); le64toh 660 src/journal/catalog.c for (n = 0; n < le64toh(h->n_items); n++) { le64toh 191 src/journal/compress.c size = le64toh( *(le64_t*)src ); le64toh 35 src/journal/journal-authenticate.c r = le64toh(f->header->n_tags) + 1; le64toh 64 src/journal/journal-authenticate.c le64toh(o->tag.seqnum), le64toh 260 src/journal/journal-authenticate.c gcry_md_write(f->hmac, o->data.payload, le64toh(o->object.size) - offsetof(DataObject, payload)); le64toh 266 src/journal/journal-authenticate.c gcry_md_write(f->hmac, o->field.payload, le64toh(o->object.size) - offsetof(FieldObject, payload)); le64toh 271 src/journal/journal-authenticate.c gcry_md_write(f->hmac, &o->entry.seqnum, le64toh(o->object.size) - offsetof(EntryObject, seqnum)); le64toh 375 src/journal/journal-authenticate.c if (le64toh(m->header_size) < sizeof(FSSHeader)) { le64toh 380 src/journal/journal-authenticate.c if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(le16toh(m->fsprg_secpar))) { le64toh 385 src/journal/journal-authenticate.c f->fss_file_size = le64toh(m->header_size) + le64toh(m->fsprg_state_size); le64toh 396 src/journal/journal-authenticate.c if (le64toh(m->start_usec) <= 0 || le64toh 397 src/journal/journal-authenticate.c le64toh(m->interval_usec) <= 0) { le64toh 409 src/journal/journal-authenticate.c f->fss_start_usec = le64toh(f->fss_file->start_usec); le64toh 410 src/journal/journal-authenticate.c f->fss_interval_usec = le64toh(f->fss_file->interval_usec); le64toh 412 src/journal/journal-authenticate.c f->fsprg_state = (uint8_t*) f->fss_file + le64toh(f->fss_file->header_size); le64toh 413 src/journal/journal-authenticate.c f->fsprg_state_size = le64toh(f->fss_file->fsprg_state_size); le64toh 467 src/journal/journal-authenticate.c p = le64toh(f->header->field_hash_table_offset); le64toh 476 src/journal/journal-authenticate.c p = le64toh(f->header->data_hash_table_offset); le64toh 267 src/journal/journal-file.c if (le64toh(f->header->header_size) < HEADER_SIZE_MIN) le64toh 273 src/journal/journal-file.c if ((le64toh(f->header->header_size) + le64toh(f->header->arena_size)) > (uint64_t) f->last_stat.st_size) le64toh 276 src/journal/journal-file.c if (le64toh(f->header->tail_object_offset) > (le64toh(f->header->header_size) + le64toh(f->header->arena_size))) le64toh 279 src/journal/journal-file.c if (!VALID64(le64toh(f->header->data_hash_table_offset)) || le64toh 280 src/journal/journal-file.c !VALID64(le64toh(f->header->field_hash_table_offset)) || le64toh 281 src/journal/journal-file.c !VALID64(le64toh(f->header->tail_object_offset)) || le64toh 282 src/journal/journal-file.c !VALID64(le64toh(f->header->entry_array_offset))) le64toh 345 src/journal/journal-file.c le64toh(f->header->header_size) + le64toh 346 src/journal/journal-file.c le64toh(f->header->arena_size); le64toh 349 src/journal/journal-file.c if (new_size < le64toh(f->header->header_size)) le64toh 350 src/journal/journal-file.c new_size = le64toh(f->header->header_size); le64toh 401 src/journal/journal-file.c f->header->arena_size = htole64(new_size - le64toh(f->header->header_size)); le64toh 467 src/journal/journal-file.c s = le64toh(o->object.size); le64toh 498 src/journal/journal-file.c r = le64toh(f->header->tail_entry_seqnum) + 1; le64toh 535 src/journal/journal-file.c p = le64toh(f->header->tail_object_offset); le64toh 537 src/journal/journal-file.c p = le64toh(f->header->header_size); le64toh 543 src/journal/journal-file.c p += ALIGN64(le64toh(tail->object.size)); le64toh 561 src/journal/journal-file.c f->header->n_objects = htole64(le64toh(f->header->n_objects) + 1); le64toh 635 src/journal/journal-file.c p = le64toh(f->header->data_hash_table_offset); le64toh 636 src/journal/journal-file.c s = le64toh(f->header->data_hash_table_size); le64toh 657 src/journal/journal-file.c p = le64toh(f->header->field_hash_table_offset); le64toh 658 src/journal/journal-file.c s = le64toh(f->header->field_hash_table_size); le64toh 692 src/journal/journal-file.c h = hash % (le64toh(f->header->field_hash_table_size) / sizeof(HashItem)); le64toh 693 src/journal/journal-file.c p = le64toh(f->field_hash_table[h].tail_hash_offset); le64toh 707 src/journal/journal-file.c f->header->n_fields = htole64(le64toh(f->header->n_fields) + 1); le64toh 734 src/journal/journal-file.c h = hash % (le64toh(f->header->data_hash_table_size) / sizeof(HashItem)); le64toh 735 src/journal/journal-file.c p = le64toh(f->data_hash_table[h].tail_hash_offset); le64toh 753 src/journal/journal-file.c f->header->n_data = htole64(le64toh(f->header->n_data) + 1); le64toh 774 src/journal/journal-file.c h = hash % (le64toh(f->header->field_hash_table_size) / sizeof(HashItem)); le64toh 775 src/journal/journal-file.c p = le64toh(f->field_hash_table[h].head_hash_offset); le64toh 784 src/journal/journal-file.c if (le64toh(o->field.hash) == hash && le64toh 785 src/journal/journal-file.c le64toh(o->object.size) == osize && le64toh 796 src/journal/journal-file.c p = le64toh(o->field.next_hash_offset); le64toh 835 src/journal/journal-file.c h = hash % (le64toh(f->header->data_hash_table_size) / sizeof(HashItem)); le64toh 836 src/journal/journal-file.c p = le64toh(f->data_hash_table[h].head_hash_offset); le64toh 845 src/journal/journal-file.c if (le64toh(o->data.hash) != hash) le64toh 853 src/journal/journal-file.c l = le64toh(o->object.size); le64toh 878 src/journal/journal-file.c } else if (le64toh(o->object.size) == osize && le64toh 891 src/journal/journal-file.c p = le64toh(o->data.next_hash_offset); le64toh 1058 src/journal/journal-file.c fo->field.head_data_offset = le64toh(p); le64toh 1082 src/journal/journal-file.c return (le64toh(o->object.size) - offsetof(Object, entry.items)) / sizeof(EntryItem); le64toh 1091 src/journal/journal-file.c return (le64toh(o->object.size) - offsetof(Object, entry_array.items)) / sizeof(uint64_t); le64toh 1101 src/journal/journal-file.c return (le64toh(o->object.size) - offsetof(Object, hash_table.items)) / sizeof(HashItem); le64toh 1117 src/journal/journal-file.c a = le64toh(*first); le64toh 1118 src/journal/journal-file.c i = hidx = le64toh(*idx); le64toh 1134 src/journal/journal-file.c a = le64toh(o->entry_array.next_entry_array_offset); le64toh 1170 src/journal/journal-file.c f->header->n_entry_arrays = htole64(le64toh(f->header->n_entry_arrays) + 1); le64toh 1196 src/journal/journal-file.c i = htole64(le64toh(*idx) - 1); le64toh 1202 src/journal/journal-file.c *idx = htole64(le64toh(*idx) + 1); le64toh 1213 src/journal/journal-file.c p = le64toh(o->entry.items[i].object_offset); le64toh 1335 src/journal/journal-file.c if (le64toh(a->object_offset) < le64toh(b->object_offset)) le64toh 1337 src/journal/journal-file.c if (le64toh(a->object_offset) > le64toh(b->object_offset)) le64toh 1358 src/journal/journal-file.c ts->monotonic < le64toh(f->header->tail_entry_monotonic)) le64toh 1378 src/journal/journal-file.c xor_hash ^= le64toh(o->data.hash); le64toh 1473 src/journal/journal-file.c p = le64toh(o->entry_array.items[i]); le64toh 1479 src/journal/journal-file.c a = le64toh(o->entry_array.next_entry_array_offset); le64toh 1486 src/journal/journal-file.c chain_cache_put(f->chain_cache, ci, first, a, le64toh(o->entry_array.items[0]), t, i); le64toh 1598 src/journal/journal-file.c lp = p = le64toh(array->entry_array.items[i]); le64toh 1626 src/journal/journal-file.c p = le64toh(array->entry_array.items[x]); le64toh 1646 src/journal/journal-file.c p = le64toh(array->entry_array.items[y]); le64toh 1676 src/journal/journal-file.c p = le64toh(array->entry_array.items[i]); le64toh 1709 src/journal/journal-file.c a = le64toh(array->entry_array.next_entry_array_offset); le64toh 1719 src/journal/journal-file.c chain_cache_put(f->chain_cache, ci, first, a, le64toh(array->entry_array.items[0]), t, subtract_one ? (i > 0 ? i-1 : (uint64_t) -1) : i); le64toh 1724 src/journal/journal-file.c p = le64toh(array->entry_array.items[i-1]); le64toh 1726 src/journal/journal-file.c p = le64toh(array->entry_array.items[i]); le64toh 1838 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 1839 src/journal/journal-file.c le64toh(f->header->n_entries), le64toh 1858 src/journal/journal-file.c if (le64toh(o->entry.seqnum) == needle) le64toh 1860 src/journal/journal-file.c else if (le64toh(o->entry.seqnum) < needle) le64toh 1874 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 1875 src/journal/journal-file.c le64toh(f->header->n_entries), le64toh 1893 src/journal/journal-file.c if (le64toh(o->entry.realtime) == needle) le64toh 1895 src/journal/journal-file.c else if (le64toh(o->entry.realtime) < needle) le64toh 1909 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 1910 src/journal/journal-file.c le64toh(f->header->n_entries), le64toh 1928 src/journal/journal-file.c if (le64toh(o->entry.monotonic) == needle) le64toh 1930 src/journal/journal-file.c else if (le64toh(o->entry.monotonic) < needle) le64toh 1967 src/journal/journal-file.c le64toh(o->data.entry_offset), le64toh 1968 src/journal/journal-file.c le64toh(o->data.entry_array_offset), le64toh 1969 src/journal/journal-file.c le64toh(o->data.n_entries), le64toh 1988 src/journal/journal-file.c n = le64toh(f->header->n_entries); le64toh 1999 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 2000 src/journal/journal-file.c le64toh(f->header->n_entries), le64toh 2024 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 2060 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 2061 src/journal/journal-file.c le64toh(f->header->n_entries), le64toh 2079 src/journal/journal-file.c n = le64toh(f->header->n_entries); le64toh 2087 src/journal/journal-file.c le64toh(f->header->entry_array_offset), le64toh 2110 src/journal/journal-file.c n = le64toh(d->data.n_entries); le64toh 2121 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2122 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2123 src/journal/journal-file.c le64toh(d->data.n_entries), le64toh 2148 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2149 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2171 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2172 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2173 src/journal/journal-file.c le64toh(d->data.n_entries), le64toh 2202 src/journal/journal-file.c le64toh(o->data.entry_offset), le64toh 2203 src/journal/journal-file.c le64toh(o->data.entry_array_offset), le64toh 2204 src/journal/journal-file.c le64toh(o->data.n_entries), le64toh 2224 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2225 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2226 src/journal/journal-file.c le64toh(d->data.n_entries), le64toh 2239 src/journal/journal-file.c le64toh(o->data.entry_offset), le64toh 2240 src/journal/journal-file.c le64toh(o->data.entry_array_offset), le64toh 2241 src/journal/journal-file.c le64toh(o->data.n_entries), le64toh 2280 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2281 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2282 src/journal/journal-file.c le64toh(d->data.n_entries), le64toh 2306 src/journal/journal-file.c le64toh(d->data.entry_offset), le64toh 2307 src/journal/journal-file.c le64toh(d->data.entry_array_offset), le64toh 2308 src/journal/journal-file.c le64toh(d->data.n_entries), le64toh 2324 src/journal/journal-file.c p = le64toh(f->header->header_size); le64toh 2346 src/journal/journal-file.c le64toh(o->entry.seqnum), le64toh 2347 src/journal/journal-file.c le64toh(o->entry.monotonic), le64toh 2348 src/journal/journal-file.c le64toh(o->entry.realtime)); le64toh 2365 src/journal/journal-file.c le64toh(o->tag.seqnum), le64toh 2366 src/journal/journal-file.c le64toh(o->tag.epoch)); le64toh 2378 src/journal/journal-file.c if (p == le64toh(f->header->tail_object_offset)) le64toh 2381 src/journal/journal-file.c p = p + ALIGN64(le64toh(o->object.size)); le64toh 2439 src/journal/journal-file.c le64toh(f->header->header_size), le64toh 2440 src/journal/journal-file.c le64toh(f->header->arena_size), le64toh 2441 src/journal/journal-file.c le64toh(f->header->data_hash_table_size) / sizeof(HashItem), le64toh 2442 src/journal/journal-file.c le64toh(f->header->field_hash_table_size) / sizeof(HashItem), le64toh 2444 src/journal/journal-file.c le64toh(f->header->head_entry_seqnum), le64toh 2445 src/journal/journal-file.c le64toh(f->header->tail_entry_seqnum), le64toh 2446 src/journal/journal-file.c format_timestamp_safe(x, sizeof(x), le64toh(f->header->head_entry_realtime)), le64toh 2447 src/journal/journal-file.c format_timestamp_safe(y, sizeof(y), le64toh(f->header->tail_entry_realtime)), le64toh 2448 src/journal/journal-file.c format_timespan(z, sizeof(z), le64toh(f->header->tail_entry_monotonic), USEC_PER_MSEC), le64toh 2449 src/journal/journal-file.c le64toh(f->header->n_objects), le64toh 2450 src/journal/journal-file.c le64toh(f->header->n_entries)); le64toh 2455 src/journal/journal-file.c le64toh(f->header->n_data), le64toh 2456 src/journal/journal-file.c 100.0 * (double) le64toh(f->header->n_data) / ((double) (le64toh(f->header->data_hash_table_size) / sizeof(HashItem)))); le64toh 2461 src/journal/journal-file.c le64toh(f->header->n_fields), le64toh 2462 src/journal/journal-file.c 100.0 * (double) le64toh(f->header->n_fields) / ((double) (le64toh(f->header->field_hash_table_size) / sizeof(HashItem)))); le64toh 2466 src/journal/journal-file.c le64toh(f->header->n_tags)); le64toh 2469 src/journal/journal-file.c le64toh(f->header->n_entry_arrays)); le64toh 2687 src/journal/journal-file.c le64toh((*f)->header->head_entry_seqnum), le64toh 2688 src/journal/journal-file.c le64toh((*f)->header->head_entry_realtime)); le64toh 2776 src/journal/journal-file.c ts.monotonic = le64toh(o->entry.monotonic); le64toh 2777 src/journal/journal-file.c ts.realtime = le64toh(o->entry.realtime); le64toh 2790 src/journal/journal-file.c q = le64toh(o->entry.items[i].object_offset); le64toh 2800 src/journal/journal-file.c l = le64toh(o->object.size) - offsetof(Object, data.payload); le64toh 2828 src/journal/journal-file.c xor_hash ^= le64toh(u->data.hash); le64toh 2923 src/journal/journal-file.c *from = le64toh(f->header->head_entry_realtime); le64toh 2930 src/journal/journal-file.c *to = le64toh(f->header->tail_entry_realtime); le64toh 2948 src/journal/journal-file.c if (le64toh(o->data.n_entries) <= 0) le64toh 2952 src/journal/journal-file.c r = journal_file_move_to_object(f, OBJECT_ENTRY, le64toh(o->data.entry_offset), &o); le64toh 2956 src/journal/journal-file.c *from = le64toh(o->entry.monotonic); le64toh 2965 src/journal/journal-file.c le64toh(o->data.entry_offset), le64toh 2966 src/journal/journal-file.c le64toh(o->data.entry_array_offset), le64toh 2967 src/journal/journal-file.c le64toh(o->data.n_entries)-1, le64toh 2972 src/journal/journal-file.c *to = le64toh(o->entry.monotonic); le64toh 2983 src/journal/journal-file.c if (le64toh(f->header->header_size) < sizeof(Header)) { le64toh 2995 src/journal/journal-file.c if (le64toh(f->header->n_data) * 4ULL > (le64toh(f->header->data_hash_table_size) / sizeof(HashItem)) * 3ULL) { le64toh 2998 src/journal/journal-file.c 100.0 * (double) le64toh(f->header->n_data) / ((double) (le64toh(f->header->data_hash_table_size) / sizeof(HashItem))), le64toh 2999 src/journal/journal-file.c le64toh(f->header->n_data), le64toh 3000 src/journal/journal-file.c le64toh(f->header->data_hash_table_size) / sizeof(HashItem), le64toh 3002 src/journal/journal-file.c f->last_stat.st_size / le64toh(f->header->n_data)); le64toh 3007 src/journal/journal-file.c if (le64toh(f->header->n_fields) * 4ULL > (le64toh(f->header->field_hash_table_size) / sizeof(HashItem)) * 3ULL) { le64toh 3010 src/journal/journal-file.c 100.0 * (double) le64toh(f->header->n_fields) / ((double) (le64toh(f->header->field_hash_table_size) / sizeof(HashItem))), le64toh 3011 src/journal/journal-file.c le64toh(f->header->n_fields), le64toh 3012 src/journal/journal-file.c le64toh(f->header->field_hash_table_size) / sizeof(HashItem)); le64toh 3019 src/journal/journal-file.c le64toh(f->header->n_data) > 0 && le64toh 3020 src/journal/journal-file.c le64toh(f->header->n_fields) == 0) le64toh 3026 src/journal/journal-file.c h = le64toh(f->header->head_entry_realtime); le64toh 153 src/journal/journal-file.h (le64toh((h)->header_size) >= offsetof(Header, field) + sizeof((h)->field)) le64toh 218 src/journal/journal-file.h uint64_t s = le64toh(o->object.size); le64toh 116 src/journal/journal-vacuum.c crtime = le64toh(crtime); le64toh 139 src/journal/journal-vacuum.c return le64toh(n_entries) == 0; le64toh 125 src/journal/journal-verify.c if (le64toh(o->data.entry_offset) == 0) le64toh 128 src/journal/journal-verify.c if ((le64toh(o->data.entry_offset) == 0) ^ (le64toh(o->data.n_entries) == 0)) { le64toh 133 src/journal/journal-verify.c if (le64toh(o->object.size) - offsetof(DataObject, payload) <= 0) { le64toh 136 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 140 src/journal/journal-verify.c h1 = le64toh(o->data.hash); le64toh 149 src/journal/journal-verify.c le64toh(o->object.size) - offsetof(Object, data.payload), le64toh 159 src/journal/journal-verify.c h2 = hash64(o->data.payload, le64toh(o->object.size) - offsetof(Object, data.payload)); le64toh 182 src/journal/journal-verify.c if (le64toh(o->object.size) - offsetof(FieldObject, payload) <= 0) { le64toh 186 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 201 src/journal/journal-verify.c if ((le64toh(o->object.size) - offsetof(EntryObject, items)) % sizeof(EntryItem) != 0) { le64toh 205 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 209 src/journal/journal-verify.c if ((le64toh(o->object.size) - offsetof(EntryObject, items)) / sizeof(EntryItem) <= 0) { le64toh 212 src/journal/journal-verify.c (le64toh(o->object.size) - offsetof(EntryObject, items)) / sizeof(EntryItem)); le64toh 216 src/journal/journal-verify.c if (le64toh(o->entry.seqnum) <= 0) { le64toh 219 src/journal/journal-verify.c le64toh(o->entry.seqnum)); le64toh 223 src/journal/journal-verify.c if (!VALID_REALTIME(le64toh(o->entry.realtime))) { le64toh 226 src/journal/journal-verify.c le64toh(o->entry.realtime)); le64toh 230 src/journal/journal-verify.c if (!VALID_MONOTONIC(le64toh(o->entry.monotonic))) { le64toh 233 src/journal/journal-verify.c le64toh(o->entry.monotonic)); le64toh 252 src/journal/journal-verify.c if ((le64toh(o->object.size) - offsetof(HashTableObject, items)) % sizeof(HashItem) != 0 || le64toh 253 src/journal/journal-verify.c (le64toh(o->object.size) - offsetof(HashTableObject, items)) / sizeof(HashItem) <= 0) { le64toh 257 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 263 src/journal/journal-verify.c !VALID64(le64toh(o->hash_table.items[i].head_hash_offset))) { le64toh 268 src/journal/journal-verify.c le64toh(o->hash_table.items[i].head_hash_offset)); le64toh 272 src/journal/journal-verify.c !VALID64(le64toh(o->hash_table.items[i].tail_hash_offset))) { le64toh 277 src/journal/journal-verify.c le64toh(o->hash_table.items[i].tail_hash_offset)); le64toh 287 src/journal/journal-verify.c le64toh(o->hash_table.items[i].head_hash_offset), le64toh 288 src/journal/journal-verify.c le64toh(o->hash_table.items[i].tail_hash_offset)); le64toh 296 src/journal/journal-verify.c if ((le64toh(o->object.size) - offsetof(EntryArrayObject, items)) % sizeof(le64_t) != 0 || le64toh 297 src/journal/journal-verify.c (le64toh(o->object.size) - offsetof(EntryArrayObject, items)) / sizeof(le64_t) <= 0) { le64toh 300 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 312 src/journal/journal-verify.c if (le64toh(o->entry_array.items[i]) != 0 && le64toh 313 src/journal/journal-verify.c !VALID64(le64toh(o->entry_array.items[i]))) { le64toh 317 src/journal/journal-verify.c le64toh(o->entry_array.items[i])); le64toh 324 src/journal/journal-verify.c if (le64toh(o->object.size) != sizeof(TagObject)) { le64toh 327 src/journal/journal-verify.c le64toh(o->object.size)); le64toh 417 src/journal/journal-verify.c if (le64toh(o->entry.items[i].object_offset) == data_p) { le64toh 433 src/journal/journal-verify.c n = le64toh(f->header->n_entries); le64toh 434 src/journal/journal-verify.c a = le64toh(f->header->entry_array_offset); le64toh 446 src/journal/journal-verify.c if (entry_p <= le64toh(o->entry_array.items[u-1])) { le64toh 455 src/journal/journal-verify.c if (le64toh(o->entry_array.items[z]) == entry_p) le64toh 461 src/journal/journal-verify.c if (entry_p < le64toh(o->entry_array.items[z])) le64toh 472 src/journal/journal-verify.c a = le64toh(o->entry_array.next_entry_array_offset); le64toh 492 src/journal/journal-verify.c n = le64toh(o->data.n_entries); le64toh 493 src/journal/journal-verify.c a = le64toh(o->data.entry_array_offset); le64toh 509 src/journal/journal-verify.c last = q = le64toh(o->data.entry_offset); le64toh 532 src/journal/journal-verify.c next = le64toh(o->entry_array.next_entry_array_offset); le64toh 542 src/journal/journal-verify.c q = le64toh(o->entry_array.items[j]); le64toh 582 src/journal/journal-verify.c n = le64toh(f->header->data_hash_table_size) / sizeof(HashItem); le64toh 589 src/journal/journal-verify.c p = le64toh(f->data_hash_table[i].head_hash_offset); le64toh 604 src/journal/journal-verify.c next = le64toh(o->data.next_hash_offset); le64toh 611 src/journal/journal-verify.c if (le64toh(o->data.hash) % n != i) { le64toh 625 src/journal/journal-verify.c if (last != le64toh(f->data_hash_table[i].tail_hash_offset)) { le64toh 639 src/journal/journal-verify.c n = le64toh(f->header->data_hash_table_size) / sizeof(HashItem); le64toh 642 src/journal/journal-verify.c q = le64toh(f->data_hash_table[h].head_hash_offset); le64toh 653 src/journal/journal-verify.c q = le64toh(o->data.next_hash_offset); le64toh 676 src/journal/journal-verify.c q = le64toh(o->entry.items[i].object_offset); le64toh 677 src/journal/journal-verify.c h = le64toh(o->entry.items[i].hash); le64toh 688 src/journal/journal-verify.c if (le64toh(u->data.hash) != h) { le64toh 722 src/journal/journal-verify.c n = le64toh(f->header->n_entries); le64toh 723 src/journal/journal-verify.c a = le64toh(f->header->entry_array_offset); le64toh 745 src/journal/journal-verify.c next = le64toh(o->entry_array.next_entry_array_offset); le64toh 757 src/journal/journal-verify.c p = le64toh(o->entry_array.items[j]); le64toh 863 src/journal/journal-verify.c p = le64toh(f->header->header_size); le64toh 866 src/journal/journal-verify.c draw_progress(0x7FFF * p / le64toh(f->header->tail_object_offset), &last_usec); le64toh 874 src/journal/journal-verify.c if (p > le64toh(f->header->tail_object_offset)) { le64toh 880 src/journal/journal-verify.c if (p == le64toh(f->header->tail_object_offset)) le64toh 935 src/journal/journal-verify.c if (le64toh(o->entry.realtime) < last_tag_realtime) { le64toh 942 src/journal/journal-verify.c le64toh(o->entry.seqnum) != le64toh(f->header->head_entry_seqnum)) { le64toh 949 src/journal/journal-verify.c entry_seqnum >= le64toh(o->entry.seqnum)) { le64toh 955 src/journal/journal-verify.c entry_seqnum = le64toh(o->entry.seqnum); le64toh 960 src/journal/journal-verify.c entry_monotonic > le64toh(o->entry.monotonic)) { le64toh 966 src/journal/journal-verify.c entry_monotonic = le64toh(o->entry.monotonic); le64toh 971 src/journal/journal-verify.c le64toh(o->entry.realtime) != le64toh(f->header->head_entry_realtime)) { le64toh 977 src/journal/journal-verify.c entry_realtime = le64toh(o->entry.realtime); le64toh 990 src/journal/journal-verify.c if (le64toh(f->header->data_hash_table_offset) != p + offsetof(HashTableObject, items) || le64toh 991 src/journal/journal-verify.c le64toh(f->header->data_hash_table_size) != le64toh(o->object.size) - offsetof(HashTableObject, items)) { le64toh 1007 src/journal/journal-verify.c if (le64toh(f->header->field_hash_table_offset) != p + offsetof(HashTableObject, items) || le64toh 1008 src/journal/journal-verify.c le64toh(f->header->field_hash_table_size) != le64toh(o->object.size) - offsetof(HashTableObject, items)) { le64toh 1022 src/journal/journal-verify.c if (p == le64toh(f->header->entry_array_offset)) { le64toh 1042 src/journal/journal-verify.c if (le64toh(o->tag.seqnum) != n_tags + 1) { le64toh 1048 src/journal/journal-verify.c if (le64toh(o->tag.epoch) < last_epoch) { le64toh 1058 src/journal/journal-verify.c debug(p, "checking tag %"PRIu64"...", le64toh(o->tag.seqnum)); le64toh 1070 src/journal/journal-verify.c r = journal_file_fsprg_seek(f, le64toh(o->tag.epoch)); le64toh 1083 src/journal/journal-verify.c q = le64toh(f->header->header_size); le64toh 1096 src/journal/journal-verify.c q = q + ALIGN64(le64toh(o->object.size)); le64toh 1115 src/journal/journal-verify.c last_tag = p + ALIGN64(le64toh(o->object.size)); le64toh 1118 src/journal/journal-verify.c last_epoch = le64toh(o->tag.epoch); le64toh 1127 src/journal/journal-verify.c if (p == le64toh(f->header->tail_object_offset)) le64toh 1130 src/journal/journal-verify.c p = p + ALIGN64(le64toh(o->object.size)); le64toh 1134 src/journal/journal-verify.c error(le64toh(f->header->tail_object_offset), "tail object pointer dead"); le64toh 1139 src/journal/journal-verify.c if (n_objects != le64toh(f->header->n_objects)) { le64toh 1145 src/journal/journal-verify.c if (n_entries != le64toh(f->header->n_entries)) { le64toh 1152 src/journal/journal-verify.c n_data != le64toh(f->header->n_data)) { le64toh 1159 src/journal/journal-verify.c n_fields != le64toh(f->header->n_fields)) { le64toh 1166 src/journal/journal-verify.c n_tags != le64toh(f->header->n_tags)) { le64toh 1173 src/journal/journal-verify.c n_entry_arrays != le64toh(f->header->n_entry_arrays)) { le64toh 1198 src/journal/journal-verify.c entry_seqnum != le64toh(f->header->tail_entry_seqnum)) { le64toh 1206 src/journal/journal-verify.c entry_monotonic != le64toh(f->header->tail_entry_monotonic))) { le64toh 1212 src/journal/journal-verify.c if (entry_realtime_set && entry_realtime != le64toh(f->header->tail_entry_realtime)) { le64toh 1256 src/journal/journal-verify.c *first_contained = le64toh(f->header->head_entry_realtime); le64toh 1260 src/journal/journal-verify.c *last_contained = le64toh(f->header->tail_entry_realtime); le64toh 221 src/journal/journald-native.c l = le64toh(l_le); le64toh 105 src/journal/sd-journal.c l->seqnum = le64toh(o->entry.seqnum); le64toh 107 src/journal/sd-journal.c l->realtime = le64toh(o->entry.realtime); le64toh 108 src/journal/sd-journal.c l->monotonic = le64toh(o->entry.monotonic); le64toh 110 src/journal/sd-journal.c l->xor_hash = le64toh(o->entry.xor_hash); le64toh 452 src/journal/sd-journal.c a = le64toh(ao->entry.seqnum); le64toh 453 src/journal/sd-journal.c b = le64toh(bo->entry.seqnum); le64toh 468 src/journal/sd-journal.c a = le64toh(ao->entry.monotonic); le64toh 469 src/journal/sd-journal.c b = le64toh(bo->entry.monotonic); le64toh 478 src/journal/sd-journal.c a = le64toh(ao->entry.realtime); le64toh 479 src/journal/sd-journal.c b = le64toh(bo->entry.realtime); le64toh 487 src/journal/sd-journal.c a = le64toh(ao->entry.xor_hash); le64toh 488 src/journal/sd-journal.c b = le64toh(bo->entry.xor_hash); le64toh 507 src/journal/sd-journal.c l->seqnum > le64toh(f->header->tail_entry_seqnum) : le64toh 508 src/journal/sd-journal.c l->seqnum < le64toh(f->header->head_entry_seqnum); le64toh 512 src/journal/sd-journal.c l->realtime > le64toh(f->header->tail_entry_realtime) : le64toh 513 src/journal/sd-journal.c l->realtime < le64toh(f->header->head_entry_realtime); le64toh 531 src/journal/sd-journal.c le64toh(o->entry.seqnum) >= le64toh(f->header->head_entry_seqnum) : le64toh 532 src/journal/sd-journal.c le64toh(o->entry.seqnum) <= le64toh(f->header->tail_entry_seqnum); le64toh 535 src/journal/sd-journal.c le64toh(o->entry.realtime) >= le64toh(f->header->head_entry_realtime) : le64toh 536 src/journal/sd-journal.c le64toh(o->entry.realtime) <= le64toh(f->header->tail_entry_realtime); le64toh 550 src/journal/sd-journal.c le64toh(ao->entry.realtime) == l->realtime && le64toh 552 src/journal/sd-journal.c le64toh(ao->entry.xor_hash) == l->xor_hash) le64toh 558 src/journal/sd-journal.c a = le64toh(ao->entry.seqnum); le64toh 569 src/journal/sd-journal.c a = le64toh(ao->entry.monotonic); le64toh 579 src/journal/sd-journal.c a = le64toh(ao->entry.realtime); le64toh 588 src/journal/sd-journal.c a = le64toh(ao->entry.xor_hash); le64toh 619 src/journal/sd-journal.c r = journal_file_find_data_object_with_hash(f, m->data, m->size, le64toh(m->le_hash), NULL, &dp); le64toh 708 src/journal/sd-journal.c r = journal_file_find_data_object_with_hash(f, m->data, m->size, le64toh(m->le_hash), NULL, &dp); le64toh 1033 src/journal/sd-journal.c sid, le64toh(o->entry.seqnum), le64toh 1034 src/journal/sd-journal.c bid, le64toh(o->entry.monotonic), le64toh 1035 src/journal/sd-journal.c le64toh(o->entry.realtime), le64toh 1036 src/journal/sd-journal.c le64toh(o->entry.xor_hash)) < 0) le64toh 1190 src/journal/sd-journal.c if (ll != le64toh(o->entry.seqnum)) le64toh 1205 src/journal/sd-journal.c if (ll != le64toh(o->entry.monotonic)) le64toh 1212 src/journal/sd-journal.c if (ll != le64toh(o->entry.realtime)) le64toh 1219 src/journal/sd-journal.c if (ll != le64toh(o->entry.xor_hash)) le64toh 1926 src/journal/sd-journal.c *ret = le64toh(o->entry.realtime); le64toh 1962 src/journal/sd-journal.c *ret = le64toh(o->entry.monotonic); le64toh 2029 src/journal/sd-journal.c p = le64toh(o->entry.items[i].object_offset); le64toh 2038 src/journal/sd-journal.c l = le64toh(o->object.size) - offsetof(Object, data.payload); le64toh 2093 src/journal/sd-journal.c l = le64toh(o->object.size) - offsetof(Object, data.payload); le64toh 2152 src/journal/sd-journal.c p = le64toh(o->entry.items[j->current_field].object_offset); le64toh 2577 src/journal/sd-journal.c j->unique_offset = r > 0 ? le64toh(o->field.head_data_offset) : 0; le64toh 2583 src/journal/sd-journal.c j->unique_offset = le64toh(o->data.next_field_offset); le64toh 2647 src/journal/sd-journal.c le64toh(of->header->n_fields) <= 0) le64toh 2650 src/journal/sd-journal.c r = journal_file_find_data_object_with_hash(of, odata, ol, le64toh(o->data.hash), &oo, &op); le64toh 1979 src/libsystemd/sd-bus/bus-message.c return le64toh(x.u64); le64toh 104 src/libudev/libudev-hwdb.c return (const struct trie_child_entry_f *)((const char *)node + le64toh(hwdb->head->node_size)); le64toh 110 src/libudev/libudev-hwdb.c base += le64toh(hwdb->head->node_size); le64toh 111 src/libudev/libudev-hwdb.c base += node->children_count * le64toh(hwdb->head->child_entry_size); le64toh 116 src/libudev/libudev-hwdb.c return (const struct trie_node_f *)(hwdb->map + le64toh(off)); le64toh 120 src/libudev/libudev-hwdb.c return hwdb->map + le64toh(off); le64toh 136 src/libudev/libudev-hwdb.c le64toh(hwdb->head->child_entry_size), trie_children_cmp_f); le64toh 176 src/libudev/libudev-hwdb.c if (le64toh(node->values_count) && fnmatch(linebuf_get(buf), search, 0) == 0) le64toh 177 src/libudev/libudev-hwdb.c for (i = 0; i < le64toh(node->values_count); i++) { le64toh 243 src/libudev/libudev-hwdb.c for (n = 0; n < le64toh(node->values_count); n++) { le64toh 319 src/libudev/libudev-hwdb.c (size_t)hwdb->st.st_size != le64toh(hwdb->head->file_size)) { le64toh 326 src/libudev/libudev-hwdb.c udev_dbg(udev, "tool version: %"PRIu64, le64toh(hwdb->head->tool_version)); le64toh 328 src/libudev/libudev-hwdb.c udev_dbg(udev, "header size %8"PRIu64" bytes\n", le64toh(hwdb->head->header_size)); le64toh 329 src/libudev/libudev-hwdb.c udev_dbg(udev, "strings %8"PRIu64" bytes\n", le64toh(hwdb->head->strings_len)); le64toh 330 src/libudev/libudev-hwdb.c udev_dbg(udev, "nodes %8"PRIu64" bytes\n", le64toh(hwdb->head->nodes_len));