ffs_rawread.c (113175) | ffs_rawread.c (114216) |
---|---|
1/*- 2 * Copyright (c) 2000-2003 Tor Egge 3 * 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2000-2003 Tor Egge 3 * 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/ufs/ffs/ffs_rawread.c 113175 2003-04-06 19:26:30Z alc $ | 26 * $FreeBSD: head/sys/ufs/ffs/ffs_rawread.c 114216 2003-04-29 13:36:06Z kan $ |
27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/fcntl.h> 32#include <sys/file.h> 33#include <sys/stat.h> 34#include <sys/proc.h> | 27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/fcntl.h> 32#include <sys/file.h> 33#include <sys/stat.h> 34#include <sys/proc.h> |
35#include <sys/limits.h> |
|
35#include <sys/mount.h> 36#include <sys/namei.h> 37#include <sys/vnode.h> 38#include <sys/conf.h> 39#include <sys/filio.h> 40#include <sys/ttycom.h> 41#include <sys/bio.h> 42#include <sys/buf.h> 43#include <ufs/ufs/quota.h> 44#include <ufs/ufs/inode.h> 45#include <ufs/ffs/fs.h> 46 | 36#include <sys/mount.h> 37#include <sys/namei.h> 38#include <sys/vnode.h> 39#include <sys/conf.h> 40#include <sys/filio.h> 41#include <sys/ttycom.h> 42#include <sys/bio.h> 43#include <sys/buf.h> 44#include <ufs/ufs/quota.h> 45#include <ufs/ufs/inode.h> 46#include <ufs/ffs/fs.h> 47 |
47#include <machine/limits.h> | |
48#include <vm/vm.h> 49#include <vm/vm_extern.h> 50#include <vm/vm_object.h> 51#include <sys/kernel.h> 52#include <sys/sysctl.h> 53 54static int ffs_rawread_readahead(struct vnode *vp, 55 caddr_t udata, --- 433 unchanged lines hidden --- | 48#include <vm/vm.h> 49#include <vm/vm_extern.h> 50#include <vm/vm_object.h> 51#include <sys/kernel.h> 52#include <sys/sysctl.h> 53 54static int ffs_rawread_readahead(struct vnode *vp, 55 caddr_t udata, --- 433 unchanged lines hidden --- |