* @brief Unmount and clean up page cache for a specific mount point * * This function cleans up all page cache entries associated with the given mount point * by calling _pcache_clean() with dfs_aspace_release as the callback function. * It will release all address spaces and their pages belonging to this mount point. * * @param[in] mnt Pointer to the mount point structure to be unmounted *
| 245 | * @see _pcache_clean() |
| 246 | */ |
| 247 | void dfs_pcache_unmount(struct dfs_mnt *mnt) |
| 248 | { |
| 249 | _pcache_clean(mnt, dfs_aspace_release); |
| 250 | } |
| 251 | |
| 252 | static int _dummy_cb(struct dfs_aspace *mnt) |
| 253 | { |
no test coverage detected