Home | History | Annotate | Download | only in slirp

Lines Matching full:sb_datalen

16  *	return SB_DATALEN - sb->sb_cc;
37 if(sb->sb_rptr >= sb->sb_data + sb->sb_datalen)
38 sb->sb_rptr -= sb->sb_datalen;
47 if (sb->sb_datalen != size) {
51 sb->sb_datalen = size;
53 sb->sb_datalen = 0;
59 sb->sb_datalen = size;
61 sb->sb_datalen = 0;
144 n = sb->sb_data + sb->sb_datalen - sb->sb_wptr;
159 if (sb->sb_wptr >= sb->sb_data + sb->sb_datalen)
160 sb->sb_wptr -= sb->sb_datalen;
174 if (from >= sb->sb_data + sb->sb_datalen)
175 from -= sb->sb_datalen;
182 off = (sb->sb_data + sb->sb_datalen) - from;