/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_cookie.c | 29 opts.bpf_cookie = 0x1; in kprobe_subtest() 36 opts.bpf_cookie = 0x2; in kprobe_subtest() 44 opts.bpf_cookie = 0x10; in kprobe_subtest() 51 opts.bpf_cookie = 0x20; in kprobe_subtest() 330 opts.bpf_cookie = 0x100; in uprobe_subtest() 337 opts.bpf_cookie = 0x200; in uprobe_subtest() 345 opts.bpf_cookie = 0x1000; in uprobe_subtest() 352 opts.bpf_cookie = 0x2000; in uprobe_subtest() 378 opts.bpf_cookie = 0x10000; in tp_subtest() 385 opts.bpf_cookie = 0x20000; in tp_subtest() [all …]
|
D | fill_link_info.c | 159 .bpf_cookie = PERF_EVENT_COOKIE, in test_kprobe_fill_link_info() 185 .bpf_cookie = PERF_EVENT_COOKIE, in test_tp_fill_link_info() 203 .bpf_cookie = PERF_EVENT_COOKIE, in test_event_fill_link_info() 238 .bpf_cookie = PERF_EVENT_COOKIE, in test_uprobe_fill_link_info()
|
/linux-6.12.1/tools/bpf/bpftool/skeleton/ |
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()
|
D | pid_iter.h | 9 __u64 bpf_cookie; member
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | DENYLIST.aarch64 | 1 bpf_cookie/multi_kprobe_attach_api # kprobe_multi_link_api_subtest:FAIL:fentry_raw_sk… 2 bpf_cookie/multi_kprobe_link_api # kprobe_multi_link_api_subtest:FAIL:fentry_raw_sk…
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | pids.c | 82 refs->bpf_cookie = e->bpf_cookie; in add_ref() 216 jsonw_lluint_field(json_writer, "bpf_cookie", refs->bpf_cookie); in emit_obj_refs_json() 248 printf("\n\tbpf_cookie %llu", (unsigned long long) refs->bpf_cookie); in emit_obj_refs_plain()
|
D | main.h | 109 __u64 bpf_cookie; member
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.h | 486 __u64 bpf_cookie; member 521 __u64 bpf_cookie; member 620 __u64 bpf_cookie; member 670 __u64 bpf_cookie; member 762 __u64 bpf_cookie; member 764 #define bpf_tracepoint_opts__last_field bpf_cookie
|
D | bpf.h | 401 __u64 bpf_cookie; member
|
D | bpf.c | 764 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
|
D | libbpf.c | 10785 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts() 10797 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts() 11172 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts() 11282 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall() 12077 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts() 12412 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
|
D | usdt.c | 1074 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0; in usdt_manager_attach_usdt()
|
/linux-6.12.1/include/linux/ |
D | trace_events.h | 765 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 788 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 912 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
|
D | bpf.h | 2019 u64 bpf_cookie; member 2061 u64 bpf_cookie, 2074 u64 bpf_cookie; member 2080 u64 bpf_cookie; member 2130 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array() 2176 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_uprobe()
|
D | perf_event.h | 838 u64 bpf_cookie; member
|
/linux-6.12.1/kernel/trace/ |
D | bpf_trace.c | 1128 return run_ctx->bpf_cookie; in BPF_CALL_1() 1140 return ctx->event->bpf_cookie; in BPF_CALL_1() 1155 return run_ctx->bpf_cookie; in BPF_CALL_1() 2164 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 2191 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 2197 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog() 2312 run_ctx.bpf_cookie = link->cookie; in __bpf_trace_run()
|
/linux-6.12.1/kernel/bpf/ |
D | bpf_lsm.c | 212 return run_ctx->bpf_cookie; in BPF_CALL_1()
|
D | core.c | 2647 u64 bpf_cookie, in bpf_prog_array_copy() argument 2701 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2707 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
|
D | syscall.c | 3280 u64 bpf_cookie) in bpf_tracing_prog_attach() argument 3350 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach() 3638 info->perf_event.kprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_kprobe() 3665 info->perf_event.uprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_uprobe() 3699 info->perf_event.tracepoint.cookie = event->bpf_cookie; in bpf_perf_link_fill_tracepoint() 3708 info->perf_event.event.cookie = event->bpf_cookie; in bpf_perf_link_fill_perf_event() 3772 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach() 5825 run_ctx.bpf_cookie = 0; in kern_sys_bpf()
|
/linux-6.12.1/kernel/events/ |
D | core.c | 9737 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 9767 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler() 9791 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 10700 u64 bpf_cookie) in perf_event_set_bpf_prog() argument 10705 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10735 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10758 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
|
/linux-6.12.1/include/uapi/linux/ |
D | bpf.h | 1734 __u64 bpf_cookie; member
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | bpf.h | 1734 __u64 bpf_cookie; member
|
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 743 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
/linux-6.12.1/arch/s390/net/ |
D | bpf_jit_comp.c | 2474 offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
/linux-6.12.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 1993 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|