/linux-4.1.27/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 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 …]
|
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 …]
|
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 | tlbflush.h | 78 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 144 static inline void flush_tlb_mm (struct mm_struct *mm) in flush_tlb_mm() 194 struct mm_struct *mm = vma->vm_mm; in flush_tlb_range() local 255 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 265 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
|
/linux-4.1.27/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 …]
|
D | mmu_context.h | 11 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 22 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 31 destroy_context(struct mm_struct *mm) in destroy_context() 61 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/linux-4.1.27/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() 41 #define destroy_context(mm) do { } while (0) argument 43 static inline void set_user_asce(struct mm_struct *mm) in set_user_asce() 92 struct mm_struct *mm = tsk->mm; in finish_arch_post_lock_switch() local 108 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument 109 #define deactivate_mm(tsk,mm) do { } while (0) argument 120 struct mm_struct *mm) in arch_dup_mmap() 124 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 128 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 134 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
|
D | tlbflush.h | 64 static inline void __tlb_flush_full(struct mm_struct *mm) in __tlb_flush_full() 86 static inline void __tlb_flush_asce(struct mm_struct *mm, unsigned long asce) in __tlb_flush_asce() 120 #define __tlb_flush_full(mm) __tlb_flush_local() argument 125 static inline void __tlb_flush_asce(struct mm_struct *mm, unsigned long asce) in __tlb_flush_asce() 143 static inline void __tlb_flush_mm(struct mm_struct * mm) in __tlb_flush_mm() 157 static inline void __tlb_flush_mm_lazy(struct mm_struct * mm) in __tlb_flush_mm_lazy() 187 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
|
D | hugetlb.h | 15 #define is_hugepage_only_range(mm, addr, len) 0 argument 39 #define hugetlb_prefault_arch_hook(mm) do { } while (0) argument 45 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 69 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
D | pgtable.h | 386 static inline int mm_has_pgste(struct mm_struct *mm) in mm_has_pgste() 395 static inline int mm_alloc_pgste(struct mm_struct *mm) in mm_alloc_pgste() 409 static inline int mm_use_skey(struct mm_struct *mm) in mm_use_skey() 629 struct mm_struct *mm) in pgste_update_all() 650 struct mm_struct *mm) in pgste_set_key() 706 struct mm_struct *mm; member 747 static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, in pgste_ipte_notify() 765 static inline void set_pte_at(struct mm_struct *mm, unsigned long addr, in set_pte_at() 827 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear() 946 static inline void ptep_flush_direct(struct mm_struct *mm, in ptep_flush_direct() [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
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 …]
|
D | mmu_context.h | 24 static inline void load_mm_cr4(struct mm_struct *mm) in load_mm_cr4() 33 static inline void load_mm_cr4(struct mm_struct *mm) {} in load_mm_cr4() 51 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt() 87 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 198 #define deactivate_mm(tsk, mm) \ argument 203 #define deactivate_mm(tsk, mm) \ argument 211 struct mm_struct *mm) in arch_dup_mmap() 216 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 221 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init() 227 static inline void arch_unmap(struct mm_struct *mm, struct vm_area_struct *vma, in arch_unmap()
|
D | mpx.h | 65 static inline int kernel_managing_mpx_tables(struct mm_struct *mm) in kernel_managing_mpx_tables() 69 static inline void mpx_mm_init(struct mm_struct *mm) in mpx_mm_init() 89 static inline int kernel_managing_mpx_tables(struct mm_struct *mm) in kernel_managing_mpx_tables() 93 static inline void mpx_mm_init(struct mm_struct *mm) in mpx_mm_init() 96 static inline void mpx_notify_unmap(struct mm_struct *mm, in mpx_notify_unmap()
|
D | hugetlb.h | 9 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 30 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) { in hugetlb_prefault_arch_hook() 41 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 47 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 69 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
D | paravirt.h | 334 struct mm_struct *mm) in paravirt_arch_dup_mmap() 339 static inline void paravirt_arch_exit_mmap(struct mm_struct *mm) in paravirt_arch_exit_mmap() 358 struct mm_struct *mm, in flush_tlb_others() 365 static inline int paravirt_pgd_alloc(struct mm_struct *mm) in paravirt_pgd_alloc() 370 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) in paravirt_pgd_free() 375 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) in paravirt_alloc_pte() 384 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) in paravirt_alloc_pmd() 394 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) in paravirt_alloc_pud() 403 static inline void pte_update(struct mm_struct *mm, unsigned long addr, in pte_update() 408 static inline void pmd_update(struct mm_struct *mm, unsigned long addr, in pmd_update() [all …]
|
D | pgtable.h | 40 #define set_pte_at(mm, addr, ptep, pte) native_set_pte_at(mm, addr, ptep, pte) argument 41 #define set_pmd_at(mm, addr, pmdp, pmd) native_set_pmd_at(mm, addr, pmdp, pmd) argument 61 #define pte_clear(mm, addr, ptep) native_pte_clear(mm, addr, ptep) argument 64 #define pte_update(mm, addr, ptep) do { } while (0) argument 65 #define pte_update_defer(mm, addr, ptep) do { } while (0) argument 66 #define pmd_update(mm, addr, ptep) do { } while (0) argument 67 #define pmd_update_defer(mm, addr, ptep) do { } while (0) argument 444 static inline bool pte_accessible(struct mm_struct *mm, pte_t a) in pte_accessible() 652 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index((address))) argument 687 static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr, in native_set_pte_at() [all …]
|
D | tlbflush.h | 185 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 205 static inline void flush_tlb_mm_range(struct mm_struct *mm, in flush_tlb_mm_range() 213 struct mm_struct *mm, in native_flush_tlb_others() 235 #define flush_tlb_mm(mm) flush_tlb_mm_range(mm, 0UL, TLB_FLUSH_ALL, 0UL) argument 265 #define flush_tlb_others(mask, mm, start, end) \ argument
|
/linux-4.1.27/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 …]
|
D | mmu_context.h | 51 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 78 get_mmu_context (struct mm_struct *mm) in get_mmu_context() 118 init_new_context (struct task_struct *p, struct mm_struct *mm) in init_new_context() 125 destroy_context (struct mm_struct *mm) in destroy_context() 163 activate_context (struct mm_struct *mm) in activate_context() 179 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
D | hugetlb.h | 15 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 23 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 27 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 33 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 54 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
D | tlbflush.h | 39 local_finish_flush_tlb_mm (struct mm_struct *mm) in local_finish_flush_tlb_mm() 51 flush_tlb_mm (struct mm_struct *mm) in flush_tlb_mm()
|
/linux-4.1.27/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 …]
|
D | pgalloc.h | 22 #define pmd_populate_kernel(mm, pmd, pte) \ argument 26 void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte) in pmd_populate() 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()
|
D | tlbflush.h | 60 void local_flush_tlb_page(struct mm_struct *mm, unsigned long addr) in local_flush_tlb_page() 123 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 149 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | pgalloc.h | 33 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one() 38 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 44 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 53 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() 58 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() 64 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate() 75 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr) in pte_alloc_one_kernel() 81 pte_alloc_one(struct mm_struct *mm, unsigned long addr) in pte_alloc_one() 98 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 104 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() [all …]
|
D | mmu_context.h | 110 static inline void switch_new_context(struct mm_struct *mm) in switch_new_context() 121 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context() 152 #define init_new_context(tsk,mm) (__init_new_context(tsk,mm),0) argument 153 #define destroy_context(mm) do { } while(0) argument 160 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch() local 181 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 210 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
D | hugetlb.h | 33 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 45 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 51 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 72 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 89 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook()
|
/linux-4.1.27/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 …]
|
D | cacheflush.h | 11 #define flush_cache_mm(mm) do { } while (0) argument 12 #define flush_cache_dup_mm(mm) do { } while (0) argument 33 #define flush_cache_mm(mm) do { } while (0) argument 34 #define flush_cache_dup_mm(mm) do { } while (0) argument 47 #define flush_cache_mm(mm) do { } while (0) argument 48 #define flush_cache_dup_mm(mm) do { } while (0) argument
|
D | tlbflush.h | 26 #define flush_tlb_mm(mm) local_flush_tlb_mm(mm) argument 33 #define flush_tlb_mm(mm) do { } while (0) argument 45 #define flush_tlb_mm(mm) smp_flush_tlb_mm(mm) argument
|
/linux-4.1.27/include/linux/ |
D | mmu_notifier.h | 188 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers() 219 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release() 225 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young() 234 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young() 242 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte() 249 static inline void mmu_notifier_invalidate_page(struct mm_struct *mm, in mmu_notifier_invalidate_page() 256 static inline void mmu_notifier_invalidate_range_start(struct mm_struct *mm, in mmu_notifier_invalidate_range_start() 263 static inline void mmu_notifier_invalidate_range_end(struct mm_struct *mm, in mmu_notifier_invalidate_range_end() 270 static inline void mmu_notifier_invalidate_range(struct mm_struct *mm, in mmu_notifier_invalidate_range() 277 static inline void mmu_notifier_mm_init(struct mm_struct *mm) in mmu_notifier_mm_init() [all …]
|
D | mm.h | 1144 struct mm_struct *mm; member 1185 static inline int handle_mm_fault(struct mm_struct *mm, in handle_mm_fault() 1194 struct mm_struct *mm, unsigned long address, in fixup_user_fault() 1300 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() 1315 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter() 1320 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter() 1325 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter() 1330 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss() 1336 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss() 1341 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm() [all …]
|
D | khugepaged.h | 26 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 33 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 51 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 55 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
|
D | ksm.h | 25 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() 32 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit() 69 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() 74 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
|
/linux-4.1.27/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()
|
D | tlbflush.h | 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() local
|
D | mmu_context.h | 117 __get_new_mm_context(struct mm_struct *mm, long cpu) in __get_new_mm_context() 213 #define deactivate_mm(tsk,mm) do { } while (0) argument 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()
|
D | cacheflush.h | 8 #define flush_cache_mm(mm) do { } while (0) argument 9 #define flush_cache_dup_mm(mm) do { } while (0) argument 54 struct mm_struct *mm = vma->vm_mm; in flush_icache_user_range() local
|
/linux-4.1.27/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() 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
|
D | hugetlb-3level.h | 40 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 52 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 58 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear()
|
D | mmu.h | 22 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK)) argument 24 #define ASID(mm) (0) argument
|
/linux-4.1.27/mm/ |
D | mmu_notifier.c | 56 void __mmu_notifier_release(struct mm_struct *mm) in __mmu_notifier_release() 109 int __mmu_notifier_clear_flush_young(struct mm_struct *mm, in __mmu_notifier_clear_flush_young() 126 int __mmu_notifier_test_young(struct mm_struct *mm, in __mmu_notifier_test_young() 145 void __mmu_notifier_change_pte(struct mm_struct *mm, unsigned long address, in __mmu_notifier_change_pte() 159 void __mmu_notifier_invalidate_page(struct mm_struct *mm, in __mmu_notifier_invalidate_page() 173 void __mmu_notifier_invalidate_range_start(struct mm_struct *mm, in __mmu_notifier_invalidate_range_start() 188 void __mmu_notifier_invalidate_range_end(struct mm_struct *mm, in __mmu_notifier_invalidate_range_end() 213 void __mmu_notifier_invalidate_range(struct mm_struct *mm, in __mmu_notifier_invalidate_range() 229 struct mm_struct *mm, in do_mmu_notifier_register() 298 int mmu_notifier_register(struct mmu_notifier *mn, struct mm_struct *mm) in mmu_notifier_register() [all …]
|
D | vmacache.c | 16 void vmacache_flush_all(struct mm_struct *mm) in vmacache_flush_all() 55 static bool vmacache_valid_mm(struct mm_struct *mm) in vmacache_valid_mm() 66 static bool vmacache_valid(struct mm_struct *mm) in vmacache_valid() 86 struct vm_area_struct *vmacache_find(struct mm_struct *mm, unsigned long addr) in vmacache_find() 112 struct vm_area_struct *vmacache_find_exact(struct mm_struct *mm, in vmacache_find_exact()
|
D | mmap.c | 153 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() 289 struct mm_struct *mm = current->mm; in SYSCALL_DEFINE1() local 435 static void validate_mm(struct mm_struct *mm) in validate_mm() 476 #define validate_mm(mm) do { } while (0) argument 553 static int find_vma_links(struct mm_struct *mm, unsigned long addr, in find_vma_links() 587 static unsigned long count_vma_pages_range(struct mm_struct *mm, in count_vma_pages_range() 615 void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_rb() 659 __vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link() 667 static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in vma_link() 692 static void __insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in __insert_vm_struct() [all …]
|
D | memory.c | 136 void sync_mm_rss(struct mm_struct *mm) in sync_mm_rss() 149 static void add_mm_counter_fast(struct mm_struct *mm, int member, int val) in add_mm_counter_fast() 158 #define inc_mm_counter_fast(mm, member) add_mm_counter_fast(mm, member, 1) argument 159 #define dec_mm_counter_fast(mm, member) add_mm_counter_fast(mm, member, -1) argument 172 #define inc_mm_counter_fast(mm, member) inc_mm_counter(mm, member) argument 173 #define dec_mm_counter_fast(mm, member) dec_mm_counter(mm, member) argument 216 void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned lon… in tlb_gather_mmu() 563 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, in __pte_alloc() 628 static inline void add_mm_rss_vec(struct mm_struct *mm, int *rss) in add_mm_rss_vec() 1077 struct mm_struct *mm = tlb->mm; in zap_pte_range() local [all …]
|
D | gup.c | 38 struct mm_struct *mm = vma->vm_mm; in follow_page_pte() local 152 struct mm_struct *mm = vma->vm_mm; in follow_page_mask() local 212 static int get_gate_page(struct mm_struct *mm, unsigned long address, in get_gate_page() 264 struct mm_struct *mm = vma->vm_mm; in faultin_page() local 416 long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages() 544 int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, in fixup_user_fault() 579 struct mm_struct *mm, in __get_user_pages_locked() 695 long get_user_pages_locked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_locked() 715 __always_inline long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages_unlocked() 748 long get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_unlocked() [all …]
|
D | mremap.c | 31 static pmd_t *get_old_pmd(struct mm_struct *mm, unsigned long addr) in get_old_pmd() 52 static pmd_t *alloc_new_pmd(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pmd() 95 struct mm_struct *mm = vma->vm_mm; in move_ptes() local 239 struct mm_struct *mm = vma->vm_mm; in move_vma() local 344 struct mm_struct *mm = current->mm; in vma_to_resize() local 394 struct mm_struct *mm = current->mm; in mremap_to() local 476 struct mm_struct *mm = current->mm; in SYSCALL_DEFINE5() local
|
D | nommu.c | 151 long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages() 201 long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages() 218 long get_user_pages_locked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_locked() 228 long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages_unlocked() 242 long get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_unlocked() 547 struct mm_struct *mm = current->mm; in SYSCALL_DEFINE1() local 725 struct mm_struct *mm = vma->vm_mm; in protect_vma() local 741 static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) in add_vma_to_mm() 813 struct mm_struct *mm = vma->vm_mm; in delete_vma_from_mm() local 855 static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma) in delete_vma() [all …]
|
D | mmu_context.c | 20 void use_mm(struct mm_struct *mm) in use_mm() 51 void unuse_mm(struct mm_struct *mm) in unuse_mm()
|
D | huge_memory.c | 86 struct mm_struct *mm; member 717 static int __do_huge_pmd_anonymous_page(struct mm_struct *mm, in __do_huge_pmd_anonymous_page() 774 static bool set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() 789 int do_huge_pmd_anonymous_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_anonymous_page() 919 void huge_pmd_set_accessed(struct mm_struct *mm, in huge_pmd_set_accessed() 973 static int do_huge_pmd_wp_page_fallback(struct mm_struct *mm, in do_huge_pmd_wp_page_fallback() 1082 int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_wp_page() 1208 struct mm_struct *mm = vma->vm_mm; in follow_trans_huge_pmd() local 1259 int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_numa_page() 1436 struct mm_struct *mm = vma->vm_mm; in move_huge_pmd() local [all …]
|
D | util.c | 179 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_list() 233 void arch_pick_mmap_layout(struct mm_struct *mm) in arch_pick_mmap_layout() 280 struct mm_struct *mm = current->mm; in get_user_pages_fast() local 291 struct mm_struct *mm = current->mm; in vm_mmap_pgoff() local 431 struct mm_struct *mm = get_task_mm(task); in get_cmdline() local
|
D | ksm.c | 106 struct mm_struct *mm; member 169 struct mm_struct *mm; member 321 static struct mm_slot *get_mm_slot(struct mm_struct *mm) in get_mm_slot() 332 static void insert_to_mm_slots_hash(struct mm_struct *mm, in insert_to_mm_slots_hash() 347 static inline bool ksm_test_exit(struct mm_struct *mm) in ksm_test_exit() 411 static struct vm_area_struct *find_mergeable_vma(struct mm_struct *mm, in find_mergeable_vma() 427 struct mm_struct *mm = rmap_item->mm; in break_cow() local 460 struct mm_struct *mm = rmap_item->mm; in get_mergeable_page() local 770 struct mm_struct *mm; in unmerge_and_remove_all_rmap_items() local 858 struct mm_struct *mm = vma->vm_mm; in write_protect_page() local [all …]
|
D | pgtable-generic.c | 113 struct mm_struct *mm = (vma)->vm_mm; in ptep_clear_flush() local 152 void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, in pgtable_trans_huge_deposit() 170 pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) in pgtable_trans_huge_withdraw()
|
/linux-4.1.27/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 …]
|
D | page_64.h | 131 #define slice_mm_new_context(mm) ((mm)->context.id == MMU_NO_CONTEXT) argument 137 #define get_slice_psize(mm, addr) ((mm)->context.user_psize) argument 138 #define slice_set_user_psize(mm, psize) \ argument 145 #define get_slice_psize(mm, addr) MMU_PAGE_64K argument 147 #define get_slice_psize(mm, addr) MMU_PAGE_4K argument 149 #define slice_set_user_psize(mm, psize) do { BUG(); } while(0) argument 152 #define slice_set_range_psize(mm, start, len, psize) \ argument 154 #define slice_mm_new_context(mm) 1 argument
|
D | pgalloc-32.h | 19 #define pmd_free(mm, x) do { } while (0) argument 24 #define pmd_populate_kernel(mm, pmd, pte) \ argument 26 #define pmd_populate(mm, pmd, pte) \ argument 30 #define pmd_populate_kernel(mm, pmd, pte) \ argument 32 #define pmd_populate(mm, pmd, pte) \ argument 40 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 45 static inline void pte_free(struct mm_struct *mm, pgtable_t ptepage) in pte_free()
|
D | tlbflush.h | 53 #define flush_tlb_mm(mm) local_flush_tlb_mm(mm) argument 55 #define __flush_tlb_page(mm,addr,p,i) __local_flush_tlb_page(mm,addr,p,i) argument 75 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 96 struct mm_struct *mm; member 134 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 138 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
|
D | mmu_context.h | 87 #define deactivate_mm(tsk,mm) do { } while (0) argument 103 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
|
D | hugetlb.h | 78 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 115 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 120 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 126 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear()
|
D | pgtable-ppc64.h | 142 #define pte_pagesize_index(mm, addr, pte) \ argument 152 #define pte_pagesize_index(mm, addr, pte) MMU_PAGE_4K argument 201 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument 219 static inline unsigned long pte_update(struct mm_struct *mm, in pte_update() 255 static inline int __ptep_test_and_clear_young(struct mm_struct *mm, in __ptep_test_and_clear_young() 274 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, in ptep_set_wrprotect() 284 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 310 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear() 317 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, in pte_clear() 550 static inline int __pmdp_test_and_clear_young(struct mm_struct *mm, in __pmdp_test_and_clear_young() [all …]
|
D | pgtable-ppc32.h | 127 #define pte_clear(mm, addr, ptep) \ argument 267 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in ptep_get_and_clear() 274 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, in ptep_set_wrprotect() 279 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 322 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
|
/linux-4.1.27/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 …]
|
D | mmu_context.h | 85 #define cpu_context(cpu, mm) ((mm)->context.asid[cpu]) argument 86 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) argument 89 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 102 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) in get_new_mmu_context() 127 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 168 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 172 #define deactivate_mm(tsk, mm) do { } while (0) argument 206 drop_mmu_context(struct mm_struct *mm, unsigned cpu) in drop_mmu_context()
|
D | hugetlb.h | 16 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 41 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 54 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 60 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 88 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
/linux-4.1.27/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()
|
/linux-4.1.27/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()
|
D | mmu_context.h | 68 static inline void get_new_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_new_mmu_context() 84 static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_mmu_context() 99 static inline void activate_context(struct mm_struct *mm, unsigned int cpu) in activate_context() 113 struct mm_struct *mm) in init_new_context() 138 #define deactivate_mm(tsk, mm) do { } while (0) argument 144 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 150 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
D | nommu_context.h | 5 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 9 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm) in init_new_context() 14 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 27 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
|
/linux-4.1.27/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()
|
D | mmu_context.h | 12 #define deactivate_mm(tsk,mm) do { } while (0) argument 23 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
/linux-4.1.27/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()
|
D | mmu_context.h | 29 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()
|
/linux-4.1.27/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()
|
D | mmu_context.h | 42 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() 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()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager_cik.c | 36 static int init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 108 static int init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma() 137 static void uninit_mqd(struct mqd_manager *mm, void *mqd, in uninit_mqd() 144 static void uninit_mqd_sdma(struct mqd_manager *mm, void *mqd, in uninit_mqd_sdma() 151 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd() 158 static int load_mqd_sdma(struct mqd_manager *mm, void *mqd, in load_mqd_sdma() 165 static int update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 209 static int update_mqd_sdma(struct mqd_manager *mm, void *mqd, in update_mqd_sdma() 244 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd() 257 static int destroy_mqd_sdma(struct mqd_manager *mm, void *mqd, in destroy_mqd_sdma() [all …]
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | pgalloc.h | 99 #define pgd_free(mm, pgd) free_pgd_fast(pgd) argument 100 #define pgd_alloc(mm) get_pgd_fast() argument 108 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); }) argument 109 #define pmd_alloc_one(mm, address) ({ BUG(); ((pmd_t *)2); }) argument 113 static inline struct page *pte_alloc_one(struct mm_struct *mm, in pte_alloc_one() 135 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, in pte_alloc_one_fast() 156 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 166 static inline void pte_free(struct mm_struct *mm, struct page *ptepage) in pte_free() 174 #define pmd_populate(mm, pmd, pte) \ argument 177 #define pmd_populate_kernel(mm, pmd, pte) \ argument [all …]
|
D | mmu_context_mm.h | 36 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 81 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context() 103 # define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument 108 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 130 struct mm_struct *mm) in activate_mm()
|
D | tlbflush.h | 31 static inline void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 54 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables() 61 #define flush_tlb_mm(mm) BUG() argument 63 #define flush_tlb_range(mm, start, end) BUG() argument 64 #define flush_tlb_pgtables(mm, start, end) BUG() argument
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | pgalloc.h | 19 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel() 25 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() 49 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 54 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel() 60 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one() 79 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 84 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
|
D | mmu_context.h | 41 get_mmu_context(struct mm_struct *mm) in get_mmu_context() 72 struct mm_struct *mm) in init_new_context() 82 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 102 static inline void activate_context(struct mm_struct *mm) in activate_context() 120 #define deactivate_mm(tsk,mm) do { } while(0) argument 125 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | pgalloc.h | 7 #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()
|
D | mmu_context.h | 13 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb() 19 struct mm_struct *mm) in init_new_context() 39 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 50 #define destroy_context(mm) do { } while (0) argument 111 #define deactivate_mm(tsk, mm) do { } while (0) argument
|
D | hugetlb.h | 8 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 17 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 29 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 35 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 56 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
D | tlbflush.h | 46 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 64 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | pgalloc.h | 30 #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()
|
D | mmu_context.h | 29 #define deactivate_mm(tsk, mm) do { } while (0) argument 39 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | pgalloc.h | 39 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 45 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t ptep) in pmd_populate() 55 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 74 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 93 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel() 105 pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 123 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 128 static inline void pte_free(struct mm_struct *mm, pgtable_t ptep) in pte_free()
|
D | mmu_context.h | 50 #define asid_mm(mm, cpu) mm->context.asid[cpu] argument 51 #define hw_pid(mm, cpu) (asid_mm(mm, cpu) & MM_CTXT_ASID_MASK) argument 60 static inline void get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context() 108 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 118 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 173 #define deactivate_mm(tsk, mm) do { } while (0) argument 175 #define enter_lazy_tlb(mm, tsk) argument
|
D | cacheflush.h | 56 #define flush_cache_dup_mm(mm) /* called on fork (VIVT only) */ argument 60 #define flush_cache_mm(mm) /* called on munmap/exit */ argument 61 #define flush_cache_range(mm, u_vstart, u_vend) argument
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | pgalloc.h | 15 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 21 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 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 pgtable_t 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, struct page *pte) in pte_free()
|
D | mmu_context.h | 27 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 38 struct mm_struct *mm) in init_new_context() 48 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 56 struct mm_struct *mm) in deactivate_mm()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | pgalloc.h | 50 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel() 57 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 75 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, in pte_alloc_one() 81 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free() 89 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 94 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 125 #define pud_populate(mm, pud, pmd) \ argument 144 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one() 150 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmdp) in pmd_free()
|
D | mmu_context.h | 28 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 79 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *t) in enter_lazy_tlb() 132 #define destroy_context(mm) do { } while (0) argument 133 #define deactivate_mm(tsk, mm) do { } while (0) argument
|
D | hugetlb.h | 22 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 43 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 55 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 61 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 83 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-mpc8xxx.c | 53 to_mpc8xxx_gpio_chip(struct of_mm_gpio_chip *mm) in to_mpc8xxx_gpio_chip() 58 static void mpc8xxx_gpio_save_regs(struct of_mm_gpio_chip *mm) in mpc8xxx_gpio_save_regs() 73 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8572_gpio_get() local 87 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_get() local 94 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_set() local 113 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_set_multiple() local 138 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_in() local 153 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_out() local 179 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_to_irq() local 192 struct of_mm_gpio_chip *mm = &mpc8xxx_gc->mm_gc; in mpc8xxx_gpio_irq_cascade() local [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_mm.c | 112 struct drm_mm *mm = hole_node->mm; in drm_mm_insert_helper() local 179 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node) in drm_mm_reserve_node() 232 int drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic() 257 struct drm_mm *mm = hole_node->mm; in drm_mm_insert_helper_range() local 332 int drm_mm_insert_node_in_range_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_in_range_generic() 364 struct drm_mm *mm = node->mm; in drm_mm_remove_node() local 413 static struct drm_mm_node *drm_mm_search_free_generic(const struct drm_mm *mm, in drm_mm_search_free_generic() 455 static struct drm_mm_node *drm_mm_search_free_in_range_generic(const struct drm_mm *mm, in drm_mm_search_free_in_range_generic() 571 void drm_mm_init_scan(struct drm_mm *mm, in drm_mm_init_scan() 604 void drm_mm_init_scan_with_range(struct drm_mm *mm, in drm_mm_init_scan_with_range() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | pgalloc.h | 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() 57 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 62 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
|
D | mmu_context.h | 38 #define cpu_context(cpu, mm) ((mm)->context.id[cpu]) argument 40 #define cpu_asid(cpu, mm) \ argument 57 static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_mmu_context() 98 struct mm_struct *mm) in init_new_context() 112 static inline void activate_context(struct mm_struct *mm, unsigned int cpu) in activate_context() 134 #define deactivate_mm(tsk,mm) do { } while (0) argument 135 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument 141 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; }) argument
|
D | hugetlb.h | 9 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 29 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) { in hugetlb_prefault_arch_hook() 40 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 46 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 67 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
/linux-4.1.27/arch/sh/mm/ |
D | pgtable.c | 32 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 37 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 43 void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 48 pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one() 53 void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
D | hugetlbpage.c | 24 pte_t *huge_pte_alloc(struct mm_struct *mm, in huge_pte_alloc() 45 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 65 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare()
|
D | fault.c | 57 static void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() 280 struct mm_struct *mm = current->mm; in __bad_area() local 308 struct mm_struct *mm = tsk->mm; in do_sigbus() local 402 struct mm_struct *mm; in do_page_fault() local
|
/linux-4.1.27/arch/arm64/mm/ |
D | context.c | 41 void __init_new_context(struct task_struct *tsk, struct mm_struct *mm) in __init_new_context() 58 static void set_mm_context(struct mm_struct *mm, unsigned int asid) in set_mm_context() 93 struct mm_struct *mm = current->active_mm; in reset_context() local 115 static inline void set_mm_context(struct mm_struct *mm, unsigned int asid) in set_mm_context() 123 void __new_context(struct mm_struct *mm) in __new_context()
|
D | pgd.c | 35 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 43 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
|
D | fault.c | 45 void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() 85 static void __do_kernel_fault(struct mm_struct *mm, unsigned long addr, in __do_kernel_fault() 139 struct mm_struct *mm = tsk->active_mm; in do_bad_area() local 156 static int __do_page_fault(struct mm_struct *mm, unsigned long addr, in __do_page_fault() 198 struct mm_struct *mm; in do_page_fault() local
|
/linux-4.1.27/arch/um/kernel/skas/ |
D | mmu.c | 17 static int init_stub_pte(struct mm_struct *mm, unsigned long proc, in init_stub_pte() 50 int init_new_context(struct task_struct *task, struct mm_struct *mm) in init_new_context() 91 void uml_setup_stubs(struct mm_struct *mm) in uml_setup_stubs() 122 void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 137 void destroy_context(struct mm_struct *mm) in destroy_context()
|
/linux-4.1.27/arch/um/include/asm/ |
D | mmu_context.h | 16 static inline void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() 21 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 26 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init() 34 #define deactivate_mm(tsk,mm) do { } while (0) argument 63 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
|
D | pgalloc.h | 13 #define pmd_populate_kernel(mm, pmd, pte) \ argument 16 #define pmd_populate(mm, pmd, pte) \ argument 31 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 36 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() 50 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | mmu_context_64.h | 12 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 35 static inline void tsb_context_switch(struct mm_struct *mm) in tsb_context_switch() 74 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *ts… in switch_mm() 133 #define deactivate_mm(tsk,mm) do { } while (0) argument 136 static inline void activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) in activate_mm()
|
D | pgalloc_32.h | 27 #define pgd_free(mm, pgd) free_pgd_fast(pgd) argument 28 #define pgd_alloc(mm) get_pgd_fast() argument 39 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, in pmd_alloc_one() 51 #define pmd_free(mm, pmd) free_pmd_fast(pmd) argument 62 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel() 74 #define pte_free_kernel(mm, pte) free_pte_fast(pte) argument
|
D | mmu_context_32.h | 8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 28 #define deactivate_mm(tsk,mm) do { } while (0) argument 31 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL) argument
|
D | tlbflush_64.h | 11 struct mm_struct *mm; member 23 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 53 static inline void global_flush_tlb_page(struct mm_struct *mm, unsigned long vaddr) in global_flush_tlb_page() 63 #define global_flush_tlb_page(mm, vaddr) \ argument
|
D | pgalloc_64.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() 42 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() 59 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
D | tlb_64.h | 17 #define do_flush_tlb_mm(mm) smp_flush_tlb_mm(mm) argument 19 #define do_flush_tlb_mm(mm) __flush_tlb_mm(CTX_HWBITS(mm->context), SECONDARY_CONTEXT) argument
|
D | hugetlb.h | 14 static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) in hugetlb_prefault_arch_hook() 18 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 61 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
|
D | cacheflush_32.h | 8 #define flush_cache_mm(mm) \ argument 10 #define flush_cache_dup_mm(mm) \ argument 34 #define flush_sig_insns(mm,insn_addr) \ argument
|
/linux-4.1.27/arch/powerpc/mm/ |
D | slice.c | 100 static int slice_area_is_free(struct mm_struct *mm, unsigned long addr, in slice_area_is_free() 111 static int slice_low_has_vma(struct mm_struct *mm, unsigned long slice) in slice_low_has_vma() 117 static int slice_high_has_vma(struct mm_struct *mm, unsigned long slice) in slice_high_has_vma() 131 static struct slice_mask slice_mask_for_free(struct mm_struct *mm) in slice_mask_for_free() 150 static struct slice_mask slice_mask_for_size(struct mm_struct *mm, int psize) in slice_mask_for_size() 182 struct mm_struct *mm = parm; in slice_flush_segments() local 196 static void slice_convert(struct mm_struct *mm, struct slice_mask mask, int psize) in slice_convert() 265 static unsigned long slice_find_area_bottomup(struct mm_struct *mm, in slice_find_area_bottomup() 308 static unsigned long slice_find_area_topdown(struct mm_struct *mm, in slice_find_area_topdown() 358 static unsigned long slice_find_area(struct mm_struct *mm, unsigned long len, in slice_find_area() [all …]
|
D | subpage-prot.c | 26 void subpage_prot_free(struct mm_struct *mm) in subpage_prot_free() 53 void subpage_prot_init_new_context(struct mm_struct *mm) in subpage_prot_init_new_context() 60 static void hpte_flush_range(struct mm_struct *mm, unsigned long addr, in hpte_flush_range() 95 struct mm_struct *mm = current->mm; in subpage_prot_clear() local 142 static void subpage_mark_vma_nohuge(struct mm_struct *mm, unsigned long addr, in subpage_mark_vma_nohuge() 171 static void subpage_mark_vma_nohuge(struct mm_struct *mm, unsigned long addr, in subpage_mark_vma_nohuge() 190 struct mm_struct *mm = current->mm; in sys_subpage_prot() local
|
D | mmu_context_hash64.c | 62 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 104 static void destroy_pagetable_page(struct mm_struct *mm) in destroy_pagetable_page() 126 static inline void destroy_pagetable_page(struct mm_struct *mm) in destroy_pagetable_page() 133 void destroy_context(struct mm_struct *mm) in destroy_context()
|
D | copro_fault.c | 36 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, in copro_handle_mm_fault() 101 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb) in copro_calculate_slb() 145 void copro_flush_all_slbs(struct mm_struct *mm) in copro_flush_all_slbs()
|
D | tlb_hash32.c | 40 void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr) in flush_hash_entry() 90 static void flush_range(struct mm_struct *mm, unsigned long start, in flush_range() 134 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 156 struct mm_struct *mm; in flush_tlb_page() local
|
D | mmu_context_nohash.c | 87 struct mm_struct *mm; in steal_context_smp() local 141 struct mm_struct *mm; in steal_all_contexts() local 178 struct mm_struct *mm; in steal_context_up() local 329 int init_new_context(struct task_struct *t, struct mm_struct *mm) in init_new_context() 347 void destroy_context(struct mm_struct *mm) in destroy_context()
|
D | pgtable_64.c | 377 static pte_t *get_from_cache(struct mm_struct *mm) in get_from_cache() 396 static pte_t *__alloc_for_cache(struct mm_struct *mm, int kernel) in __alloc_for_cache() 424 pte_t *page_table_alloc(struct mm_struct *mm, unsigned long vmaddr, int kernel) in page_table_alloc() 435 void page_table_free(struct mm_struct *mm, unsigned long *table, int kernel) in page_table_free() 523 unsigned long pmd_hugepage_update(struct mm_struct *mm, unsigned long addr, in pmd_hugepage_update() 674 void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, in pgtable_trans_huge_deposit() 693 pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) in pgtable_trans_huge_withdraw() 717 void set_pmd_at(struct mm_struct *mm, unsigned long addr, in set_pmd_at() 740 void hpte_do_hugepage_flush(struct mm_struct *mm, unsigned long addr, in hpte_do_hugepage_flush() 820 pmd_t pmdp_get_and_clear(struct mm_struct *mm, in pmdp_get_and_clear()
|
D | tlb_hash64.c | 43 void hpte_need_flush(struct mm_struct *mm, unsigned long addr, in hpte_need_flush() 190 void __flush_hash_table_range(struct mm_struct *mm, unsigned long start, in __flush_hash_table_range() 231 void flush_tlb_pmd_range(struct mm_struct *mm, pmd_t *pmd, unsigned long addr) in flush_tlb_pmd_range()
|
D | mmu_context_hash32.c | 82 int init_new_context(struct task_struct *t, struct mm_struct *mm) in init_new_context() 101 void destroy_context(struct mm_struct *mm) in destroy_context()
|
D | icswx_pid.c | 58 int get_cop_pid(struct mm_struct *mm) in get_cop_pid() 71 int disable_cop_pid(struct mm_struct *mm) in disable_cop_pid()
|
D | pgtable_32.c | 84 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 98 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 107 __init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 121 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 367 get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep, pmd_t **pmdp) in get_pteptr()
|
D | icswx.c | 85 int use_cop(unsigned long acop, struct mm_struct *mm) in use_cop() 129 void drop_cop(unsigned long acop, struct mm_struct *mm) in drop_cop()
|
D | tlb_nohash.c | 179 void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 191 void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __local_flush_tlb_page() 217 static int mm_is_core_local(struct mm_struct *mm) in mm_is_core_local() 261 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 281 void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __flush_tlb_page()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 30 nvkm_mm_dump(struct nvkm_mm *mm, const char *header) in nvkm_mm_dump() 48 nvkm_mm_free(struct nvkm_mm *mm, struct nvkm_mm_node **pthis) in nvkm_mm_free() 86 region_head(struct nvkm_mm *mm, struct nvkm_mm_node *a, u32 size) in region_head() 111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head() 160 region_tail(struct nvkm_mm *mm, struct nvkm_mm_node *a, u32 size) in region_tail() 185 nvkm_mm_tail(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_tail() 238 nvkm_mm_init(struct nvkm_mm *mm, u32 offset, u32 length, u32 block) in nvkm_mm_init() 280 nvkm_mm_fini(struct nvkm_mm *mm) in nvkm_mm_fini()
|
/linux-4.1.27/include/asm-generic/ |
D | mm_hooks.h | 10 struct mm_struct *mm) in arch_dup_mmap() 14 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 18 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 24 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
|
D | mmu_context.h | 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()
|
D | pgtable.h | 89 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear() 101 static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm, in pmdp_get_and_clear() 114 static inline pmd_t pmdp_get_and_clear_full(struct mm_struct *mm, in pmdp_get_and_clear_full() 124 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, in ptep_get_and_clear_full() 140 static inline void pte_clear_not_present_full(struct mm_struct *mm, in pte_clear_not_present_full() 163 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long address, pte_t *ptep) in ptep_set_wrprotect() 172 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect() 179 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect() 242 #define pgd_offset_gate(mm, addr) pgd_offset(mm, addr) argument 250 # define pte_accessible(mm, pte) ((void)(pte), 1) argument [all …]
|
D | 4level-fixup.h | 14 #define pmd_alloc(mm, pud, address) \ argument 18 #define pud_alloc(mm, pgd, address) (pgd) argument 26 #define pud_populate(mm, pud, pmd) pgd_populate(mm, pud, pmd) argument 32 #define pud_free(mm, x) do { } while (0) argument
|
D | pgtable-nopmd.h | 35 #define pud_populate(mm, pmd, pte) do { } while (0) argument 58 #define pmd_alloc_one(mm, address) NULL argument 59 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
D | pgtable-nopud.h | 31 #define pgd_populate(mm, pgd, pud) do { } while (0) argument 53 #define pud_alloc_one(mm, address) NULL argument 54 #define pud_free(mm, x) do { } while (0) argument
|
/linux-4.1.27/arch/sparc/mm/ |
D | tlb.c | 26 struct mm_struct *mm = tb->mm; in flush_tlb_pending() local 69 static void tlb_batch_add_one(struct mm_struct *mm, unsigned long vaddr, in tlb_batch_add_one() 104 void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, in tlb_batch_add() 136 static void tlb_batch_pmd_scan(struct mm_struct *mm, unsigned long vaddr, in tlb_batch_pmd_scan() 156 void set_pmd_at(struct mm_struct *mm, unsigned long addr, in set_pmd_at() 207 void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, in pgtable_trans_huge_deposit() 222 pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) in pgtable_trans_huge_withdraw()
|
D | hugetlbpage.c | 60 struct mm_struct *mm = current->mm; in hugetlb_get_unmapped_area_topdown() local 96 struct mm_struct *mm = current->mm; in hugetlb_get_unmapped_area() local 129 pte_t *huge_pte_alloc(struct mm_struct *mm, in huge_pte_alloc() 154 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 175 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare() 180 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 197 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in huge_ptep_get_and_clear()
|
D | srmmu.c | 71 #define FLUSH_BEGIN(mm) argument 74 #define FLUSH_BEGIN(mm) if ((mm)->context != NO_CONTEXT) { argument 124 void pmd_populate(struct mm_struct *mm, pmd_t *pmdp, struct page *ptep) in pmd_populate() 342 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 357 void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() 404 static inline void alloc_context(struct mm_struct *old_mm, struct mm_struct *mm) in alloc_context() 460 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, in switch_mm() 983 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 989 void destroy_context(struct mm_struct *mm) in destroy_context() 1222 static void turbosparc_flush_cache_mm(struct mm_struct *mm) in turbosparc_flush_cache_mm() [all …]
|
D | tsb.c | 74 struct mm_struct *mm = tb->mm; in flush_tsb_user() local 97 void flush_tsb_user_page(struct mm_struct *mm, unsigned long vaddr) in flush_tsb_user_page() 129 static void setup_tsb_params(struct mm_struct *mm, unsigned long tsb_idx, unsigned long tsb_bytes) in setup_tsb_params() 331 void tsb_grow(struct mm_struct *mm, unsigned long tsb_index, unsigned long rss) in tsb_grow() 468 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 523 void destroy_context(struct mm_struct *mm) in destroy_context()
|
/linux-4.1.27/arch/frv/include/asm/ |
D | pgalloc.h | 23 #define pmd_populate_kernel(mm, pmd, pte) __set_pmd(pmd, __pa(pte) | _PAGE_TABLE) argument 41 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 46 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() 63 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *) 2); }) argument 64 #define pmd_free(mm, x) do { } while (0) argument
|
D | mmu_context.h | 20 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 30 #define init_new_context(tsk, mm) ({ 0; }) argument 32 #define destroy_context(mm) do {} while(0) argument 46 #define deactivate_mm(tsk, mm) \ argument
|
D | tlbflush.h | 35 #define flush_tlb_mm(mm) \ argument 65 #define flush_tlb_mm(mm) BUG() argument 67 #define flush_tlb_range(mm,start,end) BUG() argument
|
D | cacheflush.h | 22 #define flush_cache_mm(mm) do {} while(0) argument 23 #define flush_cache_dup_mm(mm) do {} while(0) argument 24 #define flush_cache_range(mm, start, end) do {} while(0) argument
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | mmu_context.h | 60 activate_l1stack(struct mm_struct *mm, unsigned long sp_base) in activate_l1stack() 69 #define deactivate_mm(tsk,mm) do { } while (0) argument 120 static inline void protect_page(struct mm_struct *mm, unsigned long addr, in protect_page() 151 static inline void update_protections(struct mm_struct *mm) in update_protections() 167 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 173 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 184 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
|
/linux-4.1.27/arch/s390/mm/ |
D | pgtable.c | 34 unsigned long *crst_table_alloc(struct mm_struct *mm) in crst_table_alloc() 43 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() 50 struct mm_struct *mm = arg; in __crst_table_upgrade() local 59 int crst_table_upgrade(struct mm_struct *mm, unsigned long limit) in crst_table_upgrade() 104 void crst_table_downgrade(struct mm_struct *mm, unsigned long limit) in crst_table_downgrade() 147 struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit) in gmap_alloc() 483 static void gmap_unlink(struct mm_struct *mm, unsigned long *table, in gmap_unlink() 509 struct mm_struct *mm; in __gmap_link() local 606 static void gmap_zap_swap_entry(swp_entry_t entry, struct mm_struct *mm) in gmap_zap_swap_entry() 775 void gmap_do_ipte_notify(struct mm_struct *mm, unsigned long vmaddr, pte_t *pte) in gmap_do_ipte_notify() [all …]
|
D | hugetlbpage.c | 86 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 117 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 167 pte_t *huge_pte_alloc(struct mm_struct *mm, in huge_pte_alloc() 181 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 196 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare()
|
D | mmap.c | 92 struct mm_struct *mm = current->mm; in arch_get_unmapped_area() local 130 struct mm_struct *mm = current->mm; in arch_get_unmapped_area_topdown() local 195 struct mm_struct *mm = current->mm; in s390_get_unmapped_area() local 217 struct mm_struct *mm = current->mm; in s390_get_unmapped_area_topdown() local 238 void arch_pick_mmap_layout(struct mm_struct *mm) in arch_pick_mmap_layout()
|
/linux-4.1.27/kernel/ |
D | fork.c | 390 static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mmap() 521 static inline int mm_alloc_pgd(struct mm_struct *mm) in mm_alloc_pgd() 529 static inline void mm_free_pgd(struct mm_struct *mm) in mm_free_pgd() 534 static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mmap() 541 #define mm_alloc_pgd(mm) (0) argument 542 #define mm_free_pgd(mm) argument 548 #define free_mm(mm) (kmem_cache_free(mm_cachep, (mm))) argument 564 static void mm_init_aio(struct mm_struct *mm) in mm_init_aio() 572 static void mm_init_owner(struct mm_struct *mm, struct task_struct *p) in mm_init_owner() 579 static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p) in mm_init() [all …]
|
/linux-4.1.27/arch/metag/mm/ |
D | hugetlbpage.c | 33 struct mm_struct *mm = current->mm; in prepare_hugepage_range() local 59 pte_t *huge_pte_alloc(struct mm_struct *mm, in huge_pte_alloc() 77 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 92 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare() 107 struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address, in follow_huge_pmd() 130 struct mm_struct *mm = current->mm; in hugetlb_get_unmapped_area_existing() local
|
/linux-4.1.27/arch/frv/mm/ |
D | mmu-context.c | 29 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 130 void destroy_context(struct mm_struct *mm) in destroy_context() 154 char *proc_pid_status_frv_cxnr(struct mm_struct *mm, char *buffer) in proc_pid_status_frv_cxnr() 171 struct mm_struct *mm = NULL; in cxn_pin_by_pid() local
|
D | pgalloc.c | 23 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 31 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 138 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 143 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
|
/linux-4.1.27/arch/mn10300/mm/ |
D | tlb-smp.c | 94 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm, in flush_tlb_others() 143 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 163 struct mm_struct *mm = current->mm; in flush_tlb_current_task() local 184 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local
|
D | pgtable.c | 64 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 72 struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 157 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 162 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
|
/linux-4.1.27/arch/x86/mm/ |
D | mpx.c | 29 struct mm_struct *mm = current->mm; in mpx_mmap() local 366 struct mm_struct *mm = tsk->mm; in mpx_enable_management() local 391 struct mm_struct *mm = current->mm; in mpx_disable_management() local 561 static int get_bt_addr(struct mm_struct *mm, in get_bt_addr() 616 static int zap_bt_entries(struct mm_struct *mm, in zap_bt_entries() 659 static int unmap_single_bt(struct mm_struct *mm, in unmap_single_bt() 720 static int unmap_shared_bt(struct mm_struct *mm, in unmap_shared_bt() 759 static int unmap_edge_bts(struct mm_struct *mm, in unmap_edge_bts() 816 static int mpx_unmap_tables(struct mm_struct *mm, in mpx_unmap_tables() 886 void mpx_notify_unmap(struct mm_struct *mm, struct vm_area_struct *vma, in mpx_notify_unmap()
|
D | pgtable.c | 19 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 24 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 105 static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm) in pgd_set_mm() 116 static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd) in pgd_ctor() 171 void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd) in pud_populate() 194 static void free_pmds(struct mm_struct *mm, pmd_t *pmds[]) in free_pmds() 206 static int preallocate_pmds(struct mm_struct *mm, pmd_t *pmds[]) in preallocate_pmds() 239 static void pgd_mop_up_pmds(struct mm_struct *mm, pgd_t *pgdp) in pgd_mop_up_pmds() 258 static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[]) in pgd_prepopulate_pmd() 354 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() [all …]
|
D | tlb.c | 134 struct mm_struct *mm, unsigned long start, in native_flush_tlb_others() 158 struct mm_struct *mm = current->mm; in flush_tlb_current_task() local 185 void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, in flush_tlb_mm_range() 240 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local
|
/linux-4.1.27/arch/tile/mm/ |
D | mmap.c | 32 static inline unsigned long mmap_base(struct mm_struct *mm) in mmap_base() 52 void arch_pick_mmap_layout(struct mm_struct *mm) in arch_pick_mmap_layout() 89 unsigned long arch_randomize_brk(struct mm_struct *mm) in arch_randomize_brk()
|
D | pgtable.c | 214 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 222 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 231 struct page *pgtable_alloc_one(struct mm_struct *mm, unsigned long address, in pgtable_alloc_one() 265 void pgtable_free(struct mm_struct *mm, struct page *p, int order) in pgtable_free() 317 void ptep_set_wrprotect(struct mm_struct *mm, in ptep_set_wrprotect() 340 pte_t *virt_to_pte(struct mm_struct* mm, unsigned long addr) in virt_to_pte() 448 static inline int mm_is_priority_cached(struct mm_struct *mm) in mm_is_priority_cached() 457 void start_mm_caching(struct mm_struct *mm) in start_mm_caching() 476 static unsigned long update_priority_cached(struct mm_struct *mm) in update_priority_cached()
|
D | hugetlbpage.c | 54 pte_t *huge_pte_alloc(struct mm_struct *mm, in huge_pte_alloc() 104 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 163 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare() 222 struct mm_struct *mm = current->mm; in hugetlb_get_unmapped_area() local
|
/linux-4.1.27/arch/cris/mm/ |
D | tlb.c | 36 alloc_context(struct mm_struct *mm) in alloc_context() 71 get_mmu_context(struct mm_struct *mm) in get_mmu_context() 86 destroy_context(struct mm_struct *mm) in destroy_context()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 36 struct mm_struct *mm; member 100 struct mm_struct *mm, in invalidate_range__linear() 133 struct mm_struct *mm, in i915_gem_userptr_mn_invalidate_range_start() 184 i915_mmu_notifier_create(struct mm_struct *mm) in i915_mmu_notifier_create() 310 i915_mmu_notifier_find(struct i915_mm_struct *mm) in i915_mmu_notifier_find() 370 struct mm_struct *mm) in i915_mmu_notifier_free() 401 struct mm_struct *mm) in i915_mmu_notifier_free() 410 struct i915_mm_struct *mm; in __i915_mm_struct_find() local 424 struct i915_mm_struct *mm; in i915_gem_userptr_init__mm_struct() local 469 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); in __i915_mm_struct_free__worker() local [all …]
|
/linux-4.1.27/drivers/misc/cxl/ |
D | fault.c | 87 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment() 116 struct mm_struct *mm, u64 ea) in cxl_handle_segment_miss() 135 struct mm_struct *mm, u64 dsisr, u64 dar) in cxl_handle_page_fault() 176 struct mm_struct *mm; in cxl_handle_fault() local 226 struct mm_struct *mm; in cxl_prefault_one() local 263 struct mm_struct *mm; in cxl_prefault_vma() local
|
/linux-4.1.27/arch/hexagon/mm/ |
D | vm_tlb.c | 40 struct mm_struct *mm = vma->vm_mm; in flush_tlb_range() local 68 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 80 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local
|
/linux-4.1.27/arch/x86/xen/ |
D | mmu.c | 335 static void xen_set_pte_at(struct mm_struct *mm, unsigned long addr, in xen_set_pte_at() 342 pte_t xen_ptep_modify_prot_start(struct mm_struct *mm, in xen_ptep_modify_prot_start() 350 void xen_ptep_modify_prot_commit(struct mm_struct *mm, unsigned long addr, in xen_ptep_modify_prot_commit() 484 static void xen_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in xen_pte_clear() 609 static int __xen_pgd_walk(struct mm_struct *mm, pgd_t *pgd, in __xen_pgd_walk() 610 int (*func)(struct mm_struct *mm, struct page *, in __xen_pgd_walk() 700 static int xen_pgd_walk(struct mm_struct *mm, in xen_pgd_walk() 701 int (*func)(struct mm_struct *mm, struct page *, in xen_pgd_walk() 710 static spinlock_t *xen_pte_lock(struct page *page, struct mm_struct *mm) in xen_pte_lock() 738 static int xen_pin_page(struct mm_struct *mm, struct page *page, in xen_pin_page() [all …]
|
/linux-4.1.27/include/drm/ |
D | drm_mm.h | 73 struct drm_mm *mm; member 122 static inline bool drm_mm_initialized(struct drm_mm *mm) in drm_mm_initialized() 179 #define drm_mm_for_each_node(entry, mm) list_for_each_entry(entry, \ argument 202 #define drm_mm_for_each_hole(entry, mm, hole_start, hole_end) \ argument 210 #define __drm_mm_for_each_hole(entry, mm, hole_start, hole_end, backwards) \ argument 246 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node() 283 static inline int drm_mm_insert_node_in_range(struct drm_mm *mm, in drm_mm_insert_node_in_range()
|
/linux-4.1.27/arch/um/kernel/ |
D | mem.c | 185 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 198 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 203 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() 211 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() 226 pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
|
D | tlb.c | 45 #define INIT_HVC(mm, force) \ argument 263 void fix_range_common(struct mm_struct *mm, unsigned long start_addr, in fix_range_common() 300 struct mm_struct *mm; in flush_tlb_kernel_range_common() local 389 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local 448 pgd_t *pgd_offset_proc(struct mm_struct *mm, unsigned long address) in pgd_offset_proc() 497 static void fix_range(struct mm_struct *mm, unsigned long start_addr, in fix_range() 512 void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, in flush_tlb_mm_range() 525 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 537 struct mm_struct *mm = current->mm; in force_flush_all() local
|
/linux-4.1.27/arch/mips/mm/ |
D | hugetlbpage.c | 24 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, in huge_pte_alloc() 39 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 54 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare()
|
D | mmap.c | 58 struct mm_struct *mm = current->mm; in arch_get_unmapped_area_common() local 159 void arch_pick_mmap_layout(struct mm_struct *mm) in arch_pick_mmap_layout() 189 unsigned long arch_randomize_brk(struct mm_struct *mm) in arch_randomize_brk()
|
/linux-4.1.27/arch/cris/arch-v10/mm/ |
D | tlb.c | 64 flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 101 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local 143 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 223 struct mm_struct *mm, in gru_invalidate_range_start() 237 struct mm_struct *mm, unsigned long start, in gru_invalidate_range_end() 250 static void gru_invalidate_page(struct mmu_notifier *mn, struct mm_struct *mm, in gru_invalidate_page() 261 static void gru_release(struct mmu_notifier *mn, struct mm_struct *mm) in gru_release() 279 static struct mmu_notifier *mmu_find_ops(struct mm_struct *mm, in mmu_find_ops()
|
/linux-4.1.27/arch/x86/kernel/ |
D | ldt.c | 106 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 147 void destroy_context(struct mm_struct *mm) in destroy_context() 157 struct mm_struct *mm = current->mm; in read_ldt() local 209 struct mm_struct *mm = current->mm; in write_ldt() local
|
/linux-4.1.27/drivers/oprofile/ |
D | buffer_sync.c | 89 struct mm_struct *mm = current->mm; in munmap_notify() local 225 static unsigned long get_exec_dcookie(struct mm_struct *mm) in get_exec_dcookie() 252 lookup_dcookie(struct mm_struct *mm, unsigned long addr, off_t *offset) in lookup_dcookie() 329 static void add_data(struct op_entry *entry, struct mm_struct *mm) in add_data() 379 add_sample(struct mm_struct *mm, struct op_sample *s, int in_kernel) in add_sample() 414 static void release_mm(struct mm_struct *mm) in release_mm() 493 struct mm_struct *mm = NULL; in sync_buffer() local
|
/linux-4.1.27/arch/ia64/mm/ |
D | hugetlbpage.c | 28 huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() 47 huge_pte_offset (struct mm_struct *mm, unsigned long addr) in huge_pte_offset() 68 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare() 92 struct page *follow_huge_addr(struct mm_struct *mm, unsigned long addr, int write) in follow_huge_addr()
|
/linux-4.1.27/arch/tile/kernel/ |
D | tlb.c | 34 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 53 void flush_tlb_page_mm(struct vm_area_struct *vma, struct mm_struct *mm, in flush_tlb_page_mm() 72 struct mm_struct *mm = vma->vm_mm; in flush_tlb_range() local
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_bo_manager.c | 46 struct drm_mm mm; member 56 struct drm_mm *mm = &rman->mm; in ttm_bo_man_get_node() local 126 struct drm_mm *mm = &rman->mm; in ttm_bo_man_takedown() local
|
/linux-4.1.27/kernel/events/ |
D | uprobes.c | 163 struct mm_struct *mm = vma->vm_mm; in __replace_page() local 300 int uprobe_write_opcode(struct mm_struct *mm, unsigned long vaddr, in uprobe_write_opcode() 349 int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) in set_swbp() 364 set_orig_insn(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) in set_orig_insn() 586 struct mm_struct *mm, unsigned long vaddr) in prepare_uprobe() 624 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in consumer_filter() 630 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in filter_chain() 647 install_breakpoint(struct uprobe *uprobe, struct mm_struct *mm, in install_breakpoint() 675 remove_breakpoint(struct uprobe *uprobe, struct mm_struct *mm, unsigned long vaddr) in remove_breakpoint() 705 struct mm_struct *mm; member [all …]
|
/linux-4.1.27/arch/x86/um/ |
D | mem_32.c | 30 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma() 46 int in_gate_area(struct mm_struct *mm, unsigned long addr) in in_gate_area()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_mn.c | 42 struct mm_struct *mm; member 103 struct mm_struct *mm) in radeon_mn_release() 122 struct mm_struct *mm, in radeon_mn_invalidate_range_start() 185 struct mm_struct *mm = current->mm; in radeon_mn_get() local
|
/linux-4.1.27/fs/proc/ |
D | task_nommu.c | 18 void task_mem(struct seq_file *m, struct mm_struct *mm) in task_mem() 80 unsigned long task_vsize(struct mm_struct *mm) in task_vsize() 95 unsigned long task_statm(struct mm_struct *mm, in task_statm() 151 struct mm_struct *mm = vma->vm_mm; in nommu_vma_show() local 229 struct mm_struct *mm; in m_start() local
|
/linux-4.1.27/arch/arm/kernel/ |
D | process.c | 286 unsigned long arch_randomize_brk(struct mm_struct *mm) in arch_randomize_brk() 312 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma() 317 int in_gate_area(struct mm_struct *mm, unsigned long addr) in in_gate_area() 339 static unsigned long sigpage_addr(const struct mm_struct *mm, in sigpage_addr() 379 struct mm_struct *mm = current->mm; in arch_setup_additional_pages() local
|
/linux-4.1.27/arch/unicore32/mm/ |
D | pgd.c | 27 pgd_t *get_pgd_slow(struct mm_struct *mm) in get_pgd_slow() 79 void free_pgd_slow(struct mm_struct *mm, pgd_t *pgd) in free_pgd_slow()
|
D | fault.c | 41 void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() 91 static void __do_kernel_fault(struct mm_struct *mm, unsigned long addr, in __do_kernel_fault() 138 struct mm_struct *mm = tsk->active_mm; in do_bad_area() local 170 static int __do_pf(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_pf() 210 struct mm_struct *mm; in do_pf() local
|
/linux-4.1.27/arch/alpha/kernel/ |
D | smp.c | 642 struct mm_struct *mm = (struct mm_struct *) x; in ipi_flush_tlb_mm() local 650 flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 679 struct mm_struct *mm; member 687 struct mm_struct * mm = data->mm; in ipi_flush_tlb_page() local 699 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page() local 741 struct mm_struct *mm = (struct mm_struct *) x; in ipi_flush_icache_page() local 752 struct mm_struct *mm = vma->vm_mm; in flush_icache_user_range() local
|
/linux-4.1.27/arch/arm/mm/ |
D | fault.c | 59 void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() 124 void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() 132 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() 189 struct mm_struct *mm = tsk->active_mm; in do_bad_area() local 223 __do_page_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_page_fault() 261 struct mm_struct *mm; in do_page_fault() local
|
D | context.c | 54 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask() 177 static u64 new_context(struct mm_struct *mm, unsigned int cpu) in new_context() 226 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk) in check_and_switch_context()
|
D | mmap.c | 58 struct mm_struct *mm = current->mm; in arch_get_unmapped_area() local 111 struct mm_struct *mm = current->mm; in arch_get_unmapped_area_topdown() local 182 void arch_pick_mmap_layout(struct mm_struct *mm) in arch_pick_mmap_layout()
|
D | pgd.c | 33 pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() 109 void pgd_free(struct mm_struct *mm, pgd_t *pgd_base) in pgd_free()
|
/linux-4.1.27/arch/openrisc/mm/ |
D | tlb.c | 132 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() 168 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 179 void destroy_context(struct mm_struct *mm) in destroy_context()
|
/linux-4.1.27/arch/xtensa/mm/ |
D | tlb.c | 63 void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 92 struct mm_struct *mm = vma->vm_mm; in local_flush_tlb_range() local 131 struct mm_struct* mm = vma->vm_mm; in local_flush_tlb_page() local 172 struct mm_struct *mm = task->mm; in get_pte_for_vaddr() local
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | cacheflush.h | 26 #define flush_cache_mm(mm) do {} while (0) argument 27 #define flush_cache_dup_mm(mm) do {} while (0) argument 28 #define flush_cache_range(mm, start, end) do {} while (0) argument
|
/linux-4.1.27/drivers/infiniband/core/ |
D | umem_odp.c | 141 struct mm_struct *mm) in ib_umem_notifier_release() 167 struct mm_struct *mm, in ib_umem_notifier_invalidate_page() 193 struct mm_struct *mm, in ib_umem_notifier_invalidate_range_start() 218 struct mm_struct *mm, in ib_umem_notifier_invalidate_range_end() 246 struct mm_struct *mm = get_task_mm(current); in ib_umem_odp_get() local
|
/linux-4.1.27/arch/score/mm/ |
D | tlb-score.c | 64 drop_mmu_context(struct mm_struct *mm) in drop_mmu_context() 74 void local_flush_tlb_mm(struct mm_struct *mm) in local_flush_tlb_mm() 83 struct mm_struct *mm = vma->vm_mm; in local_flush_tlb_range() local
|
/linux-4.1.27/arch/microblaze/mm/ |
D | pgtable.c | 191 static int get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep) in get_pteptr() 220 struct mm_struct *mm; in iopa() local 237 __init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, in pte_alloc_one_kernel()
|