Home
last modified time | relevance | path

Searched refs:mark_mutex (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/fs/notify/
Dmark.c375 WARN_ON_ONCE(!mutex_is_locked(&group->mark_mutex)); in fsnotify_detach_mark()
429 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark()
431 mutex_unlock(&group->mark_mutex); in fsnotify_destroy_mark()
643 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_add_mark_locked()
685 mutex_lock(&group->mark_mutex); in fsnotify_add_mark()
687 mutex_unlock(&group->mark_mutex); in fsnotify_add_mark()
741 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
746 mutex_unlock(&group->mark_mutex); in fsnotify_clear_marks_by_group()
750 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_clear_marks_by_group()
752 mutex_unlock(&group->mark_mutex); in fsnotify_clear_marks_by_group()
[all …]
Dfdinfo.c32 mutex_lock(&group->mark_mutex); in show_fdinfo()
38 mutex_unlock(&group->mark_mutex); in show_fdinfo()
Dgroup.c134 mutex_init(&group->mark_mutex); in fsnotify_alloc_group()
/Linux-v5.4/kernel/
Daudit_tree.c356 mutex_lock(&audit_tree_group->mark_mutex); in untag_chunk()
373 mutex_unlock(&audit_tree_group->mark_mutex); in untag_chunk()
390 mutex_unlock(&audit_tree_group->mark_mutex); in untag_chunk()
395 mutex_unlock(&audit_tree_group->mark_mutex); in untag_chunk()
405 mutex_unlock(&audit_tree_group->mark_mutex); in create_chunk()
411 mutex_unlock(&audit_tree_group->mark_mutex); in create_chunk()
417 mutex_unlock(&audit_tree_group->mark_mutex); in create_chunk()
427 mutex_unlock(&audit_tree_group->mark_mutex); in create_chunk()
449 mutex_unlock(&audit_tree_group->mark_mutex); in create_chunk()
467 mutex_lock(&audit_tree_group->mark_mutex); in tag_chunk()
[all …]
/Linux-v5.4/fs/notify/dnotify/
Ddnotify.c159 mutex_lock(&dnotify_group->mark_mutex); in dnotify_flush()
182 mutex_unlock(&dnotify_group->mark_mutex); in dnotify_flush()
315 mutex_lock(&dnotify_group->mark_mutex); in fcntl_dirnotify()
325 mutex_unlock(&dnotify_group->mark_mutex); in fcntl_dirnotify()
374 mutex_unlock(&dnotify_group->mark_mutex); in fcntl_dirnotify()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify_user.c612 mutex_lock(&group->mark_mutex); in fanotify_remove_mark()
615 mutex_unlock(&group->mark_mutex); in fanotify_remove_mark()
625 mutex_unlock(&group->mark_mutex); in fanotify_remove_mark()
711 mutex_lock(&group->mark_mutex); in fanotify_add_mark()
716 mutex_unlock(&group->mark_mutex); in fanotify_add_mark()
723 mutex_unlock(&group->mark_mutex); in fanotify_add_mark()
/Linux-v5.4/fs/nfsd/
Dfilecache.c128 mutex_lock(&nfsd_file_fsnotify_group->mark_mutex); in nfsd_file_mark_find_or_create()
135 mutex_unlock(&nfsd_file_fsnotify_group->mark_mutex); in nfsd_file_mark_find_or_create()
140 mutex_unlock(&nfsd_file_fsnotify_group->mark_mutex); in nfsd_file_mark_find_or_create()
/Linux-v5.4/fs/notify/inotify/
Dinotify_user.c612 mutex_lock(&group->mark_mutex); in inotify_update_watch()
618 mutex_unlock(&group->mark_mutex); in inotify_update_watch()
/Linux-v5.4/include/linux/
Dfsnotify_backend.h176 struct mutex mark_mutex; /* protect marks_list */ member