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

Function m_getcl

freebsd/sys/mbuf.h:976–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974}
975
976static __inline struct mbuf *
977m_getcl(int how, short type, int flags)
978{
979 struct mbuf *m;
980 struct mb_args args;
981
982 args.flags = flags;
983 args.type = type;
984 m = uma_zalloc_arg(zone_pack, &args, how);
985 MBUF_PROBE4(m__getcl, how, type, flags, m);
986 return (m);
987}
988
989/*
990 * XXX: m_cljset() is a dangerous API. One must attach only a new,

Callers 15

ieee80211_getmgtframeFunction · 0.50
tcp_output.cFile · 0.50
icmp_errorFunction · 0.50
rack.cFile · 0.50
bbr.cFile · 0.50
arge_newbufFunction · 0.50
are_newbufFunction · 0.50
octm_rx_intrFunction · 0.50
cvm_oct_mem_fill_fpaFunction · 0.50
get_bufFunction · 0.50

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected