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

Function m_getcl

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

nothing calls this directly

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected