| /arch/x86/include/asm/ |
| D | mmu_context.h | 27 static inline void load_mm_cr4(struct mm_struct *mm) in load_mm_cr4() 36 static inline void load_mm_cr4(struct mm_struct *mm) {} in load_mm_cr4() 62 struct mm_struct *mm) in init_new_context_ldt() 66 static inline void destroy_context_ldt(struct mm_struct *mm) {} in destroy_context_ldt() 69 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt() 102 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 109 struct mm_struct *mm) in init_new_context() 114 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 133 #define deactivate_mm(tsk, mm) \ argument 138 #define deactivate_mm(tsk, mm) \ argument [all …]
|
| D | pgalloc.h | 8 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/parisc/include/asm/ |
| D | pgalloc.h | 21 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() 97 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *)2); }) argument 98 #define pmd_free(mm, x) do { } while (0) argument 99 #define pgd_populate(mm, pmd, pte) BUG() argument 104 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 120 #define pmd_populate(mm, pmd, pte_page) \ argument [all …]
|
| /arch/m68k/include/asm/ |
| D | mmu_context.h | 6 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 …]
|
| D | mcf_pgalloc.h | 7 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 52 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one() 77 static inline void pte_free(struct mm_struct *mm, struct page *page) in pte_free() 87 #define pmd_free(mm, pmd) BUG() argument [all …]
|
| D | motorola_pgalloc.h | 10 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 …]
|
| D | sun3_pgalloc.h | 17 #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 …]
|
| /arch/s390/include/asm/ |
| D | pgalloc.h | 50 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type() 62 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one() 69 #define pud_free(mm, pud) crst_table_free(mm, (unsigned long *) pud) argument 71 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one() 85 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 91 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate() 96 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 101 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 117 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 124 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate() [all …]
|
| D | mmu_context.h | 16 struct mm_struct *mm) in init_new_context() 57 #define destroy_context(mm) do { } while (0) argument 59 static inline void set_user_asce(struct mm_struct *mm) in set_user_asce() 108 struct mm_struct *mm = tsk->mm; in finish_arch_post_lock_switch() local 124 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument 125 #define deactivate_mm(tsk,mm) do { } while (0) argument 136 struct mm_struct *mm) in arch_dup_mmap() 140 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 144 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 150 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
|
| /arch/mn10300/include/asm/ |
| D | mmu_context.h | 37 #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/alpha/include/asm/ |
| D | pgalloc.h | 14 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/ia64/include/asm/ |
| D | pgalloc.h | 25 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/m32r/include/asm/ |
| D | mmu_context.h | 26 #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 …]
|
| D | pgalloc.h | 8 #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/ |
| D | pgalloc.h | 30 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 …]
|
| D | mmu_context.h | 29 #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() 69 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch() local 90 #define init_new_context(tsk,mm) 0 argument 94 #define destroy_context(mm) do { } while(0) argument 107 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 142 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
| /arch/mips/include/asm/ |
| D | pgalloc.h | 16 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/unicore32/include/asm/ |
| D | mmu_context.h | 24 #define init_new_context(tsk, mm) 0 argument 26 #define destroy_context(mm) do { } while (0) argument 38 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 58 #define deactivate_mm(tsk, mm) do { } while (0) argument 68 #define arch_exit_mmap(mm) \ argument 85 struct mm_struct *mm) in arch_dup_mmap() 89 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 95 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
|
| D | pgalloc.h | 28 #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/xtensa/include/asm/ |
| D | pgalloc.h | 24 #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/ |
| D | pgalloc.h | 7 #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/hexagon/include/asm/ |
| D | pgalloc.h | 34 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/arm64/include/asm/ |
| D | pgalloc.h | 34 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 *pmd) in pmd_free() 50 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 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 *pud) in pud_free() 79 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate() 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() 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() [all …]
|
| /arch/powerpc/include/asm/ |
| D | pgalloc-64.h | 44 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/score/include/asm/ |
| D | pgalloc.h | 6 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()
|