Lines Matching defs:func
1130 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n",
1140 pr_debug("struct_ops init_kern %s: func ptr %s is set to prog %s from data(+%u) to kern_data(+%u)\n",
2207 case BTF_KIND_FUNC: return "func";
4132 /* No func in ksyms sec. No need to add dummy var. */
4322 * func proto does not have param name.
6327 * invalid func unknown#2001000123
6354 * invalid func unknown#2001000123
6496 /* append func/line info of a given (sub-)program to the main
6497 * program func/line info
6537 * supprot func/line info
6542 /* only attempt func info relocation if main program's func_info
6567 pr_warn("prog '%s': missing .BTF.ext function info for the main program, skipping all of .BTF.ext func info.\n",
7553 * line2 -> invalid func unknown#195896080
7592 * line2 -> invalid func unknown#2001000345
7625 * line2 -> invalid func unknown#2002000345
7671 if (str_has_pfx(cur_line, "invalid func unknown#195896080\n")) {
7680 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_LDIMM64_MAP_PFX)) {
7689 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_CALL_KFUNC_PFX)) {
8139 pr_warn("extern (func ksym) '%s': not found in kernel or module BTFs\n",
8153 pr_warn("extern (func ksym) '%s': func_proto [%d] incompatible with %s [%d]\n",
8163 pr_warn("extern (func ksym) '%s': module BTF fd index %d too big to fit in bpf_insn offset\n",
8189 pr_debug("extern (func ksym) '%s': resolved to %s [%d]\n",
9653 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n",
9660 pr_warn("struct_ops reloc %s: cannot find prog at shdr_idx %u to relocate func ptr %s\n",
9687 pr_warn("struct_ops reloc %s: cannot use prog %s in sec %s with type %u attach_btf_id %u expected_attach_type %u for func ptr %s\n",
11369 char *func;
11384 n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset);
11390 free(func);
11396 *link = bpf_program__attach_kprobe_opts(prog, func, &opts);
11397 free(func);