Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Regen.
details: https://anonhg.NetBSD.org/src/rev/88843d653177
branches: trunk
changeset: 351681:88843d653177
user: hannken <hannken%NetBSD.org@localhost>
date: Wed Feb 22 09:47:18 2017 +0000
description:
Regen.
diffstat:
sys/kern/vnode_if.c | 42 +++++++++++++++++++++++++++++---
sys/rump/include/rump/rumpvnode_if.h | 6 ++--
sys/rump/librump/rumpvfs/rumpvnode_if.c | 8 +++---
sys/sys/vnode_if.h | 6 ++--
4 files changed, 48 insertions(+), 14 deletions(-)
diffs (289 lines):
diff -r 033fad3abd79 -r 88843d653177 sys/kern/vnode_if.c
--- a/sys/kern/vnode_if.c Wed Feb 22 09:45:51 2017 +0000
+++ b/sys/kern/vnode_if.c Wed Feb 22 09:47:18 2017 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: vnode_if.c,v 1.96 2016/01/26 23:30:10 pooka Exp $ */
+/* $NetBSD: vnode_if.c,v 1.97 2017/02/22 09:47:18 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * NetBSD: vnode_if.src,v 1.69 2015/04/20 23:08:07 riastradh Exp
+ * NetBSD: vnode_if.src,v 1.70 2017/02/22 09:45:51 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.60 2014/01/13 12:07:55 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.62 2017/02/22 09:45:51 hannken Exp
*/
/*
@@ -40,13 +40,14 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.96 2016/01/26 23:30:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.97 2017/02/22 09:47:18 hannken Exp $");
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/lock.h>
+#include <sys/fstrans.h>
const struct vnodeop_desc vop_default_desc = {
0,
@@ -79,12 +80,15 @@
int error;
bool mpsafe;
struct vop_bwrite_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_bwrite);
a.a_vp = vp;
a.a_bp = bp;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_bwrite), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -588,12 +592,15 @@
int error;
bool mpsafe;
struct vop_poll_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_poll);
a.a_vp = vp;
a.a_events = events;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_poll), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -618,12 +625,15 @@
int error;
bool mpsafe;
struct vop_kqfilter_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_kqfilter);
a.a_vp = vp;
a.a_kn = kn;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_kqfilter), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -679,13 +689,16 @@
int error;
bool mpsafe;
struct vop_mmap_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_mmap);
a.a_vp = vp;
a.a_prot = prot;
a.a_cred = cred;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_mmap), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -748,6 +761,7 @@
int error;
bool mpsafe;
struct vop_seek_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_seek);
a.a_vp = vp;
a.a_oldoff = oldoff;
@@ -755,7 +769,9 @@
a.a_cred = cred;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_seek), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -853,6 +869,7 @@
int error;
bool mpsafe;
struct vop_rename_args a;
+ struct mount *mp = fdvp->v_mount;
a.a_desc = VDESC(vop_rename);
a.a_fdvp = fdvp;
a.a_fvp = fvp;
@@ -862,7 +879,9 @@
a.a_tcnp = tcnp;
mpsafe = (fdvp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(fdvp, VOFFSET(vop_rename), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -1070,12 +1089,15 @@
int error;
bool mpsafe;
struct vop_abortop_args a;
+ struct mount *mp = dvp->v_mount;
a.a_desc = VDESC(vop_abortop);
a.a_dvp = dvp;
a.a_cnp = cnp;
mpsafe = (dvp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(dvp, VOFFSET(vop_abortop), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -1219,6 +1241,7 @@
int error;
bool mpsafe;
struct vop_bmap_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_bmap);
a.a_vp = vp;
a.a_bn = bn;
@@ -1227,7 +1250,9 @@
a.a_runp = runp;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_bmap), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -1252,12 +1277,15 @@
int error;
bool mpsafe;
struct vop_strategy_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_strategy);
a.a_vp = vp;
a.a_bp = bp;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_strategy), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -1281,11 +1309,14 @@
int error;
bool mpsafe;
struct vop_print_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_print);
a.a_vp = vp;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_print), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
@@ -1373,6 +1404,7 @@
int error;
bool mpsafe;
struct vop_advlock_args a;
+ struct mount *mp = vp->v_mount;
a.a_desc = VDESC(vop_advlock);
a.a_vp = vp;
a.a_id = id;
@@ -1381,7 +1413,9 @@
a.a_flags = flags;
mpsafe = (vp->v_vflag & VV_MPSAFE);
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
+ fstrans_start(mp, FSTRANS_SHARED);
error = (VCALL(vp, VOFFSET(vop_advlock), &a));
+ fstrans_done(mp);
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
return error;
}
diff -r 033fad3abd79 -r 88843d653177 sys/rump/include/rump/rumpvnode_if.h
--- a/sys/rump/include/rump/rumpvnode_if.h Wed Feb 22 09:45:51 2017 +0000
+++ b/sys/rump/include/rump/rumpvnode_if.h Wed Feb 22 09:47:18 2017 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: rumpvnode_if.h,v 1.20 2016/01/26 23:30:10 pooka Exp $ */
+/* $NetBSD: rumpvnode_if.h,v 1.21 2017/02/22 09:47:18 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * NetBSD: vnode_if.src,v 1.69 2015/04/20 23:08:07 riastradh Exp
+ * NetBSD: vnode_if.src,v 1.70 2017/02/22 09:45:51 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.60 2014/01/13 12:07:55 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.62 2017/02/22 09:45:51 hannken Exp
*/
/*
diff -r 033fad3abd79 -r 88843d653177 sys/rump/librump/rumpvfs/rumpvnode_if.c
--- a/sys/rump/librump/rumpvfs/rumpvnode_if.c Wed Feb 22 09:45:51 2017 +0000
+++ b/sys/rump/librump/rumpvfs/rumpvnode_if.c Wed Feb 22 09:47:18 2017 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: rumpvnode_if.c,v 1.20 2016/01/26 23:30:10 pooka Exp $ */
+/* $NetBSD: rumpvnode_if.c,v 1.21 2017/02/22 09:47:18 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * NetBSD: vnode_if.src,v 1.69 2015/04/20 23:08:07 riastradh Exp
+ * NetBSD: vnode_if.src,v 1.70 2017/02/22 09:45:51 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.60 2014/01/13 12:07:55 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.62 2017/02/22 09:45:51 hannken Exp
*/
/*
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.20 2016/01/26 23:30:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.21 2017/02/22 09:47:18 hannken Exp $");
#include <sys/param.h>
#include <sys/mount.h>
diff -r 033fad3abd79 -r 88843d653177 sys/sys/vnode_if.h
--- a/sys/sys/vnode_if.h Wed Feb 22 09:45:51 2017 +0000
+++ b/sys/sys/vnode_if.h Wed Feb 22 09:47:18 2017 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: vnode_if.h,v 1.91 2016/01/26 23:30:10 pooka Exp $ */
+/* $NetBSD: vnode_if.h,v 1.92 2017/02/22 09:47:18 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * NetBSD: vnode_if.src,v 1.69 2015/04/20 23:08:07 riastradh Exp
+ * NetBSD: vnode_if.src,v 1.70 2017/02/22 09:45:51 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.60 2014/01/13 12:07:55 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.62 2017/02/22 09:45:51 hannken Exp
*/
/*
Home |
Main Index |
Thread Index |
Old Index