• Home
  • Raw
  • Download

Lines Matching refs:mutex

43 static inline struct mutex *kernfs_open_file_mutex_ptr(struct kernfs_node *kn)  in kernfs_open_file_mutex_ptr()
50 static inline struct mutex *kernfs_open_file_mutex_lock(struct kernfs_node *kn) in kernfs_open_file_mutex_lock()
52 struct mutex *lock; in kernfs_open_file_mutex_lock()
150 mutex_lock(&of->mutex); in kernfs_seq_start()
192 mutex_unlock(&of->mutex); in kernfs_seq_stop()
236 mutex_lock(&of->mutex); in kernfs_file_read_iter()
239 mutex_unlock(&of->mutex); in kernfs_file_read_iter()
252 mutex_unlock(&of->mutex); in kernfs_file_read_iter()
321 mutex_lock(&of->mutex); in kernfs_fop_write_iter()
323 mutex_unlock(&of->mutex); in kernfs_fop_write_iter()
335 mutex_unlock(&of->mutex); in kernfs_fop_write_iter()
500 mutex_lock(&of->mutex); in kernfs_fop_mmap()
538 mutex_unlock(&of->mutex); in kernfs_fop_mmap()
561 struct mutex *mutex; in kernfs_get_open_node() local
563 mutex = kernfs_open_file_mutex_lock(kn); in kernfs_get_open_node()
570 mutex_unlock(mutex); in kernfs_get_open_node()
583 mutex_unlock(mutex); in kernfs_get_open_node()
606 struct mutex *mutex; in kernfs_unlink_open_file() local
608 mutex = kernfs_open_file_mutex_lock(kn); in kernfs_unlink_open_file()
612 mutex_unlock(mutex); in kernfs_unlink_open_file()
632 mutex_unlock(mutex); in kernfs_unlink_open_file()
686 mutex_init(&of->mutex); in kernfs_fop_open()
688 mutex_init(&of->mutex); in kernfs_fop_open()
794 struct mutex *mutex; in kernfs_fop_release() local
796 mutex = kernfs_open_file_mutex_lock(kn); in kernfs_fop_release()
798 mutex_unlock(mutex); in kernfs_fop_release()
832 struct mutex *mutex; in kernfs_drain_open_files() local
834 mutex = kernfs_open_file_mutex_lock(kn); in kernfs_drain_open_files()
837 mutex_unlock(mutex); in kernfs_drain_open_files()
855 mutex_unlock(mutex); in kernfs_drain_open_files()