Home
last modified time | relevance | path

Searched refs:bpf_cookie (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbpf_cookie.c28 opts.bpf_cookie = 0x1; in kprobe_subtest()
35 opts.bpf_cookie = 0x2; in kprobe_subtest()
43 opts.bpf_cookie = 0x10; in kprobe_subtest()
50 opts.bpf_cookie = 0x20; in kprobe_subtest()
254 opts.bpf_cookie = 0x100; in uprobe_subtest()
261 opts.bpf_cookie = 0x200; in uprobe_subtest()
269 opts.bpf_cookie = 0x1000; in uprobe_subtest()
276 opts.bpf_cookie = 0x2000; in uprobe_subtest()
302 opts.bpf_cookie = 0x10000; in tp_subtest()
309 opts.bpf_cookie = 0x20000; in tp_subtest()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/
A DDENYLIST.aarch642 bpf_cookie/lsm
3 bpf_cookie/multi_kprobe_attach_api
4 bpf_cookie/multi_kprobe_link_api
5 bpf_cookie/trampoline
A DDENYLIST.s390x4 bpf_cookie # failed to open_and_load program: -524 (trampoline)
/linux-6.3-rc2/tools/bpf/bpftool/
A Dpids.c82 refs->bpf_cookie = e->bpf_cookie; in add_ref()
211 jsonw_lluint_field(json_writer, "bpf_cookie", refs->bpf_cookie); in emit_obj_refs_json()
243 printf("\n\tbpf_cookie %llu", (unsigned long long) refs->bpf_cookie); in emit_obj_refs_plain()
A Dmain.h109 __u64 bpf_cookie; member
/linux-6.3-rc2/tools/bpf/bpftool/skeleton/
A Dpid_iter.bpf.c49 return BPF_CORE_READ(event, bpf_cookie); in get_bpf_cookie()
92 e.bpf_cookie = get_bpf_cookie(link); in iter()
A Dpid_iter.h9 __u64 bpf_cookie; member
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.h453 __u64 bpf_cookie; member
455 #define bpf_perf_event_opts__last_field bpf_cookie
468 __u64 bpf_cookie; member
512 __u64 bpf_cookie; member
562 __u64 bpf_cookie; member
652 __u64 bpf_cookie; member
654 #define bpf_tracepoint_opts__last_field bpf_cookie
A Dbpf.h312 __u64 bpf_cookie; member
A Dbpf.c713 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
A Dlibbpf.c9752 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts()
9764 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts()
10121 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts()
10211 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall()
10789 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts()
11081 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
A Dusdt.c1053 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0; in usdt_manager_attach_usdt()
/linux-6.3-rc2/include/linux/
A Dtrace_events.h741 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
759 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument
874 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
A Dbpf.h1664 u64 bpf_cookie; member
1706 u64 bpf_cookie,
1719 u64 bpf_cookie; member
1724 u64 bpf_cookie; member
1772 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array()
1816 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_sleepable()
A Dperf_event.h811 u64 bpf_cookie; member
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1096 return run_ctx->bpf_cookie; in BPF_CALL_1()
1108 return ctx->event->bpf_cookie; in BPF_CALL_1()
1123 return run_ctx->bpf_cookie; in BPF_CALL_1()
2117 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument
2144 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog()
2150 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog()
/linux-6.3-rc2/kernel/bpf/
A Dbpf_lsm.c186 return run_ctx->bpf_cookie; in BPF_CALL_1()
A Dcore.c2419 u64 bpf_cookie, in bpf_prog_array_copy() argument
2473 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy()
2479 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
A Dsyscall.c2982 u64 bpf_cookie) in bpf_tracing_prog_attach() argument
3047 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach()
3288 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach()
5161 run_ctx.bpf_cookie = 0; in kern_sys_bpf()
/linux-6.3-rc2/kernel/events/
A Dcore.c10369 u64 bpf_cookie) in perf_event_set_bpf_handler() argument
10399 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler()
10419 u64 bpf_cookie) in perf_event_set_bpf_handler() argument
10448 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
10453 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_event_set_bpf_prog()
10483 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog()
10506 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
/linux-6.3-rc2/include/uapi/linux/
A Dbpf.h1528 __u64 bpf_cookie; member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf.h1528 __u64 bpf_cookie; member
/linux-6.3-rc2/arch/s390/net/
A Dbpf_jit_comp.c2098 offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c1922 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
/linux-6.3-rc2/arch/riscv/net/
A Dbpf_jit_comp64.c724 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()

Completed in 143 milliseconds

12