Lines Matching full:static
42 static inline void userfaultfd_unmap_complete(struct mm_struct *mm, in userfaultfd_unmap_complete()
47 static inline unsigned long move_page_tables(struct pagetable_move_control *pmc) in move_page_tables()
52 static inline void free_pgd_range(struct mmu_gather *tlb, in free_pgd_range()
58 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve()
63 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
67 static inline void vma_numab_state_init(struct vm_area_struct *vma) in vma_numab_state_init()
71 static inline void vma_numab_state_free(struct vm_area_struct *vma) in vma_numab_state_free()
75 static inline void dup_anon_vma_name(struct vm_area_struct *orig_vma, in dup_anon_vma_name()
80 static inline void free_anon_vma_name(struct vm_area_struct *vma) in free_anon_vma_name()
84 static inline int mmap_action_prepare(struct vm_area_desc *desc) in mmap_action_prepare()
89 static inline int mmap_action_complete(struct vm_area_struct *vma, in mmap_action_complete()
96 static inline void fixup_hugetlb_reservations(struct vm_area_struct *vma) in fixup_hugetlb_reservations()
100 static inline bool shmem_file(struct file *file) in shmem_file()
105 static inline vma_flags_t ksm_vma_flags(struct mm_struct *mm, in ksm_vma_flags()
111 static inline void remap_pfn_range_prepare(struct vm_area_desc *desc, unsigned long pfn) in remap_pfn_range_prepare()
115 static inline int remap_pfn_range_complete(struct vm_area_struct *vma, unsigned long addr, in remap_pfn_range_complete()
121 static inline int do_munmap(struct mm_struct *, unsigned long, size_t, in do_munmap()
128 static inline void vm_acct_memory(long pages);
130 static inline void mmap_assert_locked(struct mm_struct *mm) in mmap_assert_locked()
135 static inline void anon_vma_unlock_write(struct anon_vma *anon_vma) in anon_vma_unlock_write()
139 static inline void i_mmap_unlock_write(struct address_space *mapping) in i_mmap_unlock_write()
143 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
151 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
155 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock()
159 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
163 static inline int mmap_write_lock_killable(struct mm_struct *mm) in mmap_write_lock_killable()
168 static inline bool can_modify_mm(struct mm_struct *mm, in can_modify_mm()
175 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap()
181 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
186 static inline void khugepaged_enter_vma(struct vm_area_struct *vma, in khugepaged_enter_vma()
191 static inline bool mapping_can_writeback(struct address_space *mapping) in mapping_can_writeback()
196 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page()
201 static inline bool vma_soft_dirty_enabled(struct vm_area_struct *vma) in vma_soft_dirty_enabled()
206 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
211 static inline void mmap_assert_write_locked(struct mm_struct *mm) in mmap_assert_write_locked()
215 static inline void mutex_lock(struct mutex *lock) in mutex_lock()
219 static inline void mutex_unlock(struct mutex *lock) in mutex_unlock()
223 static inline bool mutex_is_locked(struct mutex *lock) in mutex_is_locked()
228 static inline bool signal_pending(void *p) in signal_pending()
233 static inline bool is_file_hugepages(const struct file *file) in is_file_hugepages()
238 static inline int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm()
243 static inline bool may_expand_vm(struct mm_struct *mm, in may_expand_vm()
250 static inline int shmem_zero_setup(struct vm_area_struct *vma) in shmem_zero_setup()
256 static inline void vm_acct_memory(long pages) in vm_acct_memory()
260 static inline void vma_interval_tree_insert(struct vm_area_struct *vma, in vma_interval_tree_insert()
265 static inline void vma_interval_tree_remove(struct vm_area_struct *vma, in vma_interval_tree_remove()
270 static inline void flush_dcache_mmap_unlock(struct address_space *mapping) in flush_dcache_mmap_unlock()
274 static inline void anon_vma_interval_tree_insert(struct anon_vma_chain *avc, in anon_vma_interval_tree_insert()
279 static inline void anon_vma_interval_tree_remove(struct anon_vma_chain *avc, in anon_vma_interval_tree_remove()
284 static inline void uprobe_mmap(struct vm_area_struct *vma) in uprobe_mmap()
288 static inline void uprobe_munmap(struct vm_area_struct *vma, in uprobe_munmap()
293 static inline void i_mmap_lock_write(struct address_space *mapping) in i_mmap_lock_write()
297 static inline void anon_vma_lock_write(struct anon_vma *anon_vma) in anon_vma_lock_write()
301 static inline void vma_assert_write_locked(struct vm_area_struct *vma) in vma_assert_write_locked()
305 static inline void ksm_add_vma(struct vm_area_struct *vma) in ksm_add_vma()
309 static inline void perf_event_mmap(struct vm_area_struct *vma) in perf_event_mmap()
313 static inline bool vma_is_dax(struct vm_area_struct *vma) in vma_is_dax()
318 static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
323 static inline bool arch_validate_flags(vm_flags_t flags) in arch_validate_flags()
328 static inline void vma_close(struct vm_area_struct *vma) in vma_close()
332 static inline int mmap_file(struct file *file, struct vm_area_struct *vma) in mmap_file()
337 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range()
343 static inline bool capable(int cap) in capable()
348 static inline struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
353 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
359 static inline bool anon_vma_name_eq(struct anon_vma_name *anon_name1, in anon_vma_name_eq()
365 static inline void might_sleep(void) in might_sleep()
369 static inline void fput(struct file *file) in fput()
373 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
377 static inline void lru_add_drain(void) in lru_add_drain()
381 static inline void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm) in tlb_gather_mmu()
385 static inline void update_hiwater_rss(struct mm_struct *mm) in update_hiwater_rss()
389 static inline void update_hiwater_vm(struct mm_struct *mm) in update_hiwater_vm()
393 static inline void unmap_vmas(struct mmu_gather *tlb, struct unmap_desc *unmap) in unmap_vmas()
397 static inline void free_pgtables(struct mmu_gather *tlb, struct unmap_desc *unmap) in free_pgtables()
401 static inline void mapping_unmap_writable(struct address_space *mapping) in mapping_unmap_writable()
405 static inline void flush_dcache_mmap_lock(struct address_space *mapping) in flush_dcache_mmap_lock()
409 static inline void tlb_finish_mmu(struct mmu_gather *tlb) in tlb_finish_mmu()
413 static inline struct file *get_file(struct file *f) in get_file()
418 static inline int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy()
423 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
430 static inline void hugetlb_split(struct vm_area_struct *, unsigned long) {} in hugetlb_split()
432 static inline bool vma_supports_mlock(const struct vm_area_struct *vma) in vma_supports_mlock()