Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 25 of 110) 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()
69 mutex_lock(&stream->mutex); in squashfs_decompress()
72 mutex_unlock(&stream->mutex); in squashfs_decompress()
/fs/btrfs/
Ddelayed-inode.c49 mutex_init(&delayed_node->mutex); in btrfs_init_delayed_node()
262 mutex_lock(&delayed_node->mutex); in __btrfs_release_delayed_node()
267 mutex_unlock(&delayed_node->mutex); in __btrfs_release_delayed_node()
777 mutex_lock(&node->mutex); in btrfs_insert_delayed_items()
780 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
784 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
862 mutex_lock(&node->mutex); in btrfs_delete_delayed_items()
881 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
889 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
894 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
[all …]
Ddelayed-ref.h79 struct mutex mutex; member
366 mutex_unlock(&head->mutex); in btrfs_delayed_ref_unlock()
Dblock-group.h47 struct mutex mutex; member
180 struct mutex free_space_lock;
Ddelayed-inode.h55 struct mutex mutex; member
Dctree.h438 struct mutex lock_finishing_cancel_unmount;
487 struct mutex lock;
734 struct mutex tree_log_mutex;
735 struct mutex transaction_kthread_mutex;
736 struct mutex cleaner_mutex;
737 struct mutex chunk_mutex;
743 struct mutex ro_block_group_mutex;
758 struct mutex ordered_operations_mutex;
771 struct mutex reloc_mutex;
805 struct mutex delalloc_root_mutex;
[all …]
/fs/configfs/
Dfile.c34 struct mutex mutex; member
86 mutex_lock(&buffer->mutex); in configfs_read_iter()
102 mutex_unlock(&buffer->mutex); in configfs_read_iter()
114 mutex_lock(&buffer->mutex); in configfs_bin_read_iter()
176 mutex_unlock(&buffer->mutex); in configfs_bin_read_iter()
226 mutex_lock(&buffer->mutex); in configfs_write_iter()
232 mutex_unlock(&buffer->mutex); in configfs_write_iter()
245 mutex_lock(&buffer->mutex); in configfs_bin_write_iter()
286 mutex_unlock(&buffer->mutex); in configfs_bin_write_iter()
362 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;
313 struct mutex key_tfm_mutex;
318 extern struct mutex key_tfm_list_mutex;
338 struct mutex global_auth_tok_list_mutex;
399 struct mutex mux;
410 struct mutex mux;
417 extern struct mutex ecryptfs_daemon_hash_mux;
[all …]
/fs/ceph/
Dmds_client.c806 mutex_lock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
819 mutex_unlock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
822 mutex_lock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
824 mutex_unlock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
1433 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1435 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1463 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1465 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1501 mutex_lock(&mdsc->mutex); in cleanup_session_requests()
1522 mutex_unlock(&mdsc->mutex); in cleanup_session_requests()
[all …]
Ddebugfs.c62 mutex_lock(&mdsc->mutex); in mdsc_show()
125 mutex_unlock(&mdsc->mutex); in mdsc_show()
269 mutex_lock(&mdsc->mutex); in caps_show()
276 mutex_unlock(&mdsc->mutex); in caps_show()
281 mutex_lock(&mdsc->mutex); in caps_show()
283 mutex_unlock(&mdsc->mutex); in caps_show()
308 mutex_lock(&mdsc->mutex); in mds_sessions_show()
323 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
329 mutex_lock(&mdsc->mutex); in mds_sessions_show()
331 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
Dmds_client.h177 struct mutex s_mutex; /* serialize session messages */
267 struct mutex r_fill_mutex;
361 struct mutex mutex; member
383 struct mutex mutex; /* all nested structures */ member
402 struct mutex quotarealms_inodes_mutex;
Dquota.c106 mutex_init(&qri->mutex); in find_quotarealm_inode()
136 mutex_lock(&qri->mutex); in lookup_quotarealm_inode()
139 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
145 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
168 mutex_unlock(&qri->mutex); in lookup_quotarealm_inode()
/fs/dlm/
Ddlm_internal.h263 struct mutex lkb_cb_mutex;
297 struct mutex res_mutex;
570 struct mutex ls_waiters_mutex;
573 struct mutex ls_orphans_mutex;
576 struct mutex ls_timeout_mutex;
622 struct mutex ls_cb_mutex;
626 struct mutex ls_recoverd_active;
635 struct mutex ls_requestqueue_mutex;
650 struct mutex ls_clear_proc_locks;
/fs/kernfs/
Dfile.c112 mutex_lock(&of->mutex); in kernfs_seq_start()
159 mutex_unlock(&of->mutex); in kernfs_seq_stop()
203 mutex_lock(&of->mutex); in kernfs_file_read_iter()
206 mutex_unlock(&of->mutex); in kernfs_file_read_iter()
218 mutex_unlock(&of->mutex); in kernfs_file_read_iter()
287 mutex_lock(&of->mutex); in kernfs_fop_write_iter()
289 mutex_unlock(&of->mutex); in kernfs_fop_write_iter()
301 mutex_unlock(&of->mutex); in kernfs_fop_write_iter()
466 mutex_lock(&of->mutex); in kernfs_fop_mmap()
504 mutex_unlock(&of->mutex); in kernfs_fop_mmap()
[all …]
/fs/gfs2/
Dincore.h127 struct mutex rd_mutex;
423 struct mutex f_fl_mutex;
761 struct mutex sd_jindex_mutex;
784 struct mutex sd_quota_mutex;
785 struct mutex sd_quota_sync_mutex;
841 struct mutex sd_freeze_mutex;
/fs/incfs/
Ddata_mgmt.h148 struct mutex mi_dir_struct_mutex;
194 struct mutex mi_zstd_workspace_mutex;
203 struct mutex mi_le_mutex;
349 struct mutex df_enable_verity;
/fs/ubifs/
Dubifs.h412 struct mutex ui_mutex;
693 struct mutex io_mutex;
844 struct mutex *comp_mutex;
845 struct mutex *decomp_mutex;
1270 struct mutex log_mutex;
1301 struct mutex tnc_mutex;
1321 struct mutex bu_mutex;
1324 struct mutex write_reserve_mutex;
1415 struct mutex umount_mutex;
1433 struct mutex lp_mutex;
/fs/jffs2/
Djffs2_fs_sb.h61 struct mutex alloc_sem; /* Used to protect all the following
123 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/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.h55 struct mutex qi_tree_lock;
61 struct mutex qi_quotaofflock;/* to serialize quotaoff */
/fs/ufs/
Dufs.h32 struct mutex s_lock;
49 struct mutex truncate_mutex;
/fs/ntfs/
Dinode.h71 struct mutex mrec_lock; /* Lock for serializing access to the
107 struct mutex extent_lock; /* Lock for accessing/modifying the

12345