Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_var.h199 SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_mbcnt, MSIZE); \
202 SCTP_SAVE_ATOMIC_DECREMENT(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
211 atomic_add_int(&(sb)->sb_mbcnt, MSIZE); \
214 atomic_add_int(&(stcb)->asoc.my_rwnd_control_len, MSIZE); \
H A Dtcp_reass.c490 int len = MSIZE; in tcp_reass_overhead_of_chain()
496 len += MSIZE; in tcp_reass_overhead_of_chain()
971 (*tlenp < MSIZE)) { in tcp_reass()
H A Dsctputil.c6094 freed_so_far += MSIZE; in sctp_sorecvmsg()
6144 freed_so_far += MSIZE; in sctp_sorecvmsg()
6372 freed_so_far += MSIZE; in sctp_sorecvmsg()
H A Dsctp_indata.c108 asoc->cnt_on_reasm_queue * MSIZE)); in sctp_calc_rwnd()
110 asoc->cnt_on_all_streams * MSIZE)); in sctp_calc_rwnd()
H A Dsctp_usrreq.c71 sb_max_adj = (u_long)((u_quad_t)(SB_MAX) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init()
/freebsd/sys/sys/
H A Dparam.h186 #ifndef MSIZE
187 #define MSIZE 256 /* size of an mbuf */ macro
H A Dmbuf.h95 #define MLEN ((int)(MSIZE - MHSIZE))
96 #define MHLEN ((int)(MSIZE - MPKTHSIZE))
882 case MSIZE: in m_gettype()
1722 mc->mc_mlen += MSIZE; in mc_inc()
1733 MPASS(mc->mc_mlen >= MSIZE); in mc_dec()
1734 mc->mc_mlen -= MSIZE; in mc_dec()
/freebsd/sys/kern/
H A Duipc_sockbuf.c66 #define BUF_MAX_ADJ(_sz) (((u_quad_t)(_sz)) * MCLBYTES / (MSIZE + MCLBYTES))
178 sb->sb_mbcnt -= MSIZE; in sbready_compress()
278 sb->sb_mbcnt += MSIZE; in sballoc()
318 sb->sb_mbcnt -= MSIZE; in sbfree()
345 sb->sb_mbcnt += MSIZE; in sballoc_ktls_rx()
362 sb->sb_mbcnt -= MSIZE; in sbfree_ktls_rx()
609 if (tmp_sb_max < MSIZE + MCLBYTES) in sysctl_handle_sb_max()
1108 mbcnt += MSIZE; in sbcheck()
1135 mbcnt += MSIZE; in sbcheck()
1219 #if MSIZE <= 256 in sbappendaddr_locked_internal()
H A Dkern_mbuf.c191 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
340 CTASSERT((((MSIZE - 1) ^ MSIZE) + 1) >> 1 == MSIZE);
342 _Static_assert(sizeof(struct mbuf) <= MSIZE,
354 zone_mbuf = uma_zcreate(MBUF_MEM_NAME, MSIZE, in mbuf_init()
356 MSIZE - 1, UMA_ZONE_CONTIG | UMA_ZONE_MAXBUCKET); in mbuf_init()
447 trash_init(m, q == &dn_mbufq ? MSIZE : dn_clsize, flags); in dn_buf_import()
607 MSIZE, mb_ctor_mbuf, mb_dtor_mbuf, NULL, NULL, in debugnet_mbuf_reinit()
H A Duipc_usrreq.c1141 mbcnt = MSIZE + m->m_pkthdr.memlen; in uipc_sosend_dgram()
1170 mbcnt = MSIZE; in uipc_sosend_dgram()
1172 mbcnt += MSIZE; in uipc_sosend_dgram()
1262 dmbcnt += MSIZE; in uipc_sosend_dgram()
2753 *mbcnt += MSIZE; in unp_internalize()
2836 MPASS(*mbcnt >= MSIZE); in unp_addsockcred()
2837 *mbcnt -= MSIZE; in unp_addsockcred()
2863 *mbcnt += MSIZE; in unp_addsockcred()
H A Duipc_mbuf.c185 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN);
186 CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN);
1133 mlen += MSIZE; in mc_split()
1963 m->m_pkthdr.memlen = MSIZE; in m_uiotombuf()
H A Dvfs_export.c149 #if MSIZE <= 256 in vfs_hang_addrlist()
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_msize.m476 define(`MSIZE', macro
81 `MSIZE($1)
/freebsd/usr.sbin/bhyve/
H A Dnet_backend_netgraph.c139 maxsbsz = maxsbsz * MCLBYTES / (MSIZE + MCLBYTES); in ng_init()
/freebsd/share/doc/smm/18.net/
H A Dspell.ok81 MSIZE
/freebsd/sys/dev/ixgbe/
H A Dixgbe.h162 #define IXGBE_RX_COPY_LEN (MSIZE - IXGBE_RX_COPY_HDR_PADDED)
/freebsd/share/examples/drivers/
H A Dmake_device_driver.sh753 &scp->rid_memory, 0ul, ~0ul, MSIZE, RF_ACTIVE);
/freebsd/sys/netlink/
H A Dnetlink_domain.c949 if (tmp_maxsockbuf < MSIZE + MCLBYTES) in sysctl_handle_nl_maxsockbuf()
/freebsd/sys/fs/nfs/
H A Dnfs_commonkrpc.c334 tval *= MSIZE + MCLBYTES; in newnfs_connect()
/freebsd/sys/conf/
H A Doptions621 MSIZE opt_global.h
H A DNOTES2061 options MSIZE=256 # mbuf size in bytes
/freebsd/sys/dev/bce/
H A Dif_bce.c2987 roundup2(MSIZE - MHLEN, 16) - (MSIZE - MHLEN); in bce_get_rx_buffer_sizes()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c271 tval *= (MSIZE + MCLBYTES); /* Brackets for readability. */ in sysctl_srvmaxio()