Home
last modified time | relevance | path

Searched refs:ASSERT_ERR_PTR (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c108 if (!ASSERT_ERR_PTR(tmp_ptr, "rw_extend")) in test_ringbuf()
116 ASSERT_ERR_PTR(mmap_ptr, "wr_prod_pos"); in test_ringbuf()
122 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_one"); in test_ringbuf()
125 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_two"); in test_ringbuf()
127 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_all"); in test_ringbuf()
136 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "ro_remap"); in test_ringbuf()
146 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 3 * page_size, MREMAP_MAYMOVE), "ro_remap"); in test_ringbuf()
Dget_stackid_cannot_attach.c51 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_no_callchain"); in test_get_stackid_cannot_attach()
84 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_exclude_callchain_kernel"); in test_get_stackid_cannot_attach()
Dxdp_link.c54 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_xdp_link()
98 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_xdp_link()
Dtimer_mim.c65 if (!ASSERT_ERR_PTR(timer_reject_skel, "timer_reject_skel_load")) in test_timer_mim()
Dtest_lsm.c66 if (!ASSERT_ERR_PTR(link, "attach_link")) in test_lsm()
Dksyms_btf.c118 ASSERT_ERR_PTR(skel, "unexpected load of a prog writing to ksym memory\n"); in test_write_check()
Dxdp_bonding.c420 if (!ASSERT_ERR_PTR(link2, "attach program to master when slave has program")) in test_xdp_bonding_attach()
433 if (!ASSERT_ERR_PTR(link2, "attach program to slave when master has program")) in test_xdp_bonding_attach()
450 if (!ASSERT_ERR_PTR(link, "attach program to master when slave does not support XDP")) in test_xdp_bonding_attach()
Dtrampoline_count.c100 if (!ASSERT_ERR_PTR(link, "cannot attach over the limit")) { in test_trampoline_count()
Dcgroup_link.c148 if (!ASSERT_ERR_PTR(tmp_link, "cg_attach_fail")) { in test_cgroup_link()
Dbpf_tcp_ca.c320 ASSERT_ERR_PTR(rel_skel, "rel_skel"); in test_rel_setsockopt()
Dbpf_iter.c626 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_bpf_hash_map()
631 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_bpf_hash_map()
1145 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_rdonly_buf_out_of_bound()
/tools/testing/selftests/bpf/
Dtest_progs.h270 #define ASSERT_ERR_PTR(ptr, name) ({ \ macro