| /include/linux/ |
| A D | ksm.h | 22 int ksm_enable_merge_any(struct mm_struct *mm); 23 int ksm_disable_merge_any(struct mm_struct *mm); 24 int ksm_disable(struct mm_struct *mm); 26 int __ksm_enter(struct mm_struct *mm); 27 void __ksm_exit(struct mm_struct *mm); 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() 95 long ksm_process_profit(struct mm_struct *); 96 bool ksm_process_mergeable(struct mm_struct *mm); [all …]
|
| A D | page_table_check.h | 17 void __page_table_check_pte_clear(struct mm_struct *mm, pte_t pte); 18 void __page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd); 19 void __page_table_check_pud_clear(struct mm_struct *mm, pud_t pud); 26 void __page_table_check_pte_clear_range(struct mm_struct *mm, 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() [all …]
|
| A D | khugepaged.h | 12 extern void __khugepaged_enter(struct mm_struct *mm); 13 extern void __khugepaged_exit(struct mm_struct *mm); 18 extern int collapse_pte_mapped_thp(struct mm_struct *mm, unsigned long addr, 21 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 D | mmap_lock.h | 81 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init() 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() 200 struct mm_struct *other_mm = vma->vm_mm; in vma_start_read() 349 struct vm_area_struct *lock_next_vma(struct mm_struct *mm, 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() 477 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock() [all …]
|
| A D | mmu_notifier.h | 89 struct mm_struct *mm); 101 struct mm_struct *mm, 111 struct mm_struct *mm, 122 struct mm_struct *mm, 199 struct mm_struct *mm, 231 struct mm_struct *mm; 251 struct mm_struct *mm; 263 struct mm_struct *mm; 292 struct mm_struct *mm); 294 struct mm_struct *mm); [all …]
|
| A D | futex.h | 41 struct mm_struct *mm; 87 void futex_hash_free(struct mm_struct *mm); 88 int futex_mm_init(struct mm_struct *mm); 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 D | aio.h | 9 struct mm_struct; 15 extern void exit_aio(struct mm_struct *mm); 18 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
|
| A D | pkeys.h | 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 D | mm_types.h | 564 struct mm_struct *pt_mm; 783 struct mm_struct *mm; 826 struct mm_struct *vm_mm; 932 struct mm_struct { struct 1224 extern struct mm_struct init_mm; argument 1231 cpu_bitmap += offsetof(struct mm_struct, cpu_bitmap); in mm_init_cpumask() 1254 void lru_gen_add_mm(struct mm_struct *mm); 1255 void lru_gen_del_mm(struct mm_struct *mm); 1256 void lru_gen_migrate_mm(struct mm_struct *mm); 1316 struct mm_struct *mm, unsigned long addr) in vma_iter_init() [all …]
|
| A D | uprobes.h | 23 struct mm_struct; 57 bool (*filter)(struct uprobe_consumer *self, struct mm_struct *mm); 206 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); 214 extern void uprobe_clear_state(struct mm_struct *mm); 215 extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long a… 271 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() 287 static inline void uprobe_clear_state(struct mm_struct *mm) in uprobe_clear_state()
|
| A D | elf-randomize.h | 5 struct mm_struct; 17 extern unsigned long arch_randomize_brk(struct mm_struct *mm);
|
| A D | mm.h | 234 struct vm_area_struct *vm_area_alloc(struct mm_struct *); 2424 extern int fixup_user_fault(struct mm_struct *mm, 2472 long get_user_pages_remote(struct mm_struct *mm, 2476 long pin_user_pages_remote(struct mm_struct *mm, 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() 2823 int __pte_alloc(struct mm_struct *mm, pmd_t *pmd); 3297 extern void exit_mmap(struct mm_struct *); 3315 extern int mm_take_all_locks(struct mm_struct *mm); 3316 extern void mm_drop_all_locks(struct mm_struct *mm); [all …]
|
| A D | mmu_context.h | 33 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 D | hugetlb.h | 129 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, 241 pte_t *huge_pte_offset(struct mm_struct *mm, 305 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare() 331 struct mm_struct *src, in copy_hugetlb_page_range() 387 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 453 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault() 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() 1244 struct mm_struct *mm, pte_t *pte) 1249 static inline void hugetlb_count_init(struct mm_struct *mm) [all …]
|
| /include/linux/sched/ |
| A D | mm.h | 16 extern struct mm_struct *mm_alloc(void); 35 static inline void mmgrab(struct mm_struct *mm) in mmgrab() 45 extern void __mmdrop(struct mm_struct *mm); 47 static inline void mmdrop(struct mm_struct *mm) in mmdrop() 65 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed() 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() 131 static inline void mmget(struct mm_struct *mm) in mmget() 142 extern void mmput(struct mm_struct *); 147 void mmput_async(struct mm_struct *); [all …]
|
| A D | coredump.h | 11 extern void set_dumpable(struct mm_struct *mm, int value); 23 static inline int get_dumpable(struct mm_struct *mm) in get_dumpable()
|
| /include/asm-generic/ |
| A D | mmu_context.h | 10 struct mm_struct; 21 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() 57 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() 58 struct mm_struct *next_mm) in activate_mm() 71 struct mm_struct *mm) in deactivate_mm()
|
| A D | pgalloc.h | 19 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 D | mm_hooks.h | 10 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() 11 struct mm_struct *mm) in arch_dup_mmap() 16 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
|
| A D | nommu_context.h | 11 static inline void switch_mm(struct mm_struct *prev, in switch_mm() 12 struct mm_struct *next, in switch_mm()
|
| A D | hugetlb.h | 62 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 D | cacheflush.h | 7 struct mm_struct; 23 static inline void flush_cache_mm(struct mm_struct *mm) in flush_cache_mm() 29 static inline void flush_cache_dup_mm(struct mm_struct *mm) in flush_cache_dup_mm()
|
| /include/trace/events/ |
| A D | mmap_lock.h | 12 struct mm_struct; 16 TP_PROTO(struct mm_struct *mm, bool write), 21 __field(struct mm_struct *, mm) 41 TP_PROTO(struct mm_struct *mm, bool write), \ 49 TP_PROTO(struct mm_struct *mm, bool write, bool success), 54 __field(struct mm_struct *, mm)
|
| A D | huge_memory.h | 58 TP_PROTO(struct mm_struct *mm, struct folio *folio, bool writable, 64 __field(struct mm_struct *, mm) 95 TP_PROTO(struct mm_struct *mm, int isolated, int status), 100 __field(struct mm_struct *, mm) 150 TP_PROTO(struct mm_struct *mm, int swapped_in, int referenced, int ret), 155 __field(struct mm_struct *, mm) 177 TP_PROTO(struct mm_struct *mm, struct folio *folio, struct file *file, 183 __field(struct mm_struct *, mm) 210 TP_PROTO(struct mm_struct *mm, struct folio *new_folio, pgoff_t index, 215 __field(struct mm_struct *, mm)
|
| /include/drm/ |
| A D | drm_pagemap.h | 122 struct mm_struct *mm, 212 struct mm_struct *mm; 221 struct mm_struct *mm, 233 struct device *dev, struct mm_struct *mm, 239 struct mm_struct *mm,
|