| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_cookie.c | 30 opts.bpf_cookie = 0x1; in kprobe_subtest() 37 opts.bpf_cookie = 0x2; in kprobe_subtest() 45 opts.bpf_cookie = 0x10; in kprobe_subtest() 52 opts.bpf_cookie = 0x20; in kprobe_subtest() 348 opts.bpf_cookie = 0x100; in uprobe_subtest() 355 opts.bpf_cookie = 0x200; in uprobe_subtest() 363 opts.bpf_cookie = 0x1000; in uprobe_subtest() 370 opts.bpf_cookie = 0x2000; in uprobe_subtest() 396 opts.bpf_cookie = 0x10000; in tp_subtest() 403 opts.bpf_cookie in tp_subtest() [all...] |
| H A D | fill_link_info.c | 161 .bpf_cookie = PERF_EVENT_COOKIE, in test_kprobe_fill_link_info() 191 .bpf_cookie = PERF_EVENT_COOKIE, in test_tp_fill_link_info() 209 .bpf_cookie = PERF_EVENT_COOKIE, in test_event_fill_link_info() 244 .bpf_cookie = PERF_EVENT_COOKIE, in test_uprobe_fill_link_info()
|
| /linux/tools/bpf/bpftool/skeleton/ |
| H A D | pid_iter.bpf.c | 24 u64 bpf_cookie; member 63 return BPF_CORE_READ(event, bpf_cookie); in get_bpf_cookie() 113 e.bpf_cookie = get_bpf_cookie(link); in iter()
|
| H A D | pid_iter.h | 9 __u64 bpf_cookie; member
|
| /linux/tools/bpf/bpftool/ |
| H A D | pids.c | 84 refs->bpf_cookie = e->bpf_cookie; in add_ref() 218 jsonw_lluint_field(json_writer, "bpf_cookie", refs->bpf_cookie); in emit_obj_refs_json() 250 printf("\n\tbpf_cookie %llu", (unsigned long long) refs->bpf_cookie); in emit_obj_refs_plain()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1163 return run_ctx->bpf_cookie; 1175 return ctx->event->bpf_cookie; in BPF_CALL_3() 1190 return run_ctx->bpf_cookie; 1953 u64 bpf_cookie) in perf_event_attach_bpf_prog() 1980 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_detach_bpf_prog() 1986 event->bpf_cookie = bpf_cookie; in perf_event_detach_bpf_prog() 2124 run_ctx.bpf_cookie = link->cookie; 1922 perf_event_attach_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_attach_bpf_prog() argument
|
| /linux/include/linux/ |
| H A D | bpf.h | 2490 u64 bpf_cookie; 2527 u64 bpf_cookie, 2540 u64 bpf_cookie; 2546 u64 bpf_cookie; in bpf_disable_instrumentation() 2596 run_ctx.bpf_cookie = item->bpf_cookie; 2641 run_ctx.bpf_cookie = item->bpf_cookie; 3252 run_ctx.bpf_cookie = item->bpf_cookie; in cpu_map_generic_redirect() 2365 u64 bpf_cookie; global() member 2415 u64 bpf_cookie; global() member 2421 u64 bpf_cookie; global() member [all...] |
| H A D | perf_event.h | 907 u64 bpf_cookie; member
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 617 bpf_cookie))); in invoke_bpf_prog() 622 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie))); in invoke_bpf_prog() 624 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie) + 4)); in invoke_bpf_prog()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3692 u64 bpf_cookie, in bpf_tracing_prog_attach() 3762 &bpf_tracing_link_lops, prog, attach_type, bpf_cookie); in bpf_tracing_prog_attach() 3766 link->fexit.cookie = bpf_cookie; in bpf_tracing_prog_attach() 4075 info->perf_event.kprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_tracepoint() 4102 event->bpf_cookie); in bpf_perf_link_fill_link_info() 4128 info->perf_event.uprobe.cookie = event->bpf_cookie; in bpf_tracepoint_link_show_fdinfo() 4155 event->bpf_cookie); in bpf_probe_link_show_fdinfo() 4188 info->perf_event.tracepoint.cookie = event->bpf_cookie; 4197 info->perf_event.event.cookie = event->bpf_cookie; in bpf_perf_link_attach() 4234 "event", event->bpf_cookie); in bpf_perf_link_attach() 3572 bpf_tracing_prog_attach(struct bpf_prog * prog,int tgt_prog_fd,u32 btf_id,u64 bpf_cookie,enum bpf_attach_type attach_type) bpf_tracing_prog_attach() argument [all...] |
| H A D | core.c | 2880 u64 bpf_cookie, in bpf_prog_array_copy() 2934 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2940 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy_info() 2870 bpf_prog_array_copy(struct bpf_prog_array * old_array,struct bpf_prog * exclude_prog,struct bpf_prog * include_prog,u64 bpf_cookie,struct bpf_prog_array ** new_array) bpf_prog_array_copy() argument
|
| /linux/kernel/events/ |
| H A D | core.c | 6597 u64 bpf_cookie); 10681 u64 bpf_cookie) in perf_event_set_bpf_handler() 10711 event->bpf_cookie = bpf_cookie; in perf_event_free_bpf_handler() 10735 u64 bpf_cookie) in __perf_event_overflow() 11688 u64 bpf_cookie) in __perf_event_set_bpf_prog() 11696 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in __perf_event_set_bpf_prog() 11739 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); 11744 u64 bpf_cookie) in __perf_event_set_bpf_prog() 11750 ret = __perf_event_set_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10652 perf_event_set_bpf_handler(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_handler() argument 10706 perf_event_set_bpf_handler(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_handler() argument 11659 __perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) __perf_event_set_bpf_prog() argument 11706 perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_prog() argument 11742 __perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) __perf_event_set_bpf_prog() argument 11749 perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_prog() argument [all...] |
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 11552 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in perf_event_kprobe_open_legacy() 11563 if (OPTS_GET(opts, bpf_cookie, 0)) { in perf_event_kprobe_open_legacy() 11933 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in libbpf_available_kallsyms_parse() 12045 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_multi_opts() 13166 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program_attach_fd() 13500 pe_opts.bpf_cookie in bpf_map__attach_struct_ops() [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1832 __u64 bpf_cookie; 5407 * Get bpf_cookie value provided (optionally) during the program 1784 __u64 bpf_cookie; global() member
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 942 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1683 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2346 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie);
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3113 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_mod_ret()
|