Lines Matching defs:items

643                                        offsetof(Object, hash_table.items) + s,
648 memzero(o->hash_table.items, s);
650 f->header->data_hash_table_offset = htole64(p + offsetof(Object, hash_table.items));
670 offsetof(Object, hash_table.items) + s,
675 memzero(o->hash_table.items, s);
677 f->header->field_hash_table_offset = htole64(p + offsetof(Object, hash_table.items));
1178 return (le64toh(o->object.size) - offsetof(Object, entry.items)) / sizeof(EntryItem);
1187 return (le64toh(o->object.size) - offsetof(Object, entry_array.items)) / sizeof(uint64_t);
1197 return (le64toh(o->object.size) - offsetof(Object, hash_table.items)) / sizeof(HashItem);
1224 o->entry_array.items[i] = htole64(p);
1243 offsetof(Object, entry_array.items) + n * sizeof(uint64_t),
1254 o->entry_array.items[i] = htole64(p);
1310 p = le64toh(o->entry.items[i].object_offset);
1357 /* Link up the items */
1372 const EntryItem items[], unsigned n_items,
1382 assert(items || n_items == 0);
1385 osize = offsetof(Object, entry.items) + (n_items * sizeof(EntryItem));
1392 memcpy(o->entry.items, items, n_items * sizeof(EntryItem));
1520 EntryItem *items;
1541 items = alloca(sizeof(EntryItem) * MAX(1u, n_iovec));
1552 items[i].object_offset = htole64(p);
1553 items[i].hash = o->data.hash;
1558 qsort_safe(items, n_iovec, sizeof(EntryItem), entry_item_cmp);
1560 r = journal_file_append_entry_internal(f, ts, xor_hash, items, n_iovec, seqnum, ret, offset);
1582 uint64_t total; /* the total number of items in all arrays before this one in the chain */
1657 p = le64toh(o->entry_array.items[i]);
1670 chain_cache_put(f->chain_cache, ci, first, a, le64toh(o->entry_array.items[0]), t, i);
1782 lp = p = le64toh(array->entry_array.items[i]);
1810 p = le64toh(array->entry_array.items[x]);
1830 p = le64toh(array->entry_array.items[y]);
1860 p = le64toh(array->entry_array.items[i]);
1903 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);
1908 p = le64toh(array->entry_array.items[i-1]);
1910 p = le64toh(array->entry_array.items[i]);
3016 EntryItem *items;
3032 items = alloca(sizeof(EntryItem) * MAX(1u, n));
3041 q = le64toh(o->entry.items[i].object_offset);
3042 le_hash = o->entry.items[i].hash;
3080 items[i].object_offset = htole64(h);
3081 items[i].hash = u->data.hash;
3088 r = journal_file_append_entry_internal(to, &ts, xor_hash, items, n, seqnum, ret, offset);
3286 log_debug("Data hash table of %s has a fill level at %.1f (%"PRIu64" of %"PRIu64" items, %llu file size, %"PRIu64" bytes per hash table item), suggesting rotation.",
3298 log_debug("Field hash table of %s has a fill level at %.1f (%"PRIu64" of %"PRIu64" items), suggesting rotation.",