Searched refs:payloadSize (Results 1 – 2 of 2) sorted by relevance
105 size_t i, payloadSize; in pmsgWrite() local157 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in pmsgWrite()159 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in pmsgWrite()161 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in pmsgWrite()162 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in pmsgWrite()166 payloadSize = LOGGER_ENTRY_MAX_PAYLOAD; in pmsgWrite()170 pmsgHeader.len += payloadSize; in pmsgWrite()
124 size_t i, payloadSize; in logdWrite() local211 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in logdWrite()213 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in logdWrite()215 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in logdWrite()216 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in logdWrite()