sk_fds            170 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	int i, map_fd, err, *sk_fds;
sk_fds            172 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	sk_fds = malloc(sizeof(*sk_fds) * nr_sk_per_thread);
sk_fds            173 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	if (!sk_fds) {
sk_fds            179 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 		sk_fds[i] = -1;
sk_fds            187 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 			sk_fds[i] = socket(AF_INET6, SOCK_STREAM, 0);
sk_fds            188 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 			if (sk_fds[i] == -1) {
sk_fds            193 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 			err = bpf_map_update_elem(map_fd, &sk_fds[i], &value,
sk_fds            209 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 			close(sk_fds[i]);
sk_fds            210 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 			sk_fds[i] = -1;
sk_fds            216 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	free(sk_fds);
sk_fds            220 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	for (i = 0; i < nr_sk_per_thread && sk_fds[i] != -1; i++)
sk_fds            221 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 		close(sk_fds[i]);
sk_fds            222 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	free(sk_fds);
sk_fds             34 tools/testing/selftests/bpf/test_select_reuseport.c static int sk_fds[REUSEPORT_ARRAY_SIZE];
sk_fds            398 tools/testing/selftests/bpf/test_select_reuseport.c 	srv_fd = sk_fds[ev.data.u32];
sk_fds            536 tools/testing/selftests/bpf/test_select_reuseport.c 	err = setsockopt(sk_fds[0], SOL_SOCKET, SO_DETACH_REUSEPORT_BPF,
sk_fds            541 tools/testing/selftests/bpf/test_select_reuseport.c 	err = setsockopt(sk_fds[1], SOL_SOCKET, SO_DETACH_REUSEPORT_BPF,
sk_fds            596 tools/testing/selftests/bpf/test_select_reuseport.c 		sk_fds[i] = socket(family, type, 0);
sk_fds            597 tools/testing/selftests/bpf/test_select_reuseport.c 		CHECK(sk_fds[i] == -1, "socket()", "sk_fds[%d]:%d errno:%d\n",
sk_fds            598 tools/testing/selftests/bpf/test_select_reuseport.c 		      i, sk_fds[i], errno);
sk_fds            599 tools/testing/selftests/bpf/test_select_reuseport.c 		err = setsockopt(sk_fds[i], SOL_SOCKET, SO_REUSEPORT,
sk_fds            606 tools/testing/selftests/bpf/test_select_reuseport.c 			err = setsockopt(sk_fds[i], SOL_SOCKET,
sk_fds            614 tools/testing/selftests/bpf/test_select_reuseport.c 		err = bind(sk_fds[i], (struct sockaddr *)&srv_sa, addrlen);
sk_fds            619 tools/testing/selftests/bpf/test_select_reuseport.c 			err = listen(sk_fds[i], 10);
sk_fds            625 tools/testing/selftests/bpf/test_select_reuseport.c 		err = bpf_map_update_elem(reuseport_array, &i, &sk_fds[i],
sk_fds            633 tools/testing/selftests/bpf/test_select_reuseport.c 			err = getsockname(sk_fds[i], (struct sockaddr *)&srv_sa,
sk_fds            647 tools/testing/selftests/bpf/test_select_reuseport.c 		err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev);
sk_fds            680 tools/testing/selftests/bpf/test_select_reuseport.c 		close(sk_fds[i]);