Deleted Added
full compact
vnode_if.src (208003) vnode_if.src (220791)
1#-
2# Copyright (c) 1992, 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

--- 13 unchanged lines hidden (view full) ---

22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27# SUCH DAMAGE.
28#
29# @(#)vnode_if.src 8.12 (Berkeley) 5/14/95
1#-
2# Copyright (c) 1992, 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

--- 13 unchanged lines hidden (view full) ---

22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27# SUCH DAMAGE.
28#
29# @(#)vnode_if.src 8.12 (Berkeley) 5/14/95
30# $FreeBSD: head/sys/kern/vnode_if.src 208003 2010-05-12 21:24:46Z zml $
30# $FreeBSD: head/sys/kern/vnode_if.src 220791 2011-04-18 16:32:22Z mdf $
31#
32
33#
34# Above each of the vop descriptors in lines starting with %%
35# is a specification of the locking protocol used by each vop call.
36# The first column is the name of the variable, the remaining three
37# columns are in, out and error respectively. The "in" column defines
38# the lock state on input, the "out" column defines the state on succesful

--- 564 unchanged lines hidden (view full) ---

603
604%% vptofh vp = = =
605
606vop_vptofh {
607 IN struct vnode *vp;
608 IN struct fid *fhp;
609};
610
31#
32
33#
34# Above each of the vop descriptors in lines starting with %%
35# is a specification of the locking protocol used by each vop call.
36# The first column is the name of the variable, the remaining three
37# columns are in, out and error respectively. The "in" column defines
38# the lock state on input, the "out" column defines the state on succesful

--- 564 unchanged lines hidden (view full) ---

603
604%% vptofh vp = = =
605
606vop_vptofh {
607 IN struct vnode *vp;
608 IN struct fid *fhp;
609};
610
611
611%% vptocnp vp L L L
612%% vptocnp vpp - U -
613
614vop_vptocnp {
615 IN struct vnode *vp;
616 OUT struct vnode **vpp;
617 IN struct ucred *cred;
618 INOUT char *buf;
619 INOUT int *buflen;
620};
612%% vptocnp vp L L L
613%% vptocnp vpp - U -
614
615vop_vptocnp {
616 IN struct vnode *vp;
617 OUT struct vnode **vpp;
618 IN struct ucred *cred;
619 INOUT char *buf;
620 INOUT int *buflen;
621};
622
623
624%% allocate vp E E U
625
626vop_allocate {
627 IN struct vnode *vp;
628 IN off_t offset;
629 IN off_t len;
630};