Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp_var.h202 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_mbcnt, MSIZE); \
205 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
214 atomic_add_int(&(sb)->sb_mbcnt, MSIZE); \
217 atomic_add_int(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
H A Dtcp_reass.c500 int len = MSIZE; in tcp_reass_overhead_of_chain()
506 len += MSIZE; in tcp_reass_overhead_of_chain()
968 (*tlenp < MSIZE)) { in tcp_reass()
H A Dsctputil.c6036 freed_so_far += MSIZE; in sctp_sorecvmsg()
6086 freed_so_far += MSIZE; in sctp_sorecvmsg()
6314 freed_so_far += MSIZE; in sctp_sorecvmsg()
H A Dsctp_indata.c111 asoc->cnt_on_reasm_queue * MSIZE)); in sctp_calc_rwnd()
113 asoc->cnt_on_all_streams * MSIZE)); in sctp_calc_rwnd()
H A Dsctp_usrreq.c74 sb_max_adj = (u_long)((u_quad_t)(SB_MAX) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init()
/f-stack/freebsd/sys/
H A Dparam.h177 #ifndef MSIZE
178 #define MSIZE 256 /* size of an mbuf */ macro
H A Dmbuf.h100 #define MLEN ((int)(MSIZE - MHSIZE))
101 #define MHLEN ((int)(MSIZE - MPKTHSIZE))
849 case MSIZE: in m_gettype()
/f-stack/freebsd/kern/
H A Duipc_sockbuf.c69 (quad_t)SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */
180 sb->sb_mbcnt -= MSIZE; in sbready_compress()
283 sb->sb_mbcnt += MSIZE; in sballoc()
326 sb->sb_mbcnt -= MSIZE; in sbfree()
356 sb->sb_mbcnt += MSIZE; in sballoc_ktls_rx()
376 sb->sb_mbcnt -= MSIZE; in sbfree_ktls_rx()
598 if (tmp_sb_max < MSIZE + MCLBYTES) in sysctl_handle_sb_max()
601 sb_max_adj = (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES); in sysctl_handle_sb_max()
1046 mbcnt += MSIZE; in sbcheck()
1073 mbcnt += MSIZE; in sbcheck()
[all …]
H A Dkern_mbuf.c179 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
318 CTASSERT((((MSIZE - 1) ^ MSIZE) + 1) >> 1 == MSIZE);
320 _Static_assert(sizeof(struct mbuf) <= MSIZE,
332 zone_mbuf = uma_zcreate(MBUF_MEM_NAME, MSIZE, in mbuf_init()
334 MSIZE - 1, UMA_ZONE_CONTIG | UMA_ZONE_MAXBUCKET); in mbuf_init()
433 trash_init(m, q == &dn_mbufq ? MSIZE : dn_clsize, flags); in dn_buf_import()
593 MSIZE, mb_ctor_mbuf, mb_dtor_mbuf, NULL, NULL, in debugnet_mbuf_reinit()
H A Dvfs_export.c153 #if MSIZE <= 256 in vfs_hang_addrlist()
H A Duipc_mbuf.c149 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN);
150 CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN);
/f-stack/tools/compat/include/sys/
H A Dmbuf.h96 #define MLEN ((int)(MSIZE - MHSIZE))
97 #define MHLEN ((int)(MSIZE - MPKTHSIZE))
623 case MSIZE: in m_gettype()