Home
last modified time | relevance | path

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

12345678910>>...21

/linux/include/linux/
H A Dmmap_lock.h30 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
37 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
44 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
52 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
57 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
62 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
68 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked()
73 static inline void mmap_assert_write_locked(const struct mm_struct *mm) in mmap_assert_write_locked()
80 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init()
85 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) in mm_lock_seqcount_begin()
[all …]
H A Dpage_table_check.h44 page_table_check_pte_clear(struct mm_struct * mm,pte_t pte) page_table_check_pte_clear() argument
52 page_table_check_pmd_clear(struct mm_struct * mm,pmd_t pmd) page_table_check_pmd_clear() argument
60 page_table_check_pud_clear(struct mm_struct * mm,pud_t pud) page_table_check_pud_clear() argument
68 page_table_check_ptes_set(struct mm_struct * mm,pte_t * ptep,pte_t pte,unsigned int nr) page_table_check_ptes_set() argument
77 page_table_check_pmd_set(struct mm_struct * mm,pmd_t * pmdp,pmd_t pmd) page_table_check_pmd_set() argument
86 page_table_check_pud_set(struct mm_struct * mm,pud_t * pudp,pud_t pud) page_table_check_pud_set() argument
95 page_table_check_pte_clear_range(struct mm_struct * mm,unsigned long addr,pmd_t pmd) page_table_check_pte_clear_range() argument
115 page_table_check_pte_clear(struct mm_struct * mm,pte_t pte) page_table_check_pte_clear() argument
119 page_table_check_pmd_clear(struct mm_struct * mm,pmd_t pmd) page_table_check_pmd_clear() argument
123 page_table_check_pud_clear(struct mm_struct * mm,pud_t pud) page_table_check_pud_clear() argument
127 page_table_check_ptes_set(struct mm_struct * mm,pte_t * ptep,pte_t pte,unsigned int nr) page_table_check_ptes_set() argument
132 page_table_check_pmd_set(struct mm_struct * mm,pmd_t * pmdp,pmd_t pmd) page_table_check_pmd_set() argument
137 page_table_check_pud_set(struct mm_struct * mm,pud_t * pudp,pud_t pud) page_table_check_pud_set() argument
142 page_table_check_pte_clear_range(struct mm_struct * mm,unsigned long addr,pmd_t pmd) page_table_check_pte_clear_range() argument
[all...]
/linux/arch/s390/include/asm/
H A Dpgalloc.h37 static inline unsigned long check_asce_limit(struct mm_struct *mm, unsigned long addr, in check_asce_limit()
51 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address) in p4d_alloc_one()
63 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
72 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
84 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
93 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
107 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
115 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
120 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
125 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
[all …]
/linux/arch/powerpc/include/asm/
H A Dmmu_context.h45 static inline bool mm_iommu_is_devmem(struct mm_struct *mm, unsigned long hpa, in mm_iommu_is_devmem()
50 static inline void mm_iommu_init(struct mm_struct *mm) { } in mm_iommu_init()
72 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
88 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
105 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
113 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
120 static inline void inc_mm_active_cpus(struct mm_struct *mm) in inc_mm_active_cpus()
125 static inline void dec_mm_active_cpus(struct mm_struct *mm) in dec_mm_active_cpus()
131 static inline void mm_context_add_copro(struct mm_struct *mm) in mm_context_add_copro()
142 static inline void mm_context_remove_copro(struct mm_struct *mm) in mm_context_remove_copro()
[all …]
H A 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()
/linux/include/asm-generic/
H A Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel_noprof(struct mm_struct *mm) in __pte_alloc_one_kernel_noprof()
42 static inline pte_t *pte_alloc_one_kernel_noprof(struct mm_struct *mm) in pte_alloc_one_kernel_noprof()
54 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
71 static inline pgtable_t __pte_alloc_one_noprof(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one_noprof()
96 static inline pgtable_t pte_alloc_one_noprof(struct mm_struct *mm) in pte_alloc_one_noprof()
113 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
135 static inline pmd_t *pmd_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_noprof()
155 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
168 static inline pud_t *__pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in __pud_alloc_one_noprof()
196 static inline pud_t *pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pud_alloc_one_noprof()
[all …]
/linux/arch/x86/include/asm/
H A Dpgalloc.h15 static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } in __paravirt_pgd_alloc()
20 #define paravirt_pgd_alloc(mm) __paravirt_pgd_alloc(mm) argument
21 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} in paravirt_pgd_free()
22 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
23 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pmd()
26 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pud()
27 static inline void paravirt_alloc_p4d(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_p4d()
62 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
69 static inline void pmd_populate_kernel_safe(struct mm_struct *mm, in pmd_populate_kernel_safe()
76 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
[all …]
H A Dpkeys.h25 static inline int execute_only_pkey(struct mm_struct *mm) in execute_only_pkey()
46 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) argument
47 #define mm_set_pkey_allocated(mm, pkey) do { \ argument
50 #define mm_set_pkey_free(mm, pkey) do { \ argument
55 bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
81 int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
108 int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
/linux/arch/m68k/include/asm/
H A 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 …]
H A Dmmu_context.h28 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
52 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
58 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
85 struct mm_struct *mm) in activate_mm()
96 struct mm_struct *mm; in load_ksp_mmu() local
179 struct mm_struct *mm) in init_new_context()
187 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()
201 static inline void activate_context(struct mm_struct *mm) in activate_context()
228 struct mm_struct *mm) in init_new_context()
[all …]
H A Dmcf_pgalloc.h8 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
15 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
35 #define pmd_populate(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte)) argument
48 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()
/linux/rust/helpers/
H A Dmm.c6 void rust_helper_mmgrab(struct mm_struct *mm) in rust_helper_mmgrab()
11 void rust_helper_mmdrop(struct mm_struct *mm) in rust_helper_mmdrop()
16 void rust_helper_mmget(struct mm_struct *mm) in rust_helper_mmget()
21 bool rust_helper_mmget_not_zero(struct mm_struct *mm) in rust_helper_mmget_not_zero()
26 void rust_helper_mmap_read_lock(struct mm_struct *mm) in rust_helper_mmap_read_lock()
31 bool rust_helper_mmap_read_trylock(struct mm_struct *mm) in rust_helper_mmap_read_trylock()
36 void rust_helper_mmap_read_unlock(struct mm_struct *mm) in rust_helper_mmap_read_unlock()
41 struct vm_area_struct *rust_helper_vma_lookup(struct mm_struct *mm, in rust_helper_vma_lookup()
/linux/arch/powerpc/include/asm/book3s/64/
H A 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()
126 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
131 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
142 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
147 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
[all …]
/linux/arch/x86/kernel/
H A 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()
383 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_vi.c48 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
91 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
157 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
170 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
240 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed()
247 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
254 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state()
277 static void get_checkpoint_info(struct mqd_manager *mm, void *mqd, u32 *ctl_stack_size) in get_checkpoint_info()
283 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd()
292 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd()
[all …]
H A Dkfd_mqd_manager_cik.c45 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
88 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
142 static void init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma()
159 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd()
172 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
209 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed()
216 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
223 static void update_mqd_sdma(struct mqd_manager *mm, void *mqd, in update_mqd_sdma()
251 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd()
260 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd()
[all …]
H A Dkfd_mqd_manager_v10.c45 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
88 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
150 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
164 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
229 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed()
236 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state()
274 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd()
283 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd()
310 static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, in init_mqd_hiq()
324 static int destroy_hiq_mqd(struct mqd_manager *mm, void *mqd, in destroy_hiq_mqd()
[all …]
/linux/mm/
H A Dmmu_notifier.c264 struct mm_struct *mm) in mn_itree_release()
302 struct mm_struct *mm) in mn_hlist_release()
350 void __mmu_notifier_release(struct mm_struct *mm) in __mmu_notifier_release()
367 int __mmu_notifier_clear_flush_young(struct mm_struct *mm, in __mmu_notifier_clear_flush_young()
387 int __mmu_notifier_clear_young(struct mm_struct *mm, in __mmu_notifier_clear_young()
407 int __mmu_notifier_test_young(struct mm_struct *mm, in __mmu_notifier_test_young()
573 void __mmu_notifier_arch_invalidate_secondary_tlbs(struct mm_struct *mm, in __mmu_notifier_arch_invalidate_secondary_tlbs()
597 struct mm_struct *mm) in __mmu_notifier_register()
700 struct mm_struct *mm) in mmu_notifier_register()
712 find_get_mmu_notifier(struct mm_struct *mm, const struct mmu_notifier_ops *ops) in find_get_mmu_notifier()
[all …]
H A Dmmap_lock.c26 void __mmap_lock_do_trace_start_locking(struct mm_struct *mm, bool write) in __mmap_lock_do_trace_start_locking()
32 void __mmap_lock_do_trace_acquire_returned(struct mm_struct *mm, bool write, in __mmap_lock_do_trace_acquire_returned()
39 void __mmap_lock_do_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_do_trace_released()
135 struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, in lock_vma_under_rcu()
186 static inline bool get_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in get_mmap_lock_carefully()
200 static inline bool mmap_upgrade_trylock(struct mm_struct *mm) in mmap_upgrade_trylock()
213 static inline bool upgrade_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in upgrade_mmap_lock_carefully()
243 struct vm_area_struct *lock_mm_and_find_vma(struct mm_struct *mm, in lock_mm_and_find_vma()
305 struct vm_area_struct *lock_mm_and_find_vma(struct mm_struct *mm, in lock_mm_and_find_vma()
/linux/arch/arm/include/asm/
H A 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()
/linux/arch/loongarch/include/asm/
H A Dmmu_context.h34 #define cpu_context(cpu, mm) ((mm)->context.asid[cpu]) argument
36 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & cpu_asid_mask(&cpu_data[cpu])) argument
38 static inline int asid_valid(struct mm_struct *mm, unsigned int cpu) in asid_valid()
46 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
52 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu, bool *need_flush) in get_new_mmu_context()
67 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
129 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
134 #define deactivate_mm(task, mm) do { } while (0) argument
141 drop_mmu_context(struct mm_struct *mm, unsigned int cpu) in drop_mmu_context()
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgalloc.h18 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
23 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
29 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
34 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
39 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel()
45 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate()
51 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
/linux/arch/arm64/include/asm/
H A Dpkeys.h37 static inline int execute_only_pkey(struct mm_struct *mm) in execute_only_pkey()
43 #define mm_pkey_allocation_map(mm) (mm)->context.pkey_allocation_map argument
44 #define mm_set_pkey_allocated(mm, pkey) do { \ argument
47 #define mm_set_pkey_free(mm, pkey) do { \ argument
51 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
67 static inline int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
96 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
/linux/kernel/
H A Dfork.c516 void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file()
531 static inline int mm_alloc_pgd(struct mm_struct *mm) in mm_alloc_pgd()
539 static inline void mm_free_pgd(struct mm_struct *mm) in mm_free_pgd()
544 #define mm_alloc_pgd(mm) (0) argument
545 #define mm_free_pgd(mm) argument
551 static inline int mm_alloc_id(struct mm_struct *mm) in mm_alloc_id()
562 static inline void mm_free_id(struct mm_struct *mm) in mm_free_id()
574 static inline int mm_alloc_id(struct mm_struct *mm) { return 0; } in mm_alloc_id()
575 static inline void mm_free_id(struct mm_struct *mm) {} in mm_free_id()
578 static void check_mm(struct mm_struct *mm) in check_mm()
[all …]
/linux/arch/riscv/include/asm/
H A Dpgalloc.h18 static inline void pmd_populate_kernel(struct mm_struct *mm, in pmd_populate_kernel()
26 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate()
35 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
42 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
51 static inline void p4d_populate_safe(struct mm_struct *mm, p4d_t *p4d, in p4d_populate_safe()
62 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
71 static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, in pgd_populate_safe()
83 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
111 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()

12345678910>>...21