Searched refs:sk_storage_map (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/progs/ |
| D | local_storage.c | 38 } sk_storage_map SEC(".maps"); 115 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG() 125 err = bpf_sk_storage_delete(&sk_storage_map, sock->sk); in BPF_PROG() 142 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
|
| /Linux-v5.15/tools/testing/selftests/bpf/map_tests/ |
| D | sk_storage_map.c | 38 static int sk_storage_map = -1; variable 99 while (READ_ONCE(sk_storage_map) == -1 && !is_stopped()) in wait_for_map() 107 while (READ_ONCE(sk_storage_map) != -1 && !is_stopped()) in wait_for_map_close() 185 map_fd = READ_ONCE(sk_storage_map); in insert_close_thread() 251 WRITE_ONCE(sk_storage_map, map_fd); in do_sk_storage_map_stress_free() 256 WRITE_ONCE(sk_storage_map, -1); in do_sk_storage_map_stress_free() 287 int map_fd = READ_ONCE(sk_storage_map); in update_thread() 311 int map_fd = READ_ONCE(sk_storage_map); in delete_thread() 352 WRITE_ONCE(sk_storage_map, map_fd); in do_sk_storage_map_stress_change()
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | test_local_storage.c | 188 if (!check_syscall_operations(bpf_map__fd(skel->maps.sk_storage_map), in test_test_local_storage()
|