Home
last modified time | relevance | path

Searched refs:attach_mode (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dattach_probe.c37 static void test_attach_probe_manual(enum probe_attach_mode attach_mode) in test_attach_probe_manual() argument
55 kprobe_opts.attach_mode = attach_mode; in test_attach_probe_manual()
73 uprobe_opts.attach_mode = attach_mode; in test_attach_probe_manual()
Dfill_link_info.c139 .attach_mode = PROBE_ATTACH_MODE_LINK, in test_kprobe_fill_link_info()
/linux-6.6.21/tools/lib/bpf/
Dnetlink.c36 __u8 attach_mode; member
380 xdp_id->info.attach_mode = libbpf_nla_getattr_u8( in get_xdp_info()
383 if (xdp_id->info.attach_mode == XDP_ATTACHED_NONE) in get_xdp_info()
469 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode); in bpf_xdp_query()
517 if (opts.attach_mode != XDP_ATTACHED_MULTI && !flags) in bpf_xdp_query_id()
Dlibbpf.h497 enum probe_attach_mode attach_mode; member
500 #define bpf_kprobe_opts__last_field attach_mode
650 enum probe_attach_mode attach_mode; member
653 #define bpf_uprobe_opts__last_field attach_mode
1173 __u8 attach_mode; /* output */ member
Dlibbpf.c10510 enum probe_attach_mode attach_mode; in bpf_program__attach_kprobe_opts() local
10521 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_kprobe_opts()
10527 switch (attach_mode) { in bpf_program__attach_kprobe_opts()
11370 enum probe_attach_mode attach_mode; in bpf_program__attach_uprobe_opts() local
11381 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_uprobe_opts()
11423 switch (attach_mode) { in bpf_program__attach_uprobe_opts()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxsk.c290 return opts.attach_mode == XDP_ATTACHED_DRV; in xsk_is_in_mode()
292 return opts.attach_mode == XDP_ATTACHED_SKB; in xsk_is_in_mode()