Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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.1.9/tools/bpf/bpftool/
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()
Dmain.h110 __u64 bpf_cookie; member
/linux-6.1.9/tools/bpf/bpftool/skeleton/
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()
Dpid_iter.h9 __u64 bpf_cookie; member
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.h409 __u64 bpf_cookie; member
411 #define bpf_perf_event_opts__last_field bpf_cookie
424 __u64 bpf_cookie; member
468 __u64 bpf_cookie; member
518 __u64 bpf_cookie; member
608 __u64 bpf_cookie; member
610 #define bpf_tracepoint_opts__last_field bpf_cookie
Dbpf.h312 __u64 bpf_cookie; member
Dbpf.c713 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
Dlibbpf.c9734 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts()
9746 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts()
10096 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts()
10186 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall()
10764 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts()
11056 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
Dusdt.c1057 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0; in usdt_manager_attach_usdt()
/linux-6.1.9/include/linux/
Dtrace_events.h740 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
758 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument
873 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
Dbpf.h1505 u64 bpf_cookie; member
1547 u64 bpf_cookie,
1560 u64 bpf_cookie; member
1565 u64 bpf_cookie; member
1613 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array()
1657 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_sleepable()
Dperf_event.h793 u64 bpf_cookie; member
/linux-6.1.9/kernel/trace/
Dbpf_trace.c1095 return run_ctx->bpf_cookie; in BPF_CALL_1()
1107 return ctx->event->bpf_cookie; in BPF_CALL_1()
1122 return run_ctx->bpf_cookie; in BPF_CALL_1()
2108 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument
2135 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog()
2141 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog()
/linux-6.1.9/tools/testing/selftests/bpf/
DDENYLIST.s390x62 bpf_cookie # failed to open_and_load program: -524 (trampoline)
/linux-6.1.9/kernel/bpf/
Dbpf_lsm.c185 return run_ctx->bpf_cookie; in BPF_CALL_1()
Dcore.c2403 u64 bpf_cookie, in bpf_prog_array_copy() argument
2457 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy()
2463 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
Dsyscall.c2953 u64 bpf_cookie) in bpf_tracing_prog_attach() argument
3018 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach()
3259 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach()
5132 run_ctx.bpf_cookie = 0; in kern_sys_bpf()
/linux-6.1.9/kernel/events/
Dcore.c10170 u64 bpf_cookie) in perf_event_set_bpf_handler() argument
10200 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler()
10220 u64 bpf_cookie) in perf_event_set_bpf_handler() argument
10249 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
10254 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_event_set_bpf_prog()
10284 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog()
10307 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h1515 __u64 bpf_cookie; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h1515 __u64 bpf_cookie; member
/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c1822 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
/linux-6.1.9/arch/arm64/net/
Dbpf_jit_comp.c1650 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()