Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v4.19/arch/powerpc/include/asm/
Dmmu_context.h17 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
18 extern void destroy_context(struct mm_struct *mm);
23 extern bool mm_iommu_preregistered(struct mm_struct *mm);
24 extern long mm_iommu_get(struct mm_struct *mm,
27 extern long mm_iommu_put(struct mm_struct *mm,
29 extern void mm_iommu_init(struct mm_struct *mm);
30 extern void mm_iommu_cleanup(struct mm_struct *mm);
31 extern struct mm_iommu_table_group_mem_t *mm_iommu_lookup(struct mm_struct *mm,
34 struct mm_struct *mm, unsigned long ua, unsigned long size);
35 extern struct mm_iommu_table_group_mem_t *mm_iommu_find(struct mm_struct *mm,
[all …]
/Linux-v4.19/include/linux/
Dmmu_notifier.h66 struct mm_struct *mm);
78 struct mm_struct *mm,
88 struct mm_struct *mm,
99 struct mm_struct *mm,
107 struct mm_struct *mm,
160 struct mm_struct *mm,
164 struct mm_struct *mm,
189 void (*invalidate_range)(struct mmu_notifier *mn, struct mm_struct *mm,
209 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
215 struct mm_struct *mm);
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dmmu_context.h20 static inline void paravirt_activate_mm(struct mm_struct *prev, in paravirt_activate_mm()
21 struct mm_struct *next) in paravirt_activate_mm()
30 static inline void load_mm_cr4(struct mm_struct *mm) in load_mm_cr4()
39 static inline void load_mm_cr4(struct mm_struct *mm) {} in load_mm_cr4()
80 static inline void init_new_context_ldt(struct mm_struct *mm) in init_new_context_ldt()
85 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
86 void destroy_context_ldt(struct mm_struct *mm);
87 void ldt_arch_exit_mmap(struct mm_struct *mm);
89 static inline void init_new_context_ldt(struct mm_struct *mm) { } in init_new_context_ldt()
90 static inline int ldt_dup_context(struct mm_struct *oldmm, in ldt_dup_context()
[all …]
Dpgalloc.h9 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
15 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} in paravirt_pgd_free()
16 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
17 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pmd()
20 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pud()
21 static inline void paravirt_alloc_p4d(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_p4d()
47 extern pgd_t *pgd_alloc(struct mm_struct *);
48 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
50 extern pte_t *pte_alloc_one_kernel(struct mm_struct *, unsigned long);
51 extern pgtable_t pte_alloc_one(struct mm_struct *, unsigned long);
[all …]
/Linux-v4.19/arch/m68k/include/asm/
Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
29 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
32 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
61 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
75 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
86 static inline void activate_mm(struct mm_struct *active_mm, in activate_mm()
87 struct mm_struct *mm) in activate_mm()
100 struct mm_struct *mm; in load_ksp_mmu()
165 extern unsigned long get_free_context(struct mm_struct *mm);
170 struct mm_struct *mm) in init_new_context()
[all …]
Dmotorola_pgalloc.h11 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel()
25 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
31 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
52 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
70 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
75 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
87 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
92 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
98 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
103 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
[all …]
/Linux-v4.19/arch/um/include/asm/
Dmmu_context.h14 extern void uml_setup_stubs(struct mm_struct *mm);
18 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
23 extern void arch_exit_mmap(struct mm_struct *mm);
24 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap()
29 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
49 static inline void activate_mm(struct mm_struct *old, struct mm_struct *new) in activate_mm()
61 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
74 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
79 extern int init_new_context(struct task_struct *task, struct mm_struct *mm);
81 extern void destroy_context(struct mm_struct *mm);
/Linux-v4.19/include/linux/sched/
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()
68 static inline void mmget(struct mm_struct *mm) in mmget()
73 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
79 extern void mmput(struct mm_struct *);
84 void mmput_async(struct mm_struct *);
88 extern struct mm_struct *get_task_mm(struct task_struct *task);
94 extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode);
[all …]
/Linux-v4.19/arch/s390/include/asm/
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 *);
37 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
48 int crst_table_upgrade(struct mm_struct *mm, unsigned long limit);
49 void crst_table_downgrade(struct mm_struct *);
51 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address) in p4d_alloc_one()
61 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
[all …]
/Linux-v4.19/arch/ia64/include/asm/
Dpgalloc.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()
38 pgd_populate(struct mm_struct *mm, pgd_t * pgd_entry, pud_t * pud) in pgd_populate()
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()
56 pud_populate(struct mm_struct *mm, pud_t * pud_entry, pmd_t * pmd) in pud_populate()
61 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
66 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
74 pmd_populate(struct mm_struct *mm, pmd_t * pmd_entry, pgtable_t pte) in pmd_populate()
81 pmd_populate_kernel(struct mm_struct *mm, pmd_t * pmd_entry, pte_t * pte) in pmd_populate_kernel()
[all …]
/Linux-v4.19/include/asm-generic/
Dmmu_context.h13 struct mm_struct;
15 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
21 struct mm_struct *mm) in init_new_context()
26 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
31 struct mm_struct *mm) in deactivate_mm()
35 static inline void switch_mm(struct mm_struct *prev, in switch_mm()
36 struct mm_struct *next, in switch_mm()
41 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm()
42 struct mm_struct *next_mm) in activate_mm()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h45 extern pte_t *pte_fragment_alloc(struct mm_struct *, unsigned long, int);
46 extern pmd_t *pmd_fragment_alloc(struct mm_struct *, unsigned long);
54 static inline pgd_t *radix__pgd_alloc(struct mm_struct *mm) in radix__pgd_alloc()
68 static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd) in radix__pgd_free()
77 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
107 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
114 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
119 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
136 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
141 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
[all …]
/Linux-v4.19/arch/mips/include/asm/
Dpgalloc.h16 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
22 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
36 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
46 extern pgd_t *pgd_alloc(struct mm_struct *mm);
48 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
53 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
59 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
75 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
80 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
94 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dpgalloc.h34 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
39 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmdp) in pmd_free()
50 static inline void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmdp) in pud_populate()
63 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
68 static inline void pud_free(struct mm_struct *mm, pud_t *pudp) in pud_free()
79 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgdp, pud_t *pudp) in pgd_populate()
90 extern pgd_t *pgd_alloc(struct mm_struct *mm);
91 extern void pgd_free(struct mm_struct *mm, pgd_t *pgdp);
94 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr) in pte_alloc_one_kernel()
100 pte_alloc_one(struct mm_struct *mm, unsigned long addr) in pte_alloc_one()
[all …]
/Linux-v4.19/arch/sh/include/asm/
Dpgalloc.h10 extern pgd_t *pgd_alloc(struct mm_struct *);
11 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
14 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
15 extern pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address);
16 extern void pmd_free(struct mm_struct *mm, pmd_t *pmd);
19 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
25 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
35 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
41 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
58 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
[all …]
/Linux-v4.19/arch/alpha/include/asm/
Dpgalloc.h15 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) in pmd_populate()
22 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
28 pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
33 extern pgd_t *pgd_alloc(struct mm_struct *mm);
36 pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
42 pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
49 pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
55 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel()
62 pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
68 pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
[all …]
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()
233 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
246 destroy_context(struct mm_struct *mm) in destroy_context()
252 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
/Linux-v4.19/arch/xtensa/include/asm/
Dnommu_context.h10 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
14 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm) in init_new_context()
19 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
23 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
27 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
32 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
/Linux-v4.19/arch/arm/include/asm/
Dmmu_context.h27 void __check_vmalloc_seq(struct mm_struct *mm);
31 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk);
33 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
40 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm,
43 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask()
53 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context()
77 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch()
99 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
120 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
131 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
/Linux-v4.19/arch/nios2/include/asm/
Dmmu_context.h29 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
40 struct mm_struct *mm) in init_new_context()
50 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
54 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
58 struct mm_struct *mm) in deactivate_mm()
66 void activate_mm(struct mm_struct *prev, struct mm_struct *next);
/Linux-v4.19/arch/riscv/include/asm/
Dmmu_context.h26 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
33 struct mm_struct *mm) in init_new_context()
38 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
54 static inline void flush_icache_deferred(struct mm_struct *mm) in flush_icache_deferred()
72 static inline void switch_mm(struct mm_struct *prev, in switch_mm()
73 struct mm_struct *next, struct task_struct *task) in switch_mm()
98 static inline void activate_mm(struct mm_struct *prev, in activate_mm()
99 struct mm_struct *next) in activate_mm()
105 struct mm_struct *mm) in deactivate_mm()
Dpgalloc.h21 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
29 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate()
38 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
48 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
63 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
70 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
76 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
85 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
92 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
103 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
[all …]
/Linux-v4.19/arch/parisc/include/asm/
Dmmu_context.h12 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
23 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
32 destroy_context(struct mm_struct *mm) in destroy_context()
53 static inline void switch_mm_irqs_off(struct mm_struct *prev, in switch_mm_irqs_off()
54 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off()
62 static inline void switch_mm(struct mm_struct *prev, in switch_mm()
63 struct mm_struct *next, struct task_struct *tsk) in switch_mm()
78 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/Linux-v4.19/arch/hexagon/include/asm/
Dmmu_context.h31 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
40 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
49 struct mm_struct *mm) in deactivate_mm()
59 struct mm_struct *mm) in init_new_context()
68 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
90 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/Linux-v4.19/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h44 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
50 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
57 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
63 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
68 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
73 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
79 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
87 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
93 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
99 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
[all …]

12345678910>>...26