Home
last modified time | relevance | path

Searched refs:relative_id (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dbpf.c636 __u32 relative_id, flags; in bpf_prog_attach_opts() local
643 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_prog_attach_opts()
648 if (relative_fd && relative_id) in bpf_prog_attach_opts()
658 if (relative_id) { in bpf_prog_attach_opts()
660 attr.relative_id = relative_id; in bpf_prog_attach_opts()
674 __u32 relative_id, flags; in bpf_prog_detach_opts() local
681 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_prog_detach_opts()
686 if (relative_fd && relative_id) in bpf_prog_detach_opts()
695 if (relative_id) { in bpf_prog_detach_opts()
697 attr.relative_id = relative_id; in bpf_prog_detach_opts()
[all …]
Dbpf.h329 __u32 relative_id; member
339 __u32 relative_id; member
415 __u32 relative_id; member
Dlibbpf.h793 __u32 relative_id; member
Dlibbpf.c11963 __u32 relative_id; in bpf_program__attach_tcx() local
11969 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_tcx()
11978 if (relative_fd && relative_id) { in bpf_program__attach_tcx()
11986 link_create_opts.tcx.relative_id = relative_id; in bpf_program__attach_tcx()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtc_links.c215 .relative_id = lid1, in test_tc_links_before_target()
675 .relative_id = pid1, in test_tc_links_replace_target()
746 .relative_id = lid2, in test_tc_links_replace_target()
993 .relative_id = pid2, in test_tc_links_invalid_target()
1006 .relative_id = 42, in test_tc_links_invalid_target()
1106 .relative_id = ~0, in test_tc_links_invalid_target()
1119 .relative_id = lid1, in test_tc_links_invalid_target()
1132 .relative_id = pid1, in test_tc_links_invalid_target()
1144 .relative_id = lid1, in test_tc_links_invalid_target()
Dtc_opts.c201 .relative_id = id1, in test_tc_opts_before_target()
353 .relative_id = id2, in test_tc_opts_after_target()
705 .relative_id = id1, in test_tc_opts_replace_target()
847 .relative_id = id1, in test_tc_opts_replace_target()
938 .relative_id = id2, in test_tc_opts_invalid_target()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1481 __u32 relative_id; member
1634 __u32 relative_id; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1481 __u32 relative_id; member
1634 __u32 relative_id; member