Searched refs:payloadSize (Results 1 – 4 of 4) sorted by relevance
67 size_t i, payloadSize; in PmsgWrite() local127 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in PmsgWrite()129 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite()131 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in PmsgWrite()132 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()136 payloadSize = LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()140 pmsgHeader.len += payloadSize; in PmsgWrite()
93 size_t i, payloadSize; in LogdWrite() local158 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in LogdWrite()160 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite()162 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in LogdWrite()163 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite()
162 size_t i, payloadSize; in statsdWrite() local226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()