Home
last modified time | relevance | path

Searched refs:kern_sync_rcu (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_btf.c43 kern_sync_rcu(); in do_test_normal_map_btf()
87 kern_sync_rcu(); in do_test_map_in_map_btf()
H A Dmap_kptr_race.c70 kern_sync_rcu(); in test_htab_leak()
131 kern_sync_rcu(); in test_percpu_htab_leak()
192 kern_sync_rcu(); in test_sk_ls_leak()
H A Dbpf_mod_race.c160 ASSERT_OK(kern_sync_rcu(), "kern_sync_rcu"); in test_bpf_mod_race_config()
179 ASSERT_OK(kern_sync_rcu(), "kern_sync_rcu"); in test_bpf_mod_race_config()
H A Dcgroup_iter.c244 /* Two kern_sync_rcu() and usleep() pairs are used to wait for the in test_walk_dead_self_only()
245 * releases of cgroup css, and the last kern_sync_rcu() and usleep() in test_walk_dead_self_only()
248 kern_sync_rcu(); in test_walk_dead_self_only()
250 kern_sync_rcu(); in test_walk_dead_self_only()
252 kern_sync_rcu(); in test_walk_dead_self_only()
H A Dmap_kptr.c168 ASSERT_OK(kern_sync_rcu(), "sync rcu"); in serial_test_map_kptr()
175 ASSERT_OK(kern_sync_rcu(), "sync rcu"); in serial_test_map_kptr()
H A Dxdp_devmap_attach.c70 kern_sync_rcu(); in test_xdp_with_devmap_helpers()
243 kern_sync_rcu(); in serial_test_xdp_devmap_attach()
H A Dxdp_cpumap_attach.c68 kern_sync_rcu(); in test_xdp_with_cpumap_helpers()
H A Dbpf_cookie.c414 kern_sync_rcu(); in tp_subtest()
487 kern_sync_rcu(); in pe_subtest()
H A Dfd_array.c320 if (!ASSERT_GE(kern_sync_rcu(), 0, "kern_sync_rcu 1")) in check_fd_array_cnt__referenced_btfs()
H A Dxdp_do_redirect.c237 kern_sync_rcu(); in test_xdp_do_redirect()
H A Dtask_local_storage.c75 /* kern_sync_rcu is not enough on its own as the read section we want in test_exit_creds()
81 kern_sync_rcu(); in test_exit_creds()
H A Dbpf_iter.c111 kern_sync_rcu(); in do_read_map_iter_fd()
112 kern_sync_rcu(); in do_read_map_iter_fd()
/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.h38 int kern_sync_rcu(void);
H A Dtesting_helpers.c375 if (kern_sync_rcu()) in try_unload_module()
455 int kern_sync_rcu(void) in kern_sync_rcu() function