Lines Matching refs:words
212 static int ddebug_tokenize(char *buf, char *words[], int maxwords) in ddebug_tokenize() argument
248 words[nwords++] = buf; in ddebug_tokenize()
256 pr_cont(" \"%s\"", words[i]); in ddebug_tokenize()
310 static int ddebug_parse_query(char *words[], int nwords, in ddebug_parse_query() argument
328 if (!strcmp(words[i], "func")) { in ddebug_parse_query()
329 rc = check_set(&query->function, words[i+1], "func"); in ddebug_parse_query()
330 } else if (!strcmp(words[i], "file")) { in ddebug_parse_query()
331 rc = check_set(&query->filename, words[i+1], "file"); in ddebug_parse_query()
332 } else if (!strcmp(words[i], "module")) { in ddebug_parse_query()
333 rc = check_set(&query->module, words[i+1], "module"); in ddebug_parse_query()
334 } else if (!strcmp(words[i], "format")) { in ddebug_parse_query()
335 string_unescape_inplace(words[i+1], UNESCAPE_SPACE | in ddebug_parse_query()
338 rc = check_set(&query->format, words[i+1], "format"); in ddebug_parse_query()
339 } else if (!strcmp(words[i], "line")) { in ddebug_parse_query()
340 char *first = words[i+1]; in ddebug_parse_query()
369 pr_err("unknown keyword \"%s\"\n", words[i]); in ddebug_parse_query()
442 char *words[MAXWORDS]; in ddebug_exec_query() local
444 nwords = ddebug_tokenize(query_string, words, MAXWORDS); in ddebug_exec_query()
450 if (ddebug_parse_flags(words[nwords-1], &flags, &mask)) { in ddebug_exec_query()
454 if (ddebug_parse_query(words, nwords-1, &query, modname)) { in ddebug_exec_query()