Home
last modified time | relevance | path

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

12345678910>>...20

/linux-3.4.99/include/linux/
Dmmu_notifier.h52 struct mm_struct *mm);
62 struct mm_struct *mm,
72 struct mm_struct *mm,
80 struct mm_struct *mm,
92 struct mm_struct *mm,
139 struct mm_struct *mm,
142 struct mm_struct *mm,
162 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
168 struct mm_struct *mm);
170 struct mm_struct *mm);
[all …]
Dkhugepaged.h7 extern int __khugepaged_enter(struct mm_struct *mm);
8 extern void __khugepaged_exit(struct mm_struct *mm);
25 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
32 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
50 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
54 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
/linux-3.4.99/arch/m68k/include/asm/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
27 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
30 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
59 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
73 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
84 static inline void activate_mm(struct mm_struct *active_mm, in activate_mm()
85 struct mm_struct *mm) in activate_mm()
99 struct mm_struct *mm; in load_ksp_mmu()
164 extern unsigned long get_free_context(struct mm_struct *mm);
169 struct mm_struct *mm) in init_new_context()
[all …]
Dmotorola_pgalloc.h10 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel()
24 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
30 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
47 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
65 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
70 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
82 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
87 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
93 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
98 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
[all …]
/linux-3.4.99/arch/x86/include/asm/
Dpgalloc.h8 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
14 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} in paravirt_pgd_free()
15 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
16 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pmd()
19 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pud()
33 extern pgd_t *pgd_alloc(struct mm_struct *);
34 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
36 extern pte_t *pte_alloc_one_kernel(struct mm_struct *, unsigned long);
37 extern pgtable_t pte_alloc_one(struct mm_struct *, unsigned long);
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
[all …]
/linux-3.4.99/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);
20 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next);
21 extern void switch_stab(struct task_struct *tsk, struct mm_struct *mm);
22 extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm);
35 extern void switch_cop(struct mm_struct *next);
36 extern int use_cop(unsigned long acop, struct mm_struct *mm);
37 extern void drop_cop(unsigned long acop, struct mm_struct *mm);
43 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
97 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
[all …]
Dtlbflush.h33 struct mm_struct;
41 extern void local_flush_tlb_mm(struct mm_struct *mm);
44 extern void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
48 extern void flush_tlb_mm(struct mm_struct *mm);
50 extern void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
64 extern void flush_tlb_mm(struct mm_struct *mm);
75 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm()
96 struct mm_struct *mm;
106 extern void hpte_need_flush(struct mm_struct *mm, unsigned long addr,
135 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm()
[all …]
/linux-3.4.99/arch/um/include/asm/
Dmmu_context.h12 extern void uml_setup_stubs(struct mm_struct *mm);
13 extern void arch_exit_mmap(struct mm_struct *mm);
19 static inline void activate_mm(struct mm_struct *old, struct mm_struct *new) in activate_mm()
31 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
44 static inline void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
49 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
54 extern int init_new_context(struct task_struct *task, struct mm_struct *mm);
56 extern void destroy_context(struct mm_struct *mm);
/linux-3.4.99/include/asm-generic/
Dmmu_context.h12 struct mm_struct;
14 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
20 struct mm_struct *mm) in init_new_context()
25 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
30 struct mm_struct *mm) in deactivate_mm()
34 static inline void switch_mm(struct mm_struct *prev, in switch_mm()
35 struct mm_struct *next, in switch_mm()
40 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm()
41 struct mm_struct *next_mm) in activate_mm()
/linux-3.4.99/arch/ia64/include/asm/
Dpgalloc.h25 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
30 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
37 pgd_populate(struct mm_struct *mm, pgd_t * pgd_entry, pud_t * pud) in pgd_populate()
42 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
47 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
55 pud_populate(struct mm_struct *mm, pud_t * pud_entry, pmd_t * pmd) in pud_populate()
60 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
65 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
73 pmd_populate(struct mm_struct *mm, pmd_t * pmd_entry, pgtable_t pte) in pmd_populate()
80 pmd_populate_kernel(struct mm_struct *mm, pmd_t * pmd_entry, pte_t * pte) in pmd_populate_kernel()
[all …]
/linux-3.4.99/arch/xtensa/include/asm/
Dnommu_context.h1 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
5 static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
10 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
14 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
18 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
23 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
Dmmu_context.h66 __get_new_mmu_context(struct mm_struct *mm) in __get_new_mmu_context()
77 __load_mmu_context(struct mm_struct *mm) in __load_mmu_context()
89 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
100 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
109 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
128 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
134 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
/linux-3.4.99/arch/sh/include/asm/
Dpgalloc.h9 extern pgd_t *pgd_alloc(struct mm_struct *);
10 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
13 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
14 extern pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address);
15 extern void pmd_free(struct mm_struct *mm, pmd_t *pmd);
18 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
24 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
34 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
40 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
54 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
[all …]
/linux-3.4.99/arch/alpha/include/asm/
Dpgalloc.h14 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) in pmd_populate()
21 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
27 pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
32 extern pgd_t *pgd_alloc(struct mm_struct *mm);
35 pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
41 pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
48 pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
54 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel()
61 pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
67 pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
[all …]
Dmmu_context.h117 __get_new_mm_context(struct mm_struct *mm, long cpu) in __get_new_mm_context()
132 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm()
162 ev4_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev4_switch_mm()
181 extern void __load_new_mm_context(struct mm_struct *);
190 struct mm_struct * mm = current->active_mm; \
201 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm()
207 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm()
229 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
242 destroy_context(struct mm_struct *mm) in destroy_context()
248 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
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-3.4.99/arch/s390/include/asm/
Dpgalloc.h20 unsigned long *crst_table_alloc(struct mm_struct *);
21 void crst_table_free(struct mm_struct *, unsigned long *);
23 unsigned long *page_table_alloc(struct mm_struct *, unsigned long);
24 void page_table_free(struct mm_struct *, unsigned long *);
53 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
69 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
78 int crst_table_upgrade(struct mm_struct *, unsigned long limit);
79 void crst_table_downgrade(struct mm_struct *, unsigned long limit);
81 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
90 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
[all …]
/linux-3.4.99/arch/score/include/asm/
Dmmu_context.h42 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
47 get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context()
66 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
90 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
94 deactivate_mm(struct task_struct *task, struct mm_struct *mm) in deactivate_mm()
102 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/linux-3.4.99/arch/arm/include/asm/
Dmmu_context.h23 void __check_kvm_seq(struct mm_struct *mm);
47 DECLARE_PER_CPU(struct mm_struct *, current_mm);
50 void __init_new_context(struct task_struct *tsk, struct mm_struct *mm);
51 void __new_context(struct mm_struct *mm);
53 static inline void check_context(struct mm_struct *mm) in check_context()
74 static inline void check_context(struct mm_struct *mm) in check_context()
98 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
109 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
123 struct mm_struct **crt_mm = &per_cpu(current_mm, cpu); in switch_mm()
Dpgalloc.h30 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
35 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
57 extern pgd_t *pgd_alloc(struct mm_struct *mm);
58 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
84 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr) in pte_alloc_one_kernel()
96 pte_alloc_one(struct mm_struct *mm, unsigned long addr) in pte_alloc_one()
117 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
123 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
147 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) in pmd_populate_kernel()
[all …]
/linux-3.4.99/arch/mn10300/include/asm/
Dpgalloc.h18 struct mm_struct;
26 void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte) in pmd_populate()
36 extern pgd_t *pgd_alloc(struct mm_struct *);
37 extern void pgd_free(struct mm_struct *, pgd_t *);
39 extern pte_t *pte_alloc_one_kernel(struct mm_struct *, unsigned long);
40 extern struct page *pte_alloc_one(struct mm_struct *, unsigned long);
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
47 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
/linux-3.4.99/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()
47 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
62 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
67 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
77 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
90 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
95 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
109 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
[all …]
/linux-3.4.99/arch/sparc/include/asm/
Dmmu_context_64.h12 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
20 extern void get_new_mmu_context(struct mm_struct *mm);
27 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
28 extern void destroy_context(struct mm_struct *mm);
35 static inline void tsb_context_switch(struct mm_struct *mm) in tsb_context_switch()
49 extern void tsb_grow(struct mm_struct *mm, unsigned long tsb_index, unsigned long mm_rss);
51 extern void smp_tsb_sync(struct mm_struct *mm);
72 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *ts… in switch_mm()
134 static inline void activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) in activate_mm()
/linux-3.4.99/arch/hexagon/include/asm/
Dmmu_context.h29 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
38 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
47 struct mm_struct *mm) in deactivate_mm()
57 struct mm_struct *mm) in init_new_context()
66 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
88 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/linux-3.4.99/arch/openrisc/include/asm/
Dpgalloc.h33 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
44 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
63 extern inline pgd_t *pgd_alloc(struct mm_struct *mm)
69 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
74 extern pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address);
76 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
86 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
91 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()

12345678910>>...20