Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/tmpfs/tmpfs_vfsops.c
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
static const char *tmpfs_updateopts[] = { | static const char *tmpfs_updateopts[] = { | ||||
"from", "export", "size", NULL | "from", "export", "size", NULL | ||||
}; | }; | ||||
/* | /* | ||||
* Handle updates of time from writes to mmaped regions. Use | * Handle updates of time from writes to mmaped regions. Use | ||||
* MNT_VNODE_FOREACH_ALL instead of MNT_VNODE_FOREACH_ACTIVE, since | * MNT_VNODE_FOREACH_ALL instead of MNT_VNODE_FOREACH_DIRTY, since | ||||
* unmap of the tmpfs-backed vnode does not call vinactive(), due to | * unmap of the tmpfs-backed vnode does not call vinactive(), due to | ||||
* vm object type is OBJT_SWAP. | * vm object type is OBJT_SWAP. | ||||
* If lazy, only handle delayed update of mtime due to the writes to | * If lazy, only handle delayed update of mtime due to the writes to | ||||
* mapped files. | * mapped files. | ||||
*/ | */ | ||||
static void | static void | ||||
tmpfs_update_mtime(struct mount *mp, bool lazy) | tmpfs_update_mtime(struct mount *mp, bool lazy) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 568 Lines • Show Last 20 Lines |