Searched refs:ASSERT_OK (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | map_init.c | 31 if (!ASSERT_OK(err, "bpf_map_update_elem")) in map_populate() 49 if (!ASSERT_OK(err, "bpf_map__set_type")) in setup() 53 if (!ASSERT_OK(err, "bpf_map__set_max_entries")) in setup() 57 if (!ASSERT_OK(err, "skel_load")) in setup() 65 if (!ASSERT_OK(err, "map_populate")) in setup() 89 if (!ASSERT_OK(test_map_init__attach(skel), "skel_attach")) in prog_run_insert_elem() 144 if (!ASSERT_OK(err, "bpf_map_delete_elem")) in test_pcpu_map_init() 149 if (!ASSERT_OK(err, "prog_run_insert_elem")) in test_pcpu_map_init() 154 if (!ASSERT_OK(err, "bpf_map_lookup_elem")) in test_pcpu_map_init() 186 if (!ASSERT_OK(err, "prog_run_insert_elem")) in test_pcpu_lru_map_init() [all …]
|
D | btf_dump.c | 151 if (!ASSERT_OK(libbpf_get_error(d), "btf_dump__new")) in test_btf_dump_incremental() 164 ASSERT_OK(err, "enum_val_ok"); in test_btf_dump_incremental() 172 ASSERT_OK(err, "field_ok"); in test_btf_dump_incremental() 176 ASSERT_OK(err, "dump_type_ok"); in test_btf_dump_incremental() 209 ASSERT_OK(err, "field_ok"); in test_btf_dump_incremental() 211 ASSERT_OK(err, "field_ok"); in test_btf_dump_incremental() 215 ASSERT_OK(err, "dump_type_ok"); in test_btf_dump_incremental()
|
D | btf_write.c | 96 ASSERT_OK(err, "f1_res"); in test_btf_write() 98 ASSERT_OK(err, "f2_res"); in test_btf_write() 126 ASSERT_OK(err, "f1_res"); in test_btf_write() 144 ASSERT_OK(err, "v1_res"); in test_btf_write() 146 ASSERT_OK(err, "v2_res"); in test_btf_write() 203 ASSERT_OK(err, "p1_res"); in test_btf_write() 205 ASSERT_OK(err, "p2_res"); in test_btf_write() 231 ASSERT_OK(err, "v1_res"); in test_btf_write()
|
D | core_autosize.c | 106 ASSERT_OK(err, "struct_fields"); in test_core_autosize() 141 if (!ASSERT_OK(err, "prog_load")) in test_core_autosize() 172 if (!ASSERT_OK(err, "bss_lookup")) in test_core_autosize()
|
D | btf_endian.c | 54 ASSERT_OK(memcmp(raw_data, swap_raw_data, raw_sz), "mem_identical"); in test_btf_endian()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_progs.h | 155 #define ASSERT_OK(res, name) ({ \ macro
|