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

Function dfs_pcache_lock

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

* @brief Lock the page cache global mutex * * @return Always returns 0. */

Source from the content-addressed store, hash-verified

484 * @return Always returns 0.
485 */
486static int dfs_pcache_lock(void)
487{
488 rt_mutex_take(&__pcache.lock, RT_WAITING_FOREVER);
489 return 0;
490}
491
492/**
493 * @brief Unlock the page cache global mutex

Callers 12

dfs_pcache_releaseFunction · 0.85
_pcache_cleanFunction · 0.85
dfs_pcache_threadFunction · 0.85
dfs_aspace_hash_lookupFunction · 0.85
dfs_aspace_insertFunction · 0.85
dfs_aspace_removeFunction · 0.85
dfs_aspace_activeFunction · 0.85
dfs_aspace_inactiveFunction · 0.85
dfs_aspace_createFunction · 0.85
dfs_aspace_destroyFunction · 0.85
dfs_aspace_releaseFunction · 0.85
dfs_pcache_dumpFunction · 0.85

Calls 1

rt_mutex_takeFunction · 0.85

Tested by

no test coverage detected