Lines Matching refs:space
1322 * verify that there is space for the data being inserted.
1337 long space;
1388 space = sbspace(&so->so_snd);
1390 space += 1024;
1394 if (space < resid + clen &&
1395 (atomic || space < (long)so->so_snd.sb_lowat || space < clen)) {
1477 register long space, len, resid;
1501 * However, space must be signed, as it might be less than 0
1503 * of space and resid. On the other hand, a negative resid
1530 space = sbspace(&so->so_snd) - clen + ((flags & MSG_OOB) ?
1550 bytes_to_copy = min(resid, space);
1691 space -= len;
1710 bytes_to_copy = min(resid, space);
1712 } while (space > 0 &&
1758 (resid > 0 && space > 0) ? PRUS_MORETOCOME : 0;
1835 } while (resid && space > 0);
1852 space, error);
1865 * we splx() while doing the actual copy to user space.