Home
last modified time | relevance | path

Searched refs:ksym (Results 1 – 19 of 19) sorted by relevance

/linux/kernel/bpf/
A Dtrampoline.c48 ksym->start = (unsigned long) data; in bpf_image_ksym_add()
49 ksym->end = ksym->start + PAGE_SIZE; in bpf_image_ksym_add()
50 bpf_ksym_add(ksym); in bpf_image_ksym_add()
52 PAGE_SIZE, false, ksym->name); in bpf_image_ksym_add()
57 bpf_ksym_del(ksym); in bpf_image_ksym_del()
59 PAGE_SIZE, true, ksym->name); in bpf_image_ksym_del()
206 bpf_image_ksym_del(&im->ksym); in __bpf_tramp_image_put_deferred()
297 struct bpf_ksym *ksym; in bpf_tramp_image_alloc() local
318 ksym = &im->ksym; in bpf_tramp_image_alloc()
319 INIT_LIST_HEAD_RCU(&ksym->lnode); in bpf_tramp_image_alloc()
[all …]
A Dcore.c604 if (val < ksym->start) in bpf_tree_comp()
606 if (val >= ksym->end) in bpf_tree_comp()
636 list_del_rcu(&ksym->lnode); in __bpf_ksym_del()
642 __bpf_ksym_del(ksym); in bpf_ksym_del()
665 fp->aux->ksym.prog = true; in bpf_prog_kallsyms_add()
689 struct bpf_ksym *ksym; in __bpf_address_lookup() local
694 if (ksym) { in __bpf_address_lookup()
726 return ksym && ksym->prog ? in bpf_prog_ksym_find()
727 container_of(ksym, struct bpf_prog_aux, ksym)->prog : in bpf_prog_ksym_find()
752 struct bpf_ksym *ksym; in bpf_get_kallsym() local
[all …]
A Ddispatcher.c146 bpf_image_ksym_add(d->image, &d->ksym); in bpf_dispatcher_change_prog()
/linux/tools/testing/selftests/bpf/
A Dtrace_helpers.c18 static struct ksym syms[MAX_SYMS];
23 return ((struct ksym *)p1)->addr - ((struct ksym *)p2)->addr; in ksym_cmp()
48 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
52 struct ksym *ksym_search(long key) in ksym_search()
A Dtrace_helpers.h7 struct ksym { struct
13 struct ksym *ksym_search(long key); argument
/linux/samples/hw_breakpoint/
A Ddata_breakpoint.c27 module_param_string(ksym, ksym_name, KSYM_NAME_LEN, S_IRUGO);
28 MODULE_PARM_DESC(ksym, "Kernel symbol to monitor; this module will report any"
/linux/Documentation/
A Ddontdiff154 ksym.c*
155 ksym.h*
/linux/include/linux/
A Dbpf.h659 struct bpf_ksym ksym; member
718 struct bpf_ksym ksym; member
743 .ksym = { \
745 .lnode = LIST_HEAD_INIT(_name.ksym.lnode), \
774 void bpf_image_ksym_add(void *data, struct bpf_ksym *ksym);
775 void bpf_image_ksym_del(struct bpf_ksym *ksym);
776 void bpf_ksym_add(struct bpf_ksym *ksym);
777 void bpf_ksym_del(struct bpf_ksym *ksym);
890 struct bpf_ksym ksym; member
/linux/samples/bpf/
A Dspintest_user.c20 struct ksym *sym; in main()
A Doffwaketime_user.c23 struct ksym *sym; in print_ksym()
A Dsampleip_user.c91 struct ksym *sym; in print_ip_map()
A Dtrace_event_user.c29 struct ksym *sym; in print_ksym()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dget_stack_raw_tp.c30 struct ksym *ks; in get_stack_print_output()
/linux/arch/arm/mach-imx/
A DMakefile31 obj-y += ssi-fiq-ksym.o
/linux/
A D.gitignore105 /include/ksym/
A DMakefile1496 CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \
/linux/kernel/
A Dmodule.c1456 const struct kernel_symbol *ksym; in resolve_symbol_wait() local
1460 !IS_ERR(ksym = resolve_symbol(mod, info, name, owner)) in resolve_symbol_wait()
1461 || PTR_ERR(ksym) != -EBUSY, in resolve_symbol_wait()
1466 return ksym; in resolve_symbol_wait()
2291 const struct kernel_symbol *ksym; in simplify_symbols() local
2323 ksym = resolve_symbol_wait(mod, info, name); in simplify_symbols()
2325 if (ksym && !IS_ERR(ksym)) { in simplify_symbols()
2326 sym[i].st_value = kernel_symbol_value(ksym); in simplify_symbols()
2331 if (!ksym && in simplify_symbols()
2336 ret = PTR_ERR(ksym) ?: -ENOENT; in simplify_symbols()
/linux/tools/lib/bpf/
A Dlibbpf.c451 } ksym; member
3638 &ext->ksym.type_id); in bpf_object__collect_externs()
5612 insn[1].imm = ext->ksym.addr >> 32; in bpf_object__relocate_data()
5621 insn[0].off = ext->ksym.btf_fd_idx; in bpf_object__relocate_data()
6972 ext->ksym.addr = sym_addr; in bpf_object__read_kallsyms_file()
7036 local_type_id = ext->ksym.type_id; in bpf_object__resolve_ksym_var_btf_id()
7062 ext->ksym.kernel_btf_id = id; in bpf_object__resolve_ksym_var_btf_id()
7122 ext->ksym.kernel_btf_id = kfunc_id; in bpf_object__resolve_ksym_func_btf_id()
7143 ext->ksym.kernel_btf_obj_fd = 0; in bpf_object__resolve_ksyms_btf_id()
7144 ext->ksym.kernel_btf_id = 0; in bpf_object__resolve_ksyms_btf_id()
[all …]
/linux/kernel/events/
A Dcore.c8921 prog->aux->ksym.name); in perf_event_bpf_emit_ksymbols()
8930 prog->aux->ksym.name); in perf_event_bpf_emit_ksymbols()

Completed in 76 milliseconds