MCPcopy Create free account
hub / github.com/F-Stack/f-stack / m_get

Function m_get

freebsd/sys/mbuf.h:950–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950static __inline struct mbuf *
951m_get(int how, short type)
952{
953 struct mbuf *m;
954 struct mb_args args;
955
956 args.flags = 0;
957 args.type = type;
958 m = uma_zalloc_arg(zone_mbuf, &args, how);
959 MBUF_PROBE3(m__get, how, type, m);
960 return (m);
961}
962
963static __inline struct mbuf *
964m_gethdr(int how, short type)

Callers 15

tcp_pcap_addFunction · 0.50
tcp_m_copymFunction · 0.50
ip_ctloutputFunction · 0.50
tcp_respondFunction · 0.50
ip_srcrouteFunction · 0.50
igmp_ra_allocFunction · 0.50
mld_v1_transmit_reportFunction · 0.50
ip6_copyexthdrFunction · 0.50
ip6_insert_jumbooptFunction · 0.50
ip6_insertfraghdrFunction · 0.50
ni6_nametodnsFunction · 0.50
icmp6_rip6_inputFunction · 0.50

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected