union_subr.c (724ab19569642be69393c2c8ad3935e0f9b935ba) | union_subr.c (72a5ee14de29c8f52e19ff5810f8e2e208a4adcd) |
---|---|
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 * --- 54 unchanged lines hidden (view full) --- 63 64/* unsigned int ... */ 65#define UNION_HASH(u, l) \ 66 (((((unsigned long) (u)) + ((unsigned long) l)) >> 8) & (NHASH-1)) 67 68static LIST_HEAD(unhead, union_node) unhead[NHASH]; 69static int unvplock[NHASH]; 70 | 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 * --- 54 unchanged lines hidden (view full) --- 63 64/* unsigned int ... */ 65#define UNION_HASH(u, l) \ 66 (((((unsigned long) (u)) + ((unsigned long) l)) >> 8) & (NHASH-1)) 67 68static LIST_HEAD(unhead, union_node) unhead[NHASH]; 69static int unvplock[NHASH]; 70 |
71static void union_dircache_r __P((struct vnode *, struct vnode ***, int *)); |
|
71static int union_list_lock __P((int ix)); 72static void union_list_unlock __P((int ix)); | 72static int union_list_lock __P((int ix)); 73static void union_list_unlock __P((int ix)); |
74static int union_relookup __P((struct union_mount *, struct vnode *, 75 struct vnode **, struct componentname *, 76 struct componentname *, char *, int)); |
|
73extern void union_updatevp __P((struct union_node *un, 74 struct vnode *uppervp, 75 struct vnode *lowervp)); 76 77int 78union_init() 79{ 80 int i; --- 1015 unchanged lines hidden --- | 77extern void union_updatevp __P((struct union_node *un, 78 struct vnode *uppervp, 79 struct vnode *lowervp)); 80 81int 82union_init() 83{ 84 int i; --- 1015 unchanged lines hidden --- |