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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c37 static void test_attach_probe_manual(enum probe_attach_mode attach_mode) argument
55 kprobe_opts.attach_mode = attach_mode;
73 uprobe_opts.attach_mode = attach_mode;
H A Dfill_link_info.c154 .attach_mode = PROBE_ATTACH_MODE_LINK,
/linux-master/tools/lib/bpf/
H A Dnetlink.c36 __u8 attach_mode; member in struct:xdp_link_info
380 xdp_id->info.attach_mode = libbpf_nla_getattr_u8(
383 if (xdp_id->info.attach_mode == XDP_ATTACHED_NONE)
469 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode);
517 if (opts.attach_mode != XDP_ATTACHED_MULTI && !flags)
H A Dlibbpf.h516 enum probe_attach_mode attach_mode; member in struct:bpf_kprobe_opts
519 #define bpf_kprobe_opts__last_field attach_mode
669 enum probe_attach_mode attach_mode; member in struct:bpf_uprobe_opts
672 #define bpf_uprobe_opts__last_field attach_mode
1207 __u8 attach_mode; /* output */ member in struct:bpf_xdp_query_opts
H A Dlibbpf.c11005 enum probe_attach_mode attach_mode; local
11016 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT);
11022 switch (attach_mode) {
11865 enum probe_attach_mode attach_mode; local
11876 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT);
11918 switch (attach_mode) {
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.c293 return opts.attach_mode == XDP_ATTACHED_DRV;
295 return opts.attach_mode == XDP_ATTACHED_SKB;

Completed in 183 milliseconds