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.c50 mutex_init(&delayed_node->mutex); in btrfs_init_delayed_node()
263 mutex_lock(&delayed_node->mutex); in __btrfs_release_delayed_node()
268 mutex_unlock(&delayed_node->mutex); in __btrfs_release_delayed_node()
842 mutex_lock(&node->mutex); in btrfs_insert_delayed_items()
864 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
868 mutex_unlock(&node->mutex); in btrfs_insert_delayed_items()
945 mutex_lock(&node->mutex); in btrfs_delete_delayed_items()
966 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
974 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
979 mutex_unlock(&node->mutex); in btrfs_delete_delayed_items()
[all …]
Ddelayed-ref.h79 struct mutex mutex; member
365 mutex_unlock(&head->mutex); in btrfs_delayed_ref_unlock()
Dblock-group.h47 struct mutex mutex; member
176 struct mutex free_space_lock;
Ddelayed-inode.h55 struct mutex mutex; member
Dctree.h400 struct mutex lock_finishing_cancel_unmount;
450 struct mutex lock;
680 struct mutex tree_log_mutex;
681 struct mutex transaction_kthread_mutex;
682 struct mutex cleaner_mutex;
683 struct mutex chunk_mutex;
689 struct mutex ro_block_group_mutex;
704 struct mutex ordered_operations_mutex;
717 struct mutex reloc_mutex;
751 struct mutex delalloc_root_mutex;
[all …]
/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/ceph/
Dmds_client.c818 mutex_lock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
831 mutex_unlock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
834 mutex_lock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
836 mutex_unlock(&mdsc->mutex); in ceph_mdsc_iterate_sessions()
1449 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1451 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_session()
1479 mutex_lock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1481 mutex_unlock(&mdsc->mutex); in ceph_mdsc_open_export_target_sessions()
1517 mutex_lock(&mdsc->mutex); in cleanup_session_requests()
1538 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()
240 mutex_lock(&mdsc->mutex); in caps_show()
247 mutex_unlock(&mdsc->mutex); in caps_show()
252 mutex_lock(&mdsc->mutex); in caps_show()
254 mutex_unlock(&mdsc->mutex); in caps_show()
279 mutex_lock(&mdsc->mutex); in mds_sessions_show()
294 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
300 mutex_lock(&mdsc->mutex); in mds_sessions_show()
302 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
Dmds_client.h176 struct mutex s_mutex; /* serialize session messages */
268 struct mutex r_fill_mutex;
363 struct mutex mutex; member
385 struct mutex mutex; /* all nested structures */ member
404 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/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.h260 struct mutex lkb_cb_mutex;
294 struct mutex res_mutex;
538 struct mutex ls_waiters_mutex;
541 struct mutex ls_orphans_mutex;
544 struct mutex ls_timeout_mutex;
590 struct mutex ls_cb_mutex;
594 struct mutex ls_recoverd_active;
603 struct mutex ls_requestqueue_mutex;
618 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/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/gfs2/
Dincore.h445 struct mutex f_fl_mutex;
783 struct mutex sd_jindex_mutex;
805 struct mutex sd_quota_mutex;
806 struct mutex sd_quota_sync_mutex;
865 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.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