Searched refs:ctl_fd (Results 1 – 3 of 3) sorted by relevance
36 int ctl_fd; in rw_ctl_init() local38 ctl_fd = open(ctl_path, O_RDONLY); in rw_ctl_init()39 if (ctl_fd == -1) { in rw_ctl_init()44 return ctl_fd; in rw_ctl_init()50 static int wait_order(int ctl_fd) in wait_order() argument56 poll_fd.fd = ctl_fd; in wait_order()91 void *rw_ctl_loop(int ctl_fd) in rw_ctl_loop() argument104 ret = wait_order(ctl_fd); in rw_ctl_loop()108 rlen = read(ctl_fd, buf, sizeof(buf)); in rw_ctl_loop()
22 int ctl_fd; member54 extern void *rw_ctl_loop(int ctl_fd);
63 s->ctl_fd = -1; in agent_info_new()179 s->ctl_fd = rw_ctl_init((const char *)CTL_PATH); in agent_info_init()229 rw_ctl_loop(s->ctl_fd); in agent_main_loop()247 close(s->ctl_fd); in agent_info_free()