mount.h (72650) | mount.h (73286) |
---|---|
1/* 2 * Copyright (c) 1989, 1991, 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 * @(#)mount.h 8.21 (Berkeley) 5/20/95 | 1/* 2 * Copyright (c) 1989, 1991, 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 * @(#)mount.h 8.21 (Berkeley) 5/20/95 |
34 * $FreeBSD: head/sys/sys/mount.h 72650 2001-02-18 13:30:20Z green $ | 34 * $FreeBSD: head/sys/sys/mount.h 73286 2001-03-01 21:00:17Z adrian $ |
35 */ 36 37#ifndef _SYS_MOUNT_H_ 38#define _SYS_MOUNT_H_ 39 40#include <sys/ucred.h> 41#include <sys/queue.h> 42#ifdef _KERNEL --- 356 unchanged lines hidden (view full) --- 399}; 400 401extern char *mountrootfsname; 402 403/* 404 * exported vnode operations 405 */ 406int dounmount __P((struct mount *, int, struct proc *)); | 35 */ 36 37#ifndef _SYS_MOUNT_H_ 38#define _SYS_MOUNT_H_ 39 40#include <sys/ucred.h> 41#include <sys/queue.h> 42#ifdef _KERNEL --- 356 unchanged lines hidden (view full) --- 399}; 400 401extern char *mountrootfsname; 402 403/* 404 * exported vnode operations 405 */ 406int dounmount __P((struct mount *, int, struct proc *)); |
407int mount1 __P((struct proc *p, struct mount_args *uap, int segflag)); | 407int vfs_mount __P((struct proc *p, char *type, char *path, int flags, 408 void *data)); |
408int vfs_setpublicfs /* set publicly exported fs */ 409 __P((struct mount *, struct netexport *, struct export_args *)); 410int vfs_lock __P((struct mount *)); /* lock a vfs */ 411void vfs_msync __P((struct mount *, int)); 412void vfs_unlock __P((struct mount *)); /* unlock a vfs */ 413int vfs_busy __P((struct mount *, int, struct mtx *, struct proc *)); 414int vfs_export /* process mount export info */ 415 __P((struct mount *, struct netexport *, struct export_args *)); --- 78 unchanged lines hidden --- | 409int vfs_setpublicfs /* set publicly exported fs */ 410 __P((struct mount *, struct netexport *, struct export_args *)); 411int vfs_lock __P((struct mount *)); /* lock a vfs */ 412void vfs_msync __P((struct mount *, int)); 413void vfs_unlock __P((struct mount *)); /* unlock a vfs */ 414int vfs_busy __P((struct mount *, int, struct mtx *, struct proc *)); 415int vfs_export /* process mount export info */ 416 __P((struct mount *, struct netexport *, struct export_args *)); --- 78 unchanged lines hidden --- |