| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_cookie.c | 30 opts.bpf_cookie = 0x1; in kprobe_subtest() 37 opts.bpf_cookie = 0x2; in kprobe_subtest() 45 opts.bpf_cookie = 0x10; in kprobe_subtest() 52 opts.bpf_cookie = 0x20; in kprobe_subtest() 348 opts.bpf_cookie = 0x100; in uprobe_subtest() 355 opts.bpf_cookie = 0x200; in uprobe_subtest() 363 opts.bpf_cookie = 0x1000; in uprobe_subtest() 370 opts.bpf_cookie = 0x2000; in uprobe_subtest() 396 opts.bpf_cookie = 0x10000; in tp_subtest() 403 opts.bpf_cookie in tp_subtest() [all...] |
| H A D | fill_link_info.c | 178 .bpf_cookie = PERF_EVENT_COOKIE, in test_kprobe_fill_link_info() 208 .bpf_cookie = PERF_EVENT_COOKIE, in test_tp_fill_link_info() 226 .bpf_cookie = PERF_EVENT_COOKIE, in test_event_fill_link_info() 261 .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()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2534 u64 bpf_cookie; 2571 u64 bpf_cookie, in bpf_reset_run_ctx() 2584 u64 bpf_cookie; in bpf_prog_run_array() 2590 u64 bpf_cookie; in bpf_prog_run_array() 2640 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_prog_run_array_uprobe() 2685 run_ctx.bpf_cookie = item->bpf_cookie; in bpf_enable_instrumentation() 3295 run_ctx.bpf_cookie = item->bpf_cookie; 2497 u64 bpf_cookie; global() member 2547 u64 bpf_cookie; global() member 2553 u64 bpf_cookie; global() member [all...] |
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 621 bpf_cookie))); in invoke_bpf_prog() 626 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie))); in invoke_bpf_prog() 628 run_ctx_off + offsetof(struct bpf_tramp_run_ctx, bpf_cookie) + 4)); in invoke_bpf_prog()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1163 return run_ctx->bpf_cookie; in BPF_CALL_1() 1175 return ctx->event->bpf_cookie; in BPF_CALL_1() 1190 return run_ctx->bpf_cookie; in BPF_CALL_1() 1953 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 1980 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 1986 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog() 2124 run_ctx.bpf_cookie = link->cookie; in __bpf_trace_run()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3654 u64 bpf_cookie, in bpf_tracing_prog_attach() 3724 &bpf_tracing_link_lops, prog, attach_type, bpf_cookie); in bpf_tracing_prog_attach() 3728 link->fexit.cookie = bpf_cookie; in bpf_tracing_prog_attach() 4037 info->perf_event.kprobe.cookie = event->bpf_cookie; in bpf_perf_link_fdinfo_kprobe() 4064 event->bpf_cookie); in bpf_perf_link_fill_uprobe() 4090 info->perf_event.uprobe.cookie = event->bpf_cookie; in bpf_perf_link_fdinfo_uprobe() 4117 event->bpf_cookie); 4150 info->perf_event.tracepoint.cookie = event->bpf_cookie; in bpf_perf_link_fill_link_info() 4159 info->perf_event.event.cookie = event->bpf_cookie; in bpf_perf_link_fill_link_info() 4196 "event", event->bpf_cookie); in bpf_tracepoint_link_show_fdinfo() 3637 bpf_tracing_prog_attach(struct bpf_prog * prog,int tgt_prog_fd,u32 btf_id,u64 bpf_cookie,enum bpf_attach_type attach_type) bpf_tracing_prog_attach() argument [all...] |
| H A D | bpf_lsm.c | 217 return run_ctx->bpf_cookie; in BPF_CALL_1()
|
| H A D | core.c | 2943 u64 bpf_cookie, in bpf_prog_array_copy() 2997 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 3003 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy() 2937 bpf_prog_array_copy(struct bpf_prog_array * old_array,struct bpf_prog * exclude_prog,struct bpf_prog * include_prog,u64 bpf_cookie,struct bpf_prog_array ** new_array) bpf_prog_array_copy() argument
|
| /linux/kernel/events/ |
| H A D | core.c | 6613 u64 bpf_cookie); in _perf_ioctl() 10677 u64 bpf_cookie) in sample_is_allowed() 10707 event->bpf_cookie = bpf_cookie; in bpf_overflow_handler() 10731 u64 bpf_cookie) in perf_event_set_bpf_handler() 11684 u64 bpf_cookie) in perf_uprobe_event_init() 11692 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_tp_register() 11735 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in __perf_event_set_bpf_prog() 11740 u64 bpf_cookie) in __perf_event_set_bpf_prog() 11746 ret = __perf_event_set_bpf_prog(event, prog, bpf_cookie); in __perf_event_set_bpf_prog() 10717 perf_event_set_bpf_handler(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_handler() argument 10771 perf_event_set_bpf_handler(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_handler() argument 11724 __perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) __perf_event_set_bpf_prog() argument 11780 perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_prog() argument 11816 __perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) __perf_event_set_bpf_prog() argument 11823 perf_event_set_bpf_prog(struct perf_event * event,struct bpf_prog * prog,u64 bpf_cookie) perf_event_set_bpf_prog() argument [all...] |
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 11609 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts() 11620 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts() 11990 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts() 12102 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall() 13224 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts() 13558 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
|
| H A D | usdt.c | 1135 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0; in usdt_manager_attach_usdt()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1832 __u64 bpf_cookie; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1832 __u64 bpf_cookie; member
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 931 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1724 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2430 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 | 3227 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie); in invoke_bpf_prog()
|