Deleted Added
full compact
kern_proc.c (108660) kern_proc.c (109623)
1/*
2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
1/*
2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
34 * $FreeBSD: head/sys/kern/kern_proc.c 108660 2003-01-04 11:45:50Z hsu $
34 * $FreeBSD: head/sys/kern/kern_proc.c 109623 2003-01-21 08:56:16Z alfred $
35 */
36
37#include "opt_ktrace.h"
38#include "opt_kstack_pages.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>

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

970}
971
972struct pargs *
973pargs_alloc(int len)
974{
975 struct pargs *pa;
976
977 MALLOC(pa, struct pargs *, sizeof(struct pargs) + len, M_PARGS,
35 */
36
37#include "opt_ktrace.h"
38#include "opt_kstack_pages.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>

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

970}
971
972struct pargs *
973pargs_alloc(int len)
974{
975 struct pargs *pa;
976
977 MALLOC(pa, struct pargs *, sizeof(struct pargs) + len, M_PARGS,
978 M_WAITOK);
978 0);
979 pa->ar_ref = 1;
980 pa->ar_length = len;
981 return (pa);
982}
983
984void
985pargs_free(struct pargs *pa)
986{

--- 114 unchanged lines hidden ---
979 pa->ar_ref = 1;
980 pa->ar_length = len;
981 return (pa);
982}
983
984void
985pargs_free(struct pargs *pa)
986{

--- 114 unchanged lines hidden ---