Lines Matching refs:bytes_to_alloc
2279 int bytes_to_alloc; in sosend() local
2283 bytes_to_alloc = bytes_to_copy; in sosend()
2285 bytes_to_alloc += headroom; in sosend()
2334 bytes_to_alloc > MBIGCLBYTES && in sosend()
2337 bytes_to_alloc / M16KCLBYTES; in sosend()
2339 if ((bytes_to_alloc - in sosend()
2357 bytes_to_alloc > MCLBYTES && in sosend()
2360 bytes_to_alloc / MBIGCLBYTES; in sosend()
2362 if ((bytes_to_alloc - in sosend()
2388 bytes_to_alloc > _MHLEN) || in sosend()
2389 bytes_to_alloc > _MLEN)) { in sosend()
2390 num_needed = ROUNDUP(bytes_to_alloc, MCLBYTES) / in sosend()
2402 bytes_to_alloc > MINCLSIZE) { in sosend()
2404 bytes_to_alloc / MCLBYTES; in sosend()
2406 if ((bytes_to_alloc - in sosend()
2437 if (SOCK_TYPE(so) != SOCK_STREAM || bytes_to_alloc <= MINCLSIZE) { in sosend()
2753 int bytes_to_alloc; in sosend_list() local
2801 bytes_to_alloc = (int) maxpktlen + headroom; in sosend_list()
2807 if (bytes_to_alloc > MCLBYTES && in sosend_list()
2808 bytes_to_alloc <= MBIGCLBYTES && bigcl) { in sosend_list()
2813 } else if (bytes_to_alloc > _MHLEN && in sosend_list()
2814 bytes_to_alloc <= MCLBYTES) { in sosend_list()
2822 bytes_to_alloc, NULL, M_WAIT, 1, 0); in sosend_list()