Lines Matching refs:cl_fds
326 static int *cl_fds; variable
1034 cl_fds = calloc(ncpus, sizeof(*cl_fds)); in open_client_connections()
1038 cl_fds[cpu] = net_setup_client(); in open_client_connections()
1039 if (cl_fds[cpu] < 0) in open_client_connections()
1046 close(cl_fds[cpu--]); in open_client_connections()
1047 free(cl_fds); in open_client_connections()
1053 if (cl_fds) { in close_client_connections()
1057 for (cpu = 0, fdp = cl_fds; cpu < max_cpus; cpu++, fdp++) { in close_client_connections()
1065 free(cl_fds); in close_client_connections()
1301 int fd = cl_fds[tbp->cpu]; in flush_subbuf_net()
1326 if (cl_fds[tbp->cpu] >= 0) { in handle_list_net()
1328 close(cl_fds[tbp->cpu]); in handle_list_net()
1329 cl_fds[tbp->cpu] = -1; in handle_list_net()
1701 net_send_open(cl_fds[tp->cpu], tp->cpu, dpp->buts_name); in open_ios()