Lines Matching refs:bytes_to_alloc
2277 int bytes_to_alloc; in sosend() local
2281 bytes_to_alloc = bytes_to_copy; in sosend()
2283 bytes_to_alloc += headroom; in sosend()
2332 bytes_to_alloc > MBIGCLBYTES && in sosend()
2335 bytes_to_alloc / M16KCLBYTES; in sosend()
2337 if ((bytes_to_alloc - in sosend()
2355 bytes_to_alloc > MCLBYTES && in sosend()
2358 bytes_to_alloc / MBIGCLBYTES; in sosend()
2360 if ((bytes_to_alloc - in sosend()
2386 bytes_to_alloc > _MHLEN) || in sosend()
2387 bytes_to_alloc > _MLEN)) { in sosend()
2388 num_needed = ROUNDUP(bytes_to_alloc, MCLBYTES) / in sosend()
2400 bytes_to_alloc > MINCLSIZE) { in sosend()
2402 bytes_to_alloc / MCLBYTES; in sosend()
2404 if ((bytes_to_alloc - in sosend()
2435 if (SOCK_TYPE(so) != SOCK_STREAM || bytes_to_alloc <= MINCLSIZE) { in sosend()
2751 int bytes_to_alloc; in sosend_list() local
2799 bytes_to_alloc = (int) maxpktlen + headroom; in sosend_list()
2805 if (bytes_to_alloc > MCLBYTES && in sosend_list()
2806 bytes_to_alloc <= MBIGCLBYTES && bigcl) { in sosend_list()
2811 } else if (bytes_to_alloc > _MHLEN && in sosend_list()
2812 bytes_to_alloc <= MCLBYTES) { in sosend_list()
2820 bytes_to_alloc, NULL, M_WAIT, 1, 0); in sosend_list()