Searched refs:mm_struct (Results 1 - 25 of 659) sorted by relevance

1234567891011>>

/linux-master/include/asm-generic/
H A Dmmu_context.h10 struct mm_struct;
21 static inline void enter_lazy_tlb(struct mm_struct *mm,
28 * init_new_context - Initialize context of a new mm_struct.
35 struct mm_struct *mm)
46 static inline void destroy_context(struct mm_struct *mm)
57 static inline void activate_mm(struct mm_struct *prev_mm,
58 struct mm_struct *next_mm)
71 struct mm_struct *mm)
H A Dmm_hooks.h10 static inline int arch_dup_mmap(struct mm_struct *oldmm,
11 struct mm_struct *mm)
16 static inline void arch_exit_mmap(struct mm_struct *mm)
20 static inline void arch_unmap(struct mm_struct *mm,
H A Dnommu_context.h11 static inline void switch_mm(struct mm_struct *prev,
12 struct mm_struct *next,
/linux-master/arch/arm/include/asm/
H A Dvdso.h9 struct mm_struct;
13 void arm_install_vdso(struct mm_struct *mm, unsigned long addr);
19 static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
/linux-master/arch/riscv/include/asm/
H A Dsync_core.h19 static inline void prepare_sync_core_cmd(struct mm_struct *mm)
24 static inline void prepare_sync_core_cmd(struct mm_struct *mm)
H A Dmembarrier.h5 static inline void membarrier_arch_switch_mm(struct mm_struct *prev,
6 struct mm_struct *next,
H A Dmmu_context.h16 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
20 static inline void activate_mm(struct mm_struct *prev,
21 struct mm_struct *next)
28 struct mm_struct *mm)
/linux-master/include/linux/
H A Dkhugepaged.h13 extern void __khugepaged_enter(struct mm_struct *mm);
14 extern void __khugepaged_exit(struct mm_struct *mm);
20 extern int collapse_pte_mapped_thp(struct mm_struct *mm, unsigned long addr,
23 static inline int collapse_pte_mapped_thp(struct mm_struct *mm,
30 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm)
36 static inline void khugepaged_exit(struct mm_struct *mm)
42 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm)
45 static inline void khugepaged_exit(struct mm_struct *m
[all...]
H A Delf-randomize.h5 struct mm_struct;
17 extern unsigned long arch_randomize_brk(struct mm_struct *mm);
H A Daio.h9 struct mm_struct;
15 extern void exit_aio(struct mm_struct *mm);
18 static inline void exit_aio(struct mm_struct *mm) { }
H A Dpage_table_check.h17 void __page_table_check_pte_clear(struct mm_struct *mm, pte_t pte);
18 void __page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd);
19 void __page_table_check_pud_clear(struct mm_struct *mm, pud_t pud);
20 void __page_table_check_ptes_set(struct mm_struct *mm, pte_t *ptep, pte_t pte,
22 void __page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, pmd_t pmd);
23 void __page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, pud_t pud);
24 void __page_table_check_pte_clear_range(struct mm_struct *mm,
44 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte)
52 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd)
60 static inline void page_table_check_pud_clear(struct mm_struct *m
[all...]
H A Dmmap_lock.h20 void __mmap_lock_do_trace_start_locking(struct mm_struct *mm, bool write);
21 void __mmap_lock_do_trace_acquire_returned(struct mm_struct *mm, bool write,
23 void __mmap_lock_do_trace_released(struct mm_struct *mm, bool write);
25 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm,
32 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm,
39 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write)
47 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm,
52 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm,
57 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write)
63 static inline void mmap_assert_locked(struct mm_struct *m
[all...]
H A Dpkeys.h23 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey)
28 static inline int mm_pkey_alloc(struct mm_struct *mm)
33 static inline int mm_pkey_free(struct mm_struct *mm, int pkey)
/linux-master/arch/x86/include/asm/
H A Dmmu_context.h55 static inline void init_new_context_ldt(struct mm_struct *mm)
60 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
61 void destroy_context_ldt(struct mm_struct *mm);
62 void ldt_arch_exit_mmap(struct mm_struct *mm);
64 static inline void init_new_context_ldt(struct mm_struct *mm) { }
65 static inline int ldt_dup_context(struct mm_struct *oldmm,
66 struct mm_struct *mm)
70 static inline void destroy_context_ldt(struct mm_struct *mm) { }
71 static inline void ldt_arch_exit_mmap(struct mm_struct *m
[all...]
/linux-master/arch/sparc/include/asm/
H A Dcachetlb_32.h5 struct mm_struct;
10 void (*cache_mm)(struct mm_struct *);
16 void (*tlb_mm)(struct mm_struct *);
22 void (*sig_insns)(struct mm_struct *, unsigned long);
H A Dmmu_context_32.h13 int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
21 void destroy_context(struct mm_struct *mm);
24 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm,
/linux-master/arch/powerpc/include/asm/
H A Dcopro.h16 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
19 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb);
23 void copro_flush_all_slbs(struct mm_struct *mm);
25 static inline void copro_flush_all_slbs(struct mm_struct *mm) {}
H A Dmembarrier.h4 static inline void membarrier_arch_switch_mm(struct mm_struct *prev,
5 struct mm_struct *next,
H A Dmmu_context.h18 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
20 extern void destroy_context(struct mm_struct *mm);
24 extern bool mm_iommu_preregistered(struct mm_struct *mm);
25 extern long mm_iommu_new(struct mm_struct *mm,
28 extern long mm_iommu_newdev(struct mm_struct *mm, unsigned long ua,
31 extern long mm_iommu_put(struct mm_struct *mm,
33 extern void mm_iommu_init(struct mm_struct *mm);
34 extern struct mm_iommu_table_group_mem_t *mm_iommu_lookup(struct mm_struct *mm,
36 extern struct mm_iommu_table_group_mem_t *mm_iommu_get(struct mm_struct *mm,
40 extern bool mm_iommu_is_devmem(struct mm_struct *m
[all...]
/linux-master/arch/nios2/include/asm/
H A Dmmu_context.h30 * Initialize the context related info for a new mm_struct instance.
37 struct mm_struct *mm)
43 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
51 void activate_mm(struct mm_struct *prev, struct mm_struct *next);
/linux-master/arch/openrisc/include/asm/
H A Dmmu_context.h21 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
23 extern void destroy_context(struct mm_struct *mm);
24 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
/linux-master/arch/m68k/include/asm/
H A Dmotorola_pgalloc.h27 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm)
32 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
37 static inline pgtable_t pte_alloc_one(struct mm_struct *mm)
42 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable)
54 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
59 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd)
71 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
76 static inline pgd_t *pgd_alloc(struct mm_struct *mm)
82 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte)
87 static inline void pmd_populate(struct mm_struct *m
[all...]
/linux-master/arch/sh/include/asm/
H A Dpgalloc.h13 extern pgd_t *pgd_alloc(struct mm_struct *);
14 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
17 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
18 extern pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address);
19 extern void pmd_free(struct mm_struct *mm, pmd_t *pmd);
23 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd,
29 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd,
/linux-master/arch/um/include/asm/
H A Dmmu_context.h19 static inline void activate_mm(struct mm_struct *old, struct mm_struct *new)
28 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
42 extern int init_new_context(struct task_struct *task, struct mm_struct *mm);
45 extern void destroy_context(struct mm_struct *mm);
/linux-master/arch/alpha/include/asm/
H A Dpgalloc.h17 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte)
23 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte)
29 pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
34 extern pgd_t *pgd_alloc(struct mm_struct *mm);

Completed in 671 milliseconds

1234567891011>>