| /include/linux/ |
| D | mmap_lock.h | 20 void __mmap_lock_do_trace_start_locking(struct mm_struct *mm, bool write); 21 void __mmap_lock_do_trace_acquire_returned(struct mm_struct *mm, bool write, 23 void __mmap_lock_do_trace_released(struct mm_struct *mm, bool write); 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() [all …]
|
| D | ksm.h | 23 int ksm_enable_merge_any(struct mm_struct *mm); 24 int ksm_disable_merge_any(struct mm_struct *mm); 25 int ksm_disable(struct mm_struct *mm); 27 int __ksm_enter(struct mm_struct *mm); 28 void __ksm_exit(struct mm_struct *mm); 38 static inline void ksm_map_zero_page(struct mm_struct *mm) in ksm_map_zero_page() 44 static inline void ksm_might_unmap_zero_page(struct mm_struct *mm, pte_t pte) in ksm_might_unmap_zero_page() 52 static inline long mm_ksm_zero_pages(struct mm_struct *mm) in mm_ksm_zero_pages() 57 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() 64 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve() [all …]
|
| 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); 20 void __page_table_check_ptes_set(struct mm_struct *mm, pte_t *ptep, pte_t pte, 22 void __page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, pmd_t pmd); 23 void __page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, pud_t pud); 24 void __page_table_check_pte_clear_range(struct mm_struct *mm, 44 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear() 52 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear() 60 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear() [all …]
|
| D | khugepaged.h | 14 extern void __khugepaged_enter(struct mm_struct *mm); 15 extern void __khugepaged_exit(struct mm_struct *mm); 21 extern int collapse_pte_mapped_thp(struct mm_struct *mm, unsigned long addr, 24 static inline int collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp() 31 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 37 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 43 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 46 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 53 static inline int collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
|
| D | mmu_notifier.h | 90 struct mm_struct *mm); 102 struct mm_struct *mm, 112 struct mm_struct *mm, 123 struct mm_struct *mm, 200 struct mm_struct *mm, 214 struct mmu_notifier *(*alloc_notifier)(struct mm_struct *mm); 237 struct mm_struct *mm; 260 struct mm_struct *mm; 272 struct mm_struct *mm; 280 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers() [all …]
|
| D | uprobes.h | 21 struct mm_struct; 46 bool (*filter)(struct uprobe_consumer *self, struct mm_struct *mm); 111 extern int set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); 112 extern int set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); 117 extern int uprobe_write_opcode(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vad… 126 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); 134 extern void uprobe_clear_state(struct mm_struct *mm); 135 extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long a… 191 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() 207 static inline void uprobe_clear_state(struct mm_struct *mm) in uprobe_clear_state()
|
| 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()
|
| 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()
|
| D | mm_types.h | 475 struct mm_struct *pt_mm; 723 struct mm_struct *vm_mm; 830 struct mm_struct { struct 1090 extern struct mm_struct init_mm; argument 1093 static inline void mm_init_cpumask(struct mm_struct *mm) in mm_init_cpumask() 1097 cpu_bitmap += offsetof(struct mm_struct, cpu_bitmap); in mm_init_cpumask() 1102 static inline cpumask_t *mm_cpumask(struct mm_struct *mm) in mm_cpumask() 1120 void lru_gen_add_mm(struct mm_struct *mm); 1121 void lru_gen_del_mm(struct mm_struct *mm); 1122 void lru_gen_migrate_mm(struct mm_struct *mm); [all …]
|
| D | elf-randomize.h | 5 struct mm_struct; 17 extern unsigned long arch_randomize_brk(struct mm_struct *mm);
|
| D | mm.h | 260 struct vm_area_struct *vm_area_alloc(struct mm_struct *); 720 struct mm_struct *mm = vma->vm_mm; in vma_refcount_put() 740 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read() 907 struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, 913 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read() 925 static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, in lock_vma_under_rcu() 950 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() 2602 struct vm_area_struct *lock_mm_and_find_vma(struct mm_struct *mm, 2609 extern int fixup_user_fault(struct mm_struct *mm, 2625 static inline int fixup_user_fault(struct mm_struct *mm, unsigned long address, in fixup_user_fault() [all …]
|
| D | mmu_context.h | 32 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask() 39 static inline bool arch_pgtable_dma_compat(struct mm_struct *mm) in arch_pgtable_dma_compat()
|
| D | ptdump.h | 22 struct mm_struct *mm, pgd_t *pgd, 24 void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd);
|
| D | hugetlb.h | 128 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, 141 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, 166 pte_t *huge_pmd_share(struct mm_struct *mm, struct vm_area_struct *vma, 189 static inline pte_t *pte_alloc_huge(struct mm_struct *mm, pmd_t *pmd, in pte_alloc_huge() 196 pte_t *huge_pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, 235 pte_t *huge_pte_offset(struct mm_struct *mm, 238 int huge_pmd_unshare(struct mm_struct *mm, struct vm_area_struct *vma, 298 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare() 323 static inline int copy_hugetlb_page_range(struct mm_struct *dst, in copy_hugetlb_page_range() 324 struct mm_struct *src, in copy_hugetlb_page_range() [all …]
|
| /include/linux/sched/ |
| 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() 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() [all …]
|
| /include/asm-generic/ |
| 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()
|
| D | pgalloc.h | 19 static inline pte_t *__pte_alloc_one_kernel_noprof(struct mm_struct *mm) in __pte_alloc_one_kernel_noprof() 37 static inline pte_t *pte_alloc_one_kernel_noprof(struct mm_struct *mm) in pte_alloc_one_kernel_noprof() 49 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 66 static inline pgtable_t __pte_alloc_one_noprof(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one_noprof() 91 static inline pgtable_t pte_alloc_one_noprof(struct mm_struct *mm) in pte_alloc_one_noprof() 108 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free() 131 static inline pmd_t *pmd_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_noprof() 151 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 165 static inline pud_t *__pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in __pud_alloc_one_noprof() 193 static inline pud_t *pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pud_alloc_one_noprof() [all …]
|
| 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()
|
| 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()
|
| D | hugetlb.h | 61 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 78 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 86 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 130 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 147 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
|
| 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/ |
| D | mmap_lock.h | 11 struct mm_struct; 18 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write), 23 __field(struct mm_struct *, mm) 44 TP_PROTO(struct mm_struct *mm, const char *memcg_path, \ 54 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write, 60 __field(struct mm_struct *, mm)
|
| D | huge_memory.h | 58 TP_PROTO(struct mm_struct *mm, struct page *page, 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/misc/ |
| D | cxl-base.h | 37 void cxl_slbia(struct mm_struct *mm); 44 static inline void cxl_slbia(struct mm_struct *mm) {} in cxl_slbia()
|
| /include/trace/hooks/ |
| D | madvise.h | 21 TP_PROTO(struct mm_struct *mm, bool pageout, int *ret), 24 TP_PROTO(struct mm_struct *mm, unsigned long start, size_t len,
|