uipc_mbuf.c (eca2ddda6fd1e734bada3ecb6ae0a7ec883d6cc4) uipc_mbuf.c (9c8b8baa38c9a8135d7602f127cb0c735010837d)
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
34 * $Id: uipc_mbuf.c,v 1.38 1999/02/16 10:49:49 dfr Exp $
34 * $Id: uipc_mbuf.c,v 1.39 1999/04/12 10:07:15 des Exp $
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>
41#include <sys/kernel.h>
42#include <sys/sysctl.h>

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

173}
174
175static struct proc *mclallocproc;
176static struct kproc_desc mclalloc_kp = {
177 "mclalloc",
178 kproc_mclalloc,
179 &mclallocproc
180};
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>
41#include <sys/kernel.h>
42#include <sys/sysctl.h>

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

173}
174
175static struct proc *mclallocproc;
176static struct kproc_desc mclalloc_kp = {
177 "mclalloc",
178 kproc_mclalloc,
179 &mclallocproc
180};
181SYSINIT_KT(mclallocproc, SI_SUB_KTHREAD_UPDATE, SI_ORDER_ANY, kproc_start,
181SYSINIT(mclallocproc, SI_SUB_KTHREAD_UPDATE, SI_ORDER_ANY, kproc_start,
182 &mclalloc_kp);
183#endif
184
185/*
186 * Allocate some number of mbuf clusters
187 * and place on cluster free list.
188 * Must be called at splimp.
189 */

--- 757 unchanged lines hidden ---
182 &mclalloc_kp);
183#endif
184
185/*
186 * Allocate some number of mbuf clusters
187 * and place on cluster free list.
188 * Must be called at splimp.
189 */

--- 757 unchanged lines hidden ---