Searched refs:ASSERT_ERR_PTR (Results 1 – 12 of 12) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 108 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()
|
D | get_stackid_cannot_attach.c | 51 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()
|
D | xdp_link.c | 54 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()
|
D | timer_mim.c | 65 if (!ASSERT_ERR_PTR(timer_reject_skel, "timer_reject_skel_load")) in test_timer_mim()
|
D | test_lsm.c | 66 if (!ASSERT_ERR_PTR(link, "attach_link")) in test_lsm()
|
D | ksyms_btf.c | 118 ASSERT_ERR_PTR(skel, "unexpected load of a prog writing to ksym memory\n"); in test_write_check()
|
D | xdp_bonding.c | 420 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()
|
D | trampoline_count.c | 100 if (!ASSERT_ERR_PTR(link, "cannot attach over the limit")) { in test_trampoline_count()
|
D | cgroup_link.c | 148 if (!ASSERT_ERR_PTR(tmp_link, "cg_attach_fail")) { in test_cgroup_link()
|
D | bpf_tcp_ca.c | 320 ASSERT_ERR_PTR(rel_skel, "rel_skel"); in test_rel_setsockopt()
|
D | bpf_iter.c | 626 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/ |
D | test_progs.h | 270 #define ASSERT_ERR_PTR(ptr, name) ({ \ macro
|