* The Packet secondary zone's fini routine, executed on the * object's transition from zone cache to keg slab. */
| 757 | * object's transition from zone cache to keg slab. |
| 758 | */ |
| 759 | static void |
| 760 | mb_zfini_pack(void *mem, int size) |
| 761 | { |
| 762 | struct mbuf *m; |
| 763 | |
| 764 | m = (struct mbuf *)mem; |
| 765 | #ifdef INVARIANTS |
| 766 | trash_fini(m->m_ext.ext_buf, MCLBYTES); |
| 767 | #endif |
| 768 | uma_zfree_arg(zone_clust, m->m_ext.ext_buf, NULL); |
| 769 | #ifdef INVARIANTS |
| 770 | trash_dtor(mem, size, NULL); |
| 771 | #endif |
| 772 | } |
| 773 | |
| 774 | /* |
| 775 | * The "packet" keg constructor. |
nothing calls this directly
no test coverage detected