Searched refs:sk_storage_map (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | local_storage.c | 37 } sk_storage_map SEC(".maps"); 117 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG() 133 err = bpf_sk_storage_delete(&sk_storage_map, sock->sk); in BPF_PROG() 154 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
|
/Linux-v6.1/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 34 static int sk_storage_map = -1; variable 95 while (READ_ONCE(sk_storage_map) == -1 && !is_stopped()) in wait_for_map() 103 while (READ_ONCE(sk_storage_map) != -1 && !is_stopped()) in wait_for_map_close() 181 map_fd = READ_ONCE(sk_storage_map); in insert_close_thread() 247 WRITE_ONCE(sk_storage_map, map_fd); in do_sk_storage_map_stress_free() 252 WRITE_ONCE(sk_storage_map, -1); in do_sk_storage_map_stress_free() 283 int map_fd = READ_ONCE(sk_storage_map); in update_thread() 307 int map_fd = READ_ONCE(sk_storage_map); in delete_thread() 348 WRITE_ONCE(sk_storage_map, map_fd); in do_sk_storage_map_stress_change()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | test_local_storage.c | 172 if (!check_syscall_operations(bpf_map__fd(skel->maps.sk_storage_map), in test_test_local_storage()
|