Lines Matching defs:cmd
43 const char *cmd;
391 const char *cmd, char *const argv[], char **envp,
443 return log_error_errno(errno, "failed to execute '%s' '%s': %m", argv[0], cmd);
448 const char *cmd,
501 log_error("timeout '%s'", cmd);
516 log_error("timeout '%s'", cmd);
541 log_error("'%s' ressize %zu too short", cmd, ressize);
553 log_debug("'%s'(%s) '%s'", cmd, *fd == fd_stdout ? "out" : "err" , line);
580 log_error("spawned process '%s' ["PID_FMT"] timed out after %s, killing", spawn->cmd, spawn->pid,
592 log_warning("spawned process '%s' ["PID_FMT"] is taking longer than %s to complete", spawn->cmd, spawn->pid,
606 log_debug("Process '%s' succeeded.", spawn->cmd);
611 log_debug("Process '%s' failed with exit code %i.", spawn->cmd, si->si_status);
613 log_warning("Process '%s' failed with exit code %i.", spawn->cmd, si->si_status);
618 log_warning("Process '%s' terminated by signal %s.", spawn->cmd, signal_to_string(si->si_status));
622 log_error("Process '%s' failed due to unknown reason.", spawn->cmd);
633 const char *cmd, pid_t pid,
636 .cmd = cmd,
687 int udev_build_argv(struct udev *udev, char *cmd, int *argc, char *argv[]) {
691 if (strchr(cmd, ' ') == NULL) {
692 argv[i++] = cmd;
696 pos = cmd;
724 const char *cmd,
757 strscpy(arg, sizeof(arg), cmd);
766 log_debug("starting '%s'", cmd);
768 spawn_exec(event, cmd, argv, udev_device_get_properties_envp(event->dev),
774 log_error_errno(errno, "fork of '%s' failed: %m", cmd);
784 cmd,
788 err = spawn_wait(event, timeout_usec, timeout_warn_usec, cmd, pid, accept_failure);
927 const char *cmd = udev_list_entry_get_name(list_entry);
930 udev_event_apply_format(event, cmd, command, sizeof(command));