Searched refs:relative_id (Results 1 – 7 of 7) sorted by relevance
/tools/lib/bpf/ |
D | bpf.c | 636 __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 …]
|
D | bpf.h | 329 __u32 relative_id; member 339 __u32 relative_id; member 415 __u32 relative_id; member
|
D | libbpf.h | 793 __u32 relative_id; member
|
D | libbpf.c | 11967 __u32 relative_id; in bpf_program__attach_tcx() local 11973 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_tcx() 11982 if (relative_fd && relative_id) { in bpf_program__attach_tcx() 11990 link_create_opts.tcx.relative_id = relative_id; in bpf_program__attach_tcx()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | tc_links.c | 217 .relative_id = lid1, in test_tc_links_before_target() 677 .relative_id = pid1, in test_tc_links_replace_target() 748 .relative_id = lid2, in test_tc_links_replace_target() 995 .relative_id = pid2, in test_tc_links_invalid_target() 1008 .relative_id = 42, in test_tc_links_invalid_target() 1108 .relative_id = ~0, in test_tc_links_invalid_target() 1121 .relative_id = lid1, in test_tc_links_invalid_target() 1134 .relative_id = pid1, in test_tc_links_invalid_target() 1146 .relative_id = lid1, in test_tc_links_invalid_target()
|
D | tc_opts.c | 201 .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()
|
/tools/include/uapi/linux/ |
D | bpf.h | 1498 __u32 relative_id; member 1651 __u32 relative_id; member
|