Lines Matching defs:mm
25 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
32 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
39 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
47 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
52 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
57 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
63 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked()
68 static inline void mmap_assert_write_locked(const struct mm_struct *mm) in mmap_assert_write_locked()
75 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init()
80 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) in mm_lock_seqcount_begin()
85 static inline void mm_lock_seqcount_end(struct mm_struct *mm) in mm_lock_seqcount_end()
91 static inline bool mmap_lock_speculate_try_begin(struct mm_struct *mm, unsigned int *seq) in mmap_lock_speculate_try_begin()
102 static inline bool mmap_lock_speculate_retry(struct mm_struct *mm, unsigned int seq) in mmap_lock_speculate_retry()
109 static inline void mm_lock_seqcount_init(struct mm_struct *mm) {} in mm_lock_seqcount_init()
110 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) {} in mm_lock_seqcount_begin()
111 static inline void mm_lock_seqcount_end(struct mm_struct *mm) {} in mm_lock_seqcount_end()
113 static inline bool mmap_lock_speculate_try_begin(struct mm_struct *mm, unsigned int *seq) in mmap_lock_speculate_try_begin()
118 static inline bool mmap_lock_speculate_retry(struct mm_struct *mm, unsigned int seq) in mmap_lock_speculate_retry()
125 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
131 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
139 static inline void mmap_write_lock_nested(struct mm_struct *mm, int subclass) in mmap_write_lock_nested()
147 static inline int mmap_write_lock_killable(struct mm_struct *mm) in mmap_write_lock_killable()
167 static inline void vma_end_write_all(struct mm_struct *mm) in vma_end_write_all()
173 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
180 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
187 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
194 static inline int mmap_read_lock_killable(struct mm_struct *mm) in mmap_read_lock_killable()
204 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
214 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock()
220 static inline void mmap_read_unlock_non_owner(struct mm_struct *mm) in mmap_read_unlock_non_owner()
226 static inline int mmap_lock_is_contended(struct mm_struct *mm) in mmap_lock_is_contended()