Lines Matching refs:num_fds
40 unsigned int num_fds; member
91 for (j = 0; j < ctx->num_fds; j++) { in sender()
193 unsigned int num_fds, in group() argument
199 + num_fds * sizeof(int)); in group()
204 for (i = 0; i < num_fds; i++) { in group()
215 ctx->num_packets = num_fds * nr_loops; in group()
229 for (i = 0; i < num_fds; i++) { in group()
232 snd_ctx->num_fds = num_fds; in group()
234 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender); in group()
239 for (i = 0; i < num_fds; i++) in group()
243 return num_fds * 2; in group()
265 unsigned int num_fds = 20; in bench_sched_messaging() local
273 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in bench_sched_messaging()
282 total_children += group(pth_tab+total_children, num_fds, in bench_sched_messaging()
307 num_fds, thread_mode ? "threads" : "processes"); in bench_sched_messaging()
309 num_groups, num_groups * 2 * num_fds, in bench_sched_messaging()