aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-07-08 07:56:27 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-07-12 05:03:14 +0000
commit844aa31c6d8785e7256a84d8ee7e8ae2362f9367 (patch)
tree7a5eb6e3b53f6d9f07dceae33937a679f8bec2ea /sys/sys
parent4c87085d3521dd25009f597161734e085cd47570 (diff)
downloadsrc-844aa31c6d8785e7256a84d8ee7e8ae2362f9367.tar.gz
src-844aa31c6d8785e7256a84d8ee7e8ae2362f9367.zip
cache: add cache_enter_time_flags
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/vnode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index ed5867b80754..64fb00c5845e 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -641,6 +641,12 @@ int bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn,
daddr_t endn);
/* cache_* may belong in namei.h. */
void cache_changesize(u_long newhashsize);
+
+#define VFS_CACHE_DROPOLD 0x1
+
+void cache_enter_time_flags(struct vnode *dvp, struct vnode *vp,
+ struct componentname *cnp, struct timespec *tsp,
+ struct timespec *dtsp, int flags);
#define cache_enter(dvp, vp, cnp) \
cache_enter_time(dvp, vp, cnp, NULL, NULL)
void cache_enter_time(struct vnode *dvp, struct vnode *vp,