Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_merge_view.h40 struct mutex comrade_list_lock; member
97 mutex_lock(&hmdfs_dm(dentry)->comrade_list_lock); in link_comrade_unlocked()
99 mutex_unlock(&hmdfs_dm(dentry)->comrade_list_lock); in link_comrade_unlocked()
108 mutex_lock(&mdi->comrade_list_lock); in is_comrade_list_empty()
110 mutex_unlock(&mdi->comrade_list_lock); in is_comrade_list_empty()
146 mutex_lock(&dm->comrade_list_lock); \
151 mutex_unlock(&dm->comrade_list_lock); \
160 mutex_lock(&hmdfs_dm(olddentry)->comrade_list_lock); \
164 mutex_unlock(&hmdfs_dm(olddentry)->comrade_list_lock); \
165 mutex_lock(&hmdfs_dm(newdentry)->comrade_list_lock); \
[all …]
Dfile_merge.c282 mutex_lock(&fi_head->comrade_list_lock); in get_next_hmdfs_file_info()
288 mutex_unlock(&fi_head->comrade_list_lock); in get_next_hmdfs_file_info()
298 mutex_lock(&fi_head->comrade_list_lock); in get_hmdfs_file_info()
301 mutex_unlock(&fi_head->comrade_list_lock); in get_hmdfs_file_info()
305 mutex_unlock(&fi_head->comrade_list_lock); in get_hmdfs_file_info()
384 mutex_lock(&dim->comrade_list_lock); in do_dir_open_merge()
409 mutex_lock(&fi_head->comrade_list_lock); in do_dir_open_merge()
411 mutex_unlock(&fi_head->comrade_list_lock); in do_dir_open_merge()
413 mutex_unlock(&dim->comrade_list_lock); in do_dir_open_merge()
428 mutex_init(&fi->comrade_list_lock); in hmdfs_dir_open_merge()
[all …]
Dinode_merge.c30 mutex_lock(&dim->comrade_list_lock); in hmdfs_get_fst_lo_d()
35 mutex_unlock(&dim->comrade_list_lock); in hmdfs_get_fst_lo_d()
45 mutex_lock(&dim->comrade_list_lock); in hmdfs_get_lo_d()
52 mutex_unlock(&dim->comrade_list_lock); in hmdfs_get_lo_d()
63 mutex_lock(&cdi->comrade_list_lock); in update_inode_attr()
82 mutex_unlock(&cdi->comrade_list_lock); in update_inode_attr()
91 mutex_lock(&dim->comrade_list_lock); in get_num_comrades()
94 mutex_unlock(&dim->comrade_list_lock); in get_num_comrades()
214 mutex_lock(&cdi->comrade_list_lock); in assign_comrades_unlocked()
217 mutex_unlock(&cdi->comrade_list_lock); in assign_comrades_unlocked()
[all …]
Ddentry.c263 mutex_lock(&cdi->comrade_list_lock); in clear_comrades()
265 mutex_unlock(&cdi->comrade_list_lock); in clear_comrades()
291 mutex_lock(&dim->comrade_list_lock); in d_revalidate_merge()
305 mutex_unlock(&dim->comrade_list_lock); in d_revalidate_merge()
Dhmdfs.h238 struct mutex comrade_list_lock; member