Searched refs:mSock (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | NetlinkManager.cpp | 61 if ((mSock = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, in start() 67 if (setsockopt(mSock, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)) < 0) { in start() 72 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) { in start() 77 if (bind(mSock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in start() 82 mHandler = new NetlinkHandler(mSock); in start() 91 close(mSock); in start() 105 close(mSock); in stop() 106 mSock = -1; in stop()
|
D | NetlinkManager.h | 32 int mSock; variable
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 50 mSock = socketFd; in init() 57 if (mSocketName && mSock > -1) in ~SocketListener() 58 close(mSock); in ~SocketListener() 78 if (!mSocketName && mSock == -1) { in startListener() 83 if ((mSock = android_get_control_socket(mSocketName)) < 0) { in startListener() 88 SLOGV("got mSock = %d for %s", mSock, mSocketName); in startListener() 89 fcntl(mSock, F_SETFD, FD_CLOEXEC); in startListener() 92 if (mListen && listen(mSock, backlog) < 0) { in startListener() 96 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); in startListener() 131 if (mSocketName && mSock > -1) { in stopListener() [all …]
|
/system/core/include/sysutils/ |
D | SocketListener.h | 27 int mSock; variable
|