[Midnightbsd-cvs] src [7561] trunk/sys/kern/vnode_if.src: add definitions for vop_get_writecount and vop_add_writecount

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 21 11:31:56 EDT 2016


Revision: 7561
          http://svnweb.midnightbsd.org/src/?rev=7561
Author:   laffer1
Date:     2016-05-21 11:31:56 -0400 (Sat, 21 May 2016)
Log Message:
-----------
add definitions for vop_get_writecount and vop_add_writecount

Modified Paths:
--------------
    trunk/sys/kern/vnode_if.src

Modified: trunk/sys/kern/vnode_if.src
===================================================================
--- trunk/sys/kern/vnode_if.src	2016-05-21 14:28:54 UTC (rev 7560)
+++ trunk/sys/kern/vnode_if.src	2016-05-21 15:31:56 UTC (rev 7561)
@@ -660,6 +660,20 @@
 	IN struct vnode *vp;
 };
 
+%% get_writecount	vp	L L L
+
+vop_get_writecount {
+	IN struct vnode *vp;
+	OUT int *writecount;
+};
+
+%% add_writecount	vp	E E E
+
+vop_add_writecount {
+	IN struct vnode *vp;
+	IN int inc;
+};
+
 # The VOPs below are spares at the end of the table to allow new VOPs to be
 # added in stable branches without breaking the KBI.  New VOPs in HEAD should
 # be added above these spares.  When merging a new VOP to a stable branch,



More information about the Midnightbsd-cvs mailing list