Lines Matching refs:s_fdCommand
157 static int s_fdCommand = -1;
1544 int fd = s_fdCommand;
1548 if (s_fdCommand < 0) {
2759 assert(fd == s_fdCommand);
2785 close(s_fdCommand);
2786 s_fdCommand = -1;
2846 assert (s_fdCommand < 0);
2849 s_fdCommand = accept(s_fdListen, (sockaddr *) &peeraddr, &socklen);
2851 if (s_fdCommand < 0 ) {
2864 err = getsockopt(s_fdCommand, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds);
2885 close(s_fdCommand);
2886 s_fdCommand = -1;
2896 ret = fcntl(s_fdCommand, F_SETFL, O_NONBLOCK);
2904 p_rs = record_stream_new(s_fdCommand, MAX_COMMAND_BYTES);
2906 ril_event_set (&s_commands_event, s_fdCommand, 1,
2978 close(s_fdCommand);
2979 s_fdCommand = -1;
3323 if (s_fdCommand < 0) {