/systemd/src/core/ |
H A D | failure-action.c | 31 static void log_and_status(Manager *m, const char *message) { argument 32 log_warning("%s", message); 35 "%s", message);
|
H A D | dbus-slice.c | 33 sd_bus_message *message, 42 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); 30 bus_slice_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | dbus-kill.c | 40 sd_bus_message *message, 49 assert(message); 55 r = sd_bus_message_read(message, "s", &m); 74 r = sd_bus_message_read(message, "i", &sig); 92 r = sd_bus_message_read(message, "b", &b); 107 r = sd_bus_message_read(message, "b", &b); 36 bus_kill_context_set_transient_property( Unit *u, KillContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | dbus-job.c | 56 int bus_job_method_cancel(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument 60 assert(message); 63 r = mac_selinux_unit_access_check(j->unit, message, "stop", error); 68 if (!sd_bus_track_contains(j->clients, sd_bus_message_get_sender(message))) { 71 r = bus_verify_manage_units_async(j->unit->manager, message, error); 80 return sd_bus_reply_method_return(message, NULL);
|
H A D | dbus-scope.c | 33 static int bus_scope_abandon(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument 37 assert(message); 40 r = mac_selinux_unit_access_check(UNIT(s), message, "stop", error); 44 r = bus_verify_manage_units_async(UNIT(s)->manager, message, error); 56 return sd_bus_reply_method_return(message, NULL); 74 sd_bus_message *message, 82 assert(message); 88 r = sd_bus_message_enter_container(message, 'a', "u"); 92 while ((r = sd_bus_message_read(message, "u", &pid)) > 0) { 108 r = sd_bus_message_exit_container(message); 71 bus_scope_set_transient_property( Scope *s, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument 163 bus_scope_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument [all...] |
H A D | dbus-swap.c | 95 sd_bus_message *message, 103 assert(message); 105 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); 92 bus_swap_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | dbus-mount.c | 129 sd_bus_message *message, 140 assert(message); 151 r = sd_bus_message_read(message, "s", &new_property); 170 sd_bus_message *message, 179 assert(message); 181 r = bus_cgroup_set_property(u, &m->cgroup_context, name, message, mode, error); 188 r = bus_mount_set_transient_property(m, name, message, mode, error); 192 r = bus_exec_context_set_transient_property(u, &m->exec_context, name, message, mode, error); 196 r = bus_kill_context_set_transient_property(u, &m->kill_context, name, message, mode, error); 126 bus_mount_set_transient_property( Mount *m, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument 167 bus_mount_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | dbus-service.c | 86 sd_bus_message *message, 94 assert(message); 99 r = sd_bus_message_read(message, "b", &b); 114 r = sd_bus_message_read(message, "s", &t); 131 r = sd_bus_message_read(message, "t", &u); 148 r = sd_bus_message_read(message, "h", &fd); 178 r = sd_bus_message_enter_container(message, 'a', "(sasb)"); 182 while ((r = sd_bus_message_enter_container(message, 'r', "sasb")) > 0) { 187 r = sd_bus_message_read(message, "s", &path); 194 r = sd_bus_message_read_strv(message, 83 bus_service_set_transient_property( Service *s, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument 278 bus_service_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument [all...] |
H A D | dbus-socket.c | 162 sd_bus_message *message, 170 assert(message); 172 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); 159 bus_socket_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | dbus-cgroup.c | 163 sd_bus_message *message, 172 assert(message); 177 r = sd_bus_message_read(message, "b", &b); 196 sd_bus_message *message, 205 assert(message); 210 r = sd_bus_message_read(message, "b", &b); 225 r = sd_bus_message_read(message, "t", &shares); 247 r = sd_bus_message_read(message, "t", &shares); 269 r = sd_bus_message_read(message, "t", &u64); 287 r = sd_bus_message_read(message, " 159 bus_cgroup_set_transient_property( Unit *u, CGroupContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument 192 bus_cgroup_set_property( Unit *u, CGroupContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument [all...] |
H A D | dbus-timer.c | 191 sd_bus_message *message, 199 assert(message); 216 r = sd_bus_message_read(message, "t", &u); 243 r = sd_bus_message_read(message, "s", &str); 274 r = sd_bus_message_read(message, "t", &u); 288 r = sd_bus_message_read(message, "t", &u); 302 r = sd_bus_message_read(message, "b", &b); 316 r = sd_bus_message_read(message, "b", &b); 334 sd_bus_message *message, 343 assert(message); 188 bus_timer_set_transient_property( Timer *t, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument 331 bus_timer_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument [all...] |
H A D | selinux-access.c | 182 sd_bus_message *message, 195 assert(message); 204 message, 214 * gotten directly from the message or sender, and not be an 272 sd_bus_message *message, 181 mac_selinux_generic_access_check( sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error) argument 271 mac_selinux_generic_access_check( sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error) argument
|
/systemd/src/journal/ |
H A D | journald-wall.c | 32 const char *message, 40 assert(message); 51 if (asprintf(&l_buf, "%s["PID_FMT"]: %s", strempty(identifier), ucred->pid, message) < 0) { 60 l = l_buf = strjoin(identifier, ": ", message, NULL); 66 l = message; 70 log_debug_errno(r, "Failed to send wall message: %m"); 28 server_forward_wall( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
|
H A D | journald-console.c | 55 const char *message, 67 assert(message); 99 /* Fourth: message */ 100 IOVEC_SET_STRING(iovec[n++], message); 51 server_forward_console( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
|
H A D | journal-send.c | 345 static int fill_iovec_perror_and_send(const char *message, int skip, struct iovec iov[]) { argument 349 k = isempty(message) ? 0 : strlen(message) + 2; 367 memcpy(buffer + 8, message, k - 2); 388 _public_ int sd_journal_perror(const char *message) { argument 391 return fill_iovec_perror_and_send(message, 0, iovec); 547 const char *message) { 558 return fill_iovec_perror_and_send(message, 3, iov); 544 sd_journal_perror_with_location( const char *file, const char *line, const char *func, const char *message) argument
|
H A D | journald-kmsg.c | 45 const char *message, 57 assert(message); 91 /* Fourth: message */ 92 IOVEC_SET_STRING(iovec[n++], message); 114 char *message = NULL, *syslog_priority = NULL, *syslog_pid = NULL, *syslog_facility = NULL, *syslog_identifier = NULL, *source_time = NULL; local 165 * we always store the next message serial we expect 167 * message with serial 0 easy. */ 309 if (cunescape_length_with_prefix(p, pl, "MESSAGE=", UNESCAPE_RELAX, &message) >= 0) 310 IOVEC_SET_STRING(iovec[n++], message); 318 free(message); 41 server_forward_kmsg( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument [all...] |
/systemd/src/journal-remote/ |
H A D | log-generator.py | 22 MESSAGE={message} 46 message = repr(src.read(2000)) variable 60 message=message, variable
|
/systemd/src/libsystemd-network/ |
H A D | dhcp-option.c | 71 int dhcp_option_append(DHCPMessage *message, size_t size, size_t *offset, argument 78 assert(message); 86 r = option_append(message->options, size, offset, code, optlen, optval); 92 r = option_append(message->options, size, offset, SD_DHCP_OPTION_END, 0, NULL); 104 if (file_offset < sizeof(message->file)) { 106 r = option_append(message->file, sizeof(message->file), &file_offset, code, optlen, optval); 113 r = option_append(message->options, size, offset, SD_DHCP_OPTION_END, 0, NULL); 117 *offset = size + sizeof(message->file); 124 sname_offset = *offset - size - (file ? sizeof(message 229 dhcp_option_parse(DHCPMessage *message, size_t len, dhcp_option_cb_t cb, void *userdata, char **_error_message) argument [all...] |
H A D | dhcp-packet.c | 31 int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, argument 40 message->op = op; 41 message->htype = arp_type; 42 message->hlen = (arp_type == ARPHRD_ETHER) ? ETHER_ADDR_LEN : 0; 43 message->xid = htobe32(xid); 44 message->magic = htobe32(DHCP_MAGIC_COOKIE); 46 r = dhcp_option_append(message, optlen, &offset, 0,
|
H A D | dhcp-server-internal.h | 74 /* received message */ 75 DHCPMessage *message; member in struct:DHCPRequest 87 int dhcp_server_handle_message(sd_dhcp_server *server, DHCPMessage *message,
|
H A D | test-dhcp-server.c | 88 DHCPMessage message; member in struct:__anon196 111 .message.op = BOOTREQUEST, 112 .message.htype = ARPHRD_ETHER, 113 .message.hlen = ETHER_ADDR_LEN, 114 .message.xid = htobe32(0x12345678), 115 .message.chaddr = { 'A', 'B', 'C', 'D', 'E', 'F' }, 147 test.message.op = 0; 149 test.message.op = BOOTREQUEST; 152 test.message.htype = 0; 154 test.message [all...] |
/systemd/src/shared/ |
H A D | utmp-wtmp.h | 39 const char *message, 66 const char *message, 65 utmp_wall( const char *message, const char *username, const char *origin_tty, bool (*match_tty)(const char *tty, void *userdata), void *userdata) argument
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-error.c | 184 return SD_BUS_ERROR_MAKE_CONST(SD_BUS_ERROR_INCONSISTENT_MESSAGE, "Inconsistent message"); 213 return e->name || e->message || e->_need_free != 0; 222 free((void*) e->message); 225 e->name = e->message = NULL; 229 _public_ int sd_bus_error_set(sd_bus_error *e, const char *name, const char *message) { argument 244 if (message) 245 e->message = strdup(message); 267 /* If we hit OOM on formatting the pretty message, we ignore 270 (void) vasprintf((char**) &e->message, forma 328 sd_bus_error_set_const(sd_bus_error *e, const char *name, const char *message) argument [all...] |
/systemd/src/login/ |
H A D | logind-user-dbus.c | 171 int bus_user_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument 175 assert(message); 179 message, 196 return sd_bus_reply_method_return(message, NULL); 199 int bus_user_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument 204 assert(message); 208 message, 221 r = sd_bus_message_read(message, "i", &signo); 232 return sd_bus_reply_method_return(message, NULL); 273 sd_bus_message *message; local 317 sd_bus_message *message; local [all...] |
/systemd/src/machine/ |
H A D | image-dbus.c | 32 sd_bus_message *message, 40 assert(message); 44 message, 61 return sd_bus_reply_method_return(message, NULL); 65 sd_bus_message *message, 74 assert(message); 77 r = sd_bus_message_read(message, "s", &new_name); 85 message, 102 return sd_bus_reply_method_return(message, NULL); 106 sd_bus_message *message, 31 bus_image_method_remove( sd_bus_message *message, void *userdata, sd_bus_error *error) argument 64 bus_image_method_rename( sd_bus_message *message, void *userdata, sd_bus_error *error) argument 105 bus_image_method_clone( sd_bus_message *message, void *userdata, sd_bus_error *error) argument 146 bus_image_method_mark_read_only( sd_bus_message *message, void *userdata, sd_bus_error *error) argument 182 bus_image_method_set_limit( sd_bus_message *message, void *userdata, sd_bus_error *error) argument [all...] |