/linux/include/linux/ |
H A D | mmap_lock.h | 31 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 38 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 45 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 53 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 58 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 63 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 69 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked() 74 static inline void mmap_assert_write_locked(const struct mm_struct *mm) in mmap_assert_write_locked() 81 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init() 86 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) in mm_lock_seqcount_begin() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | pgalloc.h | 37 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 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/asm-generic/ |
H A D | pgalloc.h | 19 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/s390/mm/ |
H A D | pgtable.c | 39 static inline void ptep_ipte_local(struct mm_struct *mm, unsigned long addr, in ptep_ipte_local() 59 static inline void ptep_ipte_global(struct mm_struct *mm, unsigned long addr, in ptep_ipte_global() 79 static inline pte_t ptep_flush_direct(struct mm_struct *mm, in ptep_flush_direct() 98 static inline pte_t ptep_flush_lazy(struct mm_struct *mm, in ptep_flush_lazy() 157 struct mm_struct *mm) in pgste_update_all() 178 struct mm_struct *mm) in pgste_set_key() 222 static inline pgste_t pgste_pte_notify(struct mm_struct *mm, in pgste_pte_notify() 238 static inline pgste_t ptep_xchg_start(struct mm_struct *mm, in ptep_xchg_start() 250 static inline pte_t ptep_xchg_commit(struct mm_struct *mm, in ptep_xchg_commit() 271 pte_t ptep_xchg_direct(struct mm_struct *mm, unsigned long addr, in ptep_xchg_direct() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | pgalloc.h | 15 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 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/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() 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 D | mm.c | 6 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 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/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/mm/ |
H A D | mmap_lock.c | 26 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() 181 static struct vm_area_struct *lock_next_vma_under_mmap_lock(struct mm_struct *mm, in lock_next_vma_under_mmap_lock() 206 struct vm_area_struct *lock_next_vma(struct mm_struct *mm, in lock_next_vma() 275 static inline bool get_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in get_mmap_lock_carefully() 289 static inline bool mmap_upgrade_trylock(struct mm_struct *mm) in mmap_upgrade_trylock() 302 static inline bool upgrade_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in upgrade_mmap_lock_carefully() 332 struct vm_area_struct *lock_mm_and_find_vma(struct mm_struct *mm, in lock_mm_and_find_vma() [all …]
|
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/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_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() 160 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 231 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 243 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 326 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 336 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 372 static void get_checkpoint_info(struct mqd_manager *mm, void *mqd, u32 *ctl_stack_size) in get_checkpoint_info() 379 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() 391 static void checkpoint_mqd_v9_4_3(struct mqd_manager *mm, in checkpoint_mqd_v9_4_3() [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_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() 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/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/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()
|
/linux/arch/arm64/include/asm/ |
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/kernel/ |
H A D | fork.c | 516 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 …]
|