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