Home
last modified time | relevance | path

Searched refs:log_extra_fields (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-load-fragment.c481 assert_se(strneq(c.log_extra_fields[0].iov_base, "FOO=BAR", c.log_extra_fields[0].iov_len)); in TEST()
482 …assert_se(strneq(c.log_extra_fields[1].iov_base, "QOOF=quux ' ' ", c.log_extra_fields[1].iov_len)… in TEST()
490 assert_se(strneq(c.log_extra_fields[0].iov_base, "FOO=BAR", c.log_extra_fields[0].iov_len)); in TEST()
491 …assert_se(strneq(c.log_extra_fields[1].iov_base, "QOOF=quux ' ' ", c.log_extra_fields[1].iov_len)… in TEST()
492 … assert_se(strneq(c.log_extra_fields[2].iov_base, "FOO2=BAR2", c.log_extra_fields[2].iov_len)); in TEST()
493 … assert_se(strneq(c.log_extra_fields[3].iov_base, "QOOF2=quux", c.log_extra_fields[3].iov_len)); in TEST()
/systemd-251/src/core/
Dexecute.h286 struct iovec* log_extra_fields; member
Ddbus-execute.c815 …r = sd_bus_message_append_array(reply, 'y', c->log_extra_fields[i].iov_base, c->log_extra_fields[i… in property_get_log_extra_fields()
2349 … t = reallocarray(c->log_extra_fields, c->n_log_extra_fields+1, sizeof(struct iovec)); in bus_exec_context_set_transient_property()
2352 c->log_extra_fields = t; in bus_exec_context_set_transient_property()
2366 c->log_extra_fields[c->n_log_extra_fields++] = IOVEC_MAKE(copy, sz); in bus_exec_context_set_transient_property()
Dexecute.c5993 fwrite(c->log_extra_fields[j].iov_base, in exec_context_dump()
5994 1, c->log_extra_fields[j].iov_len, in exec_context_dump()
6250 free(c->log_extra_fields[l].iov_base); in exec_context_free_log_extra_fields()
6251 c->log_extra_fields = mfree(c->log_extra_fields); in exec_context_free_log_extra_fields()
Dload-fragment.c3038 … t = reallocarray(c->log_extra_fields, c->n_log_extra_fields+1, sizeof(struct iovec)); in config_parse_log_extra_fields()
3042 c->log_extra_fields = t; in config_parse_log_extra_fields()
3043 c->log_extra_fields[c->n_log_extra_fields++] = IOVEC_MAKE_STRING(k); in config_parse_log_extra_fields()
Dunit.c5264 sizes[i] = htole64(c->log_extra_fields[i].iov_len); in unit_export_log_extra_fields()
5267 iovec[i*2+1] = c->log_extra_fields[i]; in unit_export_log_extra_fields()