Searched refs:cmd_fdr (Results 1 – 1 of 1) sorted by relevance
80 int cmd_fdr, cmd_fdw; member151 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init()183 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd()184 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ts[h].cmd_fdr) < 0) { in init_cmd_fd()189 add_poll(h, ts[h].cmd_fdr, 0, SOCK_THREAD_FD_RD, 0); in init_cmd_fd()192 if (ts[h].cmd_fdr != -1) { in close_cmd_fd()193 close(ts[h].cmd_fdr); in close_cmd_fd()194 ts[h].cmd_fdr = -1; in close_cmd_fd()346 int fd = ts[h].cmd_fdr; in process_cmd_sock()459 asrt(pfds[0].fd == ts[h].cmd_fdr); in sock_poll_thread()