Searched refs:syscallRetry (Results 1 – 1 of 1) sorted by relevance
/system/netd/libnetdutils/ |
D | Syscalls.cpp | 29 typename std::result_of<FnT(Params...)>::type syscallRetry(FnT fn, Params&&... params) { in syscallRetry() function 95 auto rv = syscallRetry(::connect, sock.get(), addr, addrlen); in connect() 122 auto rv = syscallRetry(::ppoll, fds, nfds, &ts, nullptr); in ppoll() 130 auto rv = syscallRetry(::writev, fd.get(), iov.data(), iov.size()); in writev() 138 auto rv = syscallRetry(::write, fd.get(), buf.base(), buf.size()); in write() 146 auto rv = syscallRetry(::read, fd.get(), buf.base(), buf.size()); in read() 155 auto rv = syscallRetry(::sendto, sock.get(), buf.base(), buf.size(), flags, dst, dstlen); in sendto() 164 auto rv = syscallRetry(::recvfrom, sock.get(), dst.base(), dst.size(), flags, src, srclen); in recvfrom()
|