Home
last modified time | relevance | path

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

/systemd-251/src/journal/
Djournald-native.c108 size_t n = 0, j, tn = SIZE_MAX, entry_size = 0; in server_process_entry() local
168 … if (entry_size + l + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */ in server_process_entry()
170 entry_size + l, n + 1); in server_process_entry()
177 entry_size += l; in server_process_entry()
205 … if (entry_size + total + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */ in server_process_entry()
207 entry_size + total, n + 1); in server_process_entry()
229 entry_size += iovec[n].iov_len; in server_process_entry()
250 entry_size += STRLEN("_TRANSPORT=journal"); in server_process_entry()
252 if (entry_size + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */ in server_process_entry()
253 … log_debug("Entry is too big with %zu properties and %zu bytes, ignoring.", n, entry_size); in server_process_entry()
/systemd-251/src/basic/
Dhashmap.c250 size_t entry_size; member
258 .entry_size = sizeof(struct plain_hashmap_entry),
264 .entry_size = sizeof(struct ordered_hashmap_entry),
270 .entry_size = sizeof(struct set_entry),
376 ((uint8_t*) storage_ptr(h) + idx * hashmap_type_info[h->type].entry_size); in bucket_at()
410 ((uint8_t*) storage_ptr(h) + hashmap_type_info[h->type].entry_size * n_buckets(h)); in dib_raw_ptr()
458 memzero(bucket_at(h, idx), hashmap_type_info[h->type].entry_size); in bucket_mark_free()
471 memcpy(e_to, e_from, hashmap_type_info[h->type].entry_size); in bucket_move_entry()
763 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets); in reset_direct_storage()
1097 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t)))) in resize_buckets()
[all …]