/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 168 if (!ASSERT_ERR_PTR(tmp_ptr, "rw_extend")) in ringbuf_subtest() 176 ASSERT_ERR_PTR(mmap_ptr, "wr_prod_pos"); in ringbuf_subtest() 182 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_one"); in ringbuf_subtest() 185 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_two"); in ringbuf_subtest() 187 ASSERT_ERR_PTR(mmap_ptr, "wr_data_page_all"); in ringbuf_subtest() 196 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest() 206 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 3 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest()
|
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 | tc_links.c | 468 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_revision_target() 725 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_replace_target() 739 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_replace_target() 752 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_replace_target() 887 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() 899 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() 911 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() 923 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() 936 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() 948 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in test_tc_links_invalid_target() [all …]
|
D | kprobe_multi_test.c | 245 if (!ASSERT_ERR_PTR(link, "fail_1")) in test_attach_api_fails() 260 if (!ASSERT_ERR_PTR(link, "fail_2")) in test_attach_api_fails() 275 if (!ASSERT_ERR_PTR(link, "fail_3")) in test_attach_api_fails() 290 if (!ASSERT_ERR_PTR(link, "fail_4")) in test_attach_api_fails() 305 if (!ASSERT_ERR_PTR(link, "fail_5")) in test_attach_api_fails() 320 if (!ASSERT_ERR_PTR(link, "fail_6")) in test_attach_api_fails() 711 if (!ASSERT_ERR_PTR(link, "override_attached_bpf_fentry_test1")) { in test_attach_override()
|
D | find_vma.c | 97 if (!ASSERT_ERR_PTR(skel, "find_vma_fail1__open_and_load")) in test_illegal_write_vma() 106 if (!ASSERT_ERR_PTR(skel, "find_vma_fail2__open_and_load")) in test_illegal_write_task()
|
D | netfilter_link_attach.c | 103 ASSERT_ERR_PTR(link2, "attach program with same pf/hook/priority"); in test_netfilter_link_attach() 117 ASSERT_ERR_PTR(link, "program load failure"); in test_netfilter_link_attach()
|
D | test_struct_ops_maybe_null.c | 30 if (ASSERT_ERR_PTR(skel, "struct_ops_module_fail__open_and_load")) in maybe_null_fail()
|
D | xdp_link.c | 55 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in serial_test_xdp_link() 98 if (!ASSERT_ERR_PTR(link, "link_attach_should_fail")) { in serial_test_xdp_link()
|
D | d_path.c | 183 ASSERT_ERR_PTR(skel, "unexpected_load_overwriting_rdonly_mem"); in test_d_path_check_rdonly_mem() 193 ASSERT_ERR_PTR(skel, "unexpected_load_passing_wrong_type"); in test_d_path_check_types()
|
D | token.c | 722 if (!ASSERT_ERR_PTR(skel, "obj_tokenless_load")) { in userns_obj_priv_map() 750 if (!ASSERT_ERR_PTR(skel, "obj_tokenless_load")) { in userns_obj_priv_prog() 844 if (!ASSERT_ERR_PTR(skel, "obj_tokenless_load")) { in userns_obj_priv_implicit_token() 863 if (!ASSERT_ERR_PTR(skel, "obj_token_envvar_disabled_load")) { in userns_obj_priv_implicit_token() 903 if (!ASSERT_ERR_PTR(skel, "obj_tokenless_load")) { in userns_obj_priv_implicit_token_envvar() 923 if (!ASSERT_ERR_PTR(skel, "obj_tokenless_load2")) { in userns_obj_priv_implicit_token_envvar()
|
D | uprobe.c | 66 if (!ASSERT_ERR_PTR(skel->links.test4, "urandlib_api_attach_conflict")) in test_uprobe()
|
D | timer_mim.c | 64 if (!ASSERT_ERR_PTR(timer_reject_skel, "timer_reject_skel_load")) in serial_test_timer_mim()
|
D | xdp_bonding.c | 417 if (!ASSERT_ERR_PTR(link2, "attach program to master when slave has program")) in test_xdp_bonding_attach() 430 if (!ASSERT_ERR_PTR(link2, "attach program to slave when master has program")) in test_xdp_bonding_attach() 447 if (!ASSERT_ERR_PTR(link, "attach program to master when slave does not support XDP")) in test_xdp_bonding_attach()
|
D | cgroup_iter.c | 108 ASSERT_ERR_PTR(link, "attach_iter"); in test_invalid_cgroup() 126 ASSERT_ERR_PTR(link, "attach_iter"); in test_invalid_cgroup_spec()
|
D | trampoline_count.c | 71 if (!ASSERT_ERR_PTR(link, "attach_prog")) { in serial_test_trampoline_count()
|
D | test_lsm.c | 67 if (!ASSERT_ERR_PTR(link, "attach_link")) in test_lsm()
|
D | ringbuf_multi.c | 95 ASSERT_ERR_PTR(ring, "ring_buffer__ring_idx_1"); in test_ringbuf_multi()
|
D | bpf_iter.c | 42 if (!ASSERT_ERR_PTR(skel, "bpf_iter_test_kern3__open_and_load")) { in test_btf_id_or_null() 806 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_bpf_hash_map() 811 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_bpf_hash_map() 833 if (!ASSERT_ERR_PTR(link, "attach_sleepable_prog_to_iter")) in test_bpf_hash_map() 1352 if (!ASSERT_ERR_PTR(link, "attach_iter")) in test_rdonly_buf_out_of_bound() 1363 if (!ASSERT_ERR_PTR(skel, "bpf_iter_test_kern6__open_and_load")) in test_buf_neg_offset()
|
D | rbtree.c | 168 if (!ASSERT_ERR_PTR(skel, \
|
D | custom_sec_handlers.c | 156 ASSERT_ERR_PTR(skel->links.xyz, "xyz_attach"); in test_custom_sec_handlers()
|
D | bpf_tcp_ca.c | 337 ASSERT_ERR_PTR(rel_skel, "rel_skel"); in test_rel_setsockopt() 372 ASSERT_ERR_PTR(link, "attach_struct_ops"); in test_incompl_cong_ops()
|
D | for_each.c | 143 if (!ASSERT_ERR_PTR(skel, "for_each_map_elem_write_key__open_and_load")) in test_write_map_key()
|
D | cgroup_link.c | 145 if (!ASSERT_ERR_PTR(tmp_link, "cg_attach_fail")) { in serial_test_cgroup_link()
|
D | cgrp_local_storage.c | 168 if (!ASSERT_ERR_PTR(skel, "skel_open_and_load")) { in test_negative()
|
D | attach_probe.c | 255 ASSERT_ERR_PTR(skel->links.handle_kprobe_sleepable, "attach_kprobe_sleepable"); in test_kprobe_sleepable()
|