Home
last modified time | relevance | path

Searched refs:tnc_mutex (Results 1 – 5 of 5) sorted by relevance

/linux/fs/ubifs/
H A Dtnc.c340 * used with @c->tnc_mutex unlock upon return from the TNC subsystem. But LNC
1486 mutex_lock(&c->tnc_mutex); in ubifs_tnc_locate()
1515 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_locate()
1535 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_locate()
1563 mutex_lock(&c->tnc_mutex); in ubifs_tnc_get_bu_keys()
1642 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_get_bu_keys()
1853 mutex_lock(&c->tnc_mutex); in do_lookup_nm()
1877 mutex_unlock(&c->tnc_mutex); in do_lookup_nm()
1971 mutex_lock(&c->tnc_mutex); in do_lookup_dh()
1979 mutex_unlock(&c->tnc_mutex); in do_lookup_dh()
[all...]
H A Dshrinker.c65 ubifs_assert(c, mutex_is_locked(&c->tnc_mutex)); in shrink_tnc()
75 * Note, we are holding 'c->tnc_mutex', so we do not have to lock the in shrink_tnc()
77 * changed only when the 'c->tnc_mutex' is held. in shrink_tnc()
175 if (!mutex_trylock(&c->tnc_mutex)) { in shrink_tnc_trees()
188 mutex_unlock(&c->tnc_mutex); in shrink_tnc_trees()
H A Dtnc_commit.c88 * because this function is called with @c->tnc_mutex locked. in make_idx_node()
764 mutex_lock(&c->tnc_mutex); in ubifs_tnc_start_commit()
806 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit()
815 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit()
893 mutex_lock(&c->tnc_mutex); in write_index()
907 mutex_unlock(&c->tnc_mutex); in write_index()
953 * A: because we do not have the @c->tnc_mutex locked, and the in write_index()
1100 mutex_lock(&c->tnc_mutex); in ubifs_tnc_end_commit()
1110 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_end_commit()
H A Ddebug.c269 ubifs_assert(c, !mutex_is_locked(&c->tnc_mutex)); in ubifs_dump_inode()
1501 ubifs_assert(c, mutex_is_locked(&c->tnc_mutex)); in dbg_check_tnc()
1593 mutex_lock(&c->tnc_mutex); in dbg_walk_index()
1692 mutex_unlock(&c->tnc_mutex); in dbg_walk_index()
1703 mutex_unlock(&c->tnc_mutex); in dbg_walk_index()
2778 mutex_lock(&c->tnc_mutex); in dfs_file_write()
2780 mutex_unlock(&c->tnc_mutex); in dfs_file_write()
H A Dubifs.h1051 * @tnc_mutex: protects the Tree Node Cache (TNC), @zroot, @cnext, @enext, and
1314 struct mutex tnc_mutex; member