Home
last modified time | relevance | path

Searched refs:link_ids (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_links.c20 __u32 prog_ids[2], link_ids[2]; in serial_test_tc_links_basic() local
53 optq.link_ids = link_ids; in serial_test_tc_links_basic()
56 memset(link_ids, 0, sizeof(link_ids)); in serial_test_tc_links_basic()
66 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in serial_test_tc_links_basic()
68 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_links_basic()
89 memset(link_ids, 0, sizeof(link_ids)); in serial_test_tc_links_basic()
99 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in serial_test_tc_links_basic()
101 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_links_basic()
119 __u32 prog_ids[5], link_ids[5]; in test_tc_links_before_target() local
175 optq.link_ids = link_ids; in test_tc_links_before_target()
[all …]
Dtc_netkit.c167 __u32 prog_ids[2], link_ids[2]; in serial_test_tc_netkit_basic() local
214 optq.link_ids = link_ids; in serial_test_tc_netkit_basic()
217 memset(link_ids, 0, sizeof(link_ids)); in serial_test_tc_netkit_basic()
227 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in serial_test_tc_netkit_basic()
229 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_netkit_basic()
250 memset(link_ids, 0, sizeof(link_ids)); in serial_test_tc_netkit_basic()
260 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in serial_test_tc_netkit_basic()
262 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_netkit_basic()
281 __u32 prog_ids[3], link_ids[3]; in serial_test_tc_netkit_multi_links_target() local
327 optq.link_ids = link_ids; in serial_test_tc_netkit_multi_links_target()
[all …]
Dtc_opts.c1404 __u32 prog_ids[4], link_ids[4]; in test_tc_opts_mixed_target() local
1522 optq.link_ids = link_ids; in test_tc_opts_mixed_target()
1527 memset(link_ids, 0, sizeof(link_ids)); in test_tc_opts_mixed_target()
1539 ASSERT_EQ(optq.link_ids[0], 0, "link_ids[0]"); in test_tc_opts_mixed_target()
1543 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_opts_mixed_target()
1547 ASSERT_EQ(optq.link_ids[2], lid4, "link_ids[2]"); in test_tc_opts_mixed_target()
1551 ASSERT_EQ(optq.link_ids[3], 0, "link_ids[3]"); in test_tc_opts_mixed_target()
2537 ASSERT_EQ(optq.link_ids, NULL, "link_ids"); in test_tc_opts_query_target()
2553 ASSERT_EQ(optq.link_ids, NULL, "link_ids"); in test_tc_opts_query_target()
2572 ASSERT_EQ(attr.query.link_ids, 0, "link_ids"); in test_tc_opts_query_target()
[all …]
/linux-6.12.1/sound/soc/intel/boards/
Dsof_board_helpers.c551 unsigned long link_ids, be_id; in sof_intel_board_set_dai_link() local
566 link_ids = ctx->link_id_overwrite; in sof_intel_board_set_dai_link()
568 link_ids = 0; in sof_intel_board_set_dai_link()
571 link_order, link_ids); in sof_intel_board_set_dai_link()
578 be_id = link_ids & SOF_LINK_IDS_MASK; in sof_intel_board_set_dai_link()
579 link_ids >>= SOF_LINK_IDS_SHIFT; in sof_intel_board_set_dai_link()
/linux-6.12.1/tools/bpf/bpftool/
Dnet.c462 __u32 prog_ids[64] = {}, link_ids[64] = {}; in __show_dev_tc_bpf() local
469 optq.link_ids = link_ids; in __show_dev_tc_bpf()
495 if (link_ids[i] || json_output) { in __show_dev_tc_bpf()
496 NET_DUMP_UINT("link_id", "link_id %u ", link_ids[i]); in __show_dev_tc_bpf()
/linux-6.12.1/arch/x86/kernel/
Damd_nb.c282 const struct pci_device_id *link_ids = amd_nb_link_ids; in amd_cache_northbridges() local
297 link_ids = hygon_nb_link_ids; in amd_cache_northbridges()
338 next_northbridge(link, link_ids); in amd_cache_northbridges()
/linux-6.12.1/tools/lib/bpf/
Dbpf.h596 __u32 *link_ids; member
Dbpf.c946 attr.query.link_ids = ptr_to_u64(OPTS_GET(opts, link_ids, NULL)); in bpf_prog_query_opts()
/linux-6.12.1/kernel/bpf/
Dmprog.c422 ulink_id = u64_to_user_ptr(attr->query.link_ids); in bpf_mprog_query()
/linux-6.12.1/include/uapi/linux/
Dbpf.h1666 __aligned_u64 link_ids; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h1666 __aligned_u64 link_ids; member