Home
last modified time | relevance | path

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

12345678910>>...28

/linux/arch/x86/include/asm/
A Dmmu_context.h60 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
66 struct mm_struct *mm) in ldt_dup_context()
76 extern void switch_ldt(struct mm_struct *prev, struct mm_struct *next);
82 static inline void switch_ldt(struct mm_struct *prev, struct mm_struct *next) in switch_ldt()
100 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
130 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
148 struct mm_struct *mm) in init_new_context()
174 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
177 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
202 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/arch/powerpc/include/asm/
A Dmmu_context.h20 extern void destroy_context(struct mm_struct *mm);
25 extern long mm_iommu_new(struct mm_struct *mm,
31 extern long mm_iommu_put(struct mm_struct *mm,
56 struct mm_struct *next);
58 struct mm_struct *next, in switch_mmu_context()
100 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next,
223 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
226 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
242 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
263 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
[all …]
A Dpgalloc.h8 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags()
15 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags()
23 pte_t *pte_fragment_alloc(struct mm_struct *mm, int kernel);
25 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
30 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
38 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
43 static inline void pte_free(struct mm_struct *mm, pgtable_t ptepage) in pte_free()
50 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
/linux/include/linux/
A Dmmap_lock.h63 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked()
82 static inline void vma_end_write_all(struct mm_struct *mm) in vma_end_write_all()
95 static inline void vma_end_write_all(struct mm_struct *mm) {} in vma_end_write_all()
98 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
103 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
127 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
134 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
141 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
158 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
168 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock()
[all …]
A Dmmu_notifier.h89 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 Dpage_table_check.h17 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,
68 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set()
95 static inline void page_table_check_pte_clear_range(struct mm_struct *mm, in page_table_check_pte_clear_range()
127 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set()
[all …]
A Dksm.h23 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);
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()
72 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
96 long ksm_process_profit(struct mm_struct *);
109 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
[all …]
A Dkhugepaged.h14 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()
/linux/include/linux/sched/
A Dmm.h16 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 …]
/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 ptdesc *page_table_alloc_pgste(struct mm_struct *mm);
27 void page_table_free(struct mm_struct *, unsigned long *);
61 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
75 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
95 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
118 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
123 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
[all …]
/linux/arch/arm64/include/asm/
A Dmmu_context.h101 struct mm_struct *mm = current->active_mm; in cpu_uninstall_idmap()
170 void check_and_switch_context(struct mm_struct *mm);
186 struct mm_struct *mm) in arch_dup_pkeys()
192 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
199 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
203 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap()
210 struct mm_struct *mm) in update_saved_ttbr0()
226 struct mm_struct *mm) in update_saved_ttbr0()
242 static inline void __switch_mm(struct mm_struct *next) in __switch_mm()
257 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
[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()
179 struct mm_struct *mm) in init_new_context()
207 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
215 struct mm_struct *next_mm) in activate_mm()
228 struct mm_struct *mm) in init_new_context()
291 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/arch/arm/include/asm/
A Dmmu_context.h24 void __check_vmalloc_seq(struct mm_struct *mm);
27 static inline void check_vmalloc_seq(struct mm_struct *mm) in check_vmalloc_seq()
38 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk);
42 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
49 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm,
52 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask()
62 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context()
85 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch()
117 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
142 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
/linux/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()
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()
200 static inline void __pud_free(struct mm_struct *mm, pud_t *pud) in __pud_free()
210 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()
126 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
147 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
158 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,
77 extern void radix__local_flush_tlb_mm(struct mm_struct *mm);
78 extern void radix__local_flush_all_mm(struct mm_struct *mm);
80 extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
84 extern void radix__flush_tlb_mm(struct mm_struct *mm);
85 extern void radix__flush_all_mm(struct mm_struct *mm);
87 extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
96 extern void radix__flush_tlb_collapsed_pmd(struct mm_struct *mm, unsigned long addr);
/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);
[all …]
A Dmmu_context_64.h23 DECLARE_PER_CPU(struct mm_struct *, per_cpu_secondary_mm);
24 void get_new_mmu_context(struct mm_struct *mm);
27 int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
29 void destroy_context(struct mm_struct *mm);
37 static inline void tsb_context_switch_ctx(struct mm_struct *mm, in tsb_context_switch_ctx()
55 void tsb_grow(struct mm_struct *mm,
59 void smp_tsb_sync(struct mm_struct *mm);
80 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *ts… in switch_mm()
189 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask()
/linux/arch/riscv/include/asm/
A Dpgalloc.h27 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
35 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate()
44 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
51 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
60 static inline void p4d_populate_safe(struct mm_struct *mm, p4d_t *p4d, in p4d_populate_safe()
80 static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, in pgd_populate_safe()
92 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
101 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
132 static inline void __p4d_free(struct mm_struct *mm, p4d_t *p4d) in __p4d_free()
139 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
[all …]
/linux/arch/powerpc/include/asm/nohash/
A Dtlbflush.h27 struct mm_struct;
35 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm()
48 static inline void local_flush_tlb_page_psize(struct mm_struct *mm, in local_flush_tlb_page_psize()
65 extern void local_flush_tlb_mm(struct mm_struct *mm);
67 void local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, int psize);
69 extern void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
74 extern void flush_tlb_mm(struct mm_struct *mm);
76 extern void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
/linux/arch/powerpc/include/asm/nohash/64/
A Dpgalloc.h18 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
23 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
29 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
34 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
39 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
45 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
51 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
/linux/arch/arm/mm/
A Dproc.c26 void cpu_arm7tdmi_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
41 void cpu_arm720_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
58 void cpu_arm740_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
88 void cpu_arm920_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
111 void cpu_arm922_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
128 void cpu_arm925_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
198 void cpu_fa526_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
346 void cpu_xsc3_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
415 void cpu_v6_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
442 void cpu_v7_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
[all …]

Completed in 26 milliseconds

12345678910>>...28