Searched refs:tnc_mutex (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | tnc.c | 339 * used with @c->tnc_mutex unlock upon return from the TNC subsystem. But LNC 1485 mutex_lock(&c->tnc_mutex); in ubifs_tnc_locate() 1514 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_locate() 1534 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_locate() 1562 mutex_lock(&c->tnc_mutex); in ubifs_tnc_get_bu_keys() 1641 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_get_bu_keys() 1852 mutex_lock(&c->tnc_mutex); in do_lookup_nm() 1876 mutex_unlock(&c->tnc_mutex); in do_lookup_nm() 1970 mutex_lock(&c->tnc_mutex); in do_lookup_dh() 1978 mutex_unlock(&c->tnc_mutex); in do_lookup_dh() [all...] |
H A D | shrinker.c | 65 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 D | tnc_commit.c | 88 * because this function is called with @c->tnc_mutex locked. in make_idx_node() 762 mutex_lock(&c->tnc_mutex); in ubifs_tnc_start_commit() 804 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit() 813 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit() 891 mutex_lock(&c->tnc_mutex); in write_index() 905 mutex_unlock(&c->tnc_mutex); in write_index() 951 * A: because we do not have the @c->tnc_mutex locked, and the in write_index() 1098 mutex_lock(&c->tnc_mutex); in ubifs_tnc_end_commit() 1108 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_end_commit()
|
H A D | debug.c | 269 ubifs_assert(c, !mutex_is_locked(&c->tnc_mutex)); in ubifs_dump_inode() 1498 ubifs_assert(c, mutex_is_locked(&c->tnc_mutex)); in dbg_check_tnc() 1590 mutex_lock(&c->tnc_mutex); in dbg_walk_index() 1689 mutex_unlock(&c->tnc_mutex); in dbg_walk_index() 1700 mutex_unlock(&c->tnc_mutex); in dbg_walk_index() 2770 mutex_lock(&c->tnc_mutex); in dfs_file_write() 2772 mutex_unlock(&c->tnc_mutex); in dfs_file_write()
|
H A D | ubifs.h | 1047 * @tnc_mutex: protects the Tree Node Cache (TNC), @zroot, @cnext, @enext, and 1301 struct mutex tnc_mutex; member
|
H A D | super.c | 2144 mutex_init(&c->tnc_mutex); in alloc_ubifs_info()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | tnc.c | 340 * 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 D | shrinker.c | 65 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 D | tnc_commit.c | 88 * because this function is called with @c->tnc_mutex locked. in make_idx_node() 762 mutex_lock(&c->tnc_mutex); in ubifs_tnc_start_commit() 804 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit() 813 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_start_commit() 891 mutex_lock(&c->tnc_mutex); in write_index() 905 mutex_unlock(&c->tnc_mutex); in write_index() 951 * A: because we do not have the @c->tnc_mutex locked, and the in write_index() 1098 mutex_lock(&c->tnc_mutex); in ubifs_tnc_end_commit() 1108 mutex_unlock(&c->tnc_mutex); in ubifs_tnc_end_commit()
|
H A D | debug.c | 269 ubifs_assert(c, !mutex_is_locked(&c->tnc_mutex)); in ubifs_dump_inode() 1498 ubifs_assert(c, mutex_is_locked(&c->tnc_mutex)); in dbg_check_tnc() 1590 mutex_lock(&c->tnc_mutex); in dbg_walk_index() 1689 mutex_unlock(&c->tnc_mutex); in dbg_walk_index() 1700 mutex_unlock(&c->tnc_mutex); in dbg_walk_index() 2770 mutex_lock(&c->tnc_mutex); in dfs_file_write() 2772 mutex_unlock(&c->tnc_mutex); in dfs_file_write()
|
H A D | ubifs.h | 1068 * @tnc_mutex: protects the Tree Node Cache (TNC), @zroot, @cnext, @enext, and 1329 struct mutex tnc_mutex; member
|
H A D | super.c | 2149 mutex_init(&c->tnc_mutex); in alloc_ubifs_info()
|
Completed in 27 milliseconds