Searched refs:ksym (Results 1 – 19 of 19) sorted by relevance
/linux/kernel/bpf/ |
A D | trampoline.c | 48 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 D | core.c | 604 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 D | dispatcher.c | 146 bpf_image_ksym_add(d->image, &d->ksym); in bpf_dispatcher_change_prog()
|
/linux/tools/testing/selftests/bpf/ |
A D | trace_helpers.c | 18 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 D | trace_helpers.h | 7 struct ksym { struct 13 struct ksym *ksym_search(long key); argument
|
/linux/samples/hw_breakpoint/ |
A D | data_breakpoint.c | 27 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 D | dontdiff | 154 ksym.c* 155 ksym.h*
|
/linux/include/linux/ |
A D | bpf.h | 659 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 D | spintest_user.c | 20 struct ksym *sym; in main()
|
A D | offwaketime_user.c | 23 struct ksym *sym; in print_ksym()
|
A D | sampleip_user.c | 91 struct ksym *sym; in print_ip_map()
|
A D | trace_event_user.c | 29 struct ksym *sym; in print_ksym()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | get_stack_raw_tp.c | 30 struct ksym *ks; in get_stack_print_output()
|
/linux/arch/arm/mach-imx/ |
A D | Makefile | 31 obj-y += ssi-fiq-ksym.o
|
/linux/ |
A D | .gitignore | 105 /include/ksym/
|
A D | Makefile | 1496 CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \
|
/linux/kernel/ |
A D | module.c | 1456 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 D | libbpf.c | 451 } 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 D | core.c | 8921 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