Lines Matching defs:info
1712 static void machine_info_clear(struct machine_info *info) {
1713 if (info) {
1714 free(info->name);
1715 free(info->state);
1716 free(info->control_group);
1717 zero(*info);
3925 _cleanup_free_ ExecStatusInfo *info = NULL;
3931 info = new0(ExecStatusInfo, 1);
3932 if (!info)
3935 while ((r = exec_status_info_deserialize(m, info)) > 0) {
3937 info->name = strdup(name);
3938 if (!info->name)
3941 LIST_PREPEND(exec, i->exec, info);
3943 info = new0(ExecStatusInfo, 1);
3944 if (!info)
4266 ExecStatusInfo info = {};
4272 while ((r = exec_status_info_deserialize(m, &info)) > 0) {
4276 tt = strv_join(info.argv, " ");
4280 strna(info.path),
4282 yes_no(info.ignore),
4283 strna(format_timestamp(timestamp1, sizeof(timestamp1), info.start_timestamp)),
4284 strna(format_timestamp(timestamp2, sizeof(timestamp2), info.exit_timestamp)),
4285 info.pid,
4286 sigchld_code_to_string(info.code),
4287 info.status,
4288 info.code == CLD_EXITED ? "" : "/",
4289 strempty(info.code == CLD_EXITED ? NULL : signal_to_string(info.status)));
4291 free(info.path);
4292 strv_free(info.argv);
4293 zero(info);
4388 UnitStatusInfo info = {
4442 r = status_property(name, reply, &info, contents);
4465 show_unit_help(&info);
4467 print_status_info(&info, ellipsized);
4470 strv_free(info.documentation);
4471 strv_free(info.dropin_paths);
4472 strv_free(info.listen);
4474 if (!streq_ptr(info.active_state, "active") &&
4475 !streq_ptr(info.active_state, "reloading") &&
4484 if (info.pid_file && access(info.pid_file, F_OK) == 0)
4490 while ((p = info.exec)) {
4491 LIST_REMOVE(exec, info.exec, p);