Home
last modified time | relevance | path

Searched refs:ASSERT_OK_PTR (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcore_autosize.c67 if (!ASSERT_OK_PTR(btf, "empty_btf")) in test_core_autosize()
112 if (!ASSERT_OK_PTR(f, "btf_fdopen")) in test_core_autosize()
116 if (!ASSERT_OK_PTR(raw_data, "raw_data")) in test_core_autosize()
129 if (!ASSERT_OK_PTR(skel, "skel_open")) in test_core_autosize()
134 if (!ASSERT_OK_PTR(prog, "prog_find")) in test_core_autosize()
145 if (!ASSERT_OK_PTR(prog, "prog_find")) in test_core_autosize()
148 if (!ASSERT_OK_PTR(skel->links.handle_samesize, "prog_attach")) in test_core_autosize()
152 if (!ASSERT_OK_PTR(prog, "prog_find")) in test_core_autosize()
155 if (!ASSERT_OK_PTR(skel->links.handle_downsize, "prog_attach")) in test_core_autosize()
159 if (!ASSERT_OK_PTR(prog, "prog_find")) in test_core_autosize()
[all …]
Dbtf_endian.c29 if (!ASSERT_OK_PTR(btf, "parse_native_btf")) in test_btf_endian()
38 if (!ASSERT_OK_PTR(raw_data, "raw_data_inverted")) in test_btf_endian()
43 if (!ASSERT_OK_PTR(swap_btf, "parse_swap_btf")) in test_btf_endian()
50 if (!ASSERT_OK_PTR(swap_raw_data, "swap_raw_data")) in test_btf_endian()
64 if (!ASSERT_OK_PTR(swap_raw_data, "swap_raw_data")) in test_btf_endian()
81 if (!ASSERT_OK_PTR(raw_data, "raw_data_inverted")) in test_btf_endian()
86 if (!ASSERT_OK_PTR(swap_btf, "parse_swap_btf")) in test_btf_endian()
Dmap_init.c45 if (!ASSERT_OK_PTR(skel, "skel_open")) in setup()
138 if (!ASSERT_OK_PTR(skel, "prog_setup")) in test_pcpu_map_init()
180 if (!ASSERT_OK_PTR(skel, "prog_setup")) in test_pcpu_lru_map_init()
Dbtf_dump.c144 if (!ASSERT_OK_PTR(dump_buf_file, "dump_memstream")) in test_btf_dump_incremental()
147 if (!ASSERT_OK_PTR(btf, "new_empty")) in test_btf_dump_incremental()
Dsubprogs.c32 ASSERT_OK_PTR(skel2, "unused_progs_skel"); in test_subprogs()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_progs.h179 #define ASSERT_OK_PTR(ptr, name) ({ \ macro