Searched refs:signal_fds (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/udrv/ulinux/ |
D | uipc.cc | 187 memset(&uipc.signal_fds, 0, sizeof(uipc.signal_fds)); in uipc_main_init() 191 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc.signal_fds) < 0) { in uipc_main_init() 195 FD_SET(uipc.signal_fds[0], &uipc.active_set); in uipc_main_init() 196 uipc.max_fd = MAX(uipc.max_fd, uipc.signal_fds[0]); in uipc_main_init() 214 close(uipc.signal_fds[0]); in uipc_main_cleanup() 215 close(uipc.signal_fds[1]); in uipc_main_cleanup() 278 if (SAFE_FD_ISSET(uipc.signal_fds[0], &uipc.read_set)) { in uipc_check_interrupt_locked() 281 recv(uipc.signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL)); in uipc_check_interrupt_locked() 289 OSI_NO_INTR(send(uipc.signal_fds[1], &sig_on, sizeof(sig_on), 0)); in uipc_wakeup_locked()
|
/packages/modules/Bluetooth/system/udrv/include/ |
D | uipc.h | 80 int signal_fds[2]; member
|