Lines Matching defs:raw_command
80 static int create_synth_event(const char *raw_command);
1545 static int check_command(const char *raw_command)
1550 cmd = saved_cmd = kstrdup(raw_command, GFP_KERNEL);
1578 static int create_or_delete_synth_event(const char *raw_command)
1583 raw_command = skip_spaces(raw_command);
1584 if (raw_command[0] == '\0')
1587 last_cmd_set(raw_command);
1589 ret = check_command(raw_command);
1595 p = strpbrk(raw_command, " \t");
1596 if (!p && raw_command[0] != '!') {
1602 name = kmemdup_nul(raw_command, p ? p - raw_command : strlen(raw_command), GFP_KERNEL);
2161 static int create_synth_event(const char *raw_command)
2167 raw_command = skip_spaces(raw_command);
2168 if (raw_command[0] == '\0')
2171 last_cmd_set(raw_command);
2173 name = raw_command;
2180 p = strpbrk(raw_command, " \t");
2198 len = name - raw_command;
2200 ret = check_command(raw_command + len);
2206 name = kmemdup_nul(raw_command + len, p - raw_command - len, GFP_KERNEL);