Lines Matching defs:program
5 * This program is free software; you can redistribute it and/or modify it
9 * This program is distributed in the hope that it will be useful, but
15 * with this program; if not, write to the Free Software Foundation, Inc.,
188 static int import_program_into_env(struct udevice *udev, const char *program)
193 if (run_program(program, udev->dev->subsystem, result, sizeof(result), &reslen, (udev_log_priority >= LOG_INFO)) != 0)
833 /* execute external program */
834 if (rule->program.operation != KEY_OP_UNSET) {
835 char program[PATH_SIZE];
838 strlcpy(program, key_val(rule, &rule->program), sizeof(program));
839 udev_rules_apply_format(udev, program, sizeof(program));
840 if (run_program(program, udev->dev->subsystem, result, sizeof(result),
844 if (rule->program.operation != KEY_OP_NOMATCH)
860 if (rule->program.operation == KEY_OP_NOMATCH)
866 /* check for matching result of external program */
870 /* import variables returned from program or or file into environment */