Searched refs:prefix_len (Results 1 – 2 of 2) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_support.c | 189 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local 194 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete() 213 if (prev_len > prefix_len) in kallsyms_symbol_complete() 232 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next() local 240 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next()
|
/kernel/printk/ |
D | printk.c | 1316 const size_t prefix_len = print_prefix(msg, syslog, time, prefix); in msg_print_text() local 1331 if (prefix_len + text_len + 1 >= size - len) in msg_print_text() 1334 memcpy(buf + len, prefix, prefix_len); in msg_print_text() 1335 len += prefix_len; in msg_print_text() 1341 len += prefix_len + text_len + 1; in msg_print_text()
|