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

Function dfs_file_unlock

components/dfs/dfs_v2/src/dfs.c:220–223  ·  view source on GitHub ↗

* @brief Unlock the file descriptor table mutex * * @note This function releases the lock acquired by dfs_file_lock(). * Should be called in the same context as the corresponding lock. * Should not be called from interrupt service routines. */

Source from the content-addressed store, hash-verified

218 * Should not be called from interrupt service routines.
219 */
220void dfs_file_unlock(void)
221{
222 rt_mutex_release(&fdlock);
223}
224
225/**
226 * this function will initialize device file system.

Callers 15

on_varea_closeFunction · 0.70
dfs_get_mem_objFunction · 0.70
dfs_vnode_destroyFunction · 0.70
dfs_vnode_unrefFunction · 0.70
fdt_fd_newFunction · 0.70
fdt_fd_associate_fileFunction · 0.70
dfs_fdtable_dupFunction · 0.70
dfs_fdtable_drop_fdFunction · 0.70
dfs_dupFunction · 0.70
dfs_dup_toFunction · 0.70
dfs_dup_fromFunction · 0.70
sys_dup2Function · 0.70

Calls 1

rt_mutex_releaseFunction · 0.85

Tested by

no test coverage detected