Home
last modified time | relevance | path

Searched refs:mm_struct (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-2.4.37.9/include/asm-m68k/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
17 struct mm_struct *mm) in init_new_context()
25 static inline void switch_mm_0230(struct mm_struct *mm) in switch_mm_0230()
58 static inline void switch_mm_0460(struct mm_struct *mm) in switch_mm_0460()
82 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm()
92 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm()
93 struct mm_struct *next_mm) in activate_mm()
107 extern unsigned long get_free_context(struct mm_struct *mm);
111 static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
119 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
[all …]
/linux-2.4.37.9/include/asm-sparc/
Dpgalloc.h15 BTFIXUPDEF_CALL(void, local_flush_cache_mm, struct mm_struct *)
16 BTFIXUPDEF_CALL(void, local_flush_cache_range, struct mm_struct *, unsigned long, unsigned long)
25 BTFIXUPDEF_CALL(void, local_flush_tlb_mm, struct mm_struct *)
26 BTFIXUPDEF_CALL(void, local_flush_tlb_range, struct mm_struct *, unsigned long, unsigned long)
35 BTFIXUPDEF_CALL(void, local_flush_sig_insns, struct mm_struct *, unsigned long)
41 extern void smp_flush_cache_mm(struct mm_struct *mm);
42 extern void smp_flush_cache_range(struct mm_struct *mm,
48 extern void smp_flush_tlb_mm(struct mm_struct *mm);
49 extern void smp_flush_tlb_range(struct mm_struct *mm,
54 extern void smp_flush_sig_insns(struct mm_struct *mm, unsigned long insn_addr);
[all …]
/linux-2.4.37.9/include/asm-alpha/
Dpgalloc.h11 extern void __load_new_mm_context(struct mm_struct *);
48 ev4_flush_tlb_current(struct mm_struct *mm) in ev4_flush_tlb_current()
55 ev5_flush_tlb_current(struct mm_struct *mm) in ev5_flush_tlb_current()
61 flush_tlb_other(struct mm_struct *mm) in flush_tlb_other()
85 struct mm_struct *mm = vma->vm_mm; in flush_icache_user_range()
107 ev4_flush_tlb_current_page(struct mm_struct * mm, in ev4_flush_tlb_current_page()
120 ev5_flush_tlb_current_page(struct mm_struct * mm, in ev5_flush_tlb_current_page()
164 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
182 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
201 struct mm_struct * mm = vma->vm_mm; in flush_tlb_page()
[all …]
Dmmu_context.h116 __get_new_mm_context(struct mm_struct *mm, long cpu) in __get_new_mm_context()
131 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm()
160 ev4_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev4_switch_mm()
179 extern void __load_new_mm_context(struct mm_struct *);
188 struct mm_struct * mm = current->active_mm; \
199 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm()
205 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm()
225 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
236 destroy_context(struct mm_struct *mm) in destroy_context()
242 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
Dmachvec.h18 struct mm_struct;
70 void (*mv_switch_mm)(struct mm_struct *, struct mm_struct *,
72 void (*mv_activate_mm)(struct mm_struct *, struct mm_struct *);
74 void (*mv_flush_tlb_current)(struct mm_struct *);
75 void (*mv_flush_tlb_current_page)(struct mm_struct * mm,
/linux-2.4.37.9/include/asm-parisc/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
27 destroy_context(struct mm_struct *mm) in destroy_context()
33 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm()
42 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
Dpgalloc.h73 flush_cache_range(struct mm_struct *mm, unsigned long start, unsigned long end) in flush_cache_range()
162 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
179 extern __inline__ void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long … in flush_tlb_pgtables()
193 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
224 static inline pgd_t *pgd_alloc (struct mm_struct *mm) in pgd_alloc()
245 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
250 static inline pmd_t *pmd_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pmd_alloc_one_fast()
255 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
284 static inline void pmd_populate (struct mm_struct *mm, pmd_t *pmd_entry, pte_t *pte) in pmd_populate()
289 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
[all …]
/linux-2.4.37.9/include/asm-ia64/
Dpgalloc.h38 pgd_alloc_one_fast (struct mm_struct *mm) in pgd_alloc_one_fast()
52 pgd_alloc (struct mm_struct *mm) in pgd_alloc()
74 pgd_populate (struct mm_struct *mm, pgd_t *pgd_entry, pmd_t *pmd) in pgd_populate()
81 pmd_alloc_one_fast (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_fast()
94 pmd_alloc_one (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
112 pmd_populate (struct mm_struct *mm, pmd_t *pmd_entry, pte_t *pte) in pmd_populate()
118 pte_alloc_one_fast (struct mm_struct *mm, unsigned long addr) in pte_alloc_one_fast()
132 pte_alloc_one (struct mm_struct *mm, unsigned long addr) in pte_alloc_one()
164 extern void smp_flush_tlb_mm (struct mm_struct *mm);
171 local_flush_tlb_mm (struct mm_struct *mm) in local_flush_tlb_mm()
[all …]
Dmmu_context.h38 extern void wrap_mmu_context (struct mm_struct *mm);
41 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
63 get_mmu_context (struct mm_struct *mm) in get_mmu_context()
90 init_new_context (struct task_struct *p, struct mm_struct *mm) in init_new_context()
97 destroy_context (struct mm_struct *mm) in destroy_context()
133 activate_context (struct mm_struct *mm) in activate_context()
148 activate_mm (struct mm_struct *prev, struct mm_struct *next) in activate_mm()
/linux-2.4.37.9/include/asm-sh64/
Dmmu_context.h54 get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context()
80 get_mmu_context(struct mm_struct *mm) in get_mmu_context()
96 struct mm_struct *mm) in init_new_context()
106 static __inline__ void destroy_context(struct mm_struct *mm) in destroy_context()
108 extern void flush_tlb_mm(struct mm_struct *mm); in destroy_context()
179 static __inline__ void activate_context(struct mm_struct *mm) in activate_context()
186 static __inline__ void switch_mm(struct mm_struct *prev, in switch_mm()
187 struct mm_struct *next, in switch_mm()
203 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
Dpgalloc.h23 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
39 static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
47 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
65 pmd_alloc_one_fast (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_fast()
74 pmd_alloc_one (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
105 pmd_populate (struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate()
131 extern void flush_tlb_mm(struct mm_struct *mm);
132 extern void flush_tlb_range(struct mm_struct *mm, unsigned long start,
136 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
/linux-2.4.37.9/include/asm-x86_64/
Dpgalloc.h52 static inline pmd_t *pmd_alloc_one_fast (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_fast()
64 static inline pmd_t *pmd_alloc_one (struct mm_struct *mm, unsigned long addr) in pmd_alloc_one()
81 static inline pgd_t *pgd_alloc (struct mm_struct *mm) in pgd_alloc()
107 static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
112 extern __inline__ pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
161 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
174 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
190 extern void flush_tlb_mm(struct mm_struct *);
195 static inline void flush_tlb_range(struct mm_struct * mm, unsigned long start, unsigned long end) in flush_tlb_range()
205 struct mm_struct *active_mm;
[all …]
/linux-2.4.37.9/include/asm-cris/
Dmmu_context.h4 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
5 extern void get_mmu_context(struct mm_struct *mm);
6 extern void destroy_context(struct mm_struct *mm);
7 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
18 extern inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
/linux-2.4.37.9/include/asm-mips/
Dmmu_context.h55 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
67 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) in get_new_mmu_context()
85 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
94 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
122 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
131 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
156 drop_mmu_context(struct mm_struct *mm, unsigned cpu) in drop_mmu_context()
/linux-2.4.37.9/include/asm-mips64/
Dmmu_context.h55 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
67 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) in get_new_mmu_context()
85 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
94 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
122 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
131 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
156 drop_mmu_context(struct mm_struct *mm, unsigned cpu) in drop_mmu_context()
Dpgalloc.h24 extern void local_flush_tlb_mm(struct mm_struct *mm);
25 extern void local_flush_tlb_range(struct mm_struct *mm, unsigned long start,
34 extern void flush_tlb_mm(struct mm_struct *);
35 extern void flush_tlb_range(struct mm_struct *, unsigned long, unsigned long);
47 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
95 static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one()
105 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
143 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one()
153 static inline pmd_t *pmd_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pmd_alloc_one_fast()
/linux-2.4.37.9/include/asm-s390x/
Dpgalloc.h61 extern __inline__ pgd_t *pgd_alloc (struct mm_struct *mm) in pgd_alloc()
85 extern pmd_t *pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd);
90 extern inline pmd_t * pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
104 pmd_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pmd_alloc_one_fast()
134 extern inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate()
143 extern inline pte_t * pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pte_alloc_one()
156 extern __inline__ pte_t* pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
230 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
239 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
269 static inline void __flush_tlb_mm(struct mm_struct * mm) in __flush_tlb_mm()
[all …]
Dmmu_context.h19 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
24 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
39 extern inline void activate_mm(struct mm_struct *prev, in activate_mm()
40 struct mm_struct *next) in activate_mm()
/linux-2.4.37.9/include/asm-ppc/
Dmmu_context.h51 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
106 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
113 static inline void get_mmu_context(struct mm_struct *mm) in get_mmu_context()
144 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
155 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
167 static inline void activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) in activate_mm()
/linux-2.4.37.9/include/asm-sh/
Dmmu_context.h36 get_mmu_context(struct mm_struct *mm) in get_mmu_context()
69 struct mm_struct *mm) in init_new_context()
79 static __inline__ void destroy_context(struct mm_struct *mm) in destroy_context()
155 static __inline__ void activate_context(struct mm_struct *mm) in activate_context()
163 static __inline__ void switch_mm(struct mm_struct *prev, in switch_mm()
164 struct mm_struct *next, in switch_mm()
181 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
/linux-2.4.37.9/include/asm-i386/
Dmmu_context.h14 int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
15 void destroy_context(struct mm_struct *mm);
19 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
25 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
30 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm()
/linux-2.4.37.9/include/asm-s390/
Dpgalloc.h57 extern __inline__ pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
93 extern inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate()
104 extern inline pte_t * pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pte_alloc_one()
118 pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast()
192 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
201 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
240 static inline void __flush_tlb_mm(struct mm_struct * mm) in __flush_tlb_mm()
261 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
270 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
278 extern inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables()
Dmmu_context.h19 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
24 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
40 extern inline void activate_mm(struct mm_struct *prev, in activate_mm()
41 struct mm_struct *next) in activate_mm()
/linux-2.4.37.9/arch/cris/mm/
Dtlb.c49 struct mm_struct *page_id_map[NUM_PAGEID];
84 flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
123 struct mm_struct *mm = vma->vm_mm; in flush_tlb_page()
162 flush_tlb_range(struct mm_struct *mm, in flush_tlb_range()
231 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
240 alloc_context(struct mm_struct *mm) in alloc_context()
242 struct mm_struct *old_mm; in alloc_context()
275 get_mmu_context(struct mm_struct *mm) in get_mmu_context()
284 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
317 destroy_context(struct mm_struct *mm) in destroy_context()
/linux-2.4.37.9/include/linux/
Dmm.h45 struct mm_struct * vm_mm; /* The address space we belong to. */
483 extern void clear_page_tables(struct mm_struct *, unsigned long, int);
491 extern void zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size);
492 extern int copy_page_range(struct mm_struct *dst, struct mm_struct *src, struct vm_area_struct *vma…
497 extern pmd_t *FASTCALL(__pmd_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address));
498 extern pte_t *FASTCALL(pte_alloc(struct mm_struct *mm, pmd_t *pmd, unsigned long address));
499 extern int handle_mm_fault(struct mm_struct *mm,struct vm_area_struct *vma, unsigned long address, …
509 int get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start,
517 static inline pmd_t *pmd_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address) in pmd_alloc()
552 extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *);
[all …]

123456789