Lines Matching refs:bytes_to_alloc
2286 int bytes_to_alloc; in sosend() local
2290 bytes_to_alloc = bytes_to_copy; in sosend()
2292 bytes_to_alloc += headroom; in sosend()
2341 bytes_to_alloc > MBIGCLBYTES && in sosend()
2344 bytes_to_alloc / M16KCLBYTES; in sosend()
2346 if ((bytes_to_alloc - in sosend()
2364 bytes_to_alloc > MCLBYTES && in sosend()
2367 bytes_to_alloc / MBIGCLBYTES; in sosend()
2369 if ((bytes_to_alloc - in sosend()
2395 bytes_to_alloc > _MHLEN) || in sosend()
2396 bytes_to_alloc > _MLEN)) { in sosend()
2397 num_needed = ROUNDUP(bytes_to_alloc, MCLBYTES) / in sosend()
2409 bytes_to_alloc > MINCLSIZE) { in sosend()
2411 bytes_to_alloc / MCLBYTES; in sosend()
2413 if ((bytes_to_alloc - in sosend()
2444 if (SOCK_TYPE(so) != SOCK_STREAM || bytes_to_alloc <= MINCLSIZE) { in sosend()
2760 int bytes_to_alloc; in sosend_list() local
2808 bytes_to_alloc = (int) maxpktlen + headroom; in sosend_list()
2814 if (bytes_to_alloc > MCLBYTES && in sosend_list()
2815 bytes_to_alloc <= MBIGCLBYTES && bigcl) { in sosend_list()
2820 } else if (bytes_to_alloc > _MHLEN && in sosend_list()
2821 bytes_to_alloc <= MCLBYTES) { in sosend_list()
2829 bytes_to_alloc, NULL, M_WAIT, 1, 0); in sosend_list()