/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 in tp_subtest() [all...] |
H A 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/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()
|
H A D | main.h | 109 __u64 bpf_cookie; member
|
/linux/tools/testing/selftests/bpf/ |
H A 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/tools/lib/bpf/ |
H A D | libbpf.h | 486 __u64 bpf_cookie; member 521 __u64 bpf_cookie; member 622 __u64 bpf_cookie; member 672 __u64 bpf_cookie; member 764 __u64 bpf_cookie; member 766 #define bpf_tracepoint_opts__last_field bpf_cookie
|
H A D | bpf.h | 401 __u64 bpf_cookie; member
|
H A D | libbpf.c | 10831 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts() 10842 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts() 11211 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts() 11321 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall() 12125 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts() 12458 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
|
/linux/include/linux/ |
H A D | trace_events.h | 753 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 776 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 900 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
|
H A D | bpf.h | 2066 u64 bpf_cookie; member 2108 u64 bpf_cookie, 2121 u64 bpf_cookie; member 2127 u64 bpf_cookie; member 2177 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array() 2222 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_uprobe()
|
H A D | perf_event.h | 859 u64 bpf_cookie; member
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 1152 return run_ctx->bpf_cookie; in BPF_CALL_1() 1164 return ctx->event->bpf_cookie; in BPF_CALL_1() 1179 return run_ctx->bpf_cookie; in BPF_CALL_1() 2199 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 2226 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 2232 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog() 2358 run_ctx.bpf_cookie = link->cookie; in __bpf_trace_run()
|
/linux/kernel/bpf/ |
H A D | bpf_lsm.c | 212 return run_ctx->bpf_cookie; in BPF_CALL_1()
|
H A D | core.c | 2652 u64 bpf_cookie, in bpf_prog_array_copy() argument 2706 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2712 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
|
H A D | syscall.c | 3411 u64 bpf_cookie) in bpf_tracing_prog_attach() argument 3481 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach() 3769 info->perf_event.kprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_kprobe() 3796 info->perf_event.uprobe.cookie = event->bpf_cookie; in bpf_perf_link_fill_uprobe() 3830 info->perf_event.tracepoint.cookie = event->bpf_cookie; in bpf_perf_link_fill_tracepoint() 3839 info->perf_event.event.cookie = event->bpf_cookie; in bpf_perf_link_fill_perf_event() 3903 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach() 5962 run_ctx.bpf_cookie = 0; in kern_sys_bpf()
|
/linux/kernel/events/ |
H A D | core.c | 9781 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 9811 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler() 9835 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 10750 u64 bpf_cookie) in perf_event_set_bpf_prog() argument 10755 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10785 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10808 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1735 __u64 bpf_cookie; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1735 __u64 bpf_cookie; member
|
/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 2474 offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 743 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 | 2708 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|