Searched refs:s_len (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/bsd/kern/
H A Dsubr_sbuf.c77 #define SBUF_HASROOM(s) ((s)->s_len < (s)->s_size - 1)
78 #define SBUF_FREESPACE(s) ((s)->s_size - (s)->s_len - 1)
102 KASSERT(s->s_len < s->s_size,
103 ("wrote past end of sbuf (%d >= %d)", s->s_len, s->s_size));
227 s->s_len = s->s_size - 1;
244 s->s_len = 0;
262 if (pos < 0 || pos > s->s_len)
264 s->s_len = pos;
285 s->s_buf[s->s_len++] = *str++;
313 if (copyin(uaddr, s->s_buf + s->s_len, le
[all...]
/vbox/src/VBox/Devices/Network/slirp/bsd/sys/
H A Dsbuf.h47 int s_len; /* current length of string */ member in struct:sbuf

Completed in 752 milliseconds