MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / dfs_pcache_unmount

Function dfs_pcache_unmount

components/dfs/dfs_v2/src/dfs_pcache.c:247–250  ·  view source on GitHub ↗

* @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 *

Source from the content-addressed store, hash-verified

245 * @see _pcache_clean()
246 */
247void dfs_pcache_unmount(struct dfs_mnt *mnt)
248{
249 _pcache_clean(mnt, dfs_aspace_release);
250}
251
252static int _dummy_cb(struct dfs_aspace *mnt)
253{

Callers 2

dfs_umountFunction · 0.85
dfs_mkfsFunction · 0.85

Calls 1

_pcache_cleanFunction · 0.85

Tested by

no test coverage detected