Searched refs:entry_size (Results 1 - 2 of 2) sorted by relevance

/systemd/src/journal/
H A Djournald-native.c92 size_t remaining, m = 0, entry_size = 0; local
117 if (entry_size + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */
118 log_debug("Entry is too big with %u properties and %zu bytes, ignoring.", n, entry_size);
125 entry_size = 0;
161 entry_size += iovec[n].iov_len;
256 entry_size += iovec[n].iov_len;
271 entry_size += strlen("_TRANSPORT=journal");
273 if (entry_size + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */
275 n, entry_size);
/systemd/src/basic/
H A Dhashmap.c255 size_t entry_size; member in struct:hashmap_type_info
263 .entry_size = sizeof(struct plain_hashmap_entry),
269 .entry_size = sizeof(struct ordered_hashmap_entry),
275 .entry_size = sizeof(struct set_entry),
350 (storage_ptr(h) + idx * hashmap_type_info[h->type].entry_size);
384 (storage_ptr(h) + hashmap_type_info[h->type].entry_size * n_buckets(h));
432 memzero(bucket_at(h, idx), hashmap_type_info[h->type].entry_size);
445 memcpy(e_to, e_from, hashmap_type_info[h->type].entry_size);
721 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets);
1061 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size
[all...]

Completed in 44 milliseconds