Lines Matching refs:num_pipes
69 static int num_pipes, num_active, num_writes; variable
86 if (widx >= num_pipes) in read_cb()
87 widx -= num_pipes; in read_cb()
103 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
113 space = num_pipes / num_active; in run_once()
150 num_pipes = 100;
152 num_writes = num_pipes;
156 num_pipes = atoi(optarg);
171 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
178 events = calloc(num_pipes, sizeof(struct event));
179 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
187 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {