/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_cookie.c | 28 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-v6.1/tools/bpf/bpftool/ |
D | pids.c | 82 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()
|
D | main.h | 110 __u64 bpf_cookie; member
|
/Linux-v6.1/tools/bpf/bpftool/skeleton/ |
D | pid_iter.bpf.c | 49 return BPF_CORE_READ(event, bpf_cookie); in get_bpf_cookie() 92 e.bpf_cookie = get_bpf_cookie(link); in iter()
|
D | pid_iter.h | 9 __u64 bpf_cookie; member
|
/Linux-v6.1/tools/lib/bpf/ |
D | libbpf.h | 409 __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
|
D | bpf.h | 312 __u64 bpf_cookie; member
|
D | bpf.c | 713 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
|
D | libbpf.c | 9722 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts() 9734 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts() 10084 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts() 10174 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall() 10752 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts() 11044 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
|
D | usdt.c | 1057 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0; in usdt_manager_attach_usdt()
|
/Linux-v6.1/include/linux/ |
D | trace_events.h | 740 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);
|
D | bpf.h | 1505 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()
|
D | perf_event.h | 793 u64 bpf_cookie; member
|
/Linux-v6.1/kernel/trace/ |
D | bpf_trace.c | 1095 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-v6.1/tools/testing/selftests/bpf/ |
D | DENYLIST.s390x | 62 bpf_cookie # failed to open_and_load program: -524 (trampoline)
|
/Linux-v6.1/kernel/bpf/ |
D | bpf_lsm.c | 185 return run_ctx->bpf_cookie; in BPF_CALL_1()
|
D | core.c | 2402 u64 bpf_cookie, in bpf_prog_array_copy() argument 2456 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2462 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
|
D | syscall.c | 2955 u64 bpf_cookie) in bpf_tracing_prog_attach() argument 3020 link->link.cookie = bpf_cookie; in bpf_tracing_prog_attach() 3261 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach() 5134 run_ctx.bpf_cookie = 0; in kern_sys_bpf()
|
/Linux-v6.1/kernel/events/ |
D | core.c | 10170 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-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 1515 __u64 bpf_cookie; member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 1515 __u64 bpf_cookie; member
|
/Linux-v6.1/arch/x86/net/ |
D | bpf_jit_comp.c | 1822 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
/Linux-v6.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 1650 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|