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

Function dfs_aspace_unlock

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

* @brief Unlock an address space after thread-safe operations * * @param[in,out] aspace Pointer to the address space structure to be unlocked * * @return Always returns 0 indicating success * * @note Must be called after dfs_aspace_lock() to release the lock * @see dfs_aspace_lock() */

Source from the content-addressed store, hash-verified

1198 * @see dfs_aspace_lock()
1199 */
1200static int dfs_aspace_unlock(struct dfs_aspace *aspace)
1201{
1202 rt_mutex_release(&aspace->lock);
1203 return 0;
1204}
1205
1206/**
1207 * @brief Insert a page into the address space's page cache

Callers 15

dfs_aspace_gcFunction · 0.85
dfs_pcache_threadFunction · 0.85
dfs_aspace_destroyFunction · 0.85
dfs_aspace_releaseFunction · 0.85
_dfs_aspace_dumpFunction · 0.85
dfs_page_releaseFunction · 0.85
dfs_page_insertFunction · 0.85
dfs_page_removeFunction · 0.85
dfs_page_activeFunction · 0.85
dfs_page_inactiveFunction · 0.85
dfs_page_dirtyFunction · 0.85
dfs_page_searchFunction · 0.85

Calls 1

rt_mutex_releaseFunction · 0.85

Tested by

no test coverage detected