Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dtc_opts.c18 __u32 fd1, fd2, id1, id2; in test_ns_tc_opts_basic() local
31 id2 = id_from_prog_fd(fd2); in test_ns_tc_opts_basic()
131 id2 = id_from_prog_fd(fd2); in test_tc_opts_before_target()
283 id2 = id_from_prog_fd(fd2); in test_tc_opts_after_target()
353 .relative_id = id2, in test_tc_opts_after_target()
459 __u32 fd1, fd2, id1, id2; in test_tc_opts_revision_target() local
472 id2 = id_from_prog_fd(fd2); in test_tc_opts_revision_target()
583 id2 = id_from_prog_fd(fd2); in test_tc_chain_classic()
685 id2 = id_from_prog_fd(fd2); in test_tc_opts_replace_target()
877 __u32 fd1, fd2, id1, id2; in test_tc_opts_invalid_target() local
[all …]
A Dcgroup_mprog_opts.c23 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_prog_attach_detach() local
42 id2 = id_from_prog_fd(fd2); in test_prog_attach_detach()
111 ASSERT_EQ(optq.prog_ids[0], id2, "prog_ids[0]"); in test_prog_attach_detach()
156 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_link_attach_detach() local
175 id2 = id_from_prog_fd(fd2); in test_link_attach_detach()
486 __u32 fd1, fd2, id2; in test_invalid_attach_detach() local
501 id2 = id_from_prog_fd(fd2); in test_invalid_attach_detach()
507 .relative_id = id2, in test_invalid_attach_detach()
532 .relative_id = id2, in test_invalid_attach_detach()
541 .relative_id = id2, in test_invalid_attach_detach()
[all …]
A Dxdp_attach.c10 __u32 duration = 0, id1, id2, id0 = 0, len; in test_xdp_attach() local
34 id2 = info.id; in test_xdp_attach()
58 if (CHECK(err || id0 != id2, "id2_check", in test_xdp_attach()
59 "loaded prog id %u != id2 %u, err %d", id0, id2, err)) in test_xdp_attach()
A Dxdp_link.c12 __u32 id1, id2, id0 = 0, prog_fd1, prog_fd2; in serial_test_xdp_link() local
41 id2 = prog_info.id; in serial_test_xdp_link()
113 if (!ASSERT_OK(err, "id2_check_err") || !ASSERT_EQ(id0, id2, "id2_check_val")) in serial_test_xdp_link()
/tools/thermal/tmon/
A Dtmon.c220 int id2 = 0, c; in main() local
229 while ((c = getopt_long(argc, argv, "c:dlht:T:vgz:", opts, &id2)) != -1) { in main()
/tools/lib/bpf/
A Dlinker.c1485 const struct btf *btf2, __u32 id2) in glob_sym_btf_matches() argument
1495 t2 = skip_mods_and_typedefs(btf2, id2, &id2); in glob_sym_btf_matches()
1573 id2 = t2->type; in glob_sym_btf_matches()
1578 id2 = btf_array(t2)->type; in glob_sym_btf_matches()
1590 id2 = t2->type; in glob_sym_btf_matches()
1602 id2 = t2->type; in glob_sym_btf_matches()
1659 id2 = t2->type; in glob_sym_btf_matches()
A Dbtf.c4409 static bool btf_dedup_identical_types(struct btf_dedup *d, __u32 id1, __u32 id2, int depth) in btf_dedup_identical_types() argument
4418 t2 = btf_type_by_id(d->btf, id2); in btf_dedup_identical_types()
4446 id2 = t2->type; in btf_dedup_identical_types()

Completed in 26 milliseconds