vm_machdep.c (173615) | vm_machdep.c (177253) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986 The Regents of the University of California. 3 * Copyright (c) 1989, 1990 William Jolitz 4 * Copyright (c) 1994 John Dyson 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * the Systems Programming Group of the University of Utah Computer --- 27 unchanged lines hidden (view full) --- 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 40 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ 41 */ 42 43#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986 The Regents of the University of California. 3 * Copyright (c) 1989, 1990 William Jolitz 4 * Copyright (c) 1994 John Dyson 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * the Systems Programming Group of the University of Utah Computer --- 27 unchanged lines hidden (view full) --- 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 40 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ 41 */ 42 43#include <sys/cdefs.h> |
44__FBSDID("$FreeBSD: head/sys/arm/arm/vm_machdep.c 173615 2007-11-14 20:21:54Z marcel $"); | 44__FBSDID("$FreeBSD: head/sys/arm/arm/vm_machdep.c 177253 2008-03-16 10:58:09Z rwatson $"); |
45 46#include <sys/param.h> 47#include <sys/systm.h> 48#include <sys/kernel.h> 49#include <sys/malloc.h> 50#include <sys/mbuf.h> 51#include <sys/proc.h> 52#include <sys/socketvar.h> --- 19 unchanged lines hidden (view full) --- 72#include <machine/md_var.h> 73 74#ifndef NSFBUFS 75#define NSFBUFS (512 + maxusers * 16) 76#endif 77 78#ifndef ARM_USE_SMALL_ALLOC 79static void sf_buf_init(void *arg); | 45 46#include <sys/param.h> 47#include <sys/systm.h> 48#include <sys/kernel.h> 49#include <sys/malloc.h> 50#include <sys/mbuf.h> 51#include <sys/proc.h> 52#include <sys/socketvar.h> --- 19 unchanged lines hidden (view full) --- 72#include <machine/md_var.h> 73 74#ifndef NSFBUFS 75#define NSFBUFS (512 + maxusers * 16) 76#endif 77 78#ifndef ARM_USE_SMALL_ALLOC 79static void sf_buf_init(void *arg); |
80SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL) | 80SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL); |
81 82LIST_HEAD(sf_head, sf_buf); 83 84 85/* 86 * A hash table of active sendfile(2) buffers 87 */ 88static struct sf_head *sf_buf_active; --- 567 unchanged lines hidden --- | 81 82LIST_HEAD(sf_head, sf_buf); 83 84 85/* 86 * A hash table of active sendfile(2) buffers 87 */ 88static struct sf_head *sf_buf_active; --- 567 unchanged lines hidden --- |