UNIT 87 src/analyze/analyze-verify.c log_debug_unit(u->id, "%s uses %s", u->id, UNIT(service)->id); UNIT 89 src/analyze/analyze-verify.c if (UNIT(service)->load_state != UNIT_LOADED) { UNIT 91 src/analyze/analyze-verify.c UNIT(service)->id, u->id); UNIT 64 src/core/automount.c UNIT(a)->ignore_on_isolate = true; UNIT 98 src/core/automount.c (UNIT(a)->manager->exit_code != MANAGER_RELOAD && UNIT 99 src/core/automount.c UNIT(a)->manager->exit_code != MANAGER_REEXECUTE)) UNIT 127 src/core/automount.c return unit_require_mounts_for(UNIT(a), parent); UNIT 135 src/core/automount.c if (UNIT(a)->manager->running_as != SYSTEMD_SYSTEM) UNIT 138 src/core/automount.c r = unit_add_two_dependencies_by_name(UNIT(a), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_UMOUNT_TARGET, NULL, true); UNIT 150 src/core/automount.c if (UNIT(a)->load_state != UNIT_LOADED) UNIT 154 src/core/automount.c log_error_unit(UNIT(a)->id, "Cannot have an automount unit for the root directory. Refusing."); UNIT 162 src/core/automount.c b = unit_has_name(UNIT(a), e); UNIT 165 src/core/automount.c log_error_unit(UNIT(a)->id, "%s's Where setting doesn't match unit name. Refusing.", UNIT(a)->id); UNIT 207 src/core/automount.c if (UNIT(a)->default_dependencies) { UNIT 229 src/core/automount.c log_debug_unit(UNIT(a)->id, UNIT 231 src/core/automount.c UNIT(a)->id, UNIT 235 src/core/automount.c unit_notify(UNIT(a), state_translation_table[old_state], state_translation_table[state], true); UNIT 420 src/core/automount.c ioctl_fd = open_ioctl_fd(UNIT(a)->manager->dev_autofs_fd, a->where, a->dev_id); UNIT 425 src/core/automount.c log_debug_unit(UNIT(a)->id, "Sending failure: %s", strerror(-status)); UNIT 427 src/core/automount.c log_debug_unit(UNIT(a)->id, "Sending success."); UNIT 440 src/core/automount.c k = autofs_send_ready(UNIT(a)->manager->dev_autofs_fd, UNIT 466 src/core/automount.c dev_autofs_fd = open_dev_autofs(UNIT(a)->manager); UNIT 522 src/core/automount.c r = sd_event_add_io(UNIT(a)->manager->event, &a->pipe_event_source, p[0], EPOLLIN, automount_dispatch_io, a); UNIT 539 src/core/automount.c log_error_unit(UNIT(a)->id, UNIT 553 src/core/automount.c if (unit_stop_pending(UNIT(a))) { UNIT 554 src/core/automount.c log_debug_unit(UNIT(a)->id, UNIT 555 src/core/automount.c "Suppressing automount request on %s since unit stop is scheduled.", UNIT(a)->id); UNIT 564 src/core/automount.c log_warning_unit(UNIT(a)->id, UNIT 565 src/core/automount.c "%s failed to stat automount point: %m", UNIT(a)->id); UNIT 570 src/core/automount.c log_info_unit(UNIT(a)->id, UNIT 571 src/core/automount.c "%s's automount point already active?", UNIT(a)->id); UNIT 573 src/core/automount.c r = manager_add_job(UNIT(a)->manager, JOB_START, UNIT_TRIGGER(UNIT(a)), UNIT 576 src/core/automount.c log_warning_unit(UNIT(a)->id, UNIT 578 src/core/automount.c UNIT(a)->id, bus_error_message(&error, r)); UNIT 741 src/core/automount.c log_error_unit(UNIT(a)->id, "Got invalid poll event on pipe."); UNIT 747 src/core/automount.c log_error_unit(UNIT(a)->id, "Invalid read from pipe: %s", l < 0 ? strerror(-l) : "short read"); UNIT 759 src/core/automount.c log_info_unit(UNIT(a)->id, UNIT 763 src/core/automount.c log_debug_unit(UNIT(a)->id, "Got direct mount request on %s", a->where); UNIT 767 src/core/automount.c log_error_unit(UNIT(a)->id, "Failed to allocate token set."); UNIT 773 src/core/automount.c log_error_unit(UNIT(a)->id, "Failed to remember token: %s", strerror(-r)); UNIT 781 src/core/automount.c log_error_unit(UNIT(a)->id, "Received unknown automount request %i", packet.hdr.type); UNIT 63 src/core/busname.c unit_unwatch_pid(UNIT(n), n->control_pid); UNIT 123 src/core/busname.c UNIT(n)->manager->event, UNIT 135 src/core/busname.c r = unit_add_dependency_by_name(UNIT(n), UNIT_BEFORE, SPECIAL_BUSNAMES_TARGET, NULL, true); UNIT 139 src/core/busname.c if (UNIT(n)->manager->running_as == SYSTEMD_SYSTEM) { UNIT 140 src/core/busname.c r = unit_add_two_dependencies_by_name(UNIT(n), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_SYSINIT_TARGET, NULL, true); UNIT 145 src/core/busname.c return unit_add_two_dependencies_by_name(UNIT(n), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true); UNIT 149 src/core/busname.c Unit *u = UNIT(n); UNIT 196 src/core/busname.c if (UNIT(n)->load_state != UNIT_LOADED) UNIT 200 src/core/busname.c log_error_unit(UNIT(n)->id, "%s's Name= setting is not a valid service name Refusing.", UNIT(n)->id); UNIT 205 src/core/busname.c if (!unit_has_name(UNIT(n), e)) { UNIT 206 src/core/busname.c log_error_unit(UNIT(n)->id, "%s's Name= setting doesn't match unit name. Refusing.", UNIT(n)->id); UNIT 268 src/core/busname.c log_debug_unit(UNIT(n)->id, "Failed to disable event source."); UNIT 282 src/core/busname.c r = sd_event_add_io(UNIT(n)->manager->event, &n->starter_event_source, n->starter_fd, EPOLLIN, busname_dispatch_io, n); UNIT 284 src/core/busname.c log_warning_unit(UNIT(n)->id, "Failed to watch starter fd: %s", strerror(-r)); UNIT 301 src/core/busname.c mode = UNIT(n)->manager->running_as == SYSTEMD_SYSTEM ? "system" : "user"; UNIT 304 src/core/busname.c log_warning_unit(UNIT(n)->id, "Failed to open %s: %s", UNIT 331 src/core/busname.c log_debug_unit(UNIT(n)->id, "%s changed %s -> %s", UNIT 332 src/core/busname.c UNIT(n)->id, busname_state_to_string(old_state), busname_state_to_string(state)); UNIT 334 src/core/busname.c unit_notify(UNIT(n), state_translation_table[old_state], state_translation_table[state], true); UNIT 352 src/core/busname.c r = unit_watch_pid(UNIT(n), n->control_pid); UNIT 415 src/core/busname.c r = unit_watch_pid(UNIT(n), pid); UNIT 447 src/core/busname.c r = unit_kill_context(UNIT(n), UNIT 454 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to kill control process: %s", UNIT(n)->id, strerror(-r)); UNIT 461 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to arm timer: %s", UNIT(n)->id, strerror(-r)); UNIT 485 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to watch names: %s", UNIT(n)->id, strerror(-r)); UNIT 516 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to fork 'making' task: %s", UNIT(n)->id, strerror(-r)); UNIT 527 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to make starter: %s", UNIT(n)->id, strerror(-r)); UNIT 555 src/core/busname.c if (unit_stop_pending(UNIT(n))) { UNIT 556 src/core/busname.c log_debug_unit(UNIT(n)->id, "Suppressing activation request on %s since unit stop is scheduled.", UNIT(n)->id); UNIT 567 src/core/busname.c SET_FOREACH(other, UNIT(n)->dependencies[UNIT_TRIGGERS], i) UNIT 574 src/core/busname.c r = manager_add_job(UNIT(n)->manager, JOB_START, UNIT_DEREF(n->service), JOB_REPLACE, true, &error, NULL); UNIT 583 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to queue service startup job: %s", UNIT(n)->id, bus_error_message(&error, r)); UNIT 606 src/core/busname.c if (UNIT(service)->load_state != UNIT_LOADED) { UNIT 607 src/core/busname.c log_error_unit(u->id, "Bus service %s not loaded, refusing.", UNIT(service)->id); UNIT 737 src/core/busname.c log_debug_unit(UNIT(n)->id, "Activation request on %s", UNIT(n)->id); UNIT 740 src/core/busname.c log_error_unit(UNIT(n)->id, "%s: Got unexpected poll event (0x%x) on starter fd.", UNIT 741 src/core/busname.c UNIT(n)->id, revents); UNIT 814 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s making timed out. Terminating.", UNIT(n)->id); UNIT 819 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s stopping timed out. Killing.", UNIT(n)->id); UNIT 824 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s still around after SIGKILL. Ignoring.", UNIT(n)->id); UNIT 1034 src/core/dbus-manager.c path = unit_dbus_path(UNIT(s)); UNIT 41 src/core/dbus-scope.c r = bus_verify_manage_unit_async(UNIT(s)->manager, message, error); UNIT 52 src/core/dbus-scope.c return sd_bus_error_setf(error, BUS_ERROR_SCOPE_NOT_RUNNING, "Scope %s is not running, cannot abandon.", UNIT(s)->id); UNIT 96 src/core/dbus-scope.c r = unit_watch_pid(UNIT(s), pid); UNIT 148 src/core/dbus-scope.c unit_write_drop_in_format(UNIT(s), mode, name, "[Scope]\nTimeoutStopSec="USEC_FMT"us\n", s->timeout_stop_usec); UNIT 213 src/core/dbus-scope.c p = unit_dbus_path(UNIT(s)); UNIT 218 src/core/dbus-scope.c UNIT(s)->manager->api_bus, UNIT 226 src/core/dbus-scope.c return sd_bus_send_to(UNIT(s)->manager->api_bus, m, /* s->controller */ NULL, NULL); UNIT 97 src/core/dbus-service.c unit_write_drop_in_private_format(UNIT(s), mode, name, "RemainAfterExit=%s\n", yes_no(b)); UNIT 116 src/core/dbus-service.c unit_write_drop_in_private_format(UNIT(s), mode, name, "Type=%s\n", service_type_to_string(s->type)); UNIT 215 src/core/dbus-service.c unit_write_drop_in_private(UNIT(s), mode, name, buf); UNIT 36 src/core/dbus-snapshot.c r = mac_selinux_unit_access_check(UNIT(s), message, "stop", error); UNIT 55 src/core/device.c devices = UNIT(d)->manager->devices_by_sysfs; UNIT 72 src/core/device.c assert(UNIT(d)->load_state == UNIT_STUB); UNIT 101 src/core/device.c log_debug_unit(UNIT(d)->id, UNIT 102 src/core/device.c "%s changed %s -> %s", UNIT(d)->id, UNIT 106 src/core/device.c unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], true); UNIT 494 src/core/device.c if (startswith(UNIT(other)->id, "sys-")) UNIT 495 src/core/device.c return UNIT(other); UNIT 498 src/core/device.c if (startswith(UNIT(other)->id, "sys-")) UNIT 499 src/core/device.c return UNIT(other); UNIT 504 src/core/device.c return UNIT(first); UNIT 316 src/core/load-fragment.c r = unit_full_printf(UNIT(s), rvalue, &p->path); UNIT 332 src/core/load-fragment.c r = unit_full_printf(UNIT(s), rvalue, &k); UNIT 348 src/core/load-fragment.c r = unit_full_printf(UNIT(s), rvalue, &k); UNIT 1476 src/core/load-fragment.c r = unit_full_printf(UNIT(p), rvalue, &k); UNIT 1497 src/core/load-fragment.c s->unit = UNIT(p); UNIT 1530 src/core/load-fragment.c r = unit_name_printf(UNIT(s), rvalue, &p); UNIT 1543 src/core/load-fragment.c r = manager_load_unit(UNIT(s)->manager, p, NULL, &error, &x); UNIT 1583 src/core/load-fragment.c r = unit_name_printf(UNIT(s), t, &k); UNIT 1594 src/core/load-fragment.c r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_WANTS, UNIT_AFTER, k ?: t, NULL, true); UNIT 1600 src/core/load-fragment.c r = unit_add_dependency_by_name(UNIT(s), UNIT_TRIGGERED_BY, k ?: t, NULL, true); UNIT 1667 src/core/load-fragment.c r = unit_name_printf(UNIT(n), rvalue, &p); UNIT 1680 src/core/load-fragment.c r = manager_load_unit(UNIT(n)->manager, p, NULL, &error, &x); UNIT 159 src/core/mount.c UNIT(m)->manager->event, UNIT 172 src/core/mount.c unit_unwatch_pid(UNIT(m), m->control_pid); UNIT 241 src/core/mount.c r = unit_require_mounts_for(UNIT(m), parent); UNIT 254 src/core/mount.c r = unit_require_mounts_for(UNIT(m), pm->what); UNIT 261 src/core/mount.c s = manager_get_units_requiring_mounts_for(UNIT(m)->manager, m->where); UNIT 267 src/core/mount.c if (other == UNIT(m)) UNIT 270 src/core/mount.c r = unit_add_dependency(other, UNIT_AFTER, UNIT(m), true); UNIT 274 src/core/mount.c if (UNIT(m)->fragment_path) { UNIT 276 src/core/mount.c r = unit_add_dependency(other, UNIT_REQUIRES, UNIT(m), true); UNIT 308 src/core/mount.c if (mount_is_auto(p) && UNIT(m)->manager->running_as == SYSTEMD_SYSTEM) UNIT 311 src/core/mount.c r = unit_add_node_link(UNIT(m), p->what, device_wants_mount); UNIT 324 src/core/mount.c if (UNIT(m)->manager->running_as != SYSTEMD_SYSTEM) UNIT 334 src/core/mount.c r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_BEFORE, UNIT_WANTS, SPECIAL_QUOTACHECK_SERVICE, NULL, true); UNIT 338 src/core/mount.c r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_BEFORE, UNIT_WANTS, SPECIAL_QUOTAON_SERVICE, NULL, true); UNIT 367 src/core/mount.c if (UNIT(m)->manager->running_as != SYSTEMD_SYSTEM) UNIT 389 src/core/mount.c r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after, NULL, true); UNIT 394 src/core/mount.c r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after2, NULL, true); UNIT 400 src/core/mount.c r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_WANTS, UNIT_AFTER, online, NULL, true); UNIT 406 src/core/mount.c r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_UMOUNT_TARGET, NULL, true); UNIT 420 src/core/mount.c if (UNIT(m)->load_state != UNIT_LOADED) UNIT 430 src/core/mount.c b = unit_has_name(UNIT(m), e); UNIT 432 src/core/mount.c log_error_unit(UNIT(m)->id, "%s's Where= setting doesn't match unit name. Refusing.", UNIT(m)->id); UNIT 437 src/core/mount.c log_error_unit(UNIT(m)->id, "Cannot create mount unit for API file system %s. Refusing.", m->where); UNIT 441 src/core/mount.c if (UNIT(m)->fragment_path && !m->parameters_fragment.what) { UNIT 442 src/core/mount.c log_error_unit(UNIT(m)->id, "%s's What setting is missing. Refusing.", UNIT(m)->id); UNIT 447 src/core/mount.c log_error_unit(UNIT(m)->id, "%s has PAM enabled. Kill mode must be set to control-group'. Refusing.",UNIT(m)->id); UNIT 455 src/core/mount.c Unit *u = UNIT(m); UNIT 542 src/core/mount.c SET_FOREACH(p, UNIT(m)->dependencies[UNIT_TRIGGERED_BY], i) UNIT 592 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 594 src/core/mount.c UNIT(m)->id, UNIT 598 src/core/mount.c unit_notify(UNIT(m), state_translation_table[old_state], state_translation_table[state], m->reload_result == MOUNT_SUCCESS); UNIT 632 src/core/mount.c r = unit_watch_pid(UNIT(m), m->control_pid); UNIT 696 src/core/mount.c unit_realize_cgroup(UNIT(m)); UNIT 698 src/core/mount.c r = unit_setup_exec_runtime(UNIT(m)); UNIT 706 src/core/mount.c exec_params.environment = UNIT(m)->manager->environment; UNIT 707 src/core/mount.c exec_params.confirm_spawn = UNIT(m)->manager->confirm_spawn; UNIT 708 src/core/mount.c exec_params.cgroup_supported = UNIT(m)->manager->cgroup_supported; UNIT 709 src/core/mount.c exec_params.cgroup_path = UNIT(m)->cgroup_path; UNIT 710 src/core/mount.c exec_params.runtime_prefix = manager_get_runtime_prefix(UNIT(m)->manager); UNIT 711 src/core/mount.c exec_params.unit_id = UNIT(m)->id; UNIT 721 src/core/mount.c r = unit_watch_pid(UNIT(m), pid); UNIT 745 src/core/mount.c exec_context_destroy_runtime_directory(&m->exec_context, manager_get_runtime_prefix(UNIT(m)->manager)); UNIT 768 src/core/mount.c UNIT(m), UNIT 797 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 798 src/core/mount.c "%s failed to kill processes: %s", UNIT(m)->id, strerror(-r)); UNIT 872 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 874 src/core/mount.c UNIT(m)->id, strerror(-r)); UNIT 934 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 936 src/core/mount.c UNIT(m)->id, strerror(-r)); UNIT 982 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 984 src/core/mount.c UNIT(m)->id, strerror(-r)); UNIT 1094 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 1104 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 1113 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 1121 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 1128 src/core/mount.c log_debug_unit(UNIT(m)->id, UNIT 1255 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1256 src/core/mount.c "%s mounting timed out. Stopping.", UNIT(m)->id); UNIT 1261 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1262 src/core/mount.c "%s remounting timed out. Stopping.", UNIT(m)->id); UNIT 1268 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1269 src/core/mount.c "%s unmounting timed out. Stopping.", UNIT(m)->id); UNIT 1275 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1276 src/core/mount.c "%s mounting timed out. Killing.", UNIT(m)->id); UNIT 1279 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1281 src/core/mount.c UNIT(m)->id); UNIT 1292 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1293 src/core/mount.c "%s remounting timed out. Killing.", UNIT(m)->id); UNIT 1296 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1298 src/core/mount.c UNIT(m)->id); UNIT 1309 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1310 src/core/mount.c "%s unmounting timed out. Killing.", UNIT(m)->id); UNIT 1313 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1315 src/core/mount.c UNIT(m)->id); UNIT 1327 src/core/mount.c log_warning_unit(UNIT(m)->id, UNIT 1329 src/core/mount.c UNIT(m)->id); UNIT 308 src/core/path.c r = unit_require_mounts_for(UNIT(p), s->path); UNIT 319 src/core/path.c if (UNIT(p)->load_state != UNIT_LOADED) UNIT 323 src/core/path.c log_error_unit(UNIT(p)->id, UNIT 324 src/core/path.c "%s lacks path setting. Refusing.", UNIT(p)->id); UNIT 336 src/core/path.c r = unit_add_dependency_by_name(UNIT(p), UNIT_BEFORE, UNIT 341 src/core/path.c if (UNIT(p)->manager->running_as == SYSTEMD_SYSTEM) { UNIT 342 src/core/path.c r = unit_add_two_dependencies_by_name(UNIT(p), UNIT_AFTER, UNIT_REQUIRES, UNIT 348 src/core/path.c return unit_add_two_dependencies_by_name(UNIT(p), UNIT_BEFORE, UNIT_CONFLICTS, UNIT 381 src/core/path.c if (UNIT(p)->default_dependencies) { UNIT 454 src/core/path.c UNIT(p)->id, UNIT 458 src/core/path.c unit_notify(UNIT(p), state_translation_table[old_state], state_translation_table[state], true); UNIT 497 src/core/path.c if (unit_stop_pending(UNIT(p))) UNIT 500 src/core/path.c r = manager_add_job(UNIT(p)->manager, JOB_START, UNIT_TRIGGER(UNIT(p)), UNIT 516 src/core/path.c UNIT(p)->id, bus_error_message(&error, r)); UNIT 541 src/core/path.c log_debug("%s got triggered.", UNIT(p)->id); UNIT 556 src/core/path.c log_debug("%s got triggered.", UNIT(p)->id); UNIT 566 src/core/path.c UNIT(p)->id, strerror(-r)); UNIT 727 src/core/path.c log_debug_unit(UNIT(p)->id, UNIT 729 src/core/path.c UNIT(p)->id); UNIT 54 src/core/scope.c UNIT(s)->ignore_on_isolate = true; UNIT 55 src/core/scope.c UNIT(s)->ignore_on_snapshot = true; UNIT 87 src/core/scope.c UNIT(s)->manager->event, UNIT 105 src/core/scope.c unit_unwatch_all_pids(UNIT(s)); UNIT 108 src/core/scope.c log_debug("%s changed %s -> %s", UNIT(s)->id, scope_state_to_string(old_state), scope_state_to_string(state)); UNIT 110 src/core/scope.c unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); UNIT 120 src/core/scope.c UNIT(s), UNIT 132 src/core/scope.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 135 src/core/scope.c if (set_isempty(UNIT(s)->pids) && UNIT(s)->manager->n_reloading <= 0) { UNIT 136 src/core/scope.c log_error_unit(UNIT(s)->id, "Scope %s has no PIDs. Refusing.", UNIT(s)->id); UNIT 150 src/core/scope.c if (!u->transient && UNIT(s)->manager->n_reloading <= 0) UNIT 192 src/core/scope.c unit_watch_all_pids(UNIT(s)); UNIT 234 src/core/scope.c unit_watch_all_pids(UNIT(s)); UNIT 244 src/core/scope.c UNIT(s), UNIT 267 src/core/scope.c log_warning_unit(UNIT(s)->id, UNIT 268 src/core/scope.c "%s failed to kill processes: %s", UNIT(s)->id, strerror(-r)); UNIT 288 src/core/scope.c if (!u->transient && UNIT(s)->manager->n_reloading <= 0) UNIT 297 src/core/scope.c r = cg_attach_many_everywhere(u->manager->cgroup_supported, u->cgroup_path, UNIT(s)->pids); UNIT 440 src/core/scope.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Killing.", UNIT(s)->id); UNIT 443 src/core/scope.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Skipping SIGKILL.", UNIT(s)->id); UNIT 450 src/core/scope.c log_warning_unit(UNIT(s)->id, "%s still around after SIGKILL. Ignoring.", UNIT(s)->id); UNIT 475 src/core/scope.c unit_tidy_watch_pids(UNIT(s), 0, 0); UNIT 476 src/core/scope.c unit_watch_all_pids(UNIT(s)); UNIT 479 src/core/scope.c if (set_isempty(UNIT(s)->pids)) UNIT 480 src/core/scope.c scope_notify_cgroup_empty_event(UNIT(s)); UNIT 120 src/core/service.c unit_unwatch_pid(UNIT(s), s->control_pid); UNIT 130 src/core/service.c unit_unwatch_pid(UNIT(s), s->main_pid); UNIT 138 src/core/service.c log_debug_unit(UNIT(s)->id, "Stopping watch for %s's PID file %s", UNIT(s)->id, s->pid_file_pathspec->path); UNIT 168 src/core/service.c log_warning_unit(UNIT(s)->id, "%s: Supervising process "PID_FMT" which is not our child. We'll most likely not notice when it exits.", UNIT(s)->id, pid); UNIT 210 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to reset watchdog timer: %s", UNIT(s)->id, strerror(-r)); UNIT 217 src/core/service.c UNIT(s)->manager->event, UNIT 223 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to add watchdog timer: %s", UNIT(s)->id, strerror(-r)); UNIT 233 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to install watchdog timer: %s", UNIT(s)->id, strerror(-r)); UNIT 303 src/core/service.c UNIT(s)->manager->event, UNIT 313 src/core/service.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 317 src/core/service.c log_error_unit(UNIT(s)->id, "%s lacks both ExecStart= and ExecStop= setting. Refusing.", UNIT(s)->id); UNIT 322 src/core/service.c log_error_unit(UNIT(s)->id, "%s has no ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.", UNIT(s)->id); UNIT 327 src/core/service.c log_error_unit(UNIT(s)->id, "%s has no ExecStart= setting, which is only allowed for RemainAfterExit=yes services. Refusing.", UNIT(s)->id); UNIT 332 src/core/service.c log_error_unit(UNIT(s)->id, "%s has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.", UNIT(s)->id); UNIT 337 src/core/service.c log_error_unit(UNIT(s)->id, "%s has Restart= setting other than no, which isn't allowed for Type=oneshot services. Refusing.", UNIT(s)->id); UNIT 342 src/core/service.c log_error_unit(UNIT(s)->id, "%s has RestartForceStatus= set, which isn't allowed for Type=oneshot services. Refusing.", UNIT(s)->id); UNIT 347 src/core/service.c log_error_unit(UNIT(s)->id, "%s is of type D-Bus but no D-Bus service name has been specified. Refusing.", UNIT(s)->id); UNIT 352 src/core/service.c log_warning_unit(UNIT(s)->id, "%s has a D-Bus service name specified, but is not of type dbus. Ignoring.", UNIT(s)->id); UNIT 355 src/core/service.c log_error_unit(UNIT(s)->id, "%s has PAM enabled. Kill mode must be set to 'control-group' or 'mixed'. Refusing.", UNIT(s)->id); UNIT 371 src/core/service.c r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_BASIC_TARGET, NULL, true); UNIT 376 src/core/service.c r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true); UNIT 391 src/core/service.c s->exec_context.std_error = UNIT(s)->manager->default_std_error; UNIT 395 src/core/service.c s->exec_context.std_output = UNIT(s)->manager->default_std_output; UNIT 572 src/core/service.c log_info_unit(UNIT(s)->id, "PID file %s not readable (yet?) after %s.", s->pid_file, service_state_to_string(s->state)); UNIT 579 src/core/service.c log_info_unit(UNIT(s)->id, "Failed to read PID from file %s: %s", s->pid_file, strerror(-r)); UNIT 585 src/core/service.c log_info_unit(UNIT(s)->id, "PID "PID_FMT" read from file %s does not exist or is a zombie.", pid, s->pid_file); UNIT 593 src/core/service.c log_debug_unit(UNIT(s)->id, "Main PID changing: "PID_FMT" -> "PID_FMT, s->main_pid, pid); UNIT 598 src/core/service.c log_debug_unit(UNIT(s)->id, "Main PID loaded: "PID_FMT, pid); UNIT 604 src/core/service.c r = unit_watch_pid(UNIT(s), pid); UNIT 607 src/core/service.c log_warning_unit(UNIT(s)->id, "Failed to watch PID "PID_FMT" from service %s", pid, UNIT(s)->id); UNIT 630 src/core/service.c pid = unit_search_main_pid(UNIT(s)); UNIT 634 src/core/service.c log_debug_unit(UNIT(s)->id, "Main PID guessed: "PID_FMT, pid); UNIT 639 src/core/service.c r = unit_watch_pid(UNIT(s), pid); UNIT 642 src/core/service.c log_warning_unit(UNIT(s)->id, "Failed to watch PID "PID_FMT" from service %s", pid, UNIT(s)->id); UNIT 693 src/core/service.c unit_unwatch_all_pids(UNIT(s)); UNIT 700 src/core/service.c !(state == SERVICE_DEAD && UNIT(s)->job)) { UNIT 710 src/core/service.c if (state == SERVICE_EXITED && UNIT(s)->manager->n_reloading <= 0) UNIT 711 src/core/service.c unit_destroy_cgroup(UNIT(s)); UNIT 718 src/core/service.c UNIT(s)->manager->n_on_console > 0) { UNIT 722 src/core/service.c ec = unit_get_exec_context(UNIT(s)); UNIT 724 src/core/service.c Manager *m = UNIT(s)->manager; UNIT 734 src/core/service.c log_debug_unit(UNIT(s)->id, "%s changed %s -> %s", UNIT(s)->id, service_state_to_string(old_state), service_state_to_string(state)); UNIT 736 src/core/service.c unit_notify(UNIT(s), table[old_state], table[state], s->reload_result == SERVICE_SUCCESS); UNIT 784 src/core/service.c r = unit_watch_pid(UNIT(s), s->main_pid); UNIT 796 src/core/service.c r = unit_watch_pid(UNIT(s), s->control_pid); UNIT 802 src/core/service.c unit_watch_all_pids(UNIT(s)); UNIT 827 src/core/service.c SET_FOREACH(u, UNIT(s)->dependencies[UNIT_TRIGGERED_BY], i) { UNIT 910 src/core/service.c unit_realize_cgroup(UNIT(s)); UNIT 912 src/core/service.c r = unit_setup_exec_runtime(UNIT(s)); UNIT 940 src/core/service.c r = unit_full_printf_strv(UNIT(s), c->argv, &argv); UNIT 951 src/core/service.c if (asprintf(our_env + n_env++, "NOTIFY_SOCKET=%s", UNIT(s)->manager->notify_socket) < 0) { UNIT 962 src/core/service.c if (UNIT(s)->manager->running_as != SYSTEMD_SYSTEM) UNIT 968 src/core/service.c final_env = strv_env_merge(2, UNIT(s)->manager->environment, our_env, NULL); UNIT 974 src/core/service.c if (is_control && UNIT(s)->cgroup_path) { UNIT 975 src/core/service.c path = strappenda(UNIT(s)->cgroup_path, "/control"); UNIT 978 src/core/service.c path = UNIT(s)->cgroup_path; UNIT 982 src/core/service.c r = bus_kernel_create_endpoint(UNIT(s)->manager->running_as == SYSTEMD_SYSTEM ? "system" : "user", UNIT 983 src/core/service.c UNIT(s)->id, &bus_endpoint_path); UNIT 998 src/core/service.c exec_params.confirm_spawn = UNIT(s)->manager->confirm_spawn; UNIT 999 src/core/service.c exec_params.cgroup_supported = UNIT(s)->manager->cgroup_supported; UNIT 1001 src/core/service.c exec_params.runtime_prefix = manager_get_runtime_prefix(UNIT(s)->manager); UNIT 1002 src/core/service.c exec_params.unit_id = UNIT(s)->id; UNIT 1006 src/core/service.c exec_params.idle_pipe = UNIT(s)->manager->idle_pipe; UNIT 1016 src/core/service.c r = unit_watch_pid(UNIT(s), pid); UNIT 1068 src/core/service.c if (!UNIT(s)->cgroup_path) UNIT 1071 src/core/service.c r = cg_is_empty_recursive(SYSTEMD_CGROUP_CONTROLLER, UNIT(s)->cgroup_path, true); UNIT 1088 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed.", UNIT(s)->id); UNIT 1089 src/core/service.c failure_action(UNIT(s)->manager, s->failure_action, s->reboot_arg); UNIT 1119 src/core/service.c exec_context_destroy_runtime_directory(&s->exec_context, manager_get_runtime_prefix(UNIT(s)->manager)); UNIT 1130 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run install restart timer: %s", UNIT(s)->id, strerror(-r)); UNIT 1142 src/core/service.c unit_watch_all_pids(UNIT(s)); UNIT 1167 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'stop-post' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1179 src/core/service.c unit_watch_all_pids(UNIT(s)); UNIT 1182 src/core/service.c UNIT(s), UNIT 1212 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to kill processes: %s", UNIT(s)->id, strerror(-r)); UNIT 1223 src/core/service.c unit_watch_all_pids(UNIT(s)); UNIT 1241 src/core/service.c unit_watch_all_pids(UNIT(s)); UNIT 1266 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'stop' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1328 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'start-post' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1335 src/core/service.c if (!UNIT(s)->cgroup_path) UNIT 1338 src/core/service.c p = strappenda(UNIT(s)->cgroup_path, "/control"); UNIT 1421 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'start' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1459 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'start-pre' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1469 src/core/service.c if (UNIT(s)->job && UNIT(s)->job->type == JOB_STOP) { UNIT 1471 src/core/service.c log_info_unit(UNIT(s)->id, "Stop job pending for unit, delaying automatic restart."); UNIT 1484 src/core/service.c r = manager_add_job(UNIT(s)->manager, JOB_RESTART, UNIT(s), JOB_FAIL, false, &error, NULL); UNIT 1492 src/core/service.c log_debug_unit(UNIT(s)->id, "%s scheduled restart job.", UNIT(s)->id); UNIT 1496 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to schedule restart job: %s", UNIT(s)->id, bus_error_message(&error, -r)); UNIT 1539 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run 'reload' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1572 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run next control task: %s", UNIT(s)->id, strerror(-r)); UNIT 1616 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to run next main task: %s", UNIT(s)->id, strerror(-r)); UNIT 1626 src/core/service.c log_warning_unit(UNIT(s)->id, "start request repeated too quickly for %s", UNIT(s)->id); UNIT 1628 src/core/service.c return failure_action(UNIT(s)->manager, s->start_limit_action, s->reboot_arg); UNIT 1867 src/core/service.c unit_watch_pid(UNIT(s), pid); UNIT 2015 src/core/service.c log_debug_unit(UNIT(s)->id, "Setting watch for %s's PID file %s", UNIT(s)->id, s->pid_file_pathspec->path); UNIT 2022 src/core/service.c log_debug_unit(UNIT(s)->id, "Trying to read %s's PID file %s in case it changed", UNIT(s)->id, s->pid_file_pathspec->path); UNIT 2027 src/core/service.c log_error_unit(UNIT(s)->id, "Failed to set a watch for %s's PID file %s: %s", UNIT(s)->id, s->pid_file_pathspec->path, strerror(-r)); UNIT 2042 src/core/service.c ps->unit = UNIT(s); UNIT 2075 src/core/service.c log_debug_unit(UNIT(s)->id, "inotify event for %s", UNIT(s)->id); UNIT 2114 src/core/service.c log_warning_unit(u->id, "%s never wrote its PID file. Failing.", UNIT(s)->id); UNIT 2157 src/core/service.c if (UNIT(s)->fragment_path ? is_clean_exit(code, status, &s->success_status) : UNIT 2444 src/core/service.c log_warning_unit(UNIT(s)->id, "%s %s operation timed out. Terminating.", UNIT(s)->id, s->state == SERVICE_START ? "start" : "start-pre"); UNIT 2449 src/core/service.c log_warning_unit(UNIT(s)->id, "%s start-post operation timed out. Stopping.", UNIT(s)->id); UNIT 2454 src/core/service.c log_warning_unit(UNIT(s)->id, "%s reload operation timed out. Stopping.", UNIT(s)->id); UNIT 2460 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Terminating.", UNIT(s)->id); UNIT 2466 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stop-sigterm timed out. Killing.", UNIT(s)->id); UNIT 2469 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stop-sigterm timed out. Skipping SIGKILL.", UNIT(s)->id); UNIT 2480 src/core/service.c log_warning_unit(UNIT(s)->id, "%s still around after SIGKILL. Ignoring.", UNIT(s)->id); UNIT 2485 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stop-post timed out. Terminating.", UNIT(s)->id); UNIT 2491 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stop-final-sigterm timed out. Killing.", UNIT(s)->id); UNIT 2494 src/core/service.c log_warning_unit(UNIT(s)->id, "%s stop-final-sigterm timed out. Skipping SIGKILL. Entering failed mode.", UNIT(s)->id); UNIT 2501 src/core/service.c log_warning_unit(UNIT(s)->id, "%s still around after final SIGKILL. Entering failed mode.", UNIT(s)->id); UNIT 2506 src/core/service.c log_info_unit(UNIT(s)->id, UNIT 2510 src/core/service.c UNIT(s)->id); UNIT 2528 src/core/service.c log_error_unit(UNIT(s)->id, "%s watchdog timeout (limit %s)!", UNIT(s)->id, UNIT 2570 src/core/service.c unit_watch_pid(UNIT(s), pid); UNIT 2739 src/core/service.c unit_watch_pid(UNIT(s), pid); UNIT 2755 src/core/service.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 2766 src/core/service.c if (UNIT(s)->description) { UNIT 2769 src/core/service.c a = strjoin(UNIT(s)->description, " (", peer, ")", NULL); UNIT 2773 src/core/service.c r = unit_set_description(UNIT(s), a); UNIT 2775 src/core/service.c r = unit_set_description(UNIT(s), peer); UNIT 2784 src/core/service.c unit_ref_set(&s->accept_socket, UNIT(sock)); UNIT 2786 src/core/service.c return unit_add_two_dependencies(UNIT(sock), UNIT_BEFORE, UNIT_TRIGGERS, UNIT(s), false); UNIT 48 src/core/slice.c UNIT(t)->id, UNIT 52 src/core/slice.c unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); UNIT 62 src/core/slice.c if (UNIT_ISSET(UNIT(s)->slice)) UNIT 65 src/core/slice.c if (unit_has_name(UNIT(s), SPECIAL_ROOT_SLICE)) UNIT 68 src/core/slice.c a = strdupa(UNIT(s)->id); UNIT 75 src/core/slice.c r = manager_load_unit(UNIT(s)->manager, a, NULL, NULL, &parent); UNIT 79 src/core/slice.c unit_ref_set(&UNIT(s)->slice, parent); UNIT 90 src/core/slice.c UNIT(s), UNIT 102 src/core/slice.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 105 src/core/slice.c if (UNIT_DEREF(UNIT(s)->slice)) { UNIT 108 src/core/slice.c a = strdupa(UNIT(s)->id); UNIT 115 src/core/slice.c if (!unit_has_name(UNIT_DEREF(UNIT(s)->slice), a)) { UNIT 116 src/core/slice.c log_error_unit(UNIT(s)->id, UNIT 117 src/core/slice.c "%s located outside its parent slice. Refusing.", UNIT(s)->id); UNIT 39 src/core/snapshot.c assert(UNIT(s)->load_state == UNIT_STUB); UNIT 41 src/core/snapshot.c UNIT(s)->ignore_on_isolate = true; UNIT 42 src/core/snapshot.c UNIT(s)->ignore_on_snapshot = true; UNIT 43 src/core/snapshot.c UNIT(s)->allow_isolate = true; UNIT 54 src/core/snapshot.c log_debug_unit(UNIT(s)->id, UNIT 56 src/core/snapshot.c UNIT(s)->id, UNIT 60 src/core/snapshot.c unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); UNIT 71 src/core/snapshot.c if (!u->transient && UNIT(s)->manager->n_reloading <= 0) UNIT 275 src/core/snapshot.c log_info_unit(UNIT(s)->id, "Removing snapshot %s.", UNIT(s)->id); UNIT 277 src/core/snapshot.c unit_add_to_cleanup_queue(UNIT(s)); UNIT 104 src/core/socket.c unit_unwatch_pid(UNIT(s), s->control_pid); UNIT 176 src/core/socket.c UNIT(s)->manager->event, UNIT 198 src/core/socket.c prefix = unit_name_to_prefix(UNIT(s)->id); UNIT 205 src/core/socket.c r = manager_load_unit(UNIT(s)->manager, name, NULL, NULL, &u); UNIT 212 src/core/socket.c return unit_add_two_dependencies(UNIT(s), UNIT_BEFORE, UNIT_TRIGGERS, u, false); UNIT 252 src/core/socket.c r = unit_require_mounts_for(UNIT(s), path); UNIT 269 src/core/socket.c return unit_add_node_link(UNIT(s), t, false); UNIT 276 src/core/socket.c r = unit_add_dependency_by_name(UNIT(s), UNIT_BEFORE, SPECIAL_SOCKETS_TARGET, NULL, true); UNIT 280 src/core/socket.c if (UNIT(s)->manager->running_as == SYSTEMD_SYSTEM) { UNIT 281 src/core/socket.c r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_SYSINIT_TARGET, NULL, true); UNIT 286 src/core/socket.c return unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true); UNIT 301 src/core/socket.c Unit *u = UNIT(s); UNIT 390 src/core/socket.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 394 src/core/socket.c log_error_unit(UNIT(s)->id, "%s lacks Listen setting. Refusing.", UNIT(s)->id); UNIT 399 src/core/socket.c log_error_unit(UNIT(s)->id, "%s configured for accepting sockets, but sockets are non-accepting. Refusing.", UNIT 400 src/core/socket.c UNIT(s)->id); UNIT 405 src/core/socket.c log_error_unit(UNIT(s)->id, "%s's MaxConnection setting too small. Refusing.", UNIT(s)->id); UNIT 410 src/core/socket.c log_error_unit(UNIT(s)->id, "Explicit service configuration for accepting sockets not supported on %s. Refusing.", UNIT(s)->id); UNIT 415 src/core/socket.c log_error_unit(UNIT(s)->id, "%s has PAM enabled. Kill mode must be set to 'control-group'. Refusing.", UNIT(s)->id); UNIT 420 src/core/socket.c log_error_unit(UNIT(s)->id, "%s has symlinks set but none or more than one node in the file system. Refusing.", UNIT(s)->id); UNIT 818 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_KEEPALIVE failed: %m"); UNIT 824 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_KEEPIDLE failed: %m"); UNIT 830 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_KEEPINTVL failed: %m"); UNIT 836 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_KEEPCNT failed: %m"); UNIT 842 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_DEFER_ACCEPT failed: %m"); UNIT 848 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_NODELAY failed: %m"); UNIT 854 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_BROADCAST failed: %m"); UNIT 860 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_PASSCRED failed: %m"); UNIT 866 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_PASSSEC failed: %m"); UNIT 871 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_PRIORITY failed: %m"); UNIT 880 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_RCVBUF failed: %m"); UNIT 887 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_SNDBUF failed: %m"); UNIT 892 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_MARK failed: %m"); UNIT 896 src/core/socket.c log_warning_unit(UNIT(s)->id, "IP_TOS failed: %m"); UNIT 911 src/core/socket.c log_warning_unit(UNIT(s)->id, UNIT 917 src/core/socket.c log_warning_unit(UNIT(s)->id, "TCP_CONGESTION failed: %m"); UNIT 922 src/core/socket.c log_warning_unit(UNIT(s)->id, "SO_REUSEPORT failed: %m"); UNIT 928 src/core/socket.c log_error_unit(UNIT(s)->id, "mac_smack_apply_ip_in_fd: %s", strerror(-r)); UNIT 934 src/core/socket.c log_error_unit(UNIT(s)->id, "mac_smack_apply_ip_out_fd: %s", strerror(-r)); UNIT 946 src/core/socket.c log_warning_unit(UNIT(s)->id, "F_SETPIPE_SZ: %m"); UNIT 951 src/core/socket.c log_error_unit(UNIT(s)->id, "mac_smack_apply_fd: %s", strerror(-r)); UNIT 1252 src/core/socket.c log_debug_unit(UNIT(s)->id, "Failed to disable event source."); UNIT 1269 src/core/socket.c r = sd_event_add_io(UNIT(s)->manager->event, &p->event_source, p->fd, EPOLLIN, socket_dispatch_io, p); UNIT 1272 src/core/socket.c log_warning_unit(UNIT(s)->id, "Failed to watch listening fds: %s", strerror(-r)); UNIT 1322 src/core/socket.c log_debug_unit(UNIT(s)->id, "%s changed %s -> %s", UNIT 1323 src/core/socket.c UNIT(s)->id, socket_state_to_string(old_state), socket_state_to_string(state)); UNIT 1325 src/core/socket.c unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); UNIT 1352 src/core/socket.c r = unit_watch_pid(UNIT(s), s->control_pid); UNIT 1398 src/core/socket.c unit_realize_cgroup(UNIT(s)); UNIT 1400 src/core/socket.c r = unit_setup_exec_runtime(UNIT(s)); UNIT 1408 src/core/socket.c r = unit_full_printf_strv(UNIT(s), c->argv, &argv); UNIT 1413 src/core/socket.c exec_params.environment = UNIT(s)->manager->environment; UNIT 1414 src/core/socket.c exec_params.confirm_spawn = UNIT(s)->manager->confirm_spawn; UNIT 1415 src/core/socket.c exec_params.cgroup_supported = UNIT(s)->manager->cgroup_supported; UNIT 1416 src/core/socket.c exec_params.cgroup_path = UNIT(s)->cgroup_path; UNIT 1417 src/core/socket.c exec_params.runtime_prefix = manager_get_runtime_prefix(UNIT(s)->manager); UNIT 1418 src/core/socket.c exec_params.unit_id = UNIT(s)->id; UNIT 1428 src/core/socket.c r = unit_watch_pid(UNIT(s), pid); UNIT 1513 src/core/socket.c r = unit_watch_pid(UNIT(s), pid); UNIT 1534 src/core/socket.c exec_context_destroy_runtime_directory(&s->exec_context, manager_get_runtime_prefix(UNIT(s)->manager)); UNIT 1564 src/core/socket.c log_warning_unit(UNIT(s)->id, UNIT 1566 src/core/socket.c UNIT(s)->id, strerror(-r)); UNIT 1579 src/core/socket.c UNIT(s), UNIT 1606 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to kill processes: %s", UNIT(s)->id, strerror(-r)); UNIT 1637 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to run 'stop-pre' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1647 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to watch sockets: %s", UNIT(s)->id, strerror(-r)); UNIT 1669 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to run 'start-post' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1690 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to listen on sockets: %s", UNIT(s)->id, strerror(-r)); UNIT 1702 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to fork 'start-chown' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1727 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to run 'start-pre' task: %s", UNIT(s)->id, strerror(-r)); UNIT 1749 src/core/socket.c if (unit_stop_pending(UNIT(s))) { UNIT 1751 src/core/socket.c log_debug_unit(UNIT(s)->id, "Suppressing connection request on %s since unit stop is scheduled.", UNIT(s)->id); UNIT 1761 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to listen on sockets: %s", UNIT(s)->id, strerror(-r)); UNIT 1768 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to watch sockets: %s", UNIT(s)->id, strerror(-r)); UNIT 1783 src/core/socket.c SET_FOREACH(other, UNIT(s)->dependencies[UNIT_TRIGGERS], i) UNIT 1791 src/core/socket.c log_error_unit(UNIT(s)->id, "%s: service to activate vanished, refusing activation.", UNIT(s)->id); UNIT 1796 src/core/socket.c r = manager_add_job(UNIT(s)->manager, JOB_START, UNIT_DEREF(s->service), JOB_REPLACE, true, &error, NULL); UNIT 1807 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s: Too many incoming connections (%u)", UNIT(s)->id, s->n_connections); UNIT 1827 src/core/socket.c prefix = unit_name_to_prefix(UNIT(s)->id); UNIT 1847 src/core/socket.c UNIT(service)->no_gc = false; UNIT 1849 src/core/socket.c unit_choose_id(UNIT(service), name); UNIT 1858 src/core/socket.c r = manager_add_job(UNIT(s)->manager, JOB_START, UNIT(service), JOB_REPLACE, true, &error, NULL); UNIT 1863 src/core/socket.c unit_add_to_dbus_queue(UNIT(s)); UNIT 1869 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to queue service startup job (Maybe the service file is missing or not a %s unit?): %s", UNIT 1870 src/core/socket.c UNIT(s)->id, cfd >= 0 ? "template" : "non-template", UNIT 1895 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s failed to run next task: %s", UNIT(s)->id, strerror(-r)); UNIT 1934 src/core/socket.c if (UNIT(service)->load_state != UNIT_LOADED) { UNIT 1935 src/core/socket.c log_error_unit(u->id, "Socket service %s not loaded, refusing.", UNIT(service)->id); UNIT 1944 src/core/socket.c log_error_unit(u->id, "Socket service %s already active, refusing.", UNIT(service)->id); UNIT 2183 src/core/socket.c log_debug_unit(UNIT(s)->id, "Unknown serialization key '%s'", key); UNIT 2287 src/core/socket.c log_debug_unit(UNIT(p->socket)->id, "Incoming traffic on %s", UNIT(p->socket)->id); UNIT 2292 src/core/socket.c log_error_unit(UNIT(p->socket)->id, "%s: Got POLLHUP on a listening socket. The service probably invoked shutdown() on it, and should better not do that.", UNIT 2293 src/core/socket.c UNIT(p->socket)->id); UNIT 2295 src/core/socket.c log_error_unit(UNIT(p->socket)->id, "%s: Got unexpected poll event (0x%x) on socket.", UNIT 2296 src/core/socket.c UNIT(p->socket)->id, revents); UNIT 2313 src/core/socket.c log_error_unit(UNIT(p->socket)->id, UNIT 2442 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s starting timed out. Terminating.", UNIT(s)->id); UNIT 2448 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s starting timed out. Stopping.", UNIT(s)->id); UNIT 2453 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Terminating.", UNIT(s)->id); UNIT 2459 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Killing.", UNIT(s)->id); UNIT 2462 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out. Skipping SIGKILL. Ignoring.", UNIT(s)->id); UNIT 2468 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s still around after SIGKILL. Ignoring.", UNIT(s)->id); UNIT 2473 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out (2). Terminating.", UNIT(s)->id); UNIT 2479 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out (2). Killing.", UNIT(s)->id); UNIT 2482 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s stopping timed out (2). Skipping SIGKILL. Ignoring.", UNIT(s)->id); UNIT 2488 src/core/socket.c log_warning_unit(UNIT(s)->id, "%s still around after SIGKILL (2). Entering failed mode.", UNIT(s)->id); UNIT 2557 src/core/socket.c log_debug_unit(UNIT(s)->id, "%s got notified about service death (failed permanently: %s)", UNIT(s)->id, yes_no(failed_permanent)); UNIT 2576 src/core/socket.c log_debug_unit(UNIT(s)->id, "%s: One connection closed, %u left.", UNIT(s)->id, s->n_connections); UNIT 81 src/core/swap.c r = hashmap_ensure_allocated(&UNIT(s)->manager->swaps_by_devnode, &string_hash_ops); UNIT 85 src/core/swap.c swaps = UNIT(s)->manager->swaps_by_devnode; UNIT 118 src/core/swap.c assert(UNIT(s)->load_state == UNIT_STUB); UNIT 138 src/core/swap.c unit_unwatch_pid(UNIT(s), s->control_pid); UNIT 187 src/core/swap.c UNIT(s)->manager->event, UNIT 204 src/core/swap.c return unit_add_node_link(UNIT(s), s->what, UNIT(s)->manager->running_as == SYSTEMD_SYSTEM); UNIT 209 src/core/swap.c return unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_REMOUNT_FS_SERVICE, NULL, true); UNIT 215 src/core/swap.c if (UNIT(s)->manager->running_as != SYSTEMD_SYSTEM) UNIT 221 src/core/swap.c return unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_UMOUNT_TARGET, NULL, true); UNIT 228 src/core/swap.c if (UNIT(s)->load_state != UNIT_LOADED) UNIT 235 src/core/swap.c b = unit_has_name(UNIT(s), e); UNIT 237 src/core/swap.c log_error_unit(UNIT(s)->id, "%s: Value of \"What\" and unit name do not match, not loading.", UNIT(s)->id); UNIT 242 src/core/swap.c log_error_unit(UNIT(s)->id, "%s has PAM enabled. Kill mode must be set to 'control-group'. Refusing to load.", UNIT(s)->id); UNIT 259 src/core/swap.c d = udev_device_new_from_devnum(UNIT(s)->manager->udev, 'b', st.st_rdev); UNIT 284 src/core/swap.c if (UNIT(s)->fragment_path) UNIT 301 src/core/swap.c if (!UNIT(s)->description) { UNIT 307 src/core/swap.c r = unit_require_mounts_for(UNIT(s), s->what); UNIT 331 src/core/swap.c if (UNIT(s)->default_dependencies) { UNIT 496 src/core/swap.c log_debug_unit(UNIT(s)->id, UNIT 498 src/core/swap.c UNIT(s)->id, UNIT 502 src/core/swap.c unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); UNIT 532 src/core/swap.c r = unit_watch_pid(UNIT(s), s->control_pid); UNIT 603 src/core/swap.c unit_realize_cgroup(UNIT(s)); UNIT 605 src/core/swap.c r = unit_setup_exec_runtime(UNIT(s)); UNIT 613 src/core/swap.c exec_params.environment = UNIT(s)->manager->environment; UNIT 614 src/core/swap.c exec_params.confirm_spawn = UNIT(s)->manager->confirm_spawn; UNIT 615 src/core/swap.c exec_params.cgroup_supported = UNIT(s)->manager->cgroup_supported; UNIT 616 src/core/swap.c exec_params.cgroup_path = UNIT(s)->cgroup_path; UNIT 617 src/core/swap.c exec_params.runtime_prefix = manager_get_runtime_prefix(UNIT(s)->manager); UNIT 618 src/core/swap.c exec_params.unit_id = UNIT(s)->id; UNIT 628 src/core/swap.c r = unit_watch_pid(UNIT(s), pid); UNIT 652 src/core/swap.c exec_context_destroy_runtime_directory(&s->exec_context, manager_get_runtime_prefix(UNIT(s)->manager)); UNIT 675 src/core/swap.c UNIT(s), UNIT 700 src/core/swap.c log_warning_unit(UNIT(s)->id, UNIT 701 src/core/swap.c "%s failed to kill processes: %s", UNIT(s)->id, strerror(-r)); UNIT 765 src/core/swap.c log_warning_unit(UNIT(s)->id, UNIT 767 src/core/swap.c UNIT(s)->id, strerror(-r)); UNIT 797 src/core/swap.c log_warning_unit(UNIT(s)->id, UNIT 799 src/core/swap.c UNIT(s)->id, strerror(-r)); UNIT 1015 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s activation timed out. Stopping.", UNIT(s)->id); UNIT 1020 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s deactivation timed out. Stopping.", UNIT(s)->id); UNIT 1026 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s activation timed out. Killing.", UNIT(s)->id); UNIT 1029 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s activation timed out. Skipping SIGKILL. Ignoring.", UNIT(s)->id); UNIT 1036 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s deactivation timed out. Killing.", UNIT(s)->id); UNIT 1039 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s deactivation timed out. Skipping SIGKILL. Ignoring.", UNIT(s)->id); UNIT 1046 src/core/swap.c log_warning_unit(UNIT(s)->id, "%s swap process still around after SIGKILL. Ignoring.", UNIT(s)->id); UNIT 1188 src/core/swap.c return UNIT(other); UNIT 1192 src/core/swap.c return UNIT(other); UNIT 1202 src/core/swap.c return UNIT(other); UNIT 1206 src/core/swap.c return UNIT(other); UNIT 1212 src/core/swap.c return UNIT(first); UNIT 48 src/core/target.c UNIT(t)->id, UNIT 52 src/core/target.c unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); UNIT 80 src/core/target.c SET_FOREACH(other, UNIT(t)->dependencies[deps[k]], i) { UNIT 81 src/core/target.c r = unit_add_default_target_dependency(other, UNIT(t)); UNIT 87 src/core/target.c return unit_add_dependency_by_name(UNIT(t), UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true); UNIT 85 src/core/timer.c if (UNIT(t)->load_state != UNIT_LOADED) UNIT 89 src/core/timer.c log_error_unit(UNIT(t)->id, "%s lacks value setting. Refusing.", UNIT(t)->id); UNIT 102 src/core/timer.c r = unit_add_dependency_by_name(UNIT(t), UNIT_BEFORE, SPECIAL_TIMERS_TARGET, NULL, true); UNIT 106 src/core/timer.c if (UNIT(t)->manager->running_as == SYSTEMD_SYSTEM) { UNIT 107 src/core/timer.c r = unit_add_two_dependencies_by_name(UNIT(t), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_SYSINIT_TARGET, NULL, true); UNIT 113 src/core/timer.c r = unit_add_dependency_by_name(UNIT(t), UNIT_AFTER, SPECIAL_TIME_SYNC_TARGET, NULL, true); UNIT 121 src/core/timer.c return unit_add_two_dependencies_by_name(UNIT(t), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true); UNIT 132 src/core/timer.c if (UNIT(t)->manager->running_as == SYSTEMD_SYSTEM) { UNIT 134 src/core/timer.c r = unit_require_mounts_for(UNIT(t), "/var/lib/systemd/timers"); UNIT 138 src/core/timer.c t->stamp_path = strappend("/var/lib/systemd/timers/stamp-", UNIT(t)->id); UNIT 144 src/core/timer.c t->stamp_path = strjoin(e, "/systemd/timers/stamp-", UNIT(t)->id, NULL); UNIT 155 src/core/timer.c t->stamp_path = strjoin(h, "/.local/share/systemd/timers/stamp-", UNIT(t)->id, NULL); UNIT 263 src/core/timer.c log_debug_unit(UNIT(t)->id, UNIT 264 src/core/timer.c "%s changed %s -> %s", UNIT(t)->id, UNIT 268 src/core/timer.c unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); UNIT 359 src/core/timer.c base = UNIT(t)->inactive_exit_timestamp.monotonic; UNIT 370 src/core/timer.c base = UNIT(t)->manager->userspace_timestamp.monotonic; UNIT 375 src/core/timer.c base = UNIT_TRIGGER(UNIT(t))->inactive_exit_timestamp.monotonic; UNIT 387 src/core/timer.c base = UNIT_TRIGGER(UNIT(t))->inactive_enter_timestamp.monotonic; UNIT 422 src/core/timer.c log_debug_unit(UNIT(t)->id, "%s: Timer is elapsed.", UNIT(t)->id); UNIT 430 src/core/timer.c log_debug_unit(UNIT(t)->id, "%s: Monotonic timer elapses in %s.", UNIT 431 src/core/timer.c UNIT(t)->id, UNIT 442 src/core/timer.c UNIT(t)->manager->event, UNIT 459 src/core/timer.c log_debug_unit(UNIT(t)->id, "%s: Realtime timer elapses at %s.", UNIT(t)->id, format_timestamp(buf, sizeof(buf), t->next_elapse_realtime)); UNIT 469 src/core/timer.c UNIT(t)->manager->event, UNIT 488 src/core/timer.c log_warning_unit(UNIT(t)->id, "%s failed to enter waiting state: %s", UNIT(t)->id, strerror(-r)); UNIT 499 src/core/timer.c if (unit_stop_pending(UNIT(t))) UNIT 502 src/core/timer.c r = manager_add_job(UNIT(t)->manager, JOB_START, UNIT_TRIGGER(UNIT(t)), UNIT 516 src/core/timer.c log_warning_unit(UNIT(t)->id, UNIT 518 src/core/timer.c UNIT(t)->id, bus_error_message(&error, r)); UNIT 648 src/core/timer.c log_debug_unit(UNIT(t)->id, "Timer elapsed on %s", UNIT(t)->id); UNIT 681 src/core/timer.c log_debug_unit(UNIT(t)->id, "%s got notified about unit deactivation.", UNIT(t)->id);