Lines Matching +full:wait +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0
11 int i, err, new_fd = -1; in do_test_normal_map_btf()
22 skel->bss->pid = getpid(); in do_test_normal_map_btf()
24 ASSERT_TRUE(skel->bss->done, "done"); in do_test_normal_map_btf()
33 new_fd = dup(bpf_map__fd(skel->maps.array)); in do_test_normal_map_btf()
38 /* Use kern_sync_rcu() to wait for the start of the free of the bpf in do_test_normal_map_btf()
39 * program and use an assumed delay to wait for the release of the map in do_test_normal_map_btf()
45 /* Spawn multiple kworkers to delay the invocation of in do_test_normal_map_btf()
58 int err, zero = 0, new_fd = -1; in do_test_map_in_map_btf()
69 skel->bss->pid = getpid(); in do_test_map_in_map_btf()
71 ASSERT_TRUE(skel->bss->done, "done"); in do_test_map_in_map_btf()
74 new_fd = dup(bpf_map__fd(skel->maps.inner_array)); in do_test_map_in_map_btf()
76 err = bpf_map__delete_elem(skel->maps.outer_array, &zero, sizeof(zero), 0); in do_test_map_in_map_btf()
82 /* Use kern_sync_rcu() to wait for the start of the free of the bpf in do_test_map_in_map_btf()
83 * program and use an assumed delay to wait for the free of the outer in do_test_map_in_map_btf()