Lines Matching defs:num_fds
76 unsigned int num_fds;
139 for (j = 0; j < ctx->num_fds; j++) {
239 unsigned int num_fds, int ready_out, int wakefd)
242 struct sender_context *snd_ctx = malloc(sizeof(struct sender_context) + num_fds * sizeof(int));
248 for (i = 0; i < num_fds; i++) {
255 rev_ctx_tab[gr_num * num_fds + i] = ctx;
260 ctx->num_packets = num_fds * loops;
274 for (i = 0; i < num_fds; i++) {
277 snd_ctx->num_fds = num_fds;
279 pth[num_fds + i] =
285 for (i = 0; i < num_fds; i++)
290 return num_fds * 2;
297 unsigned int num_fds = 20;
328 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t));
330 rev_ctx_tab = malloc(num_groups * num_fds * sizeof(void *));
340 group(pth_tab + total_children, num_fds, readyfds[1],
366 for (j = 0; j < num_fds; j++) {
367 SAFE_FREE(rev_ctx_tab[i * num_fds + j])