fdesc_vnops.c (43305) | fdesc_vnops.c (47640) |
---|---|
1/* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software donated to Berkeley by 6 * Jan-Simon Pendry. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 37 * | 1/* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software donated to Berkeley by 6 * Jan-Simon Pendry. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 37 * |
38 * $Id: fdesc_vnops.c,v 1.40 1998/12/14 05:00:57 dillon Exp $ | 38 * $Id: fdesc_vnops.c,v 1.41 1999/01/27 22:42:06 dillon Exp $ |
39 */ 40 41/* 42 * /dev/fd Filesystem 43 */ 44 45#include <sys/param.h> 46#include <sys/systm.h> --- 53 unchanged lines hidden (view full) --- 100/* 101 * Initialise cache headers 102 */ 103int 104fdesc_init(vfsp) 105 struct vfsconf *vfsp; 106{ 107 | 39 */ 40 41/* 42 * /dev/fd Filesystem 43 */ 44 45#include <sys/param.h> 46#include <sys/systm.h> --- 53 unchanged lines hidden (view full) --- 100/* 101 * Initialise cache headers 102 */ 103int 104fdesc_init(vfsp) 105 struct vfsconf *vfsp; 106{ 107 |
108 devctty = makedev(nchrdev, 0); | 108 devctty = NODEV; |
109 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); 110 return (0); 111} 112 113int 114fdesc_allocvp(ftype, ix, mp, vpp) 115 fdntype ftype; 116 int ix; --- 756 unchanged lines hidden --- | 109 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); 110 return (0); 111} 112 113int 114fdesc_allocvp(ftype, ix, mp, vpp) 115 fdntype ftype; 116 int ix; --- 756 unchanged lines hidden --- |