Searched refs:to_put (Results 1 – 1 of 1) sorted by relevance
104 size_t to_put; in SBPut() local110 to_put = MIN(len, buf->size - buf->len); in SBPut()111 if (to_put <= 0) { in SBPut()115 if (buf->tail_off + to_put < buf->size) { in SBPut()117 memcpy(buf->data + buf->tail_off, data, to_put); in SBPut()118 buf->tail_off += to_put; in SBPut()124 memcpy(buf->head + buf->len, data, to_put); in SBPut()125 buf->tail_off = buf->len + to_put; in SBPut()127 buf->len += to_put; in SBPut()128 buf->cum_len += to_put; in SBPut()[all …]