Home
last modified time | relevance | path

Searched defs:mm (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/arch/s390/include/asm/
Dpgalloc.h56 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
61 #define pud_alloc_one(mm,address) ({ BUG(); ((pud_t *)2); }) argument
62 #define pud_free(mm, x) do { } while (0) argument
64 #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) argument
65 #define pmd_free(mm, x) do { } while (0) argument
67 #define pgd_populate(mm, pgd, pud) BUG() argument
68 #define pud_populate(mm, pud, pmd) BUG() argument
72 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
84 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
91 #define pud_free(mm, pud) crst_table_free(mm, (unsigned long *) pud) argument
[all …]
Dmmu_context.h16 struct mm_struct *mm) in init_new_context()
32 #define destroy_context(mm) do { } while (0) argument
34 static inline void set_user_asce(struct mm_struct *mm) in set_user_asce()
83 struct mm_struct *mm = tsk->mm; in finish_arch_post_lock_switch() local
99 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
100 #define deactivate_mm(tsk,mm) do { } while (0) argument
111 struct mm_struct *mm) in arch_dup_mmap()
119 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
/arch/parisc/include/asm/
Dpgalloc.h21 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
46 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
58 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
64 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
73 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
93 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *)2); }) argument
94 #define pmd_free(mm, x) do { } while (0) argument
95 #define pgd_populate(mm, pmd, pte) BUG() argument
100 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
116 #define pmd_populate(mm, pmd, pte_page) \ argument
[all …]
/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()
30 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
54 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
59 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
85 struct mm_struct *mm) in activate_mm()
91 #define deactivate_mm(tsk, mm) do { } while (0) argument
99 struct mm_struct *mm; in load_ksp_mmu() local
169 struct mm_struct *mm) in init_new_context()
177 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
184 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
[all …]
Dmcf_pgalloc.h7 extern inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
14 extern inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
31 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); }) argument
32 #define pmd_alloc_one(mm, address) ({ BUG(); ((pmd_t *)2); }) argument
34 #define pte_alloc_one_fast(mm, addr) pte_alloc_one(mm, addr) argument
36 #define pmd_populate(mm, pmd, page) (pmd_val(*pmd) = \ argument
39 #define pmd_populate_kernel(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte)) argument
51 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
76 extern inline void pte_free(struct mm_struct *mm, struct page *page) in pte_free()
85 #define pmd_free(mm, pmd) BUG() argument
[all …]
Dsun3_pgalloc.h17 #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) argument
20 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
25 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
37 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
49 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
66 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
71 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
81 #define pmd_free(mm, x) do { } while (0) argument
84 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
89 static inline pgd_t * pgd_alloc(struct mm_struct *mm) in pgd_alloc()
[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()
51 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
69 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
74 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
86 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
91 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
97 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
102 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
[all …]
/arch/mn10300/include/asm/
Dmmu_context.h37 #define enter_lazy_tlb(mm, tsk) do {} while (0) argument
39 static inline void cpu_ran_vm(int cpu, struct mm_struct *mm) in cpu_ran_vm()
46 static inline bool cpu_maybe_ran_vm(int cpu, struct mm_struct *mm) in cpu_maybe_ran_vm()
57 #define mm_context(mm) (mm->context.tlbpid[smp_processor_id()]) argument
63 static inline unsigned long allocate_mmu_context(struct mm_struct *mm) in allocate_mmu_context()
85 static inline unsigned long get_mmu_context(struct mm_struct *mm) in get_mmu_context()
104 struct mm_struct *mm) in init_new_context()
117 static inline void activate_context(struct mm_struct *mm) in activate_context()
123 #define init_new_context(tsk, mm) (0) argument
124 #define activate_context(mm) local_flush_tlb() argument
[all …]
/arch/x86/include/asm/
Dpgalloc.h8 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
13 #define paravirt_pgd_alloc(mm) __paravirt_pgd_alloc(mm) argument
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()
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
48 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
62 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
69 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
[all …]
/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 …]
/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()
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()
83 pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
/arch/m32r/include/asm/
Dmmu_context.h26 #define mm_context(mm) mm->context argument
30 #define mm_context(mm) mm->context[smp_processor_id()] argument
37 #define enter_lazy_tlb(mm, tsk) do { } while (0) argument
39 static inline void get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context()
58 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
75 struct mm_struct *mm) in init_new_context()
94 #define destroy_context(mm) do { } while (0) argument
115 static inline void activate_context(struct mm_struct *mm) in activate_context()
143 #define deactivate_mm(tsk, mm) do { } while (0) argument
149 #define get_mmu_context(mm) do { } while (0) argument
[all …]
Dpgalloc.h8 #define pmd_populate_kernel(mm, pmd, pte) \ argument
11 static __inline__ void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
21 static __inline__ pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
28 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
33 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()
55 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
60 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
74 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *)2); }) argument
75 #define pmd_free(mm, x) do { } while (0) argument
[all …]
/arch/arm/include/asm/
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()
51 #define pmd_alloc_one(mm,addr) ({ BUG(); ((pmd_t *)2); }) argument
52 #define pmd_free(mm, pmd) do { } while (0) argument
53 #define pud_populate(mm,pmd,pte) BUG() argument
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()
119 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
125 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
[all …]
Dmmu_context.h29 #define init_new_context(tsk,mm) ({ atomic64_set(&mm->context.id, 0); 0; }) argument
35 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask()
45 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context()
68 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch() local
88 #define init_new_context(tsk,mm) 0 argument
92 #define destroy_context(mm) do { } while(0) argument
105 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
140 #define deactivate_mm(tsk,mm) do { } while (0) argument
/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()
93 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
98 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
112 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
[all …]
/arch/xtensa/include/asm/
Dpgalloc.h24 #define pmd_populate_kernel(mm, pmdp, ptep) \ argument
26 #define pmd_populate(mm, pmdp, page) \ argument
31 pgd_alloc(struct mm_struct *mm) in pgd_alloc()
36 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
41 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
55 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
72 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
77 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
/arch/cris/include/asm/
Dpgalloc.h7 #define pmd_populate_kernel(mm, pmd, pte) pmd_set(pmd, pte) argument
8 #define pmd_populate(mm, pmd, pte) pmd_set(pmd, page_address(pte)) argument
15 static inline pgd_t *pgd_alloc (struct mm_struct *mm) in pgd_alloc()
20 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
25 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel()
31 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
44 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
49 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
/arch/powerpc/include/asm/
Dpgalloc-64.h44 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
49 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
58 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
64 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
69 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
74 #define pmd_populate(mm, pmd, pte_page) \ argument
76 #define pmd_populate_kernel(mm, pmd, pte) pmd_set(pmd, (unsigned long)(pte)) argument
79 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
85 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
102 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
[all …]
/arch/arm64/include/asm/
Dpgalloc.h31 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
36 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
47 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
60 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
65 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
76 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
93 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr) in pte_alloc_one_kernel()
99 pte_alloc_one(struct mm_struct *mm, unsigned long addr) in pte_alloc_one()
116 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
122 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
[all …]
/arch/hexagon/include/asm/
Dpgalloc.h34 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
57 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
62 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
78 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
85 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
91 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
96 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
116 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
/arch/score/include/asm/
Dpgalloc.h6 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
12 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
20 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
35 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
40 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
51 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
67 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
72 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
/arch/unicore32/include/asm/
Dpgalloc.h28 #define pgd_alloc(mm) get_pgd_slow(mm) argument
29 #define pgd_free(mm, pgd) free_pgd_slow(mm, pgd) argument
37 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr) in pte_alloc_one_kernel()
49 pte_alloc_one(struct mm_struct *mm, unsigned long addr) in pte_alloc_one()
70 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
76 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
93 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) in pmd_populate_kernel()
105 pmd_populate(struct mm_struct *mm, pmd_t *pmdp, pgtable_t ptep) in pmd_populate()
/arch/openrisc/include/asm/
Dpgalloc.h30 #define pmd_populate_kernel(mm, pmd, pte) \ argument
33 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()
69 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
76 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
91 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
96 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
/arch/metag/include/asm/
Dpgalloc.h7 #define pmd_populate_kernel(mm, pmd, pte) \ argument
10 #define pmd_populate(mm, pmd, pte) \ argument
29 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
37 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
42 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
50 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one()
64 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
69 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()

12345678910>>...17