Lines Matching refs:bytes_to_alloc
2280 int bytes_to_alloc; in sosend() local
2284 bytes_to_alloc = bytes_to_copy; in sosend()
2286 bytes_to_alloc += headroom; in sosend()
2335 bytes_to_alloc > MBIGCLBYTES && in sosend()
2338 bytes_to_alloc / M16KCLBYTES; in sosend()
2340 if ((bytes_to_alloc - in sosend()
2358 bytes_to_alloc > MCLBYTES && in sosend()
2361 bytes_to_alloc / MBIGCLBYTES; in sosend()
2363 if ((bytes_to_alloc - in sosend()
2389 bytes_to_alloc > _MHLEN) || in sosend()
2390 bytes_to_alloc > _MLEN)) { in sosend()
2391 num_needed = ROUNDUP(bytes_to_alloc, MCLBYTES) / in sosend()
2403 bytes_to_alloc > MINCLSIZE) { in sosend()
2405 bytes_to_alloc / MCLBYTES; in sosend()
2407 if ((bytes_to_alloc - in sosend()
2438 if (SOCK_TYPE(so) != SOCK_STREAM || bytes_to_alloc <= MINCLSIZE) { in sosend()
2754 int bytes_to_alloc; in sosend_list() local
2802 bytes_to_alloc = (int) maxpktlen + headroom; in sosend_list()
2808 if (bytes_to_alloc > MCLBYTES && in sosend_list()
2809 bytes_to_alloc <= MBIGCLBYTES && bigcl) { in sosend_list()
2814 } else if (bytes_to_alloc > _MHLEN && in sosend_list()
2815 bytes_to_alloc <= MCLBYTES) { in sosend_list()
2823 bytes_to_alloc, NULL, M_WAIT, 1, 0); in sosend_list()