Searched refs:sd_bus_message_append (Results 1 - 25 of 52) sorted by relevance

123

/systemd/src/nspawn/
H A Dnspawn-register.c83 r = sd_bus_message_append(
101 r = sd_bus_message_append(m, "(sv)", "Slice", "s", slice);
106 r = sd_bus_message_append(m, "(sv)", "DevicePolicy", "s", "strict");
114 r = sd_bus_message_append(m, "(sv)", "DeviceAllow", "a(ss)", 9,
149 r = sd_bus_message_append(m, "(sv)", "DeviceAllow", "a(ss)", 1,
157 r = sd_bus_message_append(m, "(sv)", "KillSignal", "i", kill_signal);
161 r = sd_bus_message_append(m, "(sv)", "KillMode", "s", "mixed");
/systemd/src/core/
H A Ddbus-path.c50 r = sd_bus_message_append(reply, "(ss)", path_type_to_string(k->type), k->path);
75 return sd_bus_message_append(reply, "s", trigger ? trigger->id : "");
H A Ddbus-swap.c52 return sd_bus_message_append(reply, "i", p);
74 return sd_bus_message_append(reply, "s", options);
H A Ddbus-unit.c62 r = sd_bus_message_append(reply, "s", t);
86 return sd_bus_message_append(reply, "s", f ? f->id : "");
111 r = sd_bus_message_append(reply, "s", u->id);
132 return sd_bus_message_append(reply, "as", 0);
150 return sd_bus_message_append(reply, "s", unit_description(u));
168 return sd_bus_message_append(reply, "s", unit_active_state_to_string(unit_active_state(u)));
186 return sd_bus_message_append(reply, "s", unit_sub_state_to_string(u));
207 return sd_bus_message_append(reply, "s",
227 return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_state(u)));
245 return sd_bus_message_append(repl
[all...]
H A Ddbus-job.c53 return sd_bus_message_append(reply, "(so)", j->unit->id, p);
115 r = sd_bus_message_append(m, "uos", j->id, p, j->unit->id);
175 r = sd_bus_message_append(m, "uoss", j->id, p, j->unit->id, job_result_to_string(j->result));
H A Ddbus-execute.c82 r = sd_bus_message_append(reply, "(sb)", fn[0] == '-' ? fn + 1 : fn, fn[0] == '-');
117 return sd_bus_message_append(reply, "i", n);
146 return sd_bus_message_append(reply, "i", n);
174 return sd_bus_message_append(reply, "i", n);
201 return sd_bus_message_append(reply, "i", n);
231 return sd_bus_message_append(reply, "i", n);
276 return sd_bus_message_append(reply, "t", u);
294 return sd_bus_message_append(reply, "t", c->capability_bounding_set);
312 return sd_bus_message_append(reply, "t", c->capability_ambient_set);
340 return sd_bus_message_append(repl
[all...]
H A Ddbus-timer.c70 r = sd_bus_message_append(reply, "(stt)", buf, v->value, v->next_elapse);
109 r = sd_bus_message_append(reply, "(sst)", timer_base_to_string(v->base), buf, v->next_elapse);
134 return sd_bus_message_append(reply, "s", trigger ? trigger->id : "");
168 return sd_bus_message_append(reply, "t", x);
H A Ddbus-mount.c52 return sd_bus_message_append(reply, "s", d);
78 return sd_bus_message_append(reply, "s", d);
104 return sd_bus_message_append(reply, "s", d);
H A Ddbus-socket.c79 r = sd_bus_message_append(reply, "(ss)", socket_port_type_to_string(p), a);
103 return sd_bus_message_append(reply, "s", socket_fdname(s));
H A Ddbus-manager.c61 return sd_bus_message_append(reply, "s", PACKAGE_VERSION);
76 return sd_bus_message_append(reply, "s", SYSTEMD_FEATURES);
100 return sd_bus_message_append(
117 return sd_bus_message_append(reply, "s", architecture_to_string(uname_architecture()));
149 return sd_bus_message_append(reply, "s", buf);
164 return sd_bus_message_append(reply, "s", log_target_to_string(log_get_target()));
208 return sd_bus_message_append(reply, "s", t);
251 return sd_bus_message_append(reply, "u", (uint32_t) hashmap_size(m->units));
269 return sd_bus_message_append(reply, "u", (uint32_t) set_size(m->failed_units));
287 return sd_bus_message_append(repl
[all...]
/systemd/src/run/
H A Drun.c418 r = sd_bus_message_append(m, "(sv)", "Description", "s", arg_description);
442 r = sd_bus_message_append(m, "(sv)", "Slice", "s", slice);
454 return sd_bus_message_append(m, "(sv)", "SendSIGHUP", "b", arg_send_sighup);
477 r = sd_bus_message_append(m, "(sv)", "RemainAfterExit", "b", arg_remain_after_exit);
483 r = sd_bus_message_append(m, "(sv)", "Type", "s", arg_service_type);
489 r = sd_bus_message_append(m, "(sv)", "User", "s", arg_exec_user);
495 r = sd_bus_message_append(m, "(sv)", "Group", "s", arg_exec_group);
501 r = sd_bus_message_append(m, "(sv)", "Nice", "i", arg_nice);
509 r = sd_bus_message_append(m,
523 r = sd_bus_message_append(
[all...]
/systemd/src/login/
H A Dlogind-user-dbus.c51 return sd_bus_message_append(reply, "(so)", u->display ? u->display->id : "", p);
69 return sd_bus_message_append(reply, "s", user_state_to_string(user_get_state(u)));
100 r = sd_bus_message_append(reply, "(so)", session->id, p);
124 return sd_bus_message_append(reply, "b", user_get_idle_hint(u, NULL) > 0);
147 return sd_bus_message_append(reply, "t", k);
168 return sd_bus_message_append(reply, "b", r > 0);
H A Dlogind-seat-dbus.c53 return sd_bus_message_append(reply, "(so)", s->active ? s->active->id : "", p);
71 return sd_bus_message_append(reply, "b", seat_can_multi_session(s));
89 return sd_bus_message_append(reply, "b", seat_can_tty(s));
107 return sd_bus_message_append(reply, "b", seat_can_graphical(s));
138 r = sd_bus_message_append(reply, "(so)", session->id, p);
166 return sd_bus_message_append(reply, "b", seat_get_idle_hint(s, NULL) > 0);
193 return sd_bus_message_append(reply, "t", u);
H A Dlogind-session-dbus.c54 return sd_bus_message_append(reply, "(uo)", (uint32_t) s->user->uid, p);
72 return sd_bus_message_append(reply, "s", s->user->name);
95 return sd_bus_message_append(reply, "(so)", s->seat ? s->seat->id : "", p);
116 return sd_bus_message_append(reply, "b", session_is_active(s));
134 return sd_bus_message_append(reply, "s", session_state_to_string(session_get_state(s)));
152 return sd_bus_message_append(reply, "b", session_get_idle_hint(s, NULL) > 0);
179 return sd_bus_message_append(reply, "t", u);
H A Dlogind-dbus.c152 return sd_bus_message_append(reply, "b", manager_get_idle_hint(m, NULL) > 0);
173 return sd_bus_message_append(reply, "t", streq(property, "IdleSinceHint") ? t.realtime : t.monotonic);
194 return sd_bus_message_append(reply, "s", inhibit_what_to_string(w));
218 return sd_bus_message_append(reply, "b", b);
241 r = sd_bus_message_append(reply, "st", m->scheduled_shutdown_type, m->scheduled_shutdown_timeout);
265 return sd_bus_message_append(reply, "b", manager_is_docked_or_external_displays(m));
443 r = sd_bus_message_append(reply, "(susso)",
485 r = sd_bus_message_append(reply, "(uso)",
525 r = sd_bus_message_append(reply, "(so)", seat->id, p);
557 r = sd_bus_message_append(repl
[all...]
/systemd/src/shared/
H A Dbus-util.c293 r = sd_bus_message_append(
306 r = sd_bus_message_append(request, "{ss}", *k, *v);
315 r = sd_bus_message_append(request, "us", 0, NULL);
514 r = sd_bus_message_append(
527 r = sd_bus_message_append(pk, "{ss}", *k, *v);
536 r = sd_bus_message_append(pk, "us", !!interactive, NULL);
1420 r = sd_bus_message_append(m, "sv", "CPUQuotaPerSecUSec", "t", USEC_INFINITY);
1429 r = sd_bus_message_append(m, "sv", "CPUQuotaPerSecUSec", "t", (usec_t) percent * USEC_PER_SEC / 100);
1439 r = sd_bus_message_append(m, "sv", "EnvironmentFiles", "a(sb)", 1,
1459 r = sd_bus_message_append(
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-marshal.c147 r = sd_bus_message_append(m, "");
150 r = sd_bus_message_append(m, "s", "a string");
153 r = sd_bus_message_append(m, "s", NULL);
156 r = sd_bus_message_append(m, "asg", 2, "string #1", "string #2", "sba(tt)ss");
159 r = sd_bus_message_append(m, "sass", "foobar", 5, "foo", "bar", "waldo", "piep", "pap", "after");
162 r = sd_bus_message_append(m, "a{yv}", 2, 3, "s", "foo", 5, "s", "waldo");
165 r = sd_bus_message_append(m, "y(ty)y(yt)y", 8, 777ULL, 7, 9, 77, 7777ULL, 10);
168 r = sd_bus_message_append(m, "()");
171 r = sd_bus_message_append(m, "ba(ss)", 255, 3, "aaa", "1", "bbb", "2", "ccc", "3");
196 r = sd_bus_message_append(
[all...]
H A Dtest-bus-gvariant.c150 assert_se(sd_bus_message_append(m,
210 assert_se(sd_bus_message_append(m, "as", 0) >= 0);
/systemd/src/resolve/
H A Dresolved-bus.c109 r = sd_bus_message_append(reply, "i", ifindex);
114 r = sd_bus_message_append(reply, "i", AF_INET);
121 r = sd_bus_message_append(reply, "i", AF_INET6);
203 r = sd_bus_message_append(
340 r = sd_bus_message_append(reply, "(is)", ifindex, rr->ptr.name);
359 r = sd_bus_message_append(reply, "t", SD_RESOLVED_FLAGS_MAKE(q->answer_protocol, q->answer_family, q->answer_authenticated));
449 r = sd_bus_message_append(m, "iqq",
525 r = sd_bus_message_append(reply, "t", SD_RESOLVED_FLAGS_MAKE(q->answer_protocol, q->answer_family, q->answer_authenticated));
666 r = sd_bus_message_append(
717 r = sd_bus_message_append(repl
[all...]
H A Dresolved-link-bus.c81 r = sd_bus_message_append(reply, "(sb)", d->name, d->route_only);
110 return sd_bus_message_append(reply, "t", mask);
135 r = sd_bus_message_append(reply, "s", name);
157 return sd_bus_message_append(reply, "b", link_dnssec_supported(l));
H A Dtest-dnssec-complex.c75 assert_se(sd_bus_message_append(req, "isqqt", 0, name, DNS_CLASS_IN, type, UINT64_C(0)) >= 0);
112 assert_se(sd_bus_message_append(req, "isit", 0, name, family, UINT64_C(0)) >= 0);
/systemd/src/machine/
H A Dmachine-dbus.c225 r = sd_bus_message_append(reply, "i", addresses[i].family);
328 r = sd_bus_message_append(reply, "i", family);
469 r = sd_bus_message_append(reply, "{ss}", *k, *v);
517 r = sd_bus_message_append(reply, "hs", master, pty_name);
632 r = sd_bus_message_append(reply, "hs", master, pty_name);
732 r = sd_bus_message_append(tm, "ss", unit, "fail");
742 r = sd_bus_message_append(tm,
759 r = sd_bus_message_append(tm, "(sv)", "User", "s", isempty(user) ? "root" : user);
768 r = sd_bus_message_append(tm, "s", "Environment");
794 r = sd_bus_message_append(t
[all...]
H A Dmachined-dbus.c59 return sd_bus_message_append(reply, "s", "/var/lib/machines");
95 return sd_bus_message_append(reply, "t", usage);
131 return sd_bus_message_append(reply, "t", size);
254 r = sd_bus_message_append(reply, "(ssso)",
589 r = sd_bus_message_append(reply, "(ssbttto)",
1304 r = sd_bus_message_append(m, "ss", strempty(scope), "fail");
1313 r = sd_bus_message_append(m, "(sv)", "Slice", "s", slice);
1319 r = sd_bus_message_append(m, "(sv)", "Description", "s", description);
1324 r = sd_bus_message_append(m, "(sv)", "PIDs", "au", 1, pid);
1328 r = sd_bus_message_append(
[all...]
/systemd/src/network/
H A Dnetworkd-network-bus.c50 r = sd_bus_message_append(reply, "s", strempty(ether));
/systemd/src/bus-proxyd/
H A Dsynthesize.c208 r = sd_bus_message_append(n, "s", name);

Completed in 2609 milliseconds

123