Searched refs:rw_ti (Results 1 – 3 of 3) sorted by relevance
22 struct rw_thread_info *rw_ti; in rw_thread_info_new() local25 if (rw_ti == NULL) { in rw_thread_info_new()30 rw_ti->cpu_num = -1; in rw_thread_info_new()31 rw_ti->in_fd = -1; in rw_thread_info_new()32 rw_ti->out_fd = -1; in rw_thread_info_new()33 rw_ti->read_pipe = -1; in rw_thread_info_new()34 rw_ti->write_pipe = -1; in rw_thread_info_new()37 return rw_ti; in rw_thread_info_new()46 rw_ti->cpu_num = cpu; in rw_thread_init()50 if (rw_ti->in_fd == -1) { in rw_thread_init()[all …]
65 s->rw_ti[i] = rw_thread_info_new(); in agent_info_new()173 s->pipe_size, s->rw_ti[cpu]); in agent_info_init()225 rw_thread_per_cpu[cpu] = rw_thread_run(s->rw_ti[cpu]); in agent_main_loop()247 close(s->rw_ti[i]->in_fd); in agent_info_free()248 close(s->rw_ti[i]->out_fd); in agent_info_free()249 close(s->rw_ti[i]->read_pipe); in agent_info_free()250 close(s->rw_ti[i]->write_pipe); in agent_info_free()251 free(s->rw_ti[i]); in agent_info_free()
23 struct rw_thread_info *rw_ti[MAX_CPUS]; member60 struct rw_thread_info *rw_ti);61 extern pthread_t rw_thread_run(struct rw_thread_info *rw_ti);
Completed in 4 milliseconds