Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-5.10/include/linux/
Dmmap_lock.h9 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
14 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
19 static inline void mmap_write_lock_nested(struct mm_struct *mm, int subclass) in mmap_write_lock_nested()
24 static inline int mmap_write_lock_killable(struct mm_struct *mm) in mmap_write_lock_killable()
29 static inline bool mmap_write_trylock(struct mm_struct *mm) in mmap_write_trylock()
34 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
39 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
44 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
49 static inline int mmap_read_lock_killable(struct mm_struct *mm) in mmap_read_lock_killable()
54 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
[all …]
Dmmu_notifier.h234 struct mm_struct *mm; member
254 struct mm_struct *mm; member
267 struct mm_struct *mm; member
275 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
283 mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm) in mmu_notifier_get()
406 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
412 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young()
421 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young()
430 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young()
438 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmmu_context.h50 static inline bool mm_iommu_is_devmem(struct mm_struct *mm, unsigned long hpa, in mm_iommu_is_devmem()
55 static inline void mm_iommu_init(struct mm_struct *mm) { } in mm_iommu_init()
77 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
93 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
109 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
117 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
126 static inline void radix_kvm_prefetch_workaround(struct mm_struct *mm) { } in radix_kvm_prefetch_workaround()
134 static inline void inc_mm_active_cpus(struct mm_struct *mm) in inc_mm_active_cpus()
139 static inline void dec_mm_active_cpus(struct mm_struct *mm) in dec_mm_active_cpus()
144 static inline void mm_context_add_copro(struct mm_struct *mm) in mm_context_add_copro()
[all …]
Dpgalloc.h8 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags()
15 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags()
25 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
30 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
38 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
43 static inline void pte_free(struct mm_struct *mm, pgtable_t ptepage) in pte_free()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgalloc.h39 static inline unsigned long check_asce_limit(struct mm_struct *mm, unsigned long addr, in check_asce_limit()
53 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address) in p4d_alloc_one()
62 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
68 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
76 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
82 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
96 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
104 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
109 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
114 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmmu_context.h61 static inline void init_new_context_ldt(struct mm_struct *mm) in init_new_context_ldt()
70 static inline void init_new_context_ldt(struct mm_struct *mm) { } in init_new_context_ldt()
72 struct mm_struct *mm) in ldt_dup_context()
76 static inline void destroy_context_ldt(struct mm_struct *mm) { } in destroy_context_ldt()
77 static inline void ldt_arch_exit_mmap(struct mm_struct *mm) { } in ldt_arch_exit_mmap()
84 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt()
101 struct mm_struct *mm) in init_new_context()
119 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
138 #define deactivate_mm(tsk, mm) \ argument
143 #define deactivate_mm(tsk, mm) \ argument
[all …]
Dpgalloc.h13 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
18 #define paravirt_pgd_alloc(mm) __paravirt_pgd_alloc(mm) argument
19 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} in paravirt_pgd_free()
20 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
21 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pmd()
24 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pud()
25 static inline void paravirt_alloc_p4d(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_p4d()
64 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
71 static inline void pmd_populate_kernel_safe(struct mm_struct *mm, in pmd_populate_kernel_safe()
78 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
[all …]
Dpkeys.h27 static inline int execute_only_pkey(struct mm_struct *mm) in execute_only_pkey()
51 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) argument
52 #define mm_set_pkey_allocated(mm, pkey) do { \ argument
55 #define mm_set_pkey_free(mm, pkey) do { \ argument
60 bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
86 int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
113 int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
32 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
56 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
61 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
87 struct mm_struct *mm) in activate_mm()
93 #define deactivate_mm(tsk, mm) do { } while (0) argument
100 struct mm_struct *mm; in load_ksp_mmu() local
180 struct mm_struct *mm) in init_new_context()
188 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
195 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
[all …]
Dmotorola_pgalloc.h27 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
32 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
37 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
42 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free()
54 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
59 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
71 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
76 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
82 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
87 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
[all …]
Dmcf_pgalloc.h8 extern inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
15 extern inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
31 #define pmd_populate(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte)) argument
46 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
64 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free()
76 #define pmd_free(mm, pmd) BUG() argument
78 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
83 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel(struct mm_struct *mm) in __pte_alloc_one_kernel()
31 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
59 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
83 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
99 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
119 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
138 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
160 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
170 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
[all …]
/kernel/linux/linux-5.10/arch/s390/mm/
Dpgtable.c47 static inline void ptep_ipte_local(struct mm_struct *mm, unsigned long addr, in ptep_ipte_local()
67 static inline void ptep_ipte_global(struct mm_struct *mm, unsigned long addr, in ptep_ipte_global()
87 static inline pte_t ptep_flush_direct(struct mm_struct *mm, in ptep_flush_direct()
106 static inline pte_t ptep_flush_lazy(struct mm_struct *mm, in ptep_flush_lazy()
174 struct mm_struct *mm) in pgste_update_all()
195 struct mm_struct *mm) in pgste_set_key()
239 static inline pgste_t pgste_pte_notify(struct mm_struct *mm, in pgste_pte_notify()
255 static inline pgste_t ptep_xchg_start(struct mm_struct *mm, in ptep_xchg_start()
267 static inline pte_t ptep_xchg_commit(struct mm_struct *mm, in ptep_xchg_commit()
288 pte_t ptep_xchg_direct(struct mm_struct *mm, unsigned long addr, in ptep_xchg_direct()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h25 static inline pgd_t *radix__pgd_alloc(struct mm_struct *mm) in radix__pgd_alloc()
39 static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd) in radix__pgd_free()
48 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
81 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate()
93 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
124 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
129 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
140 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
145 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dldt.c42 void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt()
138 struct mm_struct *mm = __mm; in flush_ldt() local
189 static void do_sanity_check(struct mm_struct *mm, in do_sanity_check()
234 static void map_ldt_struct_to_user(struct mm_struct *mm) in map_ldt_struct_to_user()
247 static void sanity_check_ldt_mapping(struct mm_struct *mm) in sanity_check_ldt_mapping()
264 static void map_ldt_struct_to_user(struct mm_struct *mm) in map_ldt_struct_to_user()
272 static void sanity_check_ldt_mapping(struct mm_struct *mm) in sanity_check_ldt_mapping()
288 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
349 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
381 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmmu_context.h30 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
40 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask()
50 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context()
74 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch() local
96 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
104 #define destroy_context(mm) do { } while(0) argument
117 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
152 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dpgalloc.h26 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
37 #define pmd_alloc_one(mm,addr) ({ BUG(); ((pmd_t *)2); }) argument
38 #define pmd_free(mm, pmd) do { } while (0) argument
41 #define pud_populate(mm,pmd,pte) do { } while (0) argument
43 #define pud_populate(mm,pmd,pte) BUG() argument
78 pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
95 pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
125 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) in pmd_populate_kernel()
134 pmd_populate(struct mm_struct *mm, pmd_t *pmdp, pgtable_t ptep) in pmd_populate()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_vi.c47 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
90 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
156 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
169 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
240 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
246 static void update_mqd_tonga(struct mqd_manager *mm, void *mqd, in update_mqd_tonga()
252 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
262 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
268 static bool is_occupied(struct mqd_manager *mm, void *mqd, in is_occupied()
277 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state()
[all …]
Dkfd_mqd_manager_cik.c44 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
87 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
141 static void init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma()
158 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
165 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd()
178 static int load_mqd_sdma(struct mqd_manager *mm, void *mqd, in load_mqd_sdma()
187 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
223 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
229 static void update_mqd_hawaii(struct mqd_manager *mm, void *mqd, in update_mqd_hawaii()
235 static void update_mqd_sdma(struct mqd_manager *mm, void *mqd, in update_mqd_sdma()
[all …]
Dkfd_mqd_manager_v10.c44 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
87 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
142 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
156 static int hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd, in hiq_load_mqd_kiq()
164 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
227 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
237 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
243 static bool is_occupied(struct mqd_manager *mm, void *mqd, in is_occupied()
252 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state()
279 static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, in init_mqd_hiq()
[all …]
Dkfd_mqd_manager_v9.c45 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
130 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
194 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
206 static int hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd, in hiq_load_mqd_kiq()
214 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
279 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
289 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
302 static bool is_occupied(struct mqd_manager *mm, void *mqd, in is_occupied()
311 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state()
334 static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, in init_mqd_hiq()
[all …]
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dpgalloc.h36 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
42 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t ptep) in pmd_populate()
52 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
71 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
90 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
101 pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
119 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
124 static inline void pte_free(struct mm_struct *mm, pgtable_t ptep) in pte_free()
Dmmu_context.h48 #define asid_mm(mm, cpu) mm->context.asid[cpu] argument
49 #define hw_pid(mm, cpu) (asid_mm(mm, cpu) & MM_CTXT_ASID_MASK) argument
58 static inline void get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context()
106 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
116 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
171 #define deactivate_mm(tsk, mm) do { } while (0) argument
173 #define enter_lazy_tlb(mm, tsk) argument
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpgalloc.h19 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
32 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
47 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
64 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel()
70 #define pmd_populate(mm, pmd, pte_page) \ argument
/kernel/linux/linux-5.10/mm/
Dmmu_notifier.c262 struct mm_struct *mm) in mn_itree_release()
300 struct mm_struct *mm) in mn_hlist_release()
348 void __mmu_notifier_release(struct mm_struct *mm) in __mmu_notifier_release()
365 int __mmu_notifier_clear_flush_young(struct mm_struct *mm, in __mmu_notifier_clear_flush_young()
385 int __mmu_notifier_clear_young(struct mm_struct *mm, in __mmu_notifier_clear_young()
405 int __mmu_notifier_test_young(struct mm_struct *mm, in __mmu_notifier_test_young()
427 void __mmu_notifier_change_pte(struct mm_struct *mm, unsigned long address, in __mmu_notifier_change_pte()
607 void __mmu_notifier_invalidate_range(struct mm_struct *mm, in __mmu_notifier_invalidate_range()
630 struct mm_struct *mm) in __mmu_notifier_register()
730 struct mm_struct *mm) in mmu_notifier_register()
[all …]

12345678910>>...26