Lines Matching refs:num_pipes
71 static int num_pipes, num_active, num_writes; variable
89 if (widx >= num_pipes) in read_cb()
90 widx -= num_pipes; in read_cb()
106 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
116 space = num_pipes / num_active; in run_once()
159 num_pipes = 100;
161 num_writes = num_pipes;
165 num_pipes = atoi(optarg);
190 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
197 events = calloc(num_pipes, sizeof(struct event));
198 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
215 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {