Home
last modified time | relevance | path

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

123

/fs/notify/inotify/
Dinotify.c79 struct mutex mutex; /* protects this bad boy */ member
313 mutex_lock(&ih->mutex); in inotify_inode_queue_event()
318 mutex_unlock(&ih->mutex); in inotify_inode_queue_event()
432 mutex_lock(&ih->mutex); in inotify_unmount_inodes()
436 mutex_unlock(&ih->mutex); in inotify_unmount_inodes()
458 mutex_lock(&ih->mutex); in inotify_inode_is_dead()
460 mutex_unlock(&ih->mutex); in inotify_inode_is_dead()
482 mutex_init(&ih->mutex); in inotify_init()
572 mutex_unlock(&ih->mutex); in pin_to_kill()
577 mutex_unlock(&ih->mutex); /* can't grab ->s_umount under it */ in pin_to_kill()
[all …]
/fs/sysfs/
Dbin.c30 struct mutex mutex; member
80 mutex_lock(&bb->mutex); in read()
84 mutex_unlock(&bb->mutex); in read()
90 mutex_unlock(&bb->mutex); in read()
156 mutex_lock(&bb->mutex); in write()
161 mutex_unlock(&bb->mutex); in write()
179 mutex_lock(&bb->mutex); in mmap()
194 mutex_unlock(&bb->mutex); in mmap()
225 mutex_init(&bb->mutex); in open()
Dfile.c57 struct mutex mutex; member
140 mutex_lock(&buffer->mutex); in sysfs_read_file()
151 mutex_unlock(&buffer->mutex); in sysfs_read_file()
240 mutex_lock(&buffer->mutex); in sysfs_write_file()
246 mutex_unlock(&buffer->mutex); in sysfs_write_file()
384 mutex_init(&buffer->mutex); in sysfs_open_file()
Dsysfs.h98 extern struct mutex sysfs_mutex;
99 extern struct mutex sysfs_rename_mutex;
/fs/btrfs/
Dordered-data.c179 mutex_lock(&tree->mutex); in btrfs_add_ordered_extent()
206 mutex_unlock(&tree->mutex); in btrfs_add_ordered_extent()
223 mutex_lock(&tree->mutex); in btrfs_add_ordered_sum()
225 mutex_unlock(&tree->mutex); in btrfs_add_ordered_sum()
248 mutex_lock(&tree->mutex); in btrfs_dec_test_ordered_pending()
269 mutex_unlock(&tree->mutex); in btrfs_dec_test_ordered_pending()
305 mutex_lock(&tree->mutex); in btrfs_remove_ordered_extent()
315 mutex_unlock(&tree->mutex); in btrfs_remove_ordered_extent()
472 mutex_lock(&tree->mutex); in btrfs_lookup_ordered_extent()
483 mutex_unlock(&tree->mutex); in btrfs_lookup_ordered_extent()
[all …]
Dordered-data.h24 struct mutex mutex; member
128 mutex_init(&t->mutex); in btrfs_ordered_inode_tree_init()
Dbtrfs_inode.h48 struct mutex extent_mutex;
51 struct mutex log_mutex;
Dctree.h639 struct mutex alloc_mutex;
640 struct mutex cache_mutex;
716 struct mutex trans_mutex;
717 struct mutex tree_log_mutex;
718 struct mutex transaction_kthread_mutex;
719 struct mutex cleaner_mutex;
720 struct mutex extent_ins_mutex;
721 struct mutex pinned_mutex;
722 struct mutex chunk_mutex;
723 struct mutex drop_mutex;
[all …]
/fs/configfs/
Dfile.c49 struct mutex mutex; member
112 mutex_lock(&buffer->mutex); in configfs_read_file()
122 mutex_unlock(&buffer->mutex); in configfs_read_file()
203 mutex_lock(&buffer->mutex); in configfs_write_file()
209 mutex_unlock(&buffer->mutex); in configfs_write_file()
263 mutex_init(&buffer->mutex); in check_perm()
302 mutex_destroy(&buffer->mutex); in configfs_release()
/fs/ecryptfs/
Decryptfs_kernel.h288 struct mutex keysig_list_mutex;
289 struct mutex cs_tfm_mutex;
290 struct mutex cs_hash_tfm_mutex;
291 struct mutex cs_mutex;
299 struct mutex lower_file_mutex;
356 struct mutex key_tfm_mutex;
361 extern struct mutex key_tfm_list_mutex;
380 struct mutex global_auth_tok_list_mutex;
442 struct mutex mux;
458 struct mutex mux;
[all …]
/fs/gfs2/
Dincore.h85 struct mutex rd_mutex;
268 struct mutex f_fl_mutex;
499 struct mutex sd_inum_mutex;
511 struct mutex sd_rindex_mutex;
521 struct mutex sd_jindex_mutex;
544 struct mutex sd_quota_mutex;
576 struct mutex sd_log_reserve_mutex;
607 struct mutex sd_freeze_lock;
/fs/dlm/
Ddlm_internal.h266 struct mutex res_mutex;
461 struct mutex ls_waiters_mutex;
464 struct mutex ls_orphans_mutex;
467 struct mutex ls_timeout_mutex;
498 struct mutex ls_recoverd_active;
507 struct mutex ls_requestqueue_mutex;
516 struct mutex ls_clear_proc_locks;
/fs/squashfs/
Dsquashfs_fs_sb.h64 struct mutex read_data_mutex;
65 struct mutex meta_index_mutex;
/fs/ubifs/
Dubifs.h398 struct mutex ui_mutex;
679 struct mutex io_mutex;
815 struct mutex *comp_mutex;
816 struct mutex *decomp_mutex;
1185 struct mutex log_mutex;
1209 struct mutex tnc_mutex;
1227 struct mutex mst_mutex;
1230 struct mutex bu_mutex;
1326 struct mutex umount_mutex;
1344 struct mutex lp_mutex;
/fs/jffs2/
Djffs2_fs_sb.h47 struct mutex alloc_sem; /* Used to protect all the following
108 struct mutex erase_free_sem;
DREADME.Locking17 The alloc_sem is a per-filesystem mutex, used primarily to ensure
47 This is the JFFS2-internal equivalent of the inode mutex i->i_sem.
63 mutex, which is obtained by the garbage collection code and also
89 the list are protected by the file mutex f->sem. But the erase code
127 This mutex is only used by the erase code which frees obsolete node
Djffs2_fs_i.h26 struct mutex sem;
/fs/
Dlibfs.c632 struct mutex mutex; /* protects access to these buffers */ member
651 mutex_init(&attr->mutex); in simple_attr_open()
677 ret = mutex_lock_interruptible(&attr->mutex); in simple_attr_read()
695 mutex_unlock(&attr->mutex); in simple_attr_read()
712 ret = mutex_lock_interruptible(&attr->mutex); in simple_attr_write()
726 mutex_unlock(&attr->mutex); in simple_attr_write()
/fs/jfs/
Djfs_imap.h143 struct mutex im_freelock; /* 4: iag free list lock */
144 struct mutex im_aglock[MAXAG]; /* 512: per AG locks */
/fs/ntfs/
Dinode.h85 struct mutex mrec_lock; /* Lock for serializing access to the
121 struct mutex extent_lock; /* Lock for accessing/modifying the
/fs/xfs/linux-2.6/
Dmutex.h23 typedef struct mutex mutex_t;
/fs/hfs/
Dhfs_fs.h57 struct mutex extents_lock;
143 struct mutex bitmap_lock;
/fs/bfs/
Dbfs.h21 struct mutex bfs_lock;
/fs/ocfs2/
Dfile.h40 struct mutex fp_mutex;
/fs/fuse/
Dfuse_i.h56 extern struct mutex fuse_mutex;
304 struct mutex inst_mutex;

123