Home
last modified time | relevance | path

Searched refs:MSIZE (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_var.h204 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_mbcnt, MSIZE); \
207 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
216 atomic_add_int(&(sb)->sb_mbcnt, MSIZE); \
219 atomic_add_int(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
277 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_mbcnt, MSIZE); \
280 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
286 atomic_add_int(&(sb)->sb_mbcnt, MSIZE); \
289 atomic_add_int(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
Dsctp_indata.c97 asoc->cnt_on_reasm_queue * MSIZE)); in sctp_calc_rwnd()
99 asoc->cnt_on_all_streams * MSIZE)); in sctp_calc_rwnd()
Dsctputil.c6371 freed_so_far += MSIZE;
6416 freed_so_far += MSIZE;
6681 freed_so_far += MSIZE;
Dsctp_usrreq.c133 sb_max_adj = (u_long)((u_quad_t) (sb_max) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init()
135 sb_max_adj = (u_long)((u_quad_t) (SB_MAX) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_mbuf.h46 #ifndef MSIZE
47 #define MSIZE 256 macro
94 #define dtom(x) ((struct mbuf *)((intptr_t)(x) & ~(MSIZE-1)))
166 #define MLEN ((int)(MSIZE - sizeof(struct m_hdr))) /* normal data len */
Duser_socketvar.h427 (sb)->sb_mbcnt += MSIZE; \
437 (sb)->sb_mbcnt -= MSIZE; \
Duser_mbuf.c350 SCTP_ZONE_INIT(zone_mbuf, MBUF_MEM_NAME, MSIZE, 0); in mbuf_init()
352 zone_mbuf = umem_cache_create(MBUF_MEM_NAME, MSIZE, 0, in mbuf_init()
392 mbstat.m_msize = MSIZE; in mbuf_init()
Duser_socket.c1370 SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */