Home
last modified time | relevance | path

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

12345678910>>...53

/kernel/linux/linux-6.6/include/linux/
Dmmap_lock.h25 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
32 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
39 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
47 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking()
52 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned()
57 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released()
63 static inline void mmap_assert_locked(struct mm_struct *mm) in mmap_assert_locked()
69 static inline void mmap_assert_write_locked(struct mm_struct *mm) in mmap_assert_write_locked()
84 static inline void vma_end_write_all(struct mm_struct *mm) in vma_end_write_all()
97 static inline void vma_end_write_all(struct mm_struct *mm) {} in vma_end_write_all()
[all …]
Dpage_table_check.h44 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear()
52 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear()
60 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear()
68 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set()
77 static inline void page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, in page_table_check_pmd_set()
86 static inline void page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, in page_table_check_pud_set()
95 static inline void page_table_check_pte_clear_range(struct mm_struct *mm, in page_table_check_pte_clear_range()
115 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear()
119 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear()
123 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear()
[all …]
/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 …]
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dmmu_context.h55 static inline void init_new_context_ldt(struct mm_struct *mm) in init_new_context_ldt()
64 static inline void init_new_context_ldt(struct mm_struct *mm) { } in init_new_context_ldt()
66 struct mm_struct *mm) in ldt_dup_context()
70 static inline void destroy_context_ldt(struct mm_struct *mm) { } in destroy_context_ldt()
71 static inline void ldt_arch_exit_mmap(struct mm_struct *mm) { } in ldt_arch_exit_mmap()
78 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt()
89 static inline unsigned long mm_lam_cr3_mask(struct mm_struct *mm) in mm_lam_cr3_mask()
94 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
101 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask()
106 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask()
[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 …]
/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 …]
/kernel/linux/linux-6.6/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/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-6.6/arch/powerpc/include/asm/
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()
123 static inline void inc_mm_active_cpus(struct mm_struct *mm) in inc_mm_active_cpus()
128 static inline void dec_mm_active_cpus(struct mm_struct *mm) in dec_mm_active_cpus()
134 static inline void mm_context_add_copro(struct mm_struct *mm) in mm_context_add_copro()
145 static inline void mm_context_remove_copro(struct mm_struct *mm) in mm_context_remove_copro()
[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 …]
/kernel/linux/linux-6.6/include/asm-generic/
Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel(struct mm_struct *mm) in __pte_alloc_one_kernel()
36 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
47 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
64 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
88 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
104 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
127 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
146 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()
185 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
[all …]
/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 …]
/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-6.6/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-6.6/arch/m68k/include/asm/
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 …]
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 …]
/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-6.6/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()
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 …]
/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-6.6/arch/riscv/include/asm/
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 pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
92 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
101 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long addr) in p4d_alloc_one()
[all …]
/kernel/linux/linux-6.6/include/linux/sched/
Dmm.h34 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
46 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
64 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed() local
73 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
80 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
87 static inline void mmgrab_lazy_tlb(struct mm_struct *mm) in mmgrab_lazy_tlb()
93 static inline void mmdrop_lazy_tlb(struct mm_struct *mm) in mmdrop_lazy_tlb()
106 static inline void mmdrop_lazy_tlb_sched(struct mm_struct *mm) in mmdrop_lazy_tlb_sched()
130 static inline void mmget(struct mm_struct *mm) in mmget()
135 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
[all …]
/kernel/linux/linux-6.6/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()
383 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
[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 …]

12345678910>>...53