Home
last modified time | relevance | path

Searched refs:M_SIZE (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/sys/netinet/
H A Dtcp_pcap.c197 if (bytes_to_copy > M_SIZE(n)) in tcp_pcap_copy_bestfit()
198 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit()
228 if (bytes_to_copy > M_SIZE(n)) { in tcp_pcap_copy_bestfit()
229 skip = bytes_to_copy - M_SIZE(n); in tcp_pcap_copy_bestfit()
230 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit()
253 if ((bytes_to_copy + trailing_data) > M_SIZE(n)) in tcp_pcap_copy_bestfit()
254 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit()
377 else if (((m->m_data + m->m_len) - M_START(m)) <= M_SIZE(n)) { in tcp_pcap_add()
H A Dsctp_os_bsd.h292 #define SCTP_BUF_SIZE M_SIZE
/freebsd-14.2/sys/cddl/compat/opensolaris/sys/
H A Delf.h63 #define ELF_M_SIZE __ELFN(M_SIZE)
/freebsd-14.2/sys/netlink/
H A Dktest_netlink_message_writer.c127 allocated_size += M_SIZE(m); in test_mbuf_chain_allocation()
H A Dnetlink_message_writer.c151 len -= M_SIZE(m); in nl_get_mbuf_chain()
/freebsd-14.2/sys/sys/
H A Dmbuf.h1192 #define M_SIZE(m) \ macro
1217 adjust = M_SIZE(m) - len; in m_align()
1248 #define M_TRAILINGROOM(m) ((M_START(m) + M_SIZE(m)) - ((m)->m_data + (m)->m_len))
/freebsd-14.2/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c716 mtodo = min(todo, M_SIZE(m) - m->m_len); in icl_cxgbei_conn_pdu_append_bio()
720 if (m->m_len == M_SIZE(m)) in icl_cxgbei_conn_pdu_append_bio()
794 m->m_len = min(len, M_SIZE(m)); in icl_cxgbei_conn_pdu_append_data()
/freebsd-14.2/sys/dev/iscsi/
H A Dicl_soft.c1203 mtodo = min(todo, M_SIZE(m) - m->m_len); in icl_soft_conn_pdu_append_bio()
1207 if (m->m_len == M_SIZE(m)) in icl_soft_conn_pdu_append_bio()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c121 m->m_len = M_SIZE(m); in sdp_post_recv()
/freebsd-14.2/sys/netipsec/
H A Dipsec_output.c1018 if (len + IPSEC_TRAILINGSPACE < M_SIZE(n)) in ipsec_prepend()
/freebsd-14.2/sys/kern/
H A Duipc_mbuf.c348 b = a + M_SIZE(m); in m_sanity()
519 if (len < M_SIZE(m)) in m_prepend()
H A Dkern_mbuf.c1494 len -= M_SIZE(mb); in m_getm2()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c125 m->m_len = M_SIZE(m) - align; in ipoib_alloc_map_mb()