Home
last modified time | relevance | path

Searched refs:prefix_name (Results 1 – 2 of 2) sorted by relevance

/kernel/debug/kdb/
Dkdb_support.c127 int kallsyms_symbol_complete(char *prefix_name, int max_len) in kallsyms_symbol_complete() argument
130 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete()
135 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete()
155 memcpy(prefix_name, ks_namebuf_prev, prev_len+1); in kallsyms_symbol_complete()
171 int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size) in kallsyms_symbol_next() argument
173 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next()
181 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next()
182 return strscpy(prefix_name, name, buf_size); in kallsyms_symbol_next()
Dkdb_private.h86 extern int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size);
87 extern int kallsyms_symbol_complete(char *prefix_name, int max_len);