union_subr.c (31273) | union_subr.c (32011) |
---|---|
1/* 2 * Copyright (c) 1994 Jan-Simon Pendry 3 * Copyright (c) 1994 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)union_subr.c 8.20 (Berkeley) 5/20/95 | 1/* 2 * Copyright (c) 1994 Jan-Simon Pendry 3 * Copyright (c) 1994 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)union_subr.c 8.20 (Berkeley) 5/20/95 |
38 * $Id: union_subr.c,v 1.21 1997/09/21 04:23:32 dyson Exp $ | 38 * $Id: union_subr.c,v 1.22 1997/11/18 15:07:35 phk Exp $ |
39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/vnode.h> 44#include <sys/namei.h> 45#include <sys/malloc.h> 46#include <sys/fcntl.h> 47#include <sys/filedesc.h> 48#include <sys/mount.h> 49#include <sys/stat.h> 50#include <vm/vm.h> 51#include <vm/vm_extern.h> /* for vnode_pager_setsize */ | 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/vnode.h> 44#include <sys/namei.h> 45#include <sys/malloc.h> 46#include <sys/fcntl.h> 47#include <sys/filedesc.h> 48#include <sys/mount.h> 49#include <sys/stat.h> 50#include <vm/vm.h> 51#include <vm/vm_extern.h> /* for vnode_pager_setsize */ |
52#include <vm/vm_zone.h> |
|
52#include <miscfs/union/union.h> 53 54#include <sys/proc.h> 55 56extern int union_init __P((void)); 57 58/* must be power of two, otherwise change UNION_HASH() */ 59#define NHASH 32 --- 1076 unchanged lines hidden --- | 53#include <miscfs/union/union.h> 54 55#include <sys/proc.h> 56 57extern int union_init __P((void)); 58 59/* must be power of two, otherwise change UNION_HASH() */ 60#define NHASH 32 --- 1076 unchanged lines hidden --- |