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/coda/coda_venus.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  * 
    3  *             Coda: an Experimental Distributed File System
    4  *                              Release 3.1
    5  * 
    6  *           Copyright (c) 1987-1998 Carnegie Mellon University
    7  *                          All Rights Reserved
    8  * 
    9  * Permission  to  use, copy, modify and distribute this software and its
   10  * documentation is hereby granted,  provided  that  both  the  copyright
   11  * notice  and  this  permission  notice  appear  in  all  copies  of the
   12  * software, derivative works or  modified  versions,  and  any  portions
   13  * thereof, and that both notices appear in supporting documentation, and
   14  * that credit is given to Carnegie Mellon University  in  all  documents
   15  * and publicity pertaining to direct or indirect use of this code or its
   16  * derivatives.
   17  * 
   18  * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
   19  * SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
   20  * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
   21  * DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
   22  * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
   23  * ANY DERIVATIVE WORK.
   24  * 
   25  * Carnegie  Mellon  encourages  users  of  this  software  to return any
   26  * improvements or extensions that  they  make,  and  to  grant  Carnegie
   27  * Mellon the rights to redistribute these changes without encumbrance.
   28  * 
   29  *      @(#) src/sys/coda/coda_venus.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ 
   30  * $FreeBSD$
   31  * 
   32  */
   33 
   34 int
   35 venus_root(void *mdp,
   36         struct ucred *cred, struct proc *p,
   37 /*out*/ CodaFid *VFid);
   38 
   39 int
   40 venus_open(void *mdp, CodaFid *fid, int flag,
   41         struct ucred *cred, struct proc *p,
   42 /*out*/ struct cdev **dev, ino_t *inode);
   43 
   44 int
   45 venus_close(void *mdp, CodaFid *fid, int flag,
   46         struct ucred *cred, struct proc *p);
   47 
   48 void
   49 venus_read(void);
   50 
   51 void
   52 venus_write(void);
   53 
   54 int
   55 venus_ioctl(void *mdp, CodaFid *fid,
   56         int com, int flag, caddr_t data,
   57         struct ucred *cred, struct proc *p);
   58 
   59 int
   60 venus_getattr(void *mdp, CodaFid *fid,
   61         struct ucred *cred, struct proc *p,
   62 /*out*/ struct vattr *vap);
   63 
   64 int
   65 venus_setattr(void *mdp, CodaFid *fid, struct vattr *vap,
   66         struct ucred *cred, struct proc *p);
   67 
   68 int
   69 venus_access(void *mdp, CodaFid *fid, int mode,
   70         struct ucred *cred, struct proc *p);
   71 
   72 int
   73 venus_readlink(void *mdp, CodaFid *fid,
   74         struct ucred *cred, struct proc *p,
   75 /*out*/ char **str, int *len);
   76 
   77 int
   78 venus_fsync(void *mdp, CodaFid *fid,
   79         struct ucred *cred, struct proc *p);
   80 
   81 int
   82 venus_lookup(void *mdp, CodaFid *fid,
   83         const char *nm, int len,
   84         struct ucred *cred, struct proc *p,
   85 /*out*/ CodaFid *VFid, int *vtype);
   86 
   87 int
   88 venus_create(void *mdp, CodaFid *fid,
   89         const char *nm, int len, int exclusive, int mode, struct vattr *va,
   90         struct ucred *cred, struct proc *p,
   91 /*out*/ CodaFid *VFid, struct vattr *attr);
   92 
   93 int
   94 venus_remove(void *mdp, CodaFid *fid,
   95         const char *nm, int len,
   96         struct ucred *cred, struct proc *p);
   97 
   98 int
   99 venus_link(void *mdp, CodaFid *fid, CodaFid *tfid,
  100         const char *nm, int len,
  101         struct ucred *cred, struct proc *p);
  102 
  103 int
  104 venus_rename(void *mdp, CodaFid *fid, CodaFid *tfid,
  105         const char *nm, int len, const char *tnm, int tlen,
  106         struct ucred *cred, struct proc *p);
  107 
  108 int
  109 venus_mkdir(void *mdp, CodaFid *fid,
  110         const char *nm, int len, struct vattr *va,
  111         struct ucred *cred, struct proc *p,
  112 /*out*/ CodaFid *VFid, struct vattr *ova);
  113 
  114 int
  115 venus_rmdir(void *mdp, CodaFid *fid,
  116         const char *nm, int len,
  117         struct ucred *cred, struct proc *p);
  118 
  119 int
  120 venus_symlink(void *mdp, CodaFid *fid,
  121         const char *lnm, int llen, const char *nm, int len, struct vattr *va,
  122         struct ucred *cred, struct proc *p);
  123 
  124 int
  125 venus_readdir(void *mdp, CodaFid *fid,
  126         int count, int offset,
  127         struct ucred *cred, struct proc *p,
  128 /*out*/ char *buffer, int *len);
  129 
  130 int
  131 venus_fhtovp(void *mdp, CodaFid *fid,
  132         struct ucred *cred, struct proc *p,
  133 /*out*/ CodaFid *VFid, int *vtype);

Cache object: 6c904f895f6c5b1ae46889d46dd3c4d7


[ 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.