ffs_subr.c (76173) | ffs_subr.c (92728) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)ffs_subr.c 8.5 (Berkeley) 3/21/95 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)ffs_subr.c 8.5 (Berkeley) 3/21/95 |
34 * $FreeBSD: head/sys/ufs/ffs/ffs_subr.c 76173 2001-05-01 09:12:31Z phk $ | 34 * $FreeBSD: head/sys/ufs/ffs/ffs_subr.c 92728 2002-03-19 22:40:48Z alfred $ |
35 */ 36 37#include <sys/param.h> 38#include <ufs/ffs/fs.h> 39 40#ifndef _KERNEL 41#include <ufs/ufs/dinode.h> 42#else --- 6 unchanged lines hidden (view full) --- 49#include <sys/buf.h> 50#include <sys/ucred.h> 51 52#include <ufs/ufs/quota.h> 53#include <ufs/ufs/inode.h> 54#include <ufs/ffs/ffs_extern.h> 55 56#ifdef DDB | 35 */ 36 37#include <sys/param.h> 38#include <ufs/ffs/fs.h> 39 40#ifndef _KERNEL 41#include <ufs/ufs/dinode.h> 42#else --- 6 unchanged lines hidden (view full) --- 49#include <sys/buf.h> 50#include <sys/ucred.h> 51 52#include <ufs/ufs/quota.h> 53#include <ufs/ufs/inode.h> 54#include <ufs/ffs/ffs_extern.h> 55 56#ifdef DDB |
57void ffs_checkoverlap __P((struct buf *, struct inode *)); | 57void ffs_checkoverlap(struct buf *, struct inode *); |
58#endif 59 60/* 61 * Return buffer with the contents of block "offset" from the beginning of 62 * directory "ip". If "res" is non-zero, fill it in with a pointer to the 63 * remaining space in the directory. 64 */ 65int --- 208 unchanged lines hidden --- | 58#endif 59 60/* 61 * Return buffer with the contents of block "offset" from the beginning of 62 * directory "ip". If "res" is non-zero, fill it in with a pointer to the 63 * remaining space in the directory. 64 */ 65int --- 208 unchanged lines hidden --- |