Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 25 of 108) sorted by relevance

12345

/fs/squashfs/
Ddecompressor_multi.c41 struct mutex mutex; member
56 mutex_lock(&stream->mutex); in put_decomp_stream()
58 mutex_unlock(&stream->mutex); in put_decomp_stream()
74 mutex_init(&stream->mutex); in squashfs_decompressor_create()
133 mutex_lock(&stream->mutex); in get_decomp_stream()
140 mutex_unlock(&stream->mutex); in get_decomp_stream()
166 mutex_unlock(&stream->mutex); in get_decomp_stream()
174 mutex_unlock(&stream->mutex); in get_decomp_stream()
Ddecompressor_single.c24 struct mutex mutex; member
44 mutex_init(&stream->mutex); in squashfs_decompressor_create()
68 mutex_lock(&stream->mutex); in squashfs_decompress()
71 mutex_unlock(&stream->mutex); in squashfs_decompress()
/fs/ceph/
Ddebugfs.c59 mutex_lock(&mdsc->mutex); in mdsc_show()
122 mutex_unlock(&mdsc->mutex); in mdsc_show()
153 mutex_lock(&mdsc->mutex); in caps_show()
160 mutex_unlock(&mdsc->mutex); in caps_show()
165 mutex_lock(&mdsc->mutex); in caps_show()
167 mutex_unlock(&mdsc->mutex); in caps_show()
180 mutex_lock(&mdsc->mutex); in mds_sessions_show()
195 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
201 mutex_lock(&mdsc->mutex); in mds_sessions_show()
203 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
Dmds_client.c1208 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1210 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1239 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1241 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1278 mutex_lock(&mdsc->mutex); in cleanup_session_requests()
1305 mutex_unlock(&mdsc->mutex); in cleanup_session_requests()
2684 mutex_lock(&mdsc->mutex); in ceph_mdsc_submit_request()
2688 mutex_unlock(&mdsc->mutex); in ceph_mdsc_submit_request()
2713 mutex_lock(&mdsc->mutex); in ceph_mdsc_wait_request()
2738 mutex_unlock(&mdsc->mutex); in ceph_mdsc_wait_request()
[all …]
Dmds_client.h164 struct mutex s_mutex; /* serialize session messages */
249 struct mutex r_fill_mutex;
339 struct mutex mutex; member
348 struct mutex mutex; /* all nested structures */ member
367 struct mutex quotarealms_inodes_mutex;
Dquota.c107 mutex_init(&qri->mutex); in find_quotarealm_inode()
137 mutex_lock(&qri->mutex); in lookup_quotarealm_inode()
140 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
146 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
169 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
/fs/btrfs/
Ddelayed-inode.c48 mutex_init(&delayed_node->mutex); in btrfs_init_delayed_node()
261 mutex_lock(&delayed_node->mutex); in __btrfs_release_delayed_node()
266 mutex_unlock(&delayed_node->mutex); in __btrfs_release_delayed_node()
840 mutex_lock(&node->mutex); in btrfs_insert_delayed_items()
862 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
866 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
942 mutex_lock(&node->mutex); in btrfs_delete_delayed_items()
961 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
969 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
974 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
[all …]
Dblock-group.h34 struct mutex mutex; member
148 struct mutex free_space_lock;
Ddelayed-ref.h79 struct mutex mutex; member
357 mutex_unlock(&head->mutex); in btrfs_delayed_ref_unlock()
Ddelayed-inode.h55 struct mutex mutex; member
/fs/configfs/
Dfile.c36 struct mutex mutex; member
107 mutex_lock(&buffer->mutex); in configfs_read_file()
118 mutex_unlock(&buffer->mutex); in configfs_read_file()
151 mutex_lock(&buffer->mutex); in configfs_read_bin_file()
208 mutex_unlock(&buffer->mutex); in configfs_read_bin_file()
280 mutex_lock(&buffer->mutex); in configfs_write_file()
286 mutex_unlock(&buffer->mutex); in configfs_write_file()
311 mutex_lock(&buffer->mutex); in configfs_write_bin_file()
352 mutex_unlock(&buffer->mutex); in configfs_write_bin_file()
428 mutex_init(&buffer->mutex); in __configfs_open_file()
[all …]
/fs/ecryptfs/
Decryptfs_kernel.h246 struct mutex keysig_list_mutex;
247 struct mutex cs_tfm_mutex;
248 struct mutex cs_mutex;
255 struct mutex lower_file_mutex;
316 struct mutex key_tfm_mutex;
321 extern struct mutex key_tfm_list_mutex;
341 struct mutex global_auth_tok_list_mutex;
402 struct mutex mux;
413 struct mutex mux;
420 extern struct mutex ecryptfs_daemon_hash_mux;
[all …]
/fs/dlm/
Ddlm_internal.h261 struct mutex lkb_cb_mutex;
295 struct mutex res_mutex;
539 struct mutex ls_waiters_mutex;
542 struct mutex ls_orphans_mutex;
545 struct mutex ls_timeout_mutex;
591 struct mutex ls_cb_mutex;
595 struct mutex ls_recoverd_active;
604 struct mutex ls_requestqueue_mutex;
619 struct mutex ls_clear_proc_locks;
/fs/kernfs/
Dfile.c111 mutex_lock(&of->mutex); in kernfs_seq_start()
158 mutex_unlock(&of->mutex); in kernfs_seq_stop()
203 mutex_lock(&of->mutex); in kernfs_file_direct_read()
206 mutex_unlock(&of->mutex); in kernfs_file_direct_read()
218 mutex_unlock(&of->mutex); in kernfs_file_direct_read()
306 mutex_lock(&of->mutex); in kernfs_fop_write()
308 mutex_unlock(&of->mutex); in kernfs_fop_write()
320 mutex_unlock(&of->mutex); in kernfs_fop_write()
485 mutex_lock(&of->mutex); in kernfs_fop_mmap()
523 mutex_unlock(&of->mutex); in kernfs_fop_mmap()
[all …]
/fs/incfs/
Ddata_mgmt.h78 struct mutex mi_dir_struct_mutex;
92 struct mutex mi_pending_reads_mutex;
139 struct mutex blockmap_mutex;
/fs/ubifs/
Dubifs.h411 struct mutex ui_mutex;
691 struct mutex io_mutex;
842 struct mutex *comp_mutex;
843 struct mutex *decomp_mutex;
1268 struct mutex log_mutex;
1299 struct mutex tnc_mutex;
1319 struct mutex bu_mutex;
1322 struct mutex write_reserve_mutex;
1413 struct mutex umount_mutex;
1431 struct mutex lp_mutex;
/fs/jffs2/
Djffs2_fs_sb.h60 struct mutex alloc_sem; /* Used to protect all the following
122 struct mutex erase_free_sem;
DREADME.Locking13 The alloc_sem is a per-filesystem mutex, used primarily to ensure
43 This is the JFFS2-internal equivalent of the inode mutex i->i_sem.
59 mutex, which is obtained by the garbage collection code and also
86 the list are protected by the file mutex f->sem. But the erase code
124 This mutex is only used by the erase code which frees obsolete node
/fs/gfs2/
Dincore.h443 struct mutex f_fl_mutex;
765 struct mutex sd_jindex_mutex;
786 struct mutex sd_quota_mutex;
787 struct mutex sd_quota_sync_mutex;
845 struct mutex sd_freeze_mutex;
/fs/jfs/
Djfs_imap.h130 struct mutex im_freelock; /* 4: iag free list lock */
131 struct mutex im_aglock[MAXAG]; /* 512: per AG locks */
/fs/9p/
Dv9fs.h112 struct mutex fscache_lock;
118 struct mutex v_mutex;
/fs/xfs/
Dxfs_qm.h61 struct mutex qi_tree_lock;
73 struct mutex qi_quotaofflock;/* to serialize quotaoff */
/fs/ufs/
Dufs.h32 struct mutex s_lock;
49 struct mutex truncate_mutex;
/fs/hfsplus/
Dhfsplus_fs.h92 struct mutex tree_lock;
171 struct mutex alloc_mutex;
177 struct mutex vh_mutex;
222 struct mutex extents_lock;
/fs/fuse/
Dfuse_i.h54 extern struct mutex fuse_mutex;
147 struct mutex mutex; member
198 struct mutex lock;

12345