Searched refs:id2 (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 18 __u32 fd1, fd2, id1, id2; in serial_test_tc_opts_basic() local 31 id2 = id_from_prog_fd(fd2); in serial_test_tc_opts_basic() 33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in serial_test_tc_opts_basic() 84 ASSERT_EQ(optq.prog_ids[0], id2, "prog_ids[0]"); in serial_test_tc_opts_basic() 116 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_tc_opts_before_target() local 131 id2 = id_from_prog_fd(fd2); in test_tc_opts_before_target() 135 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_tc_opts_before_target() 137 ASSERT_NEQ(id2, id3, "prog_ids_2_3"); in test_tc_opts_before_target() 165 ASSERT_EQ(optq.prog_ids[1], id2, "prog_ids[1]"); in test_tc_opts_before_target() 196 ASSERT_EQ(optq.prog_ids[2], id2, "prog_ids[2]"); in test_tc_opts_before_target() [all …]
|
D | xdp_attach.c | 10 __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()
|
D | xdp_link.c | 12 __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/ |
D | tmon.c | 220 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/ |
D | linker.c | 1300 const struct btf *btf2, __u32 id2) in glob_sym_btf_matches() argument 1310 t2 = skip_mods_and_typedefs(btf2, id2, &id2); in glob_sym_btf_matches() 1388 id2 = t2->type; in glob_sym_btf_matches() 1393 id2 = btf_array(t2)->type; in glob_sym_btf_matches() 1405 id2 = t2->type; in glob_sym_btf_matches() 1417 id2 = t2->type; in glob_sym_btf_matches() 1474 id2 = t2->type; in glob_sym_btf_matches()
|
D | btf.c | 3886 static bool btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays() argument 3891 t2 = btf_type_by_id(d->btf, id2); in btf_dedup_identical_arrays() 3899 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_structs() argument 3906 t2 = btf_type_by_id(d->btf, id2); in btf_dedup_identical_structs()
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_test.c | 375 static bool same_id(incfs_uuid_t *id1, incfs_uuid_t *id2) in same_id() argument 377 return !memcmp(id1->bytes, id2->bytes, sizeof(id1->bytes)); in same_id()
|