Lines Matching refs:bytes_to_alloc
2299 int bytes_to_alloc; in sosend() local
2303 bytes_to_alloc = bytes_to_copy; in sosend()
2305 bytes_to_alloc += headroom; in sosend()
2354 bytes_to_alloc > MBIGCLBYTES && in sosend()
2357 bytes_to_alloc / M16KCLBYTES; in sosend()
2359 if ((bytes_to_alloc - in sosend()
2377 bytes_to_alloc > MCLBYTES && in sosend()
2380 bytes_to_alloc / MBIGCLBYTES; in sosend()
2382 if ((bytes_to_alloc - in sosend()
2408 bytes_to_alloc > _MHLEN) || in sosend()
2409 bytes_to_alloc > _MLEN)) { in sosend()
2410 num_needed = ROUNDUP(bytes_to_alloc, MCLBYTES) / in sosend()
2422 bytes_to_alloc > MINCLSIZE) { in sosend()
2424 bytes_to_alloc / MCLBYTES; in sosend()
2426 if ((bytes_to_alloc - in sosend()
2457 if (SOCK_TYPE(so) != SOCK_STREAM || bytes_to_alloc <= MINCLSIZE) { in sosend()
2788 int bytes_to_alloc; in sosend_list() local
2836 bytes_to_alloc = (int) maxpktlen + headroom; in sosend_list()
2842 if (bytes_to_alloc > MCLBYTES && in sosend_list()
2843 bytes_to_alloc <= MBIGCLBYTES && bigcl) { in sosend_list()
2848 } else if (bytes_to_alloc > _MHLEN && in sosend_list()
2849 bytes_to_alloc <= MCLBYTES) { in sosend_list()
2857 bytes_to_alloc, NULL, M_WAIT, 1, 0); in sosend_list()