Home
last modified time | relevance | path

Searched refs:mm_struct (Results 1 – 25 of 658) sorted by relevance

12345678910>>...27

/linux/arch/powerpc/include/asm/
A Dmmu_context.h20 extern void destroy_context(struct mm_struct *mm);
26 extern long mm_iommu_new(struct mm_struct *mm,
32 extern long mm_iommu_put(struct mm_struct *mm,
63 struct mm_struct *next);
65 struct mm_struct *next, in switch_mmu_context()
105 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next,
231 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
234 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
250 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
280 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
[all …]
/linux/arch/x86/include/asm/
A Dmmu_context.h20 struct mm_struct *next) in paravirt_activate_mm()
66 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
68 void ldt_arch_exit_mmap(struct mm_struct *mm);
72 struct mm_struct *mm) in ldt_dup_context()
82 extern void switch_ldt(struct mm_struct *prev, struct mm_struct *next);
88 static inline void switch_ldt(struct mm_struct *prev, struct mm_struct *next) in switch_ldt()
103 struct mm_struct *mm) in init_new_context()
128 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
131 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
155 struct mm_struct *mm) in arch_dup_pkeys()
[all …]
A Dpgalloc.h13 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
19 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} in paravirt_pgd_free()
20 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
51 extern pgd_t *pgd_alloc(struct mm_struct *);
52 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
54 extern pgtable_t pte_alloc_one(struct mm_struct *);
64 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
71 static inline void pmd_populate_kernel_safe(struct mm_struct *mm, in pmd_populate_kernel_safe()
78 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
97 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
[all …]
/linux/include/linux/
A Dmmap_lock.h63 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
68 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
92 static inline bool mmap_write_trylock(struct mm_struct *mm) in mmap_write_trylock()
102 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
108 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
114 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
121 static inline int mmap_read_lock_killable(struct mm_struct *mm) in mmap_read_lock_killable()
131 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
141 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock()
153 static inline void mmap_assert_locked(struct mm_struct *mm) in mmap_assert_locked()
[all …]
A Dmmu_notifier.h89 struct mm_struct *mm);
101 struct mm_struct *mm,
111 struct mm_struct *mm,
122 struct mm_struct *mm,
130 struct mm_struct *mm,
208 struct mm_struct *mm,
240 struct mm_struct *mm;
260 struct mm_struct *mm;
273 struct mm_struct *mm;
302 struct mm_struct *mm);
[all …]
A Dkhugepaged.h15 extern int __khugepaged_enter(struct mm_struct *mm);
16 extern void __khugepaged_exit(struct mm_struct *mm);
21 extern void collapse_pte_mapped_thp(struct mm_struct *mm, unsigned long addr);
23 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
43 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
50 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
70 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
74 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
87 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
A Dhugetlb.h140 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *);
191 pte_t *huge_pte_offset(struct mm_struct *mm,
238 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare()
251 static inline long follow_hugetlb_page(struct mm_struct *mm, in follow_hugetlb_page()
268 struct mm_struct *src, struct vm_area_struct *vma) in copy_hugetlb_page_range()
404 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault()
852 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr()
871 static inline void hugetlb_count_init(struct mm_struct *mm) in hugetlb_count_init()
1055 struct mm_struct *mm, pte_t *pte)
1060 static inline void hugetlb_count_init(struct mm_struct *mm)
[all …]
A Dmm.h243 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
1892 extern int fixup_user_fault(struct mm_struct *mm,
1936 long get_user_pages_remote(struct mm_struct *mm,
1940 long pin_user_pages_remote(struct mm_struct *mm,
2117 struct mm_struct *mm) in setmax_mm_hiwater_rss()
2126 void sync_mm_rss(struct mm_struct *mm);
2128 static inline void sync_mm_rss(struct mm_struct *mm) in sync_mm_rss()
2261 int __pte_alloc(struct mm_struct *mm, pmd_t *pmd);
2674 extern void exit_mmap(struct mm_struct *);
2690 extern int mm_take_all_locks(struct mm_struct *mm);
[all …]
A Dksm.h24 int __ksm_enter(struct mm_struct *mm);
25 void __ksm_exit(struct mm_struct *mm);
27 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
34 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
59 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
64 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
A Duprobes.h20 struct mm_struct;
43 struct mm_struct *mm);
106 extern int set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
107 extern int set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
112 extern int uprobe_write_opcode(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vad…
121 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm);
129 extern void uprobe_clear_state(struct mm_struct *mm);
130 extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long a…
184 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap()
200 static inline void uprobe_clear_state(struct mm_struct *mm) in uprobe_clear_state()
/linux/include/linux/sched/
A Dmm.h15 extern struct mm_struct *mm_alloc(void);
34 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
39 extern void __mmdrop(struct mm_struct *mm);
41 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
59 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed()
68 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
75 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
97 static inline void mmget(struct mm_struct *mm) in mmget()
108 extern void mmput(struct mm_struct *);
113 void mmput_async(struct mm_struct *);
[all …]
/linux/arch/s390/include/asm/
A Dpgalloc.h22 unsigned long *crst_table_alloc(struct mm_struct *);
23 void crst_table_free(struct mm_struct *, unsigned long *);
25 unsigned long *page_table_alloc(struct mm_struct *);
26 struct page *page_table_alloc_pgste(struct mm_struct *mm);
27 void page_table_free(struct mm_struct *, unsigned long *);
62 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
76 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
96 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
119 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
124 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
[all …]
/linux/arch/m68k/include/asm/
A Dmmu_context.h25 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
28 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
85 struct mm_struct *mm) in activate_mm()
96 struct mm_struct *mm; in load_ksp_mmu()
177 struct mm_struct *mm) in init_new_context()
205 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
213 struct mm_struct *next_mm) in activate_mm()
226 struct mm_struct *mm) in init_new_context()
289 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm()
[all …]
A Dmotorola_pgalloc.h27 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
32 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
37 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
42 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free()
54 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
59 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
71 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
76 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
82 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
87 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
[all …]
/linux/include/asm-generic/
A Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel(struct mm_struct *mm) in __pte_alloc_one_kernel()
31 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
59 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
83 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
99 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
119 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
138 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
160 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
170 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
[all …]
A Dmmu_context.h10 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()
/linux/arch/powerpc/include/asm/book3s/64/
A Dpgalloc.h19 extern pmd_t *pmd_fragment_alloc(struct mm_struct *, unsigned long);
25 static inline pgd_t *radix__pgd_alloc(struct mm_struct *mm) in radix__pgd_alloc()
39 static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd) in radix__pgd_free()
48 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
81 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate()
93 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
124 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
145 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
156 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
[all …]
A Dtlbflush-radix.h12 struct mm_struct;
65 extern void radix__flush_tlb_range_psize(struct mm_struct *mm, unsigned long start,
67 void radix__flush_tlb_pwc_range_psize(struct mm_struct *mm, unsigned long start,
75 extern void radix__local_flush_tlb_mm(struct mm_struct *mm);
76 extern void radix__local_flush_all_mm(struct mm_struct *mm);
78 extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
82 extern void radix__flush_tlb_mm(struct mm_struct *mm);
83 extern void radix__flush_all_mm(struct mm_struct *mm);
85 extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
94 extern void radix__flush_tlb_collapsed_pmd(struct mm_struct *mm, unsigned long addr);
/linux/arch/arm64/include/asm/
A Dmmu_context.h49 void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
51 static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm) in cpu_switch_mm()
99 struct mm_struct *mm = current->active_mm; in cpu_uninstall_idmap()
183 void check_and_switch_context(struct mm_struct *mm);
196 struct mm_struct *mm) in update_saved_ttbr0()
212 struct mm_struct *mm) in update_saved_ttbr0()
219 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
228 static inline void __switch_mm(struct mm_struct *next) in __switch_mm()
243 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
274 unsigned long arm64_mm_context_get(struct mm_struct *mm);
[all …]
/linux/arch/alpha/include/asm/
A Dmmu_context.h121 __get_new_mm_context(struct mm_struct *mm, long cpu) in __get_new_mm_context()
136 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm()
166 ev4_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev4_switch_mm()
185 extern void __load_new_mm_context(struct mm_struct *);
194 struct mm_struct * mm = current->active_mm; \
205 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm()
211 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm()
232 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
246 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
A Dtlbflush.h14 extern void __load_new_mm_context(struct mm_struct *);
21 ev4_flush_tlb_current(struct mm_struct *mm) in ev4_flush_tlb_current()
28 ev5_flush_tlb_current(struct mm_struct *mm) in ev5_flush_tlb_current()
38 ev4_flush_tlb_current_page(struct mm_struct * mm, in ev4_flush_tlb_current_page()
51 ev5_flush_tlb_current_page(struct mm_struct * mm, in ev5_flush_tlb_current_page()
89 flush_tlb_other(struct mm_struct *mm) in flush_tlb_other()
107 flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
119 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page()
139 extern void flush_tlb_mm(struct mm_struct *);
/linux/arch/arm/include/asm/
A Dmmu_context.h24 void __check_vmalloc_seq(struct mm_struct *mm);
28 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk);
32 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
39 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm,
42 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask()
52 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context()
76 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch()
108 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
/linux/arch/sparc/include/asm/
A Dpgalloc_64.h26 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
31 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
43 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
53 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
58 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
63 pte_t *pte_alloc_one_kernel(struct mm_struct *mm);
64 pgtable_t pte_alloc_one(struct mm_struct *mm);
65 void pte_free_kernel(struct mm_struct *mm, pte_t *pte);
66 void pte_free(struct mm_struct *mm, pgtable_t ptepage);
/linux/arch/parisc/include/asm/
A Dmmu_context.h19 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
29 destroy_context(struct mm_struct *mm) in destroy_context()
50 static inline void switch_mm_irqs_off(struct mm_struct *prev, in switch_mm_irqs_off()
51 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off()
65 static inline void switch_mm(struct mm_struct *prev, in switch_mm()
66 struct mm_struct *next, struct task_struct *tsk) in switch_mm()
80 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/linux/arch/mips/include/asm/
A Dmmu_context.h106 static inline u64 cpu_context(unsigned int cpu, const struct mm_struct *mm) in cpu_context()
115 struct mm_struct *mm, u64 ctx) in set_cpu_context()
127 extern void get_new_mmu_context(struct mm_struct *mm);
128 extern void check_mmu_context(struct mm_struct *mm);
129 extern void check_switch_mmu_context(struct mm_struct *mm);
137 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
155 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
181 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
187 drop_mmu_context(struct mm_struct *mm) in drop_mmu_context()

Completed in 42 milliseconds

12345678910>>...27