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

Function dfs_pcache_clean

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

* @brief Clean page cache for a specific mount point without releasing address spaces * * This function cleans up all page cache entries associated with the given mount point * but keeps the address spaces intact by using a dummy callback function. * * @param[in] mnt Pointer to the mount point structure to be cleaned * * @note Typical usage scenarios: * - Filesystem maintenance operations

Source from the content-addressed store, hash-verified

270 * @see _pcache_clean()
271 */
272void dfs_pcache_clean(struct dfs_mnt *mnt)
273{
274 _pcache_clean(mnt, _dummy_cb);
275}
276
277/**
278 * @brief Check and enforce page cache memory limit

Callers 1

dfs_mnt_setflagsFunction · 0.85

Calls 1

_pcache_cleanFunction · 0.85

Tested by

no test coverage detected