| 974 | } |
| 975 | |
| 976 | static __inline struct mbuf * |
| 977 | m_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, |
no test coverage detected