Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 4 of 4) sorted by relevance

/kernel/debug/kdb/
Dkdb_support.c129 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local
134 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete()
153 if (prev_len > prefix_len) in kallsyms_symbol_complete()
172 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next() local
180 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next()
/kernel/printk/
Dindex.c78 u16 prefix_len = 0; in pi_show() local
91 prefix_len = printk_parse_prefix(entry->fmt, &level, &flags); in pi_show()
110 seq_escape_printf_format(s, entry->fmt + prefix_len); in pi_show()
Dprintk.c1339 size_t prefix_len; in record_print_text() local
1351 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1374 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text()
1376 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text()
1379 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text()
1383 memmove(text + prefix_len, text, text_len); in record_print_text()
1384 memcpy(text, prefix, prefix_len); in record_print_text()
1392 len += prefix_len + line_len + 1; in record_print_text()
1398 text[prefix_len + line_len] = '\n'; in record_print_text()
1406 text += prefix_len + line_len + 1; in record_print_text()
[all …]
/kernel/bpf/
Dbpf_iter.c345 int prefix_len = strlen(prefix); in bpf_iter_prog_supported() local
347 if (strncmp(attach_fname, prefix, prefix_len)) in bpf_iter_prog_supported()
356 if (!strcmp(attach_fname + prefix_len, iter->reg_info->target)) { in bpf_iter_prog_supported()