| /external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
| D | bpf_loop.c | 8 static void check_nr_loops(struct bpf_loop *skel) in check_nr_loops() 43 static void check_callback_fn_stop(struct bpf_loop *skel) in check_callback_fn_stop() 65 static void check_null_callback_ctx(struct bpf_loop *skel) in check_null_callback_ctx() 84 static void check_invalid_flags(struct bpf_loop *skel) in check_invalid_flags() 100 static void check_nested_calls(struct bpf_loop *skel) in check_nested_calls() 125 struct bpf_loop *skel; in test_bpf_loop() local
|
| D | find_vma.c | 10 static void test_and_reset_skel(struct find_vma *skel, int expected_find_zero_ret) in test_and_reset_skel() 39 static void test_find_vma_pe(struct find_vma *skel) in test_find_vma_pe() 69 static void test_find_vma_kprobe(struct find_vma *skel) in test_find_vma_kprobe() 83 struct find_vma_fail1 *skel; in test_illegal_write_vma() local 92 struct find_vma_fail2 *skel; in test_illegal_write_task() local 101 struct find_vma *skel; in serial_test_find_vma() local
|
| D | atomics.c | 7 static void test_add(struct atomics_lskel *skel) in test_add() 39 static void test_sub(struct atomics_lskel *skel) in test_sub() 72 static void test_and(struct atomics_lskel *skel) in test_and() 100 static void test_or(struct atomics_lskel *skel) in test_or() 129 static void test_xor(struct atomics_lskel *skel) in test_xor() 157 static void test_cmpxchg(struct atomics_lskel *skel) in test_cmpxchg() 186 static void test_xchg(struct atomics_lskel *skel) in test_xchg() 215 struct atomics_lskel *skel; in test_atomics() local
|
| D | bpf_iter.c | 34 struct bpf_iter_test_kern3 *skel; in test_btf_id_or_null() local 87 struct bpf_iter_ipv6_route *skel; in test_ipv6_route() local 101 struct bpf_iter_netlink *skel; in test_netlink() local 115 struct bpf_iter_bpf_map *skel; in test_bpf_map() local 129 struct bpf_iter_task *skel; in test_task() local 143 struct bpf_iter_task_stack *skel; in test_task_stack() local 163 struct bpf_iter_task_file *skel; in test_task_file() local 195 static int do_btf_read(struct bpf_iter_task_btf *skel) in do_btf_read() 236 struct bpf_iter_task_btf *skel; in test_task_btf() local 263 struct bpf_iter_tcp4 *skel; in test_tcp4() local [all …]
|
| D | test_strncmp.c | 6 static int trigger_strncmp(const struct strncmp_test *skel) in trigger_strncmp() 24 static void strncmp_full_str_cmp(struct strncmp_test *skel, const char *name, in strncmp_full_str_cmp() 46 struct strncmp_test *skel; in test_strncmp_ret() local 93 struct strncmp_test *skel; in test_strncmp_bad_not_const_str_size() local 115 struct strncmp_test *skel; in test_strncmp_bad_writable_target() local 137 struct strncmp_test *skel; in test_strncmp_bad_not_null_term_target() local
|
| D | ksyms_btf.c | 20 struct test_ksyms_btf *skel = NULL; in test_basic() local 79 struct test_ksyms_btf_null_check *skel; in test_null_check() local 89 struct test_ksyms_weak *skel; in test_weak_syms() local 116 struct test_ksyms_weak_lskel *skel; in test_weak_syms_lskel() local 143 struct test_ksyms_btf_write_check *skel; in test_write_check() local
|
| D | bpf_cookie.c | 11 static void kprobe_subtest(struct test_bpf_cookie *skel) in kprobe_subtest() 60 static void uprobe_subtest(struct test_bpf_cookie *skel) in uprobe_subtest() 114 static void tp_subtest(struct test_bpf_cookie *skel) in tp_subtest() 183 static void pe_subtest(struct test_bpf_cookie *skel) in pe_subtest() 236 struct test_bpf_cookie *skel; in test_bpf_cookie() local
|
| D | lookup_and_delete.c | 47 struct test_lookup_and_delete *skel; in setup_prog() local 78 static int trigger_tp(struct test_lookup_and_delete *skel, __u64 key, in trigger_tp() 100 struct test_lookup_and_delete *skel; in test_lookup_and_delete_hash() local 135 struct test_lookup_and_delete *skel; in test_lookup_and_delete_percpu_hash() local 174 struct test_lookup_and_delete *skel; in test_lookup_and_delete_lru_hash() local 219 struct test_lookup_and_delete *skel; in test_lookup_and_delete_lru_percpu_hash() local
|
| D | task_local_storage.c | 15 struct task_local_storage *skel; in test_sys_enter_exit() local 41 struct task_local_storage_exit_creds *skel; in test_exit_creds() local 66 struct task_ls_recursion *skel; in test_recursion() local
|
| D | check_mtu.c | 43 struct test_check_mtu *skel; in test_check_mtu_xdp_attach() local 78 static void test_check_mtu_run_xdp(struct test_check_mtu *skel, in test_check_mtu_run_xdp() 113 struct test_check_mtu *skel; in test_check_mtu_xdp() local 138 static void test_check_mtu_run_tc(struct test_check_mtu *skel, in test_check_mtu_run_tc() 173 struct test_check_mtu *skel; in test_check_mtu_tc() local
|
| D | dummy_st_ops.c | 13 struct dummy_st_ops *skel; in test_dummy_st_ops_attach() local 33 struct dummy_st_ops *skel; in test_dummy_init_ret_value() local 60 struct dummy_st_ops *skel; in test_dummy_init_ptr_arg() local 84 struct dummy_st_ops *skel; in test_dummy_multiple_args() local
|
| D | kfunc_call.c | 11 struct kfunc_call_test_lskel *skel; in test_main() local 35 struct kfunc_call_test_subprog *skel; in test_subprog() local 55 struct kfunc_call_test_subprog_lskel *skel; in test_subprog_lskel() local
|
| D | bloom_filter_map.c | 83 static void check_bloom(struct bloom_filter_map *skel) in check_bloom() 98 static void test_inner_map(struct bloom_filter_map *skel, const __u32 *rand_vals, in test_inner_map() 145 struct bloom_filter_map *skel; in setup_progs() local 197 struct bloom_filter_map *skel; in test_bloom_filter_map() local
|
| D | map_init.c | 41 struct test_map_init *skel; in setup() local 78 static int prog_run_insert_elem(struct test_map_init *skel, map_key_t key, in prog_run_insert_elem() 132 struct test_map_init *skel; in test_pcpu_map_init() local 172 struct test_map_init *skel; in test_pcpu_lru_map_init() local
|
| D | sockmap_basic.c | 113 struct test_skmsg_load_helpers *skel; in test_skmsg_helpers() local 144 struct test_sockmap_update *skel; in test_sockmap_update() local 191 struct test_sockmap_invalid_update *skel; in test_sockmap_invalid_update() local 205 struct bpf_iter_sockmap *skel; in test_sockmap_copy() local 288 struct test_sockmap_skb_verdict_attach *skel; in test_sockmap_skb_verdict_attach() local
|
| D | migrate_reuseport.c | 186 struct test_migrate_reuseport *skel) in drop_ack() 217 struct test_migrate_reuseport *skel) in start_servers() 322 struct test_migrate_reuseport *skel) in update_maps() 408 struct test_migrate_reuseport *skel) in count_requests() 457 struct test_migrate_reuseport *skel) in run_test() 546 struct test_migrate_reuseport *skel; in serial_test_migrate_reuseport() local
|
| D | btf_tag.c | 14 struct btf_decl_tag *skel; in test_btf_decl_tag() local 30 struct btf_type_tag *skel; in test_btf_type_tag() local
|
| D | ksyms_module.c | 11 struct test_ksyms_module_lskel *skel; in test_ksyms_module_lskel() local 35 struct test_ksyms_module *skel; in test_ksyms_module_libbpf() local
|
| D | sk_lookup.c | 515 static void query_lookup_prog(struct test_sk_lookup *skel) in query_lookup_prog() 671 static void test_redirect_lookup(struct test_sk_lookup *skel) in test_redirect_lookup() 908 static void test_drop_on_lookup(struct test_sk_lookup *skel) in test_drop_on_lookup() 1034 static void test_drop_on_reuseport(struct test_sk_lookup *skel) in test_drop_on_reuseport() 1082 static void run_sk_assign(struct test_sk_lookup *skel, in run_sk_assign() 1135 static void run_sk_assign_v4(struct test_sk_lookup *skel, in run_sk_assign_v4() 1141 static void run_sk_assign_v6(struct test_sk_lookup *skel, in run_sk_assign_v6() 1147 static void run_sk_assign_connected(struct test_sk_lookup *skel, in run_sk_assign_connected() 1188 static void test_sk_assign_helper(struct test_sk_lookup *skel) in test_sk_assign_helper() 1287 static void test_multi_prog_lookup(struct test_sk_lookup *skel) in test_multi_prog_lookup() [all …]
|
| D | perf_branches.c | 10 static void check_good_sample(struct test_perf_branches *skel) in check_good_sample() 41 static void check_bad_sample(struct test_perf_branches *skel) in check_bad_sample() 63 struct test_perf_branches *skel; in test_perf_branches_common() local
|
| D | d_path.c | 107 struct test_d_path *skel; in test_d_path_basic() local 163 struct test_d_path_check_rdonly_mem *skel; in test_d_path_check_rdonly_mem() local 173 struct test_d_path_check_types *skel; in test_d_path_check_types() local
|
| D | probe_read_user_str.c | 9 static int test_one_str(struct test_probe_read_user_str *skel, const char *str, in test_one_str() 46 struct test_probe_read_user_str *skel; in test_probe_read_user_str() local
|
| D | xdp_devmap_attach.c | 13 struct test_xdp_with_devmap_helpers *skel; in test_xdp_with_devmap_helpers() local 65 struct test_xdp_devmap_helpers *skel; in test_neg_xdp_devmap_helpers() local
|
| D | test_lsm.c | 54 static int test_lsm(struct lsm *skel) in test_lsm() 99 struct lsm *skel = NULL; in test_test_lsm() local
|
| D | for_each.c | 13 struct for_each_hash_map_elem *skel; in test_hash_map() local 74 struct for_each_array_map_elem *skel; in test_array_map() local
|