Lines Matching refs:mutex
79 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()
585 mutex_lock(&ih->mutex); in pin_to_kill()
588 mutex_unlock(&ih->mutex); in pin_to_kill()
594 mutex_unlock(&ih->mutex); in pin_to_kill()
632 mutex_lock(&ih->mutex); in inotify_destroy()
635 mutex_unlock(&ih->mutex); in inotify_destroy()
646 mutex_lock(&ih->mutex); in inotify_destroy()
654 mutex_unlock(&ih->mutex); in inotify_destroy()
679 mutex_lock(&ih->mutex); in inotify_find_watch()
688 mutex_unlock(&ih->mutex); in inotify_find_watch()
719 mutex_lock(&ih->mutex); in inotify_find_update_watch()
737 mutex_unlock(&ih->mutex); in inotify_find_update_watch()
767 mutex_lock(&ih->mutex); in inotify_add_watch()
798 mutex_unlock(&ih->mutex); in inotify_add_watch()
820 mutex_lock(&ih->mutex); in inotify_clone_watch()
835 mutex_unlock(&ih->mutex); in inotify_clone_watch()
842 mutex_lock(&watch->ih->mutex); in inotify_evict_watch()
844 mutex_unlock(&watch->ih->mutex); in inotify_evict_watch()
861 mutex_lock(&ih->mutex); in inotify_rm_wd()
864 mutex_unlock(&ih->mutex); in inotify_rm_wd()
875 mutex_lock(&ih->mutex); in inotify_rm_wd()
881 mutex_unlock(&ih->mutex); in inotify_rm_wd()