Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen: kqueue branch merge, addition of VOP_KQFILTER()
details: https://anonhg.NetBSD.org/src/rev/11be05d7e3a4
branches: trunk
changeset: 538605:11be05d7e3a4
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Oct 23 09:16:46 2002 +0000
description:
regen: kqueue branch merge, addition of VOP_KQFILTER()
diffstat:
sys/kern/vnode_if.c | 102 +++++++++++++++++++++++++++++++++------------------
sys/sys/vnode_if.h | 33 +++++++++++++++-
2 files changed, 96 insertions(+), 39 deletions(-)
diffs (truncated from 425 to 300 lines):
diff -r 118eccb9ba0d -r 11be05d7e3a4 sys/kern/vnode_if.c
--- a/sys/kern/vnode_if.c Wed Oct 23 09:10:23 2002 +0000
+++ b/sys/kern/vnode_if.c Wed Oct 23 09:16:46 2002 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: vnode_if.c,v 1.39 2001/11/12 14:50:28 lukem Exp $ */
+/* $NetBSD: vnode_if.c,v 1.40 2002/10/23 09:16:46 jdolecek Exp $ */
/*
* Warning: This file is generated automatically.
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * NetBSD: vnode_if.src,v 1.30 2001/09/15 20:36:37 chs Exp
+ * NetBSD: vnode_if.src,v 1.31 2002/10/23 09:14:32 jdolecek Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.30 2001/11/12 14:34:24 lukem Exp
*/
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.39 2001/11/12 14:50:28 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.40 2002/10/23 09:16:46 jdolecek Exp $");
/*
@@ -564,12 +564,41 @@
}
#endif
+const int vop_kqfilter_vp_offsets[] = {
+ VOPARG_OFFSETOF(struct vop_kqfilter_args,a_vp),
+ VDESC_NO_OFFSET
+};
+const struct vnodeop_desc vop_kqfilter_desc = {
+ 16,
+ "vop_kqfilter",
+ 0,
+ vop_kqfilter_vp_offsets,
+ VDESC_NO_OFFSET,
+ VDESC_NO_OFFSET,
+ VDESC_NO_OFFSET,
+ VDESC_NO_OFFSET,
+ NULL,
+};
+#ifdef VNODE_OP_NOINLINE
+int
+VOP_KQFILTER(vp, kn)
+ struct vnode *vp;
+ struct knote *kn;
+{
+ struct vop_kqfilter_args a;
+ a.a_desc = VDESC(vop_kqfilter);
+ a.a_vp = vp;
+ a.a_kn = kn;
+ return (VCALL(vp, VOFFSET(vop_kqfilter), &a));
+}
+#endif
+
const int vop_revoke_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_revoke_args,a_vp),
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_revoke_desc = {
- 16,
+ 17,
"vop_revoke",
0,
vop_revoke_vp_offsets,
@@ -598,7 +627,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_mmap_desc = {
- 17,
+ 18,
"vop_mmap",
0,
vop_mmap_vp_offsets,
@@ -631,7 +660,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_fsync_desc = {
- 18,
+ 19,
"vop_fsync",
0,
vop_fsync_vp_offsets,
@@ -668,7 +697,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_seek_desc = {
- 19,
+ 20,
"vop_seek",
0,
vop_seek_vp_offsets,
@@ -702,7 +731,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_remove_desc = {
- 20,
+ 21,
"vop_remove",
0 | VDESC_VP0_WILLPUT | VDESC_VP1_WILLPUT,
vop_remove_vp_offsets,
@@ -734,7 +763,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_link_desc = {
- 21,
+ 22,
"vop_link",
0 | VDESC_VP0_WILLPUT,
vop_link_vp_offsets,
@@ -768,7 +797,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_rename_desc = {
- 22,
+ 23,
"vop_rename",
0 | VDESC_VP0_WILLRELE | VDESC_VP1_WILLRELE | VDESC_VP2_WILLPUT | VDESC_VP3_WILLRELE,
vop_rename_vp_offsets,
@@ -805,7 +834,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_mkdir_desc = {
- 23,
+ 24,
"vop_mkdir",
0 | VDESC_VP0_WILLPUT,
vop_mkdir_vp_offsets,
@@ -839,7 +868,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_rmdir_desc = {
- 24,
+ 25,
"vop_rmdir",
0 | VDESC_VP0_WILLPUT | VDESC_VP1_WILLPUT,
vop_rmdir_vp_offsets,
@@ -870,7 +899,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_symlink_desc = {
- 25,
+ 26,
"vop_symlink",
0 | VDESC_VP0_WILLPUT,
vop_symlink_vp_offsets,
@@ -905,7 +934,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_readdir_desc = {
- 26,
+ 27,
"vop_readdir",
0,
vop_readdir_vp_offsets,
@@ -942,7 +971,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_readlink_desc = {
- 27,
+ 28,
"vop_readlink",
0,
vop_readlink_vp_offsets,
@@ -973,7 +1002,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_abortop_desc = {
- 28,
+ 29,
"vop_abortop",
0,
vop_abortop_vp_offsets,
@@ -1002,7 +1031,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_inactive_desc = {
- 29,
+ 30,
"vop_inactive",
0 | VDESC_VP0_WILLUNLOCK,
vop_inactive_vp_offsets,
@@ -1031,7 +1060,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_reclaim_desc = {
- 30,
+ 31,
"vop_reclaim",
0,
vop_reclaim_vp_offsets,
@@ -1060,7 +1089,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_lock_desc = {
- 31,
+ 32,
"vop_lock",
0,
vop_lock_vp_offsets,
@@ -1089,7 +1118,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_unlock_desc = {
- 32,
+ 33,
"vop_unlock",
0,
vop_unlock_vp_offsets,
@@ -1118,7 +1147,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_bmap_desc = {
- 33,
+ 34,
"vop_bmap",
0,
vop_bmap_vp_offsets,
@@ -1153,7 +1182,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_print_desc = {
- 34,
+ 35,
"vop_print",
0,
vop_print_vp_offsets,
@@ -1180,7 +1209,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_islocked_desc = {
- 35,
+ 36,
"vop_islocked",
0,
vop_islocked_vp_offsets,
@@ -1207,7 +1236,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_pathconf_desc = {
- 36,
+ 37,
"vop_pathconf",
0,
vop_pathconf_vp_offsets,
@@ -1238,7 +1267,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_advlock_desc = {
- 37,
+ 38,
"vop_advlock",
0,
vop_advlock_vp_offsets,
@@ -1273,7 +1302,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_blkatoff_desc = {
- 38,
+ 39,
"vop_blkatoff",
0,
vop_blkatoff_vp_offsets,
@@ -1306,7 +1335,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_valloc_desc = {
- 39,
+ 40,
"vop_valloc",
0,
vop_valloc_vp_offsets,
@@ -1339,7 +1368,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_balloc_desc = {
- 40,
+ 41,
"vop_balloc",
0,
vop_balloc_vp_offsets,
@@ -1376,7 +1405,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_reallocblks_desc = {
- 41,
+ 42,
"vop_reallocblks",
0,
vop_reallocblks_vp_offsets,
@@ -1405,7 +1434,7 @@
VDESC_NO_OFFSET
};
const struct vnodeop_desc vop_vfree_desc = {
- 42,
+ 43,
Home |
Main Index |
Thread Index |
Old Index