Home | History | Annotate | Line # | Download | only in kern
vnode_if.src revision 1.77.10.1
      1  1.77.10.1    martin #	$NetBSD: vnode_if.src,v 1.77.10.1 2019/10/15 18:12:25 martin Exp $
      2        1.1   mycroft #
      3        1.1   mycroft # Copyright (c) 1992, 1993
      4        1.1   mycroft #	The Regents of the University of California.  All rights reserved.
      5        1.1   mycroft #
      6        1.1   mycroft # Redistribution and use in source and binary forms, with or without
      7        1.1   mycroft # modification, are permitted provided that the following conditions
      8        1.1   mycroft # are met:
      9        1.1   mycroft # 1. Redistributions of source code must retain the above copyright
     10        1.1   mycroft #    notice, this list of conditions and the following disclaimer.
     11        1.1   mycroft # 2. Redistributions in binary form must reproduce the above copyright
     12        1.1   mycroft #    notice, this list of conditions and the following disclaimer in the
     13        1.1   mycroft #    documentation and/or other materials provided with the distribution.
     14       1.61     rmind # 3. Neither the name of the University nor the names of its contributors
     15        1.1   mycroft #    may be used to endorse or promote products derived from this software
     16        1.1   mycroft #    without specific prior written permission.
     17        1.1   mycroft #
     18        1.1   mycroft # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     19        1.1   mycroft # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     20        1.1   mycroft # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     21        1.1   mycroft # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     22        1.1   mycroft # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     23        1.1   mycroft # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     24        1.1   mycroft # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     25        1.1   mycroft # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     26        1.1   mycroft # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     27        1.1   mycroft # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     28        1.1   mycroft # SUCH DAMAGE.
     29        1.1   mycroft #
     30       1.13      fvdl #	@(#)vnode_if.src	8.14 (Berkeley) 8/6/95
     31       1.13      fvdl #
     32       1.13      fvdl #
     33       1.13      fvdl 
     34       1.44     perry # 
     35       1.13      fvdl # Above each of the vop descriptors is a specification of the locking
     36       1.13      fvdl # protocol used by each vop call.  The first column is the name of
     37       1.13      fvdl # the variable, the remaining three columns are in, out and error
     38       1.13      fvdl # respectively.  The "in" column defines the lock state on input,
     39       1.36       wiz # the "out" column defines the state on successful return, and the
     40       1.13      fvdl # "error" column defines the locking state on error exit.
     41       1.44     perry #     
     42       1.13      fvdl # The locking value can take the following values:
     43       1.13      fvdl # L: locked.
     44       1.30       chs # U: unlocked.
     45       1.13      fvdl # -: not applicable.  vnode does not yet (or no longer) exists.
     46       1.13      fvdl # =: the same on input and output, may be either L or U.
     47       1.13      fvdl # X: locked if not nil.
     48       1.22  wrstuden #
     49       1.22  wrstuden # For operations other than VOP_LOOKUP which require a component name
     50       1.22  wrstuden # parameter, the flags required for the initial namei() call are listed.
     51       1.22  wrstuden # Additional flags may be added to the namei() call, but these are required.
     52       1.44     perry #     
     53       1.62   hannken 
     54       1.62   hannken #
     55       1.62   hannken #% bwrite     vp      = = =
     56       1.62   hannken #
     57       1.62   hannken vop_bwrite {
     58       1.62   hannken 	IN struct vnode *vp;
     59       1.62   hannken 	IN struct buf *bp;
     60       1.62   hannken };
     61       1.44     perry  
     62       1.13      fvdl #
     63       1.51     pooka #% lookup     dvp     L L L
     64       1.66   hannken #% lookup     vpp     - U -
     65       1.13      fvdl #
     66       1.51     pooka #    Note especially that *vpp may equal dvp.
     67       1.16  sommerfe #
     68       1.16  sommerfe #    More details:
     69       1.66   hannken #     All lookups find the named node (creating the vnode if needed) and
     70       1.66   hannken #          return it, referenced and unlocked, in *vpp.
     71       1.51     pooka #     On failure, *vpp is NULL, and *dvp is left locked.
     72        1.1   mycroft #
     73        1.1   mycroft vop_lookup {
     74       1.66   hannken 	VERSION 2
     75       1.70   hannken 	IN LOCKED=YES struct vnode *dvp;
     76       1.58     pooka 	OUT WILLMAKE struct vnode **vpp;
     77        1.1   mycroft 	IN struct componentname *cnp;
     78        1.1   mycroft };
     79        1.1   mycroft 
     80       1.13      fvdl #
     81       1.64   hannken #% create     dvp     L L L
     82       1.65   hannken #% create     vpp     - U -
     83       1.13      fvdl #
     84       1.22  wrstuden #! create cnp	CREATE, LOCKPARENT
     85       1.22  wrstuden #
     86        1.1   mycroft vop_create {
     87       1.65   hannken 	VERSION 3
     88       1.64   hannken 	IN LOCKED=YES struct vnode *dvp;
     89       1.53     pooka 	OUT WILLMAKE struct vnode **vpp;
     90        1.1   mycroft 	IN struct componentname *cnp;
     91        1.1   mycroft 	IN struct vattr *vap;
     92        1.1   mycroft };
     93        1.1   mycroft 
     94       1.13      fvdl #
     95       1.64   hannken #% mknod      dvp     L L L
     96       1.65   hannken #% mknod      vpp     - U -
     97       1.13      fvdl #
     98       1.22  wrstuden #! mknod cnp	CREATE, LOCKPARENT
     99       1.22  wrstuden #
    100        1.1   mycroft vop_mknod {
    101       1.65   hannken 	VERSION 3
    102       1.64   hannken 	IN LOCKED=YES struct vnode *dvp;
    103       1.53     pooka 	OUT WILLMAKE struct vnode **vpp;
    104        1.1   mycroft 	IN struct componentname *cnp;
    105        1.1   mycroft 	IN struct vattr *vap;
    106        1.1   mycroft };
    107        1.1   mycroft 
    108       1.13      fvdl #
    109       1.13      fvdl #% open               vp      L L L
    110       1.13      fvdl #
    111        1.1   mycroft vop_open {
    112       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    113        1.1   mycroft 	IN int mode;
    114       1.50      elad 	IN kauth_cred_t cred;
    115        1.1   mycroft };
    116        1.1   mycroft 
    117       1.13      fvdl #
    118       1.15  wrstuden #% close      vp      L L L
    119       1.13      fvdl #
    120        1.1   mycroft vop_close {
    121       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    122        1.1   mycroft 	IN int fflag;
    123       1.50      elad 	IN kauth_cred_t cred;
    124        1.1   mycroft };
    125        1.1   mycroft 
    126       1.13      fvdl #
    127       1.13      fvdl #% access     vp      L L L
    128       1.13      fvdl #
    129        1.1   mycroft vop_access {
    130       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    131        1.1   mycroft 	IN int mode;
    132       1.50      elad 	IN kauth_cred_t cred;
    133        1.1   mycroft };
    134        1.1   mycroft 
    135       1.13      fvdl #
    136       1.63   hannken #% getattr    vp      L L L
    137       1.13      fvdl #
    138        1.1   mycroft vop_getattr {
    139       1.70   hannken 	IN LOCKED=YES struct vnode *vp;
    140        1.1   mycroft 	IN struct vattr *vap;
    141       1.50      elad 	IN kauth_cred_t cred;
    142        1.1   mycroft };
    143        1.1   mycroft 
    144       1.13      fvdl #
    145       1.13      fvdl #% setattr    vp      L L L
    146       1.13      fvdl #
    147        1.1   mycroft vop_setattr {
    148       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    149        1.1   mycroft 	IN struct vattr *vap;
    150       1.50      elad 	IN kauth_cred_t cred;
    151        1.1   mycroft };
    152        1.1   mycroft 
    153       1.13      fvdl #
    154       1.13      fvdl #% read               vp      L L L
    155       1.13      fvdl #
    156        1.1   mycroft vop_read {
    157       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    158        1.1   mycroft 	INOUT struct uio *uio;
    159        1.1   mycroft 	IN int ioflag;
    160       1.50      elad 	IN kauth_cred_t cred;
    161        1.1   mycroft };
    162        1.1   mycroft 
    163       1.13      fvdl #
    164       1.13      fvdl #% write      vp      L L L
    165       1.13      fvdl #
    166        1.1   mycroft vop_write {
    167       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    168        1.1   mycroft 	INOUT struct uio *uio;
    169        1.1   mycroft 	IN int ioflag;
    170       1.50      elad 	IN kauth_cred_t cred;
    171        1.1   mycroft };
    172        1.1   mycroft 
    173       1.13      fvdl #
    174       1.67  dholland #% fallocate  vp      L L L
    175       1.67  dholland #
    176       1.67  dholland vop_fallocate {
    177       1.67  dholland 	IN LOCKED=YES struct vnode *vp;
    178       1.67  dholland 	IN off_t pos;
    179       1.67  dholland 	IN off_t len;
    180       1.67  dholland };
    181       1.67  dholland 
    182       1.67  dholland #
    183       1.67  dholland #% fdiscard   vp      L L L
    184       1.67  dholland #
    185       1.67  dholland vop_fdiscard {
    186       1.67  dholland 	IN LOCKED=YES struct vnode *vp;
    187       1.67  dholland 	IN off_t pos;
    188       1.67  dholland 	IN off_t len;
    189       1.67  dholland };
    190       1.67  dholland 
    191       1.67  dholland #
    192       1.13      fvdl #% ioctl      vp      U U U
    193       1.13      fvdl #
    194        1.1   mycroft vop_ioctl {
    195       1.70   hannken 	FSTRANS=NO
    196       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    197        1.4       cgd 	IN u_long command;
    198       1.32  jdolecek 	IN void *data;
    199       1.19  wrstuden 	IN int fflag;
    200       1.50      elad 	IN kauth_cred_t cred;
    201       1.19  wrstuden };
    202       1.19  wrstuden 
    203       1.19  wrstuden #
    204       1.49  perseant #% fcntl      vp      U U U
    205       1.19  wrstuden #
    206       1.19  wrstuden vop_fcntl {
    207       1.70   hannken 	FSTRANS=NO
    208       1.49  perseant 	IN LOCKED=NO struct vnode *vp;
    209       1.19  wrstuden 	IN u_int command;
    210       1.32  jdolecek 	IN void *data;
    211        1.1   mycroft 	IN int fflag;
    212       1.50      elad 	IN kauth_cred_t cred;
    213        1.1   mycroft };
    214        1.1   mycroft 
    215       1.13      fvdl #
    216       1.13      fvdl #% poll     vp      U U U
    217       1.13      fvdl #
    218       1.11   mycroft vop_poll {
    219       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    220       1.11   mycroft 	IN int events;
    221       1.31  jdolecek };
    222       1.31  jdolecek 
    223       1.31  jdolecek #
    224       1.31  jdolecek #% kqfilter     vp      U U U
    225       1.31  jdolecek #
    226       1.31  jdolecek vop_kqfilter {
    227       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    228       1.31  jdolecek 	IN struct knote *kn;
    229        1.1   mycroft };
    230        1.1   mycroft 
    231       1.13      fvdl #
    232       1.13      fvdl #% revoke     vp      U U U
    233       1.13      fvdl #
    234       1.13      fvdl vop_revoke {
    235       1.70   hannken 	FSTRANS=NO
    236       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    237       1.13      fvdl 	IN int flags;
    238       1.13      fvdl };
    239       1.13      fvdl 
    240       1.44     perry #     
    241       1.30       chs #% mmap      vp      = = =
    242       1.13      fvdl #
    243        1.1   mycroft vop_mmap {
    244        1.1   mycroft 	IN struct vnode *vp;
    245       1.54     pooka 	IN vm_prot_t prot;
    246       1.50      elad 	IN kauth_cred_t cred;
    247        1.1   mycroft };
    248        1.1   mycroft 
    249       1.13      fvdl #
    250       1.13      fvdl #% fsync      vp      L L L
    251       1.13      fvdl #
    252        1.1   mycroft vop_fsync {
    253       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    254       1.50      elad 	IN kauth_cred_t cred;
    255       1.14    kleink 	IN int flags;
    256       1.37       wiz 	IN off_t offlo;
    257       1.37       wiz 	IN off_t offhi;
    258        1.1   mycroft };
    259        1.1   mycroft 
    260       1.13      fvdl #
    261       1.13      fvdl # Needs work: Is newoff right?  What's it mean?
    262       1.45     isaki # XXX Locking protocol?
    263       1.13      fvdl #
    264        1.1   mycroft vop_seek {
    265        1.1   mycroft 	IN struct vnode *vp;
    266        1.1   mycroft 	IN off_t oldoff;
    267        1.1   mycroft 	IN off_t newoff;
    268       1.50      elad 	IN kauth_cred_t cred;
    269        1.1   mycroft };
    270        1.1   mycroft 
    271       1.13      fvdl #
    272       1.74  riastrad #% remove     dvp     L L L
    273       1.13      fvdl #% remove     vp      L U U
    274       1.13      fvdl #
    275       1.22  wrstuden #! remove cnp	DELETE, LOCKPARENT | LOCKLEAF
    276       1.22  wrstuden #
    277        1.1   mycroft vop_remove {
    278       1.74  riastrad 	VERSION 2
    279       1.74  riastrad 	IN LOCKED=YES struct vnode *dvp;
    280       1.41   thorpej 	IN LOCKED=YES WILLPUT struct vnode *vp;
    281        1.1   mycroft 	IN struct componentname *cnp;
    282        1.1   mycroft };
    283        1.1   mycroft 
    284       1.13      fvdl #
    285       1.69  riastrad #% link               dvp     L L L
    286       1.13      fvdl #% link               vp      U U U
    287       1.13      fvdl #
    288       1.22  wrstuden #! link	 cnp	CREATE, LOCKPARENT
    289       1.22  wrstuden #
    290        1.1   mycroft vop_link {
    291       1.68  riastrad 	VERSION 2
    292       1.68  riastrad 	IN LOCKED=YES struct vnode *dvp;
    293       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    294        1.1   mycroft 	IN struct componentname *cnp;
    295        1.1   mycroft };
    296        1.1   mycroft 
    297       1.13      fvdl #
    298       1.13      fvdl #% rename     fdvp    U U U
    299       1.13      fvdl #% rename     fvp     U U U
    300       1.13      fvdl #% rename     tdvp    L U U
    301       1.13      fvdl #% rename     tvp     X U U
    302       1.13      fvdl #
    303       1.60  dholland #! rename fcnp	DELETE,	LOCKPARENT
    304       1.60  dholland #! rename tcnp	RENAME, LOCKPARENT | LOCKLEAF | NOCACHE
    305       1.22  wrstuden #
    306        1.1   mycroft vop_rename {
    307       1.41   thorpej 	IN LOCKED=NO WILLRELE struct vnode *fdvp;
    308       1.41   thorpej 	IN LOCKED=NO WILLRELE struct vnode *fvp;
    309        1.1   mycroft 	IN struct componentname *fcnp;
    310       1.41   thorpej 	IN LOCKED=YES WILLPUT struct vnode *tdvp;
    311       1.33  jdolecek 	IN WILLPUT struct vnode *tvp;
    312        1.1   mycroft 	IN struct componentname *tcnp;
    313        1.1   mycroft };
    314        1.1   mycroft 
    315       1.13      fvdl #
    316       1.64   hannken #% mkdir      dvp     L L L
    317       1.65   hannken #% mkdir      vpp     - U - 
    318       1.13      fvdl #
    319       1.22  wrstuden #! mkdir cnp	CREATE, LOCKPARENT
    320       1.22  wrstuden #
    321        1.1   mycroft vop_mkdir {
    322       1.65   hannken 	VERSION 3
    323       1.64   hannken 	IN LOCKED=YES struct vnode *dvp;
    324       1.53     pooka 	OUT WILLMAKE struct vnode **vpp;
    325        1.1   mycroft 	IN struct componentname *cnp;
    326        1.1   mycroft 	IN struct vattr *vap;
    327        1.1   mycroft };
    328        1.1   mycroft 
    329       1.13      fvdl #
    330       1.74  riastrad #% rmdir      dvp     L L L
    331       1.13      fvdl #% rmdir      vp      L U U
    332       1.13      fvdl #
    333       1.22  wrstuden #! rmdir cnp	DELETE, LOCKPARENT | LOCKLEAF
    334       1.22  wrstuden #
    335        1.1   mycroft vop_rmdir {
    336       1.74  riastrad 	VERSION 2
    337       1.74  riastrad 	IN LOCKED=YES struct vnode *dvp;
    338       1.41   thorpej 	IN LOCKED=YES WILLPUT struct vnode *vp;
    339        1.1   mycroft 	IN struct componentname *cnp;
    340        1.1   mycroft };
    341        1.1   mycroft 
    342       1.13      fvdl #
    343       1.64   hannken #% symlink    dvp     L L L
    344       1.65   hannken #% symlink    vpp     - U -
    345       1.13      fvdl #
    346       1.22  wrstuden #! symlink cnp	CREATE, LOCKPARENT
    347       1.22  wrstuden #
    348        1.1   mycroft vop_symlink {
    349       1.65   hannken 	VERSION 3
    350       1.64   hannken 	IN LOCKED=YES struct vnode *dvp;
    351       1.53     pooka 	OUT WILLMAKE struct vnode **vpp;
    352        1.1   mycroft 	IN struct componentname *cnp;
    353        1.1   mycroft 	IN struct vattr *vap;
    354        1.1   mycroft 	IN char *target;
    355        1.1   mycroft };
    356        1.1   mycroft 
    357       1.13      fvdl #
    358       1.44     perry #% readdir    vp      L L L   
    359       1.13      fvdl #
    360        1.1   mycroft vop_readdir {
    361       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    362        1.1   mycroft 	INOUT struct uio *uio;
    363       1.50      elad 	IN kauth_cred_t cred;
    364        1.1   mycroft 	OUT int *eofflag;
    365       1.13      fvdl 	OUT off_t **cookies;
    366       1.13      fvdl 	IN int *ncookies;
    367        1.1   mycroft };
    368        1.1   mycroft 
    369       1.13      fvdl #
    370       1.13      fvdl #% readlink   vp      L L L
    371       1.13      fvdl #
    372        1.1   mycroft vop_readlink {
    373       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    374        1.1   mycroft 	INOUT struct uio *uio;
    375       1.50      elad 	IN kauth_cred_t cred;
    376        1.1   mycroft };
    377        1.1   mycroft 
    378       1.13      fvdl #
    379       1.13      fvdl #% abortop    dvp     = = =
    380       1.13      fvdl #
    381       1.22  wrstuden #! abortop cnp	as appropriate.
    382       1.22  wrstuden #
    383        1.1   mycroft vop_abortop {
    384        1.1   mycroft 	IN struct vnode *dvp;
    385        1.1   mycroft 	IN struct componentname *cnp;
    386        1.1   mycroft };
    387        1.1   mycroft 
    388       1.13      fvdl #
    389       1.71  riastrad #% inactive   vp      L L L
    390       1.13      fvdl #
    391        1.1   mycroft vop_inactive {
    392       1.71  riastrad 	VERSION 2
    393       1.71  riastrad 	IN LOCKED=YES struct vnode *vp;
    394       1.56        ad 	INOUT bool *recycle;
    395        1.1   mycroft };
    396        1.1   mycroft 
    397       1.13      fvdl #
    398       1.75  riastrad #% reclaim    vp      L U U
    399       1.13      fvdl #
    400        1.1   mycroft vop_reclaim {
    401       1.75  riastrad 	VERSION 2
    402       1.70   hannken 	FSTRANS=NO
    403       1.75  riastrad 	IN LOCKED=YES struct vnode *vp;
    404        1.1   mycroft };
    405        1.1   mycroft 
    406       1.13      fvdl #
    407       1.13      fvdl #% lock               vp      U L U
    408       1.13      fvdl #
    409        1.1   mycroft vop_lock {
    410       1.76   hannken 	FSTRANS=LOCK
    411       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    412       1.13      fvdl 	IN int flags;
    413        1.1   mycroft };
    414        1.1   mycroft 
    415       1.13      fvdl #
    416       1.13      fvdl #% unlock     vp      L U L
    417       1.13      fvdl #
    418        1.1   mycroft vop_unlock {
    419       1.76   hannken 	FSTRANS=UNLOCK
    420       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    421        1.1   mycroft };
    422        1.1   mycroft 
    423       1.13      fvdl #
    424       1.40      yamt #% bmap               vp      = = =
    425       1.13      fvdl #% bmap               vpp     - U -
    426       1.13      fvdl #
    427        1.1   mycroft vop_bmap {
    428       1.48      yamt 	IN struct vnode *vp;
    429        1.1   mycroft 	IN daddr_t bn;
    430        1.1   mycroft 	OUT struct vnode **vpp;
    431        1.1   mycroft 	IN daddr_t *bnp;
    432        1.1   mycroft 	OUT int *runp;
    433        1.1   mycroft };
    434        1.1   mycroft 
    435       1.13      fvdl #
    436       1.38   hannken #% strategy   vp      = = =
    437       1.13      fvdl #
    438       1.38   hannken vop_strategy {
    439  1.77.10.1    martin 	FSTRANS=LAZY
    440       1.38   hannken 	IN struct vnode *vp;
    441       1.38   hannken 	IN struct buf *bp;
    442       1.38   hannken };
    443        1.1   mycroft 
    444       1.13      fvdl #
    445       1.13      fvdl #% print      vp      = = =
    446       1.13      fvdl #
    447        1.1   mycroft vop_print {
    448        1.1   mycroft 	IN struct vnode *vp;
    449        1.1   mycroft };
    450        1.1   mycroft 
    451       1.13      fvdl #
    452       1.13      fvdl #% islocked   vp      = = =
    453       1.13      fvdl #
    454        1.1   mycroft vop_islocked {
    455       1.70   hannken 	FSTRANS=NO
    456        1.1   mycroft 	IN struct vnode *vp;
    457        1.1   mycroft };
    458        1.1   mycroft 
    459       1.13      fvdl #
    460       1.13      fvdl #% pathconf   vp      L L L
    461       1.13      fvdl #
    462        1.1   mycroft vop_pathconf {
    463       1.41   thorpej 	IN LOCKED=YES struct vnode *vp;
    464        1.1   mycroft 	IN int name;
    465        1.3       cgd 	OUT register_t *retval;
    466        1.1   mycroft };
    467        1.1   mycroft 
    468       1.13      fvdl #
    469       1.13      fvdl #% advlock    vp      U U U
    470       1.13      fvdl #
    471        1.1   mycroft vop_advlock {
    472       1.77   hannken 	FSTRANS=NO
    473       1.41   thorpej 	IN LOCKED=NO struct vnode *vp;
    474       1.32  jdolecek 	IN void *id;
    475        1.1   mycroft 	IN int op;
    476        1.1   mycroft 	IN struct flock *fl;
    477        1.1   mycroft 	IN int flags;
    478        1.1   mycroft };
    479        1.1   mycroft 
    480       1.13      fvdl #
    481       1.13      fvdl #% whiteout   dvp     L L L
    482       1.13      fvdl #% whiteout   cnp     - - -
    483       1.13      fvdl #% whiteout   flag    - - -
    484       1.22  wrstuden #
    485       1.22  wrstuden #! whiteout cnp	CREATE, LOCKPARENT
    486       1.44     perry # 
    487        1.7   mycroft vop_whiteout {
    488       1.41   thorpej 	IN LOCKED=YES struct vnode *dvp;
    489        1.7   mycroft 	IN struct componentname *cnp;
    490        1.7   mycroft 	IN int flags;
    491        1.1   mycroft };
    492        1.1   mycroft 
    493       1.13      fvdl #
    494       1.39      yamt #% getpages	vp = = =
    495       1.26       chs #
    496       1.26       chs vop_getpages {
    497       1.70   hannken 	FSTRANS=NO
    498       1.26       chs 	IN struct vnode *vp;
    499       1.26       chs 	IN voff_t offset;
    500       1.27       chs 	IN struct vm_page **m;
    501       1.26       chs 	IN int *count;
    502       1.26       chs 	IN int centeridx;
    503       1.26       chs 	IN vm_prot_t access_type;
    504       1.26       chs 	IN int advice;
    505       1.26       chs 	IN int flags;
    506       1.26       chs };
    507       1.26       chs 
    508       1.26       chs #
    509       1.30       chs #% putpages	vp = = =
    510       1.26       chs #
    511       1.26       chs vop_putpages {
    512       1.70   hannken 	FSTRANS=NO
    513       1.26       chs 	IN struct vnode *vp;
    514       1.30       chs 	IN voff_t offlo;
    515       1.30       chs 	IN voff_t offhi;
    516       1.26       chs 	IN int flags;
    517       1.26       chs };
    518       1.42   thorpej 
    519       1.42   thorpej #
    520       1.42   thorpej #% closeextattr	vp L L L
    521       1.42   thorpej #
    522       1.42   thorpej vop_closeextattr {
    523       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    524       1.42   thorpej 	IN int commit;
    525       1.50      elad 	IN kauth_cred_t cred;
    526       1.42   thorpej };
    527       1.42   thorpej 
    528       1.42   thorpej #
    529       1.42   thorpej #% getextattr	vp L L L
    530       1.42   thorpej #
    531       1.42   thorpej vop_getextattr {
    532       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    533       1.42   thorpej 	IN int attrnamespace;
    534       1.42   thorpej 	IN const char *name;
    535       1.42   thorpej 	INOUT struct uio *uio;
    536       1.42   thorpej 	OUT size_t *size;
    537       1.50      elad 	IN kauth_cred_t cred;
    538       1.42   thorpej };
    539       1.42   thorpej 
    540       1.42   thorpej #
    541       1.42   thorpej #% listextattr	vp L L L
    542       1.42   thorpej #
    543       1.42   thorpej vop_listextattr {
    544       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    545       1.42   thorpej 	IN int attrnamespace;
    546       1.42   thorpej 	INOUT struct uio *uio;
    547       1.42   thorpej 	OUT size_t *size;
    548       1.62   hannken 	IN int flag;
    549       1.50      elad 	IN kauth_cred_t cred;
    550       1.42   thorpej };
    551       1.42   thorpej 
    552       1.42   thorpej #
    553       1.42   thorpej #% openextattr	vp L L L
    554       1.42   thorpej #
    555       1.42   thorpej vop_openextattr {
    556       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    557       1.50      elad 	IN kauth_cred_t cred;
    558       1.42   thorpej };
    559       1.42   thorpej 
    560       1.42   thorpej #
    561       1.42   thorpej #% deleteextattr vp L L L
    562       1.42   thorpej #
    563       1.42   thorpej vop_deleteextattr {
    564       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    565       1.42   thorpej 	IN int attrnamespace;
    566       1.42   thorpej 	IN const char *name;
    567       1.50      elad 	IN kauth_cred_t cred;
    568       1.42   thorpej };
    569       1.42   thorpej 
    570       1.42   thorpej #
    571       1.42   thorpej #% setextattr	vp L L L
    572       1.42   thorpej #
    573       1.42   thorpej vop_setextattr {
    574       1.42   thorpej 	IN LOCKED=YES struct vnode *vp;
    575       1.42   thorpej 	IN int attrnamespace;
    576       1.42   thorpej 	IN const char *name;
    577       1.42   thorpej 	INOUT struct uio *uio;
    578       1.50      elad 	IN kauth_cred_t cred;
    579       1.42   thorpej };
    580