/freebsd/sys/netinet/ |
H A D | sctp_var.h | 199 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 D | tcp_reass.c | 490 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 D | sctputil.c | 6094 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 D | sctp_indata.c | 108 asoc->cnt_on_reasm_queue * MSIZE)); in sctp_calc_rwnd() 110 asoc->cnt_on_all_streams * MSIZE)); in sctp_calc_rwnd()
|
H A D | sctp_usrreq.c | 71 sb_max_adj = (u_long)((u_quad_t)(SB_MAX) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init()
|
/freebsd/sys/sys/ |
H A D | param.h | 186 #ifndef MSIZE 187 #define MSIZE 256 /* size of an mbuf */ macro
|
H A D | mbuf.h | 95 #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 D | uipc_sockbuf.c | 66 #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 D | kern_mbuf.c | 191 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 D | uipc_usrreq.c | 1141 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 D | uipc_mbuf.c | 185 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 D | vfs_export.c | 149 #if MSIZE <= 256 in vfs_hang_addrlist()
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_msize.m4 | 76 define(`MSIZE', macro 81 `MSIZE($1)
|
/freebsd/usr.sbin/bhyve/ |
H A D | net_backend_netgraph.c | 139 maxsbsz = maxsbsz * MCLBYTES / (MSIZE + MCLBYTES); in ng_init()
|
/freebsd/share/doc/smm/18.net/ |
H A D | spell.ok | 81 MSIZE
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe.h | 162 #define IXGBE_RX_COPY_LEN (MSIZE - IXGBE_RX_COPY_HDR_PADDED)
|
/freebsd/share/examples/drivers/ |
H A D | make_device_driver.sh | 753 &scp->rid_memory, 0ul, ~0ul, MSIZE, RF_ACTIVE);
|
/freebsd/sys/netlink/ |
H A D | netlink_domain.c | 949 if (tmp_maxsockbuf < MSIZE + MCLBYTES) in sysctl_handle_nl_maxsockbuf()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 334 tval *= MSIZE + MCLBYTES; in newnfs_connect()
|
/freebsd/sys/conf/ |
H A D | options | 621 MSIZE opt_global.h
|
H A D | NOTES | 2061 options MSIZE=256 # mbuf size in bytes
|
/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 2987 roundup2(MSIZE - MHLEN, 16) - (MSIZE - MHLEN); in bce_get_rx_buffer_sizes()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 271 tval *= (MSIZE + MCLBYTES); /* Brackets for readability. */ in sysctl_srvmaxio()
|