/arch/powerpc/mm/ |
H A D | icswx.c | 68 void switch_cop(struct mm_struct *next) argument 71 mtspr(SPRN_PID, next->context.cop_pid); 73 mtspr(SPRN_ACOP, next->context.acop); 272 /* Move on to the next instruction */
|
H A D | hugetlbpage-book3e.c | 17 int this, next; local 22 next = this + 1; 23 if (next >= tcd->esel_max) 24 next = tcd->esel_first; 26 tcd->esel_next = next;
|
/arch/s390/include/asm/ |
H A D | mmu_context.h | 60 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 65 if (prev == next) 68 cpumask_set_cpu(cpu, &next->context.cpu_attach_mask); 72 atomic_inc(&next->context.attach_count); 76 S390_lowcore.user_asce = next->context.asce_bits | __pa(next->pgd); 103 struct mm_struct *next) 105 switch_mm(prev, next, current); 106 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); 107 set_user_asce(next); 102 activate_mm(struct mm_struct *prev, struct mm_struct *next) argument [all...] |
/arch/sparc/kernel/ |
H A D | starfire.c | 45 struct starfire_irqinfo *next; member in struct:starfire_irqinfo 77 p->next = sflist; 89 for (p = sflist; p != NULL; p = p->next)
|
/arch/arc/include/asm/ |
H A D | mmu_context.h | 131 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 147 cpumask_set_cpu(cpu, mm_cpumask(next)); 151 write_aux_reg(ARC_REG_SCRATCH_DATA0, next->pgd); 154 get_new_mmu_context(next); 164 #define activate_mm(prev, next) switch_mm(prev, next, NULL)
|
/arch/arm/mach-sa1100/ |
H A D | time.c | 49 unsigned long next, oscr; local 52 next = readl_relaxed(OSCR) + delta; 53 writel_relaxed(next, OSMR0); 56 return (signed)(next - oscr) <= MIN_OSCR_DELTA ? -ETIME : 0;
|
/arch/arm64/include/asm/ |
H A D | mmu_context.h | 39 static inline void contextidr_thread_switch(struct task_struct *next) argument 45 : "r" (task_pid_nr(next))); 48 static inline void contextidr_thread_switch(struct task_struct *next) argument 149 switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 154 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) 155 check_and_switch_context(next, tsk); 159 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
|
/arch/avr32/include/asm/ |
H A D | mmu_context.h | 109 struct mm_struct *next, 112 if (likely(prev != next)) { 113 unsigned long __pgdir = (unsigned long)next->pgd; 116 activate_context(next); 122 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) 108 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/blackfin/include/asm/ |
H A D | pda.h | 17 struct blackfin_pda *next; member in struct:blackfin_pda
|
/arch/cris/arch-v32/mm/ |
H A D | intmem.c | 110 struct intmem_allocation *next = local 111 list_entry(allocation->entry.next, 115 /* Join with prev and/or next if also free */ 123 if ((next != &intmem_allocations) && 124 (next->status == STATUS_FREE)) { 125 allocation->size += next->size; 126 list_del(&next->entry); 127 kfree(next);
|
H A D | tlb.c | 179 switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 182 if (prev != next) { 187 get_mmu_context(next); 188 cpumask_set_cpu(cpu, mm_cpumask(next)); 196 per_cpu(current_pgd, cpu) = next->pgd; 200 SPEC_REG_WR(SPEC_REG_PID, next->context.page_id | 203 SPEC_REG_WR(SPEC_REG_PID, next->context.page_id);
|
/arch/cris/include/uapi/arch-v10/arch/ |
H A D | svinto.h | 25 * paged. Therefore the buf/next ptrs below are unsigned long instead 33 unsigned long next; /* 4-7 */ member in struct:etrax_dma_descr
|
/arch/frv/mm/ |
H A D | pgalloc.c | 101 struct page *next, **pprev, *page = virt_to_page(pgd); local 102 next = (struct page *) page->index; 104 *pprev = next; 105 if (next) 106 set_page_private(next, (unsigned long) pprev);
|
/arch/m32r/include/asm/ |
H A D | mmu_context.h | 122 struct mm_struct *next, struct task_struct *tsk) 128 if (prev != next) { 130 cpumask_set_cpu(cpu, mm_cpumask(next)); 132 /* Set MPTB = next->pgd */ 133 *(volatile unsigned long *)MPTB = (unsigned long)next->pgd; 134 activate_context(next); 138 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) 139 activate_context(next); 145 #define activate_mm(prev, next) \ 146 switch_mm((prev), (next), NUL 121 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument [all...] |
/arch/metag/include/asm/ |
H A D | mmu_context.h | 72 static inline void switch_mmu(struct mm_struct *prev, struct mm_struct *next) argument 75 load_pgd(next->pgd, hard_processor_id()); 87 next->pgd = prev->pgd; 91 next->pgd[i] = ((pgd_t *) next->context.pgd_base)[i]; 98 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 101 if (prev != next) 102 switch_mmu(prev, next);
|
/arch/mips/include/asm/ |
H A D | mmu_context.h | 138 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 146 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) 147 get_new_mmu_context(next, cpu); 148 write_c0_entryhi(cpu_asid(cpu, next)); 149 TLBMISS_HANDLER_SETUP_PGD(next->pgd); 156 cpumask_set_cpu(cpu, mm_cpumask(next)); 176 activate_mm(struct mm_struct *prev, struct mm_struct *next) argument 184 get_new_mmu_context(next, cpu); 186 write_c0_entryhi(cpu_asid(cpu, next)); 187 TLBMISS_HANDLER_SETUP_PGD(next [all...] |
/arch/mn10300/mm/ |
H A D | pgtable.c | 120 struct page *next, **pprev, *page = virt_to_page(pgd); local 121 next = (struct page *) page->index; 123 *pprev = next; 124 if (next) 125 set_page_private(next, (unsigned long) pprev);
|
/arch/powerpc/include/asm/ |
H A D | bootx.h | 28 u32 next; member in struct:bootx_dt_prop 44 u32 next; member in struct:bootx_dt_node
|
/arch/powerpc/oprofile/cell/ |
H A D | pr_util.h | 45 struct vma_to_fileoffset_map *next; /* list pointer */ member in struct:vma_to_fileoffset_map
|
/arch/score/include/asm/ |
H A D | mmu_context.h | 72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 78 if ((next->context ^ asid_cache) & ASID_VERSION_MASK) 79 get_new_mmu_context(next); 81 pevn_set(next->context); 82 TLBMISS_HANDLER_SETUP_PGD(next->pgd); 102 activate_mm(struct mm_struct *prev, struct mm_struct *next) argument 107 get_new_mmu_context(next); 108 pevn_set(next->context); 109 TLBMISS_HANDLER_SETUP_PGD(next->pgd);
|
/arch/sh/kernel/ |
H A D | process_32.c | 181 __switch_to(struct task_struct *prev, struct task_struct *next) argument 183 struct thread_struct *next_t = &next->thread; 186 __stack_chk_guard = next->stack_canary; 192 if (next->thread.fpu_counter > 5) 202 : "r" (task_thread_info(next))); 210 if (next->thread.fpu_counter > 5)
|
/arch/sh/mm/ |
H A D | tlb-sh5.c | 27 cpu_data->dtlb.next = cpu_data->dtlb.first; 38 cpu_data->itlb.next = cpu_data->itlb.first; 47 * sh64_next_free_dtlb_entry - Find the next available DTLB entry 51 return cpu_data->dtlb.next; 62 cpu_data->dtlb.next += cpu_data->dtlb.step; 104 cpu_data->dtlb.next = entry; 191 unsigned long long next; local 214 next = tlbp->next; 215 __flush_tlb_slot(next); [all...] |
/arch/tile/include/asm/ |
H A D | mmu_context.h | 91 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 94 if (likely(prev != next)) { 108 cpumask_set_cpu(cpu, mm_cpumask(next)); 111 install_page_table(next->pgd, asid); 114 check_mm_caching(prev, next);
|
/arch/tile/kernel/ |
H A D | smpboot.c | 245 int cpu, next, rc; local 263 (next = cpumask_next(cpu, &init_affinity)) < nr_cpu_ids; 264 cpu = next)
|
/arch/unicore32/kernel/ |
H A D | time.c | 39 unsigned long next, oscr; local 42 next = readl(OST_OSCR) + delta; 43 writel(next, OST_OSMR0); 46 return (signed)(next - oscr) <= MIN_OSCR_DELTA ? -ETIME : 0;
|