Lines Matching refs:space
222 * connection is possible (subject to space constraints, etc.)
556 * buffer space to the socket, by calling sbreserve(). This should commit
557 * some of the available buffer space in the system buffer pool for the
558 * socket (currently, it does nothing but enforce limits). The space
608 * Free mbufs held by a socket, and reserved mbuf space.
625 * space is available, comparing the function sbspace() with the amount
633 * for the caller that there will be enough space to store the data.
634 * Each fails if there is not enough space, or if it cannot find mbufs
646 * socket buffer sb. The additional space associated
808 int space = 0;
817 space += m->m_len;
819 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) {
929 * Returns 0 if no space in sockbuf or insufficient mbufs.
931 * Returns: 0 No space/out of mbufs
939 int space = asa->sa_len;
945 space += m0->m_pkthdr.len;
947 space += n->m_len;
951 if (space > sbspace(sb))
989 * Returns: 0 Error: No space/out of mbufs/etc.
1055 int space = 0;
1061 space += m->m_len;
1067 space += m->m_len;
1068 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX))
1570 * How much space is there in a socket buffer (so->so_snd or so->so_rcv)?
1571 * This is problematical if the fields are unsigned, as the space might