| /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() 341 opts.bpf_cookie = 0x100; in uprobe_subtest() 348 opts.bpf_cookie = 0x200; in uprobe_subtest() 356 opts.bpf_cookie = 0x1000; in uprobe_subtest() 363 opts.bpf_cookie = 0x2000; in uprobe_subtest() 389 opts.bpf_cookie = 0x10000; in tp_subtest() 396 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 | 1133 return run_ctx->bpf_cookie; in BPF_CALL_1() 1145 return ctx->event->bpf_cookie; in BPF_CALL_1() 1160 return run_ctx->bpf_cookie; in BPF_CALL_1() 1922 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 1949 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 1955 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog() 2085 run_ctx.bpf_cookie = link->cookie; in __bpf_trace_run()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2365 u64 bpf_cookie; member 2402 u64 bpf_cookie, 2415 u64 bpf_cookie; member 2421 u64 bpf_cookie; member 2471 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array() 2516 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_uprobe()
|
| H A D | perf_event.h | 907 u64 bpf_cookie; member
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 612 bpf_cookie))); in invoke_bpf_prog() 617 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie))); in invoke_bpf_prog() 619 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie) + 4)); in invoke_bpf_prog()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3572 u64 bpf_cookie, in bpf_tracing_prog_attach() argument 3643 fslink->fexit.cookie = bpf_cookie; in bpf_tracing_prog_attach() 3658 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach() 3966 info->perf_event.kprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_kprobe() 3993 event->bpf_cookie); in bpf_perf_link_fdinfo_kprobe() 4019 info->perf_event.uprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_uprobe() 4046 event->bpf_cookie); in bpf_perf_link_fdinfo_uprobe() 4079 info->perf_event.tracepoint.cookie = event->bpf_cookie; in bpf_perf_link_fill_tracepoint() 4088 info->perf_event.event.cookie = event->bpf_cookie; in bpf_perf_link_fill_perf_event() 4125 "event", event->bpf_cookie); in bpf_perf_event_link_show_fdinfo() [all …]
|
| H A D | core.c | 2859 u64 bpf_cookie, in bpf_prog_array_copy() argument 2913 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2919 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
|
| /linux/kernel/events/ |
| H A D | core.c | 6596 u64 bpf_cookie); 10652 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 10682 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler() 10706 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 11659 u64 bpf_cookie) in __perf_event_set_bpf_prog() argument 11667 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in __perf_event_set_bpf_prog() 11701 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in __perf_event_set_bpf_prog() 11706 u64 bpf_cookie) in perf_event_set_bpf_prog() argument 11712 ret = __perf_event_set_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 11742 u64 bpf_cookie) in __perf_event_set_bpf_prog() argument [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 11452 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in append_to_file() 11463 if (OPTS_GET(opts, bpf_cookie, 0)) { in append_to_file() 11833 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in avail_kallsyms_cb() 11945 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in libbpf_available_kallsyms_parse() 12786 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); 13120 pe_opts.bpf_cookie in bpf_program__attach_btf_id() [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1810 __u64 bpf_cookie; 5379 * 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 | 2258 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 2980 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|