Lines Matching refs:srvfd
204 p->srvfd = UIPC_DISCONNECTED; in uipc_main_init()
245 if (SAFE_FD_ISSET(uipc.ch[ch_id].srvfd, &uipc.read_set)) { in uipc_check_fd_locked()
256 uipc.ch[ch_id].fd = accept_server_socket(uipc.ch[ch_id].srvfd); in uipc_check_fd_locked()
323 uipc.ch[ch_id].srvfd = fd; in uipc_setup_server_locked()
393 if (uipc.ch[ch_id].srvfd != UIPC_DISCONNECTED) { in uipc_close_ch_locked()
394 BTIF_TRACE_EVENT("CLOSE SERVER (FD %d)", uipc.ch[ch_id].srvfd); in uipc_close_ch_locked()
395 close(uipc.ch[ch_id].srvfd); in uipc_close_ch_locked()
396 FD_CLR(uipc.ch[ch_id].srvfd, &uipc.active_set); in uipc_close_ch_locked()
397 uipc.ch[ch_id].srvfd = UIPC_DISCONNECTED; in uipc_close_ch_locked()
419 if (uipc.ch[ch_id].srvfd == UIPC_DISCONNECTED) { in uipc_close_locked()
552 if (uipc.ch[ch_id].srvfd != UIPC_DISCONNECTED) { in UIPC_Open()