Deleted Added
full compact
uipc_mbuf.c (153428) uipc_mbuf.c (155780)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/kern/uipc_mbuf.c 153428 2005-12-14 23:34:26Z emaste $");
33__FBSDID("$FreeBSD: head/sys/kern/uipc_mbuf.c 155780 2006-02-17 14:14:15Z andre $");
34
35#include "opt_mac.h"
36#include "opt_param.h"
37#include "opt_mbuf_stress_test.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>

--- 178 unchanged lines hidden (view full) ---

220 case EXT_PACKET: /* The packet zone is special. */
221 if (*(m->m_ext.ref_cnt) == 0)
222 *(m->m_ext.ref_cnt) = 1;
223 uma_zfree(zone_pack, m);
224 return; /* Job done. */
225 case EXT_CLUSTER:
226 uma_zfree(zone_clust, m->m_ext.ext_buf);
227 break;
34
35#include "opt_mac.h"
36#include "opt_param.h"
37#include "opt_mbuf_stress_test.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>

--- 178 unchanged lines hidden (view full) ---

220 case EXT_PACKET: /* The packet zone is special. */
221 if (*(m->m_ext.ref_cnt) == 0)
222 *(m->m_ext.ref_cnt) = 1;
223 uma_zfree(zone_pack, m);
224 return; /* Job done. */
225 case EXT_CLUSTER:
226 uma_zfree(zone_clust, m->m_ext.ext_buf);
227 break;
228 case EXT_JUMBO4:
229 uma_zfree(zone_jumbo4, m->m_ext.ext_buf);
228 case EXT_JUMBOP:
229 uma_zfree(zone_jumbop, m->m_ext.ext_buf);
230 break;
231 case EXT_JUMBO9:
232 uma_zfree(zone_jumbo9, m->m_ext.ext_buf);
233 break;
234 case EXT_JUMBO16:
235 uma_zfree(zone_jumbo16, m->m_ext.ext_buf);
236 break;
237 case EXT_SFBUF:

--- 1443 unchanged lines hidden ---
230 break;
231 case EXT_JUMBO9:
232 uma_zfree(zone_jumbo9, m->m_ext.ext_buf);
233 break;
234 case EXT_JUMBO16:
235 uma_zfree(zone_jumbo16, m->m_ext.ext_buf);
236 break;
237 case EXT_SFBUF:

--- 1443 unchanged lines hidden ---