/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/ |
H A D | mmu_context.h | 8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 16 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) 26 #define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm) 31 #define switch_mm(old_mm, mm, tsk, cpu) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk, cpu) 34 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL, smp_processor_id())
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/ |
H A D | mmu_context.h | 8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 16 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) 26 #define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm) 31 #define switch_mm(old_mm, mm, tsk, cpu) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk, cpu) 34 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL, smp_processor_id())
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/ |
H A D | mmu_context.h | 6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 19 mm->context = virt_to_phys(mm->pgd); 23 #define destroy_context(mm) do { } while(0) 25 extern inline void switch_mm_0230(struct mm_struct *mm) argument 28 0x80000000 | _PAGE_TABLE, mm->context 58 extern inline void switch_mm_0460(struct mm_struct *mm) argument 66 asm volatile ("movec %0,%%urp" : : "r" (mm->context)); 107 extern unsigned long get_free_context(struct mm_struct *mm); 111 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 119 get_mmu_context(struct mm_struct *mm) argument 126 destroy_context(struct mm_struct *mm) argument 132 activate_context(struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-m68k/ |
H A D | mmu_context.h | 6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 19 mm->context = virt_to_phys(mm->pgd); 23 #define destroy_context(mm) do { } while(0) 25 extern inline void switch_mm_0230(struct mm_struct *mm) argument 28 0x80000000 | _PAGE_TABLE, mm->context 58 extern inline void switch_mm_0460(struct mm_struct *mm) argument 66 asm volatile ("movec %0,%%urp" : : "r" (mm->context)); 107 extern unsigned long get_free_context(struct mm_struct *mm); 111 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 119 get_mmu_context(struct mm_struct *mm) argument 126 destroy_context(struct mm_struct *mm) argument 132 activate_context(struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/proc-armo/ |
H A D | cache.h | 13 #define flush_cache_mm(mm) do { } while (0) 14 #define flush_cache_range(mm,start,end) do { } while (0) 35 * - flush_tlb_mm(mm) flushes the specified mm context TLB's 37 * - flush_tlb_range(mm, start, end) flushes a range of pages 40 #define flush_tlb_mm(mm) memc_update_mm(mm) 41 #define flush_tlb_range(mm,start,end) \ 42 do { memc_update_mm(mm); (void)(start); (void)(end); } while (0) 54 if (!p->mm) 61 memc_update_mm(struct mm_struct *mm) argument 70 memc_clear(struct mm_struct *mm, struct page *page) argument 79 memc_update_addr(struct mm_struct *mm, pte_t pte, unsigned long vaddr) argument 90 struct mm_struct *mm = vma->vm_mm; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/proc-armo/ |
H A D | cache.h | 13 #define flush_cache_mm(mm) do { } while (0) 14 #define flush_cache_range(mm,start,end) do { } while (0) 35 * - flush_tlb_mm(mm) flushes the specified mm context TLB's 37 * - flush_tlb_range(mm, start, end) flushes a range of pages 40 #define flush_tlb_mm(mm) memc_update_mm(mm) 41 #define flush_tlb_range(mm,start,end) \ 42 do { memc_update_mm(mm); (void)(start); (void)(end); } while (0) 54 if (!p->mm) 61 memc_update_mm(struct mm_struct *mm) argument 70 memc_clear(struct mm_struct *mm, struct page *page) argument 79 memc_update_addr(struct mm_struct *mm, pte_t pte, unsigned long vaddr) argument 90 struct mm_struct *mm = vma->vm_mm; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ethernet/ |
H A D | sysctl_net_ether.c | 8 #include <linux/mm.h>
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/ |
H A D | mmu_context.h | 30 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 44 extern void get_new_mmu_context(struct mm_struct *mm); 48 * This just needs to set mm->context to an invalid context. 70 * 1) The physical address of mm->pgd, when full page 109 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *tsk, int cpu) argument 113 spin_lock(&mm->page_table_lock); 114 if (CTX_VALID(mm->context)) 119 if (!ctx_valid || (old_mm != mm)) { 121 get_new_mmu_context(mm); 123 load_secondary_context(mm); 145 activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/ |
H A D | mmu_context.h | 30 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 44 extern void get_new_mmu_context(struct mm_struct *mm); 48 * This just needs to set mm->context to an invalid context. 70 * 1) The physical address of mm->pgd, when full page 109 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *tsk, int cpu) argument 113 spin_lock(&mm->page_table_lock); 114 if (CTX_VALID(mm->context)) 119 if (!ctx_valid || (old_mm != mm)) { 121 get_new_mmu_context(mm); 123 load_secondary_context(mm); 145 activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/ |
H A D | mmu_context.h | 31 * function is changed then arch/ppc/mm/hashtable.S will have to be 54 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 114 * Get a new mmu context for the address space described by `mm'. 116 static inline void get_mmu_context(struct mm_struct *mm) argument 120 if (mm->context != NO_CONTEXT) 133 mm->context = ctx; 135 context_mm[ctx] = mm; 142 #define init_new_context(tsk,mm) (((mm)->context = NO_CONTEXT), 0) 147 static inline void destroy_context(struct mm_struct *mm) argument 170 activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/ |
H A D | mmu_context.h | 31 * function is changed then arch/ppc/mm/hashtable.S will have to be 54 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 114 * Get a new mmu context for the address space described by `mm'. 116 static inline void get_mmu_context(struct mm_struct *mm) argument 120 if (mm->context != NO_CONTEXT) 133 mm->context = ctx; 135 context_mm[ctx] = mm; 142 #define init_new_context(tsk,mm) (((mm)->context = NO_CONTEXT), 0) 147 static inline void destroy_context(struct mm_struct *mm) argument 170 activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-cris/ |
H A D | mmu_context.h | 4 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); 16 extern volatile pgd_t *current_pgd; /* defined in arch/cris/mm/fault.c */ 18 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-cris/ |
H A D | mmu_context.h | 4 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); 16 extern volatile pgd_t *current_pgd; /* defined in arch/cris/mm/fault.c */ 18 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/mm/ |
H A D | mmu_context.c | 14 * Derived from arch/ppc/mm/init.c: 22 * Derived from "arch/i386/mm/init.c" 33 #include <linux/mm.h> 79 struct mm_struct *mm; local 85 mm = context_mm[next_mmu_context]; 86 flush_tlb_mm(mm); 87 destroy_context(mm);
|
H A D | tlb.c | 11 * Derived from arch/ppc/mm/init.c: 19 * Derived from "arch/i386/mm/init.c" 31 #include <linux/mm.h> 40 * - flush_tlb_mm(mm) flushes the specified mm context TLB's 42 * - flush_tlb_range(mm, start, end) flushes a range of pages 73 * by mm. We can't rely on mm->mmap describing all the entries 77 local_flush_tlb_mm(struct mm_struct *mm) argument 84 if (mm 99 struct mm_struct *mm; local 126 local_flush_tlb_range(struct mm_struct *mm, unsigned long start, unsigned long end) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-parisc/ |
H A D | mmu_context.h | 6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 19 if (atomic_read(&mm->mm_users) != 1) 22 mm->context = alloc_sid(); 27 destroy_context(struct mm_struct *mm) argument 29 free_sid(mm->context); 30 mm->context = 0; 46 * for a new mm created in the exec path. There's also
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-parisc/ |
H A D | mmu_context.h | 6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 19 if (atomic_read(&mm->mm_users) != 1) 22 mm->context = alloc_sid(); 27 destroy_context(struct mm_struct *mm) argument 29 free_sid(mm->context); 30 mm->context = 0; 46 * for a new mm created in the exec path. There's also
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/ |
H A D | mmu_context.h | 40 extern void wrap_mmu_context (struct mm_struct *mm); 43 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 48 get_new_mmu_context (struct mm_struct *mm) argument 53 wrap_mmu_context(mm); 54 mm->context = ia64_ctx.next++; 61 get_mmu_context (struct mm_struct *mm) argument 63 if (mm->context == 0) 64 get_new_mmu_context(mm); 68 init_new_context (struct task_struct *p, struct mm_struct *mm) argument 70 mm 75 destroy_context(struct mm_struct *mm) argument 81 reload_context(struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ia64/ |
H A D | mmu_context.h | 40 extern void wrap_mmu_context (struct mm_struct *mm); 43 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument 48 get_new_mmu_context (struct mm_struct *mm) argument 53 wrap_mmu_context(mm); 54 mm->context = ia64_ctx.next++; 61 get_mmu_context (struct mm_struct *mm) argument 63 if (mm->context == 0) 64 get_new_mmu_context(mm); 68 init_new_context (struct task_struct *p, struct mm_struct *mm) argument 70 mm 75 destroy_context(struct mm_struct *mm) argument 81 reload_context(struct mm_struct *mm) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390/ |
H A D | mmu_context.h | 15 #define init_new_context(tsk,mm) 0 17 #define destroy_context(mm) flush_tlb_mm(mm) 19 static inline void enter_lazy_tlb(struct mm_struct *mm, argument
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390x/ |
H A D | mmu_context.h | 15 #define init_new_context(tsk,mm) 0 17 #define destroy_context(mm) flush_tlb_mm(mm) 19 static inline void enter_lazy_tlb(struct mm_struct *mm, argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390/ |
H A D | mmu_context.h | 15 #define init_new_context(tsk,mm) 0 17 #define destroy_context(mm) flush_tlb_mm(mm) 19 static inline void enter_lazy_tlb(struct mm_struct *mm, argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390x/ |
H A D | mmu_context.h | 15 #define init_new_context(tsk,mm) 0 17 #define destroy_context(mm) flush_tlb_mm(mm) 19 static inline void enter_lazy_tlb(struct mm_struct *mm, argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/mm/ |
H A D | mremap.c | 2 * linux/mm/remap.c 18 static inline pte_t *get_one_pte(struct mm_struct *mm, unsigned long addr) argument 24 pgd = pgd_offset(mm, addr); 49 static inline pte_t *alloc_one_pte(struct mm_struct *mm, unsigned long addr) argument 54 pmd = pmd_alloc(mm, pgd_offset(mm, addr), addr); 56 pte = pte_alloc(mm, pmd, addr); 60 static inline int copy_one_pte(struct mm_struct *mm, pte_t * src, pte_t * dst) argument 77 static int move_one_page(struct mm_struct *mm, unsigned long old_addr, unsigned long new_addr) argument 82 spin_lock(&mm 90 move_page_tables(struct mm_struct * mm, unsigned long new_addr, unsigned long old_addr, unsigned long len) argument 129 struct mm_struct * mm = vma->vm_mm; local [all...] |
H A D | mmap.c | 2 * linux/mm/mmap.c 151 struct mm_struct *mm = current->mm; local 153 down_write(&mm->mmap_sem); 155 if (brk < mm->end_code) 158 oldbrk = PAGE_ALIGN(mm->brk); 163 if (brk <= mm->brk) { 164 if (!do_munmap(mm, newbrk, oldbrk-newbrk)) 171 if (rlim < RLIM_INFINITY && brk - mm->start_data > rlim) 175 if (find_vma_intersection(mm, oldbr 226 validate_mm(struct mm_struct * mm) argument 246 find_vma_prepare(struct mm_struct * mm, unsigned long addr, struct vm_area_struct ** pprev, rb_node_t *** rb_link, rb_node_t ** rb_parent) argument 282 __vma_link_list(struct mm_struct * mm, struct vm_area_struct * vma, struct vm_area_struct * prev, rb_node_t * rb_parent) argument 297 __vma_link_rb(struct mm_struct * mm, struct vm_area_struct * vma, rb_node_t ** rb_link, rb_node_t * rb_parent) argument 329 __vma_link(struct mm_struct * mm, struct vm_area_struct * vma, struct vm_area_struct * prev, rb_node_t ** rb_link, rb_node_t * rb_parent) argument 337 vma_link(struct mm_struct * mm, struct vm_area_struct * vma, struct vm_area_struct * prev, rb_node_t ** rb_link, rb_node_t * rb_parent) argument 350 vma_merge(struct mm_struct * mm, struct vm_area_struct * prev, rb_node_t * rb_parent, unsigned long addr, unsigned long end, unsigned long vm_flags) argument 396 struct mm_struct * mm = current->mm; local 659 find_vma(struct mm_struct * mm, unsigned long addr) argument 694 find_vma_prev(struct mm_struct * mm, unsigned long addr, struct vm_area_struct **pprev) argument 740 find_extend_vma(struct mm_struct * mm, unsigned long addr) argument 785 unmap_fixup(struct mm_struct *mm, struct vm_area_struct *area, unsigned long addr, size_t len, struct vm_area_struct *extra) argument 870 free_pgtables(struct mm_struct * mm, struct vm_area_struct *prev, unsigned long start, unsigned long end) argument 920 do_munmap(struct mm_struct *mm, unsigned long addr, size_t len) argument 1016 struct mm_struct *mm = current->mm; local 1031 struct mm_struct * mm = current->mm; local 1107 build_mmap_rb(struct mm_struct * mm) argument 1123 exit_mmap(struct mm_struct * mm) argument 1170 __insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma) argument 1183 insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma) argument [all...] |