Lines Matching refs:raw_command
66 static int create_synth_event(const char *raw_command);
1429 static int check_command(const char *raw_command) in check_command() argument
1434 cmd = saved_cmd = kstrdup(raw_command, GFP_KERNEL); in check_command()
1462 static int create_or_delete_synth_event(const char *raw_command) in create_or_delete_synth_event() argument
1467 raw_command = skip_spaces(raw_command); in create_or_delete_synth_event()
1468 if (raw_command[0] == '\0') in create_or_delete_synth_event()
1471 last_cmd_set(raw_command); in create_or_delete_synth_event()
1473 ret = check_command(raw_command); in create_or_delete_synth_event()
1479 p = strpbrk(raw_command, " \t"); in create_or_delete_synth_event()
1480 if (!p && raw_command[0] != '!') { in create_or_delete_synth_event()
1486 name = kmemdup_nul(raw_command, p ? p - raw_command : strlen(raw_command), GFP_KERNEL); in create_or_delete_synth_event()
2045 static int create_synth_event(const char *raw_command) in create_synth_event() argument
2051 raw_command = skip_spaces(raw_command); in create_synth_event()
2052 if (raw_command[0] == '\0') in create_synth_event()
2055 last_cmd_set(raw_command); in create_synth_event()
2057 p = strpbrk(raw_command, " \t"); in create_synth_event()
2065 name = raw_command; in create_synth_event()
2081 len = name - raw_command; in create_synth_event()
2083 ret = check_command(raw_command + len); in create_synth_event()
2089 name = kmemdup_nul(raw_command + len, p - raw_command - len, GFP_KERNEL); in create_synth_event()