Home
last modified time | relevance | path

Searched defs:mm (Results 1 – 25 of 53) sorted by relevance

123

/include/linux/
A Dmmap_lock.h69 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked()
81 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init()
86 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) in mm_lock_seqcount_begin()
91 static inline void mm_lock_seqcount_end(struct mm_struct *mm) in mm_lock_seqcount_end()
139 struct mm_struct *mm = vma->vm_mm; in vma_refcount_put() local
394 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
430 static inline void vma_end_write_all(struct mm_struct *mm) in vma_end_write_all()
436 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
450 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
467 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
[all …]
A Dpage_table_check.h46 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear()
54 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear()
62 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear()
70 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set()
79 static inline void page_table_check_pmds_set(struct mm_struct *mm, in page_table_check_pmds_set()
88 static inline void page_table_check_puds_set(struct mm_struct *mm, in page_table_check_puds_set()
97 static inline void page_table_check_pte_clear_range(struct mm_struct *mm, in page_table_check_pte_clear_range()
129 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set()
134 static inline void page_table_check_pmds_set(struct mm_struct *mm, in page_table_check_pmds_set()
139 static inline void page_table_check_puds_set(struct mm_struct *mm, in page_table_check_puds_set()
[all …]
A Dksm.h37 static inline void ksm_map_zero_page(struct mm_struct *mm) in ksm_map_zero_page()
43 static inline void ksm_might_unmap_zero_page(struct mm_struct *mm, pte_t pte) in ksm_might_unmap_zero_page()
51 static inline long mm_ksm_zero_pages(struct mm_struct *mm) in mm_ksm_zero_pages()
56 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
63 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve()
71 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
100 static inline vm_flags_t ksm_vma_flags(const struct mm_struct *mm, in ksm_vma_flags()
106 static inline int ksm_disable(struct mm_struct *mm) in ksm_disable()
111 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
115 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve()
[all …]
A Dmmu_notifier.h231 struct mm_struct *mm; member
251 struct mm_struct *mm; member
263 struct mm_struct *mm; member
271 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
399 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
423 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young()
497 struct mm_struct *mm, in mmu_notifier_range_init()
511 struct mm_struct *mm, unsigned long start, in mmu_notifier_range_init_owner()
593 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
598 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
[all …]
A Dkhugepaged.h21 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
27 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
33 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
36 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
43 static inline int collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
A Dpkeys.h13 #define execute_only_pkey(mm) (0) argument
23 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
28 static inline int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
33 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
A Dmm.h2660 static inline void update_hiwater_vm(struct mm_struct *mm) in update_hiwater_vm()
2672 struct mm_struct *mm) in setmax_mm_hiwater_rss()
2748 static inline void mm_inc_nr_puds(struct mm_struct *mm) in mm_inc_nr_puds()
2755 static inline void mm_dec_nr_puds(struct mm_struct *mm) in mm_dec_nr_puds()
2776 static inline void mm_inc_nr_pmds(struct mm_struct *mm) in mm_inc_nr_pmds()
2783 static inline void mm_dec_nr_pmds(struct mm_struct *mm) in mm_dec_nr_pmds()
2802 static inline void mm_inc_nr_ptes(struct mm_struct *mm) in mm_inc_nr_ptes()
2807 static inline void mm_dec_nr_ptes(struct mm_struct *mm) in mm_dec_nr_ptes()
3047 #define pte_alloc_map(mm, pmd, address) \ argument
3050 #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ argument
[all …]
A Dfutex.h41 struct mm_struct *mm; member
92 static inline int futex_hash_free(struct mm_struct *mm) { return 0; } in futex_hash_free()
93 static inline int futex_mm_init(struct mm_struct *mm) { return 0; } in futex_mm_init()
115 static inline int futex_hash_free(struct mm_struct *mm) { return 0; } in futex_hash_free()
116 static inline int futex_mm_init(struct mm_struct *mm) { return 0; } in futex_mm_init()
A Dpgtable.h491 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear()
968 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect()
975 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect()
985 static inline void pudp_set_wrprotect(struct mm_struct *mm, in pudp_set_wrprotect()
993 static inline void pudp_set_wrprotect(struct mm_struct *mm, in pudp_set_wrprotect()
1146 static inline void arch_do_swap_page_nr(struct mm_struct *mm, in arch_do_swap_page_nr()
1163 static inline void arch_do_swap_page_nr(struct mm_struct *mm, in arch_do_swap_page_nr()
1186 static inline int arch_unmap_one(struct mm_struct *mm, in arch_unmap_one()
1228 # define pte_accessible(mm, pte) ((void)(pte), 1) argument
1988 #define mm_p4d_folded(mm) __is_defined(__PAGETABLE_P4D_FOLDED) argument
[all …]
A Dmmu_context.h33 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask()
40 static inline bool arch_pgtable_dma_compat(struct mm_struct *mm) in arch_pgtable_dma_compat()
A Dmmdebug.h43 #define VM_BUG_ON_MM(cond, mm) \ argument
81 #define VM_WARN_ON_ONCE_MM(cond, mm) ({ \ argument
122 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
128 #define VM_WARN_ON_ONCE_MM(cond, mm) BUILD_BUG_ON_INVALID(cond) argument
A Dmm_inline.h452 static inline void init_tlb_flush_pending(struct mm_struct *mm) in init_tlb_flush_pending()
457 static inline void inc_tlb_flush_pending(struct mm_struct *mm) in inc_tlb_flush_pending()
498 static inline void dec_tlb_flush_pending(struct mm_struct *mm) in dec_tlb_flush_pending()
511 static inline bool mm_tlb_flush_pending(struct mm_struct *mm) in mm_tlb_flush_pending()
524 static inline bool mm_tlb_flush_nested(struct mm_struct *mm) in mm_tlb_flush_nested()
A Dmm_types.h783 struct mm_struct *mm; member
1227 static inline void mm_init_cpumask(struct mm_struct *mm) in mm_init_cpumask()
1236 static inline cpumask_t *mm_cpumask(struct mm_struct *mm) in mm_cpumask()
1258 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm()
1267 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm()
1279 static inline void lru_gen_add_mm(struct mm_struct *mm) in lru_gen_add_mm()
1283 static inline void lru_gen_del_mm(struct mm_struct *mm) in lru_gen_del_mm()
1291 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm()
1295 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm()
1316 struct mm_struct *mm, unsigned long addr) in vma_iter_init()
[all …]
A Dhugetlb.h195 static inline pte_t *pte_alloc_huge(struct mm_struct *mm, pmd_t *pmd, in pte_alloc_huge()
305 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare()
387 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range()
406 static inline pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr, in huge_pte_offset()
453 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault()
815 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range()
971 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr()
1017 static inline void hugetlb_count_init(struct mm_struct *mm) in hugetlb_count_init()
1022 static inline void hugetlb_count_add(long l, struct mm_struct *mm) in hugetlb_count_add()
1027 static inline void hugetlb_count_sub(long l, struct mm_struct *mm) in hugetlb_count_sub()
[all …]
A Dsync_core.h30 static inline void prepare_sync_core_cmd(struct mm_struct *mm) in prepare_sync_core_cmd()
/include/asm-generic/
A Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel_noprof(struct mm_struct *mm) in __pte_alloc_one_kernel_noprof()
42 static inline pte_t *pte_alloc_one_kernel_noprof(struct mm_struct *mm) in pte_alloc_one_kernel_noprof()
54 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
96 static inline pgtable_t pte_alloc_one_noprof(struct mm_struct *mm) in pte_alloc_one_noprof()
155 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
203 static inline void __pud_free(struct mm_struct *mm, pud_t *pud) in __pud_free()
212 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
248 static inline void __p4d_free(struct mm_struct *mm, p4d_t *p4d) in __p4d_free()
257 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
284 static inline void __pgd_free(struct mm_struct *mm, pgd_t *pgd) in __pgd_free()
[all …]
A Dmmu_context.h21 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
35 struct mm_struct *mm) in init_new_context()
46 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
71 struct mm_struct *mm) in deactivate_mm()
A Dhugetlb.h62 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear()
70 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at()
78 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear()
109 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
126 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
A Dpgtable-nop4d.h27 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument
28 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0) argument
50 #define p4d_alloc_one(mm, address) NULL argument
51 #define p4d_free(mm, x) do { } while (0) argument
A Dpgtable-nopud.h34 #define p4d_populate(mm, p4d, pud) do { } while (0) argument
35 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument
58 #define pud_alloc_one(mm, address) NULL argument
59 #define pud_free(mm, x) do { } while (0) argument
A Dmm_hooks.h11 struct mm_struct *mm) in arch_dup_mmap()
16 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
A Dpgtable-nopmd.h38 #define pud_populate(mm, pmd, pte) do { } while (0) argument
62 #define pmd_alloc_one(mm, address) NULL argument
63 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
A Dtlbflush.h15 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
/include/linux/sched/
A Dmm.h35 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
47 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
74 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
81 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
88 static inline void mmgrab_lazy_tlb(struct mm_struct *mm) in mmgrab_lazy_tlb()
94 static inline void mmdrop_lazy_tlb(struct mm_struct *mm) in mmdrop_lazy_tlb()
107 static inline void mmdrop_lazy_tlb_sched(struct mm_struct *mm) in mmdrop_lazy_tlb_sched()
131 static inline void mmget(struct mm_struct *mm) in mmget()
136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
166 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
[all …]
/include/drm/
A Ddrm_mm.h165 struct drm_mm *mm; member
229 struct drm_mm *mm; member
276 static inline bool drm_mm_initialized(const struct drm_mm *mm) in drm_mm_initialized()
353 #define drm_mm_nodes(mm) (&(mm)->head_node.node_list) argument
363 #define drm_mm_for_each_node(entry, mm) \ argument
375 #define drm_mm_for_each_node_safe(entry, next, mm) \ argument
394 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
434 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic()
458 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node()
477 static inline bool drm_mm_clean(const struct drm_mm *mm) in drm_mm_clean()
[all …]

Completed in 80 milliseconds

123