The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/xfs/xfs_vfsops-bsd.h

Version: -  FREEBSD  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * Copyright (c) 1995 - 2001 Kungliga Tekniska Högskolan
    3  * (Royal Institute of Technology, Stockholm, Sweden).
    4  * All rights reserved.
    5  *
    6  * Redistribution and use in source and binary forms, with or without
    7  * modification, are permitted provided that the following conditions
    8  * are met:
    9  *
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  *
   13  * 2. Redistributions in binary form must reproduce the above copyright
   14  *    notice, this list of conditions and the following disclaimer in the
   15  *    documentation and/or other materials provided with the distribution.
   16  *
   17  * 3. Neither the name of the Institute nor the names of its contributors
   18  *    may be used to endorse or promote products derived from this software
   19  *    without specific prior written permission.
   20  *
   21  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
   22  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
   25  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   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 
   34 /* $arla: xfs_vfsops-bsd.h,v 1.14 2002/09/07 10:46:09 lha Exp $ */
   35 
   36 #ifndef _xfs_vfsops_bsd_h
   37 #define _xfs_vfsops_bsd_h
   38 
   39 int
   40 xfs_mount_caddr(struct mount *mp, const char *user_path, caddr_t user_data,
   41                 struct nameidata *ndp, d_thread_t *p);
   42 
   43 int
   44 xfs_start(struct mount * mp, int flags, d_thread_t * p);
   45 
   46 int
   47 xfs_unmount(struct mount * mp, int mntflags, d_thread_t *p);
   48 
   49 int
   50 xfs_root(struct mount *mp, struct vnode **vpp);
   51 
   52 int
   53 xfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, d_thread_t *p);
   54 
   55 int
   56 xfs_statfs(struct mount *mp, struct statfs *sbp, d_thread_t *p);
   57 
   58 int
   59 xfs_sync(struct mount *mp, int waitfor, struct ucred *cred, d_thread_t *p);
   60 
   61 int
   62 xfs_vget(struct mount * mp,
   63 #ifdef __APPLE__
   64          void *ino,
   65 #else
   66          ino_t ino,
   67 #endif
   68          struct vnode ** vpp);
   69 
   70 #ifdef HAVE_STRUCT_VFSOPS_VFS_CHECKEXP
   71 int
   72 xfs_fhtovp(struct mount * mp,
   73            struct fid * fhp,
   74            struct vnode ** vpp);
   75 #else
   76 int
   77 xfs_fhtovp(struct mount * mp,
   78            struct fid * fhp,
   79            struct mbuf * nam,
   80            struct vnode ** vpp,
   81            int *exflagsp,
   82            struct ucred ** credanonp);
   83 #endif
   84 
   85 struct mbuf;
   86 int
   87 xfs_checkexp (struct mount *mp,
   88 #ifdef __FreeBSD__
   89               struct sockaddr *nam,
   90 #else
   91               struct mbuf *nam,
   92 #endif
   93               int *exflagsp,
   94               struct ucred **credanonp);
   95 
   96 int
   97 xfs_vptofh(struct vnode * vp,
   98            struct fid * fhp);
   99 
  100 int
  101 xfs_dead_lookup(struct vop_lookup_args * ap);
  102 
  103 #endif /* _xfs_vfsops_bsd_h */

Cache object: c3ff7faf7b054e03160361e3ecdb9233


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.