/linux/arch/x86/include/asm/ |
H A D | mmu_context.h | 55 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() 100 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam() 107 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask() 112 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask() [all …]
|
H A D | pgalloc.h | 13 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 …]
|
H A D | pkeys.h | 25 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/s390/include/asm/ |
H A D | pgalloc.h | 38 static inline unsigned long check_asce_limit(struct mm_struct *mm, unsigned long addr, in check_asce_limit() 52 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address) in p4d_alloc_one() 61 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free() 67 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one() 75 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() 81 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one() 95 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 103 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate() 108 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate() 113 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 D | mmu_context.h | 45 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 …]
|
/linux/include/linux/ |
H A D | page_table_check.h | 44 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 …]
|
/linux/arch/m68k/include/asm/ |
H A D | motorola_pgalloc.h | 27 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 D | mmu_context.h | 28 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 D | mcf_pgalloc.h | 8 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() 31 #define pmd_populate(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte)) argument 44 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one() 60 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free() 72 #define pmd_free(mm, pmd) BUG() argument 74 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() 79 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | pgalloc.h | 25 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 D | ldt.c | 42 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/arch/arm64/include/asm/ |
H A D | mmu_context.h | 58 static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm) in cpu_switch_mm() 102 struct mm_struct *mm = current->active_mm; in cpu_uninstall_idmap() local 173 #define init_new_context(tsk, mm) init_new_context(tsk, mm) argument 175 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 187 struct mm_struct *mm) in arch_dup_pkeys() 193 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() 200 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap() 204 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap() 211 struct mm_struct *mm) in update_saved_ttbr0() 227 struct mm_struct *mm) in update_saved_ttbr0() [all …]
|
H A D | pkeys.h | 37 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/include/linux/sched/ |
H A D | mm.h | 35 static inline void mmgrab(struct mm_struct *mm) in mmgrab() 47 static inline void mmdrop(struct mm_struct *mm) in mmdrop() 65 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed() local 74 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched() 81 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched() 88 static inline void mmgrab_lazy_tlb(struct mm_struct *mm) in mmgrab_lazy_tlb() 94 static inline void mmdrop_lazy_tlb(struct mm_struct *mm) in mmdrop_lazy_tlb() 107 static inline void mmdrop_lazy_tlb_sched(struct mm_struct *mm) in mmdrop_lazy_tlb_sched() 131 static inline void mmget(struct mm_struct *mm) in mmget() 136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_buddy.c | 14 static struct drm_buddy_block *drm_block_alloc(struct drm_buddy *mm, in drm_block_alloc() 35 static void drm_block_free(struct drm_buddy *mm, in drm_block_free() 41 static void list_insert_sorted(struct drm_buddy *mm, in list_insert_sorted() 78 static void mark_free(struct drm_buddy *mm, in mark_free() 120 static unsigned int __drm_buddy_free(struct drm_buddy *mm, in __drm_buddy_free() 164 static int __force_merge(struct drm_buddy *mm, in __force_merge() 234 int drm_buddy_init(struct drm_buddy *mm, u64 size, u64 chunk_size) in drm_buddy_init() 325 void drm_buddy_fini(struct drm_buddy *mm) in drm_buddy_fini() 351 static int split_block(struct drm_buddy *mm, in split_block() 408 void drm_buddy_free_block(struct drm_buddy *mm, in drm_buddy_free_block() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_mqd_manager_vi.c | 48 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 D | kfd_mqd_manager_cik.c | 45 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 D | kfd_mqd_manager_v9.c | 41 static uint64_t mqd_stride_v9(struct mqd_manager *mm, in mqd_stride_v9() 62 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask() 159 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 227 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 239 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 321 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 331 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 367 static void get_checkpoint_info(struct mqd_manager *mm, void *mqd, u32 *ctl_stack_size) in get_checkpoint_info() 374 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() 386 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd() [all …]
|
H A D | kfd_mqd_manager_v10.c | 45 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() 148 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 162 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 227 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 234 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 272 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() 281 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd() 308 static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, in init_mqd_hiq() 322 static int destroy_hiq_mqd(struct mqd_manager *mm, void *mqd, in destroy_hiq_mqd() [all …]
|
/linux/mm/ |
H A D | mmu_notifier.c | 264 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 …]
|
/linux/arch/arm/include/asm/ |
H A D | pgalloc.h | 26 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/parisc/include/asm/ |
H A D | pgalloc.h | 19 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
|
/linux/tools/testing/vma/ |
H A D | vma.c | 49 alloc_vma(struct mm_struct * mm,unsigned long start,unsigned long end,pgoff_t pgoff,vm_flags_t flags) alloc_vma() argument 69 alloc_and_link_vma(struct mm_struct * mm,unsigned long start,unsigned long end,pgoff_t pgoff,vm_flags_t flags) alloc_and_link_vma() argument 152 try_merge_new_vma(struct mm_struct * mm,struct vma_merge_struct * vmg,unsigned long start,unsigned long end,pgoff_t pgoff,vm_flags_t flags,bool * was_merged) try_merge_new_vma() argument 190 cleanup_mm(struct mm_struct * mm,struct vma_iterator * vmi) cleanup_mm() argument 230 struct mm_struct mm = {}; test_simple_merge() local 264 struct mm_struct mm = {}; test_simple_modify() local 323 struct mm_struct mm = {}; test_simple_expand() local 351 struct mm_struct mm = {}; test_simple_shrink() local 372 struct mm_struct mm = {}; test_merge_new() local 568 struct mm_struct mm = {}; test_vma_merge_special_flags() local 640 struct mm_struct mm = {}; test_vma_merge_with_close() local 849 struct mm_struct mm = {}; test_vma_merge_new_with_close() local 904 struct mm_struct mm = {}; test_merge_existing() local 1134 struct mm_struct mm = {}; test_anon_vma_non_mergeable() local 1242 struct mm_struct mm = {}; test_dup_anon_vma() local 1402 struct mm_struct mm = {}; test_vmi_prealloc_fail() local 1466 struct mm_struct mm = {}; test_merge_extend() local 1496 struct mm_struct mm = {}; test_copy_vma() local 1528 struct mm_struct mm = {}; test_expand_only_mode() local [all...] |
/linux/arch/loongarch/include/asm/ |
H A D | mmu_context.h | 34 #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 D | pgalloc.h | 18 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()
|