Home
last modified time | relevance | path

Searched refs:sb_cc (Results 1 – 11 of 11) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_var.h91 …bspace(asoc, sb) ((long) ((sctp_maxspace(sb) > (asoc)->sb_cc) ? (sctp_maxspace(sb) - (asoc)->sb_cc
93 …pace_failedmsgs(sb) ((long) ((sctp_maxspace(sb) > (sb)->sb_cc) ? (sctp_maxspace(sb) - (sb)->sb_cc)…
208 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_cc, SCTP_BUF_LEN((m))); \
211 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \
220 atomic_add_int(&(sb)->sb_cc,SCTP_BUF_LEN((m))); \
223 atomic_add_int(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \
253 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_cc, SCTP_BUF_LEN((m))); \
256 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \
262 atomic_add_int(&(sb)->sb_cc, SCTP_BUF_LEN((m))); \
265 atomic_add_int(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \
Dsctputil.h300 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { \
301 atomic_subtract_int(&((stcb)->sctp_socket->so_snd.sb_cc), tp1->book_size); \
303 stcb->sctp_socket->so_snd.sb_cc = 0; \
321 if (stcb->sctp_socket->so_snd.sb_cc >= sp->length) { \
322 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc,sp->length); \
324 stcb->sctp_socket->so_snd.sb_cc = 0; \
336 atomic_add_int(&stcb->sctp_socket->so_snd.sb_cc,sz); \
Dsctputil.c95 sctp_clog.x.sb.so_sbcc = sb->sb_cc; in sctp_sblog()
97 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; in sctp_sblog()
5518 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) {
5519 stcb->sctp_socket->so_snd.sb_cc -= tp1->book_size;
5521 stcb->sctp_socket->so_snd.sb_cc = 0;
6139 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio->uio_resid);
6142 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio_resid(uio));
6146 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, (uint32_t)uio->uio_resid);
6157 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio->uio_resid);
6160 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio_resid(uio));
[all …]
Dsctp_os_userspace.h960 (sb).sb_cc = 0; \
Dsctp_structs.h1063 uint32_t sb_cc; /* shadow of sb_cc */ member
Dsctp_usrreq.c823 (so->so_rcv.sb_cc > 0)) {
826 (so->so_rcv.sb_cc > 0)) {
894 (so->so_rcv.sb_cc > 0)) {
897 (so->so_rcv.sb_cc > 0)) {
1101 (so->so_rcv.sb_cc > 0)) {
1105 (so->so_rcv.sb_cc > 0)) {
1249 so->so_rcv.sb_cc = 0;
1257 so->so_snd.sb_cc = 0;
Dsctp_indata.c104 if (stcb->asoc.sb_cc == 0 && in sctp_calc_rwnd()
1963 if (stcb->sctp_socket->so_rcv.sb_cc) { in sctp_process_a_data_chunk()
Dsctp_pcb.c3986 (so && (so->so_rcv.sb_cc > 0))) {
4198 so->so_rcv.sb_cc -= sq->length;
Dsctp_output.c7825 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc, sp->length);
12368 stcb->sctp_socket->so_rcv.sb_cc);
Dsctp_input.c1150 stcb->sctp_socket->so_snd.sb_cc = 0; in sctp_handle_shutdown_ack()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socketvar.h186 u_int sb_cc; /* (c/d) actual chars in buffer */ member
424 ((long) min((int)((sb)->sb_hiwat - (sb)->sb_cc), \
433 ((int)((so)->so_rcv.sb_cc) >= (so)->so_rcv.sb_lowat || \