Searched refs:sb_cc (Results 1 – 12 of 12) sorted by relevance
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_var.h | 91 …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)… 209 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_cc, SCTP_BUF_LEN((m))); \ 212 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \ 221 atomic_add_int(&(sb)->sb_cc,SCTP_BUF_LEN((m))); \ 224 atomic_add_int(&(stcb)->asoc.sb_cc, SCTP_BUF_LEN((m))); \ 256 if ((sb)->sb_cc >= (uint32_t)SCTP_BUF_LEN((m))) { \ 257 atomic_subtract_int(&(sb)->sb_cc, SCTP_BUF_LEN((m))); \ 259 (sb)->sb_cc = 0; \ 262 if ((stcb)->asoc.sb_cc >= (uint32_t)SCTP_BUF_LEN((m))) { \ [all …]
|
D | sctputil.h | 317 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { \ 318 atomic_subtract_int(&((stcb)->sctp_socket->so_snd.sb_cc), tp1->book_size); \ 320 stcb->sctp_socket->so_snd.sb_cc = 0; \ 338 if (stcb->sctp_socket->so_snd.sb_cc >= sp->length) { \ 339 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc,sp->length); \ 341 stcb->sctp_socket->so_snd.sb_cc = 0; \ 353 atomic_add_int(&stcb->sctp_socket->so_snd.sb_cc,sz); \
|
D | sctputil.c | 99 sctp_clog.x.sb.so_sbcc = sb->sb_cc; in sctp_sblog() 101 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; in sctp_sblog() 5552 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { 5553 stcb->sctp_socket->so_snd.sb_cc -= tp1->book_size; 5555 stcb->sctp_socket->so_snd.sb_cc = 0; 6191 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio->uio_resid); 6194 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio_resid(uio)); 6198 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, (uint32_t)uio->uio_resid); 6209 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio->uio_resid); 6212 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio_resid(uio)); [all …]
|
D | sctp_structs.h | 1066 uint32_t sb_cc; /* shadow of sb_cc */ member
|
D | sctp_os_userspace.h | 1000 (sb).sb_cc = 0; \
|
D | sctp_usrreq.c | 890 (so->so_rcv.sb_cc > 0)) { 893 (so->so_rcv.sb_cc > 0)) { 961 (so->so_rcv.sb_cc > 0)) { 964 (so->so_rcv.sb_cc > 0)) { 1168 (so->so_rcv.sb_cc > 0)) { 1172 (so->so_rcv.sb_cc > 0)) { 1316 so->so_rcv.sb_cc = 0; 1324 so->so_snd.sb_cc = 0;
|
D | sctp_indata.c | 104 if (stcb->asoc.sb_cc == 0 && in sctp_calc_rwnd() 1943 if (stcb->sctp_socket->so_rcv.sb_cc) { in sctp_process_a_data_chunk()
|
D | sctp_pcb.c | 3988 (so && (so->so_rcv.sb_cc > 0))) { 4208 so->so_rcv.sb_cc -= sq->length;
|
D | sctp_output.c | 7869 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc, sp->length); 12465 stcb->sctp_socket->so_rcv.sb_cc);
|
D | sctp_input.c | 1159 stcb->sctp_socket->so_snd.sb_cc = 0; in sctp_handle_shutdown_ack()
|
/external/usrsctp/usrsctplib/ |
D | user_socketvar.h | 186 u_int sb_cc; /* (c/d) actual chars in buffer */ member 397 u_int sb_cc; member 428 ((long) imin((int)((sb)->sb_hiwat - (sb)->sb_cc), \ 437 ((so)->so_rcv.sb_cc >= (so)->so_rcv.sb_lowat || \ 451 (sb)->sb_cc += (m)->m_len; \ 461 (sb)->sb_cc -= (m)->m_len; \ 759 ((long) min((int)((sb)->sb_hiwat - (sb)->sb_cc), \ 768 ((int)((so)->so_rcv.sb_cc) >= (so)->so_rcv.sb_lowat || \
|
D | user_socket.c | 190 return (msleep(&sb->sb_cc, &sb->sb_mtx, in sbwait() 1605 wakeup(&sb->sb_cc); in sowakeup()
|