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

Function m_get

tools/compat/include/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

nothing calls this directly

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected