fdesc_vfsops.c (144058) | fdesc_vfsops.c (151897) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993, 1995 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 --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 33 * | 1/*- 2 * Copyright (c) 1992, 1993, 1995 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 --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 33 * |
34 * $FreeBSD: head/sys/fs/fdescfs/fdesc_vfsops.c 144058 2005-03-24 07:36:16Z jeff $ | 34 * $FreeBSD: head/sys/fs/fdescfs/fdesc_vfsops.c 151897 2005-10-31 15:41:29Z rwatson $ |
35 */ 36 37/* 38 * /dev/fd Filesystem 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 4 unchanged lines hidden (view full) --- 47#include <sys/malloc.h> 48#include <sys/mount.h> 49#include <sys/proc.h> 50#include <sys/resourcevar.h> 51#include <sys/vnode.h> 52 53#include <fs/fdescfs/fdesc.h> 54 | 35 */ 36 37/* 38 * /dev/fd Filesystem 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 4 unchanged lines hidden (view full) --- 47#include <sys/malloc.h> 48#include <sys/mount.h> 49#include <sys/proc.h> 50#include <sys/resourcevar.h> 51#include <sys/vnode.h> 52 53#include <fs/fdescfs/fdesc.h> 54 |
55static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); | 55static MALLOC_DEFINE(M_FDESCMNT, "fdesc_mount", "FDESC mount structure"); |
56 57static vfs_mount_t fdesc_mount; 58static vfs_unmount_t fdesc_unmount; 59static vfs_statfs_t fdesc_statfs; 60static vfs_root_t fdesc_root; 61 62/* 63 * Mount the per-process file descriptors (/dev/fd) --- 140 unchanged lines hidden --- | 56 57static vfs_mount_t fdesc_mount; 58static vfs_unmount_t fdesc_unmount; 59static vfs_statfs_t fdesc_statfs; 60static vfs_root_t fdesc_root; 61 62/* 63 * Mount the per-process file descriptors (/dev/fd) --- 140 unchanged lines hidden --- |