Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 10 of 10) sorted by relevance

/kernel/trace/
Dtrace_events_synth.c688 static int check_field_version(const char *prefix, const char *field_type, in check_field_version() argument
708 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local
719 prefix = "unsigned "; in parse_synth_field()
733 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field()
759 if (prefix) in parse_synth_field()
760 len += strlen(prefix); in parse_synth_field()
767 if (prefix) in parse_synth_field()
768 seq_buf_puts(&s, prefix); in parse_synth_field()
Dtrace_output.c238 const char *prefix = ""; in trace_print_array_seq() local
247 trace_seq_printf(p, "%s0x%x", prefix, in trace_print_array_seq()
251 trace_seq_printf(p, "%s0x%x", prefix, in trace_print_array_seq()
255 trace_seq_printf(p, "%s0x%x", prefix, in trace_print_array_seq()
259 trace_seq_printf(p, "%s0x%llx", prefix, in trace_print_array_seq()
267 prefix = ","; in trace_print_array_seq()
/kernel/bpf/preload/iterators/
DMakefile61 OUTPUT=$(abspath $(dir $@))/ prefix= \
/kernel/bpf/
Dbpf_iter.c344 const char *prefix = BPF_ITER_FUNC_PREFIX; in bpf_iter_prog_supported() local
345 int prefix_len = strlen(prefix); in bpf_iter_prog_supported()
347 if (strncmp(attach_fname, prefix, prefix_len)) in bpf_iter_prog_supported()
Dbtf.c916 const char *name = NULL, *prefix = "", *parens = ""; in btf_show_name() local
1020 prefix = BTF_INFO_KIND(t->info) == BTF_KIND_STRUCT ? in btf_show_name()
1028 prefix = "enum"; in btf_show_name()
1039 prefix = ""; in btf_show_name()
1056 prefix, in btf_show_name()
1057 strlen(prefix) > 0 && strlen(name) > 0 ? " " : "", in btf_show_name()
Dverifier.c553 char postfix[16] = {0}, prefix[32] = {0}; in reg_type_str() local
586 strncpy(prefix, "rdonly_", 32); in reg_type_str()
588 strncpy(prefix, "alloc_", 32); in reg_type_str()
590 strncpy(prefix, "user_", 32); in reg_type_str()
592 strncpy(prefix, "percpu_", 32); in reg_type_str()
594 strncpy(prefix, "untrusted_", 32); in reg_type_str()
597 prefix, str[base_type(type)], postfix); in reg_type_str()
15148 const char prefix[] = "btf_trace_"; in bpf_check_attach_target() local
15254 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
15259 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
/kernel/printk/
Dprintk.c1337 char prefix[PREFIX_MAX]; in record_print_text() local
1351 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1384 memcpy(text, prefix, prefix_len); in record_print_text()
1436 char prefix[PREFIX_MAX]; in get_record_print_text_size() local
1439 prefix_len = info_print_prefix(info, syslog, time, prefix); in get_record_print_text_size()
/kernel/
Daudit.c2142 void audit_log_d_path(struct audit_buffer *ab, const char *prefix, in audit_log_d_path() argument
2147 if (prefix) in audit_log_d_path()
2148 audit_log_format(ab, "%s", prefix); in audit_log_d_path()
Dauditsc.c1291 static void audit_log_cap(struct audit_buffer *ab, char *prefix, in audit_log_cap() argument
1297 audit_log_format(ab, " %s=0", prefix); in audit_log_cap()
1300 audit_log_format(ab, " %s=", prefix); in audit_log_cap()
/kernel/cgroup/
Dcgroup.c7028 ssize_t size, const char *prefix) in show_delegatable_files() argument
7037 if (prefix) in show_delegatable_files()
7038 ret += snprintf(buf + ret, size - ret, "%s.", prefix); in show_delegatable_files()