Lines Matching refs:M_CONNECTIONS
120 unsigned M_CONNECTIONS = 0;
692 assert(conn_no >= 0 && conn_no < M_CONNECTIONS);
1083 M_CONNECTIONS = atoi_with_bound(strchr(argv[i], '=') + 1, 5000);
1084 if (M_CONNECTIONS <= 0 || M_CONNECTIONS > M_CONNECTIONS_MAX)
1095 if (M_CONNECTIONS == 0) // nothing specified on command line
1096 M_CONNECTIONS = M_CONNECTIONS_DEFAULT;
1098 conn_state = my_malloc(M_CONNECTIONS * sizeof conn_state[0]);
1104 memset(conn_state, 0, M_CONNECTIONS * sizeof conn_state[0]);
1133 res = listen(main_sd, M_CONNECTIONS);
1170 for (i = 0; i < M_CONNECTIONS; i++)
1174 if (i >= M_CONNECTIONS) {
1178 M_CONNECTIONS);
1202 tmp_pollfd = my_malloc(M_CONNECTIONS * sizeof tmp_pollfd[0]);
1209 my_malloc(M_CONNECTIONS * sizeof tmp_pollfd_to_conn_state[0]);
1212 for (i = 0; i < M_CONNECTIONS; i++) {