Lines Matching refs:M_CONNECTIONS
118 unsigned M_CONNECTIONS = 0; variable
690 assert(conn_no >= 0 && conn_no < M_CONNECTIONS); in handle_transaction()
1081 M_CONNECTIONS = atoi_with_bound(strchr(argv[i], '=') + 1, 5000); in main()
1082 if (M_CONNECTIONS <= 0 || M_CONNECTIONS > M_CONNECTIONS_MAX) in main()
1093 if (M_CONNECTIONS == 0) // nothing specified on command line in main()
1094 M_CONNECTIONS = M_CONNECTIONS_DEFAULT; in main()
1096 conn_state = my_malloc(M_CONNECTIONS * sizeof conn_state[0]); in main()
1102 memset(conn_state, 0, M_CONNECTIONS * sizeof conn_state[0]); in main()
1131 res = listen(main_sd, M_CONNECTIONS); in main()
1168 for (i = 0; i < M_CONNECTIONS; i++) in main()
1172 if (i >= M_CONNECTIONS) { in main()
1176 M_CONNECTIONS); in main()
1200 tmp_pollfd = my_malloc(M_CONNECTIONS * sizeof tmp_pollfd[0]); in main()
1207 my_malloc(M_CONNECTIONS * sizeof tmp_pollfd_to_conn_state[0]); in main()
1210 for (i = 0; i < M_CONNECTIONS; i++) { in main()