Searched refs:usedspace (Results 1 – 2 of 2) sorted by relevance
519 unsigned int freespace, usedspace; in SHA256_Update() local529 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()530 if (usedspace > 0) { in SHA256_Update()532 freespace = SHA256_BLOCK_LENGTH - usedspace; in SHA256_Update()536 bcopy(data, &context->buffer[usedspace], freespace); in SHA256_Update()543 bcopy(data, &context->buffer[usedspace], len); in SHA256_Update()546 usedspace = freespace = 0; in SHA256_Update()563 usedspace = freespace = 0; in SHA256_Update()568 unsigned int usedspace; in SHA256_Final() local575 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Final()[all …]
2212 uint32_t usedspace = lbuf_used_space(&tp->sendbuf); in tcp_do_segment() local2213 tp->snd_wnd -= usedspace; in tcp_do_segment()2214 poppedbytes = lbuf_pop(&tp->sendbuf, usedspace, &sig->links_popped); in tcp_do_segment()2215 KASSERT(poppedbytes == usedspace, ("Could not fully empty send buffer")); in tcp_do_segment()