uipc_mbuf.c (10653) | uipc_mbuf.c (11921) |
---|---|
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.11 1995/08/28 09:18:52 julian Exp $ | 34 * $Id: uipc_mbuf.c,v 1.12 1995/09/09 18:10:12 davidg Exp $ |
35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/proc.h> 40#include <sys/malloc.h> 41#define MBTYPES 42#include <sys/mbuf.h> --- 49 unchanged lines hidden (view full) --- 92 * Must be called at splimp. 93 */ 94/* ARGSUSED */ 95int 96m_clalloc(ncl, nowait) 97 register int ncl; 98 int nowait; 99{ | 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/proc.h> 40#include <sys/malloc.h> 41#define MBTYPES 42#include <sys/mbuf.h> --- 49 unchanged lines hidden (view full) --- 92 * Must be called at splimp. 93 */ 94/* ARGSUSED */ 95int 96m_clalloc(ncl, nowait) 97 register int ncl; 98 int nowait; 99{ |
100 static int logged; | |
101 register caddr_t p; 102 register int i; 103 int npg; 104 105 /* 106 * Once we run out of map space, it will be impossible 107 * to get any more (nothing is ever freed back to the 108 * map). --- 640 unchanged lines hidden --- | 100 register caddr_t p; 101 register int i; 102 int npg; 103 104 /* 105 * Once we run out of map space, it will be impossible 106 * to get any more (nothing is ever freed back to the 107 * map). --- 640 unchanged lines hidden --- |