Searched defs:next (Results 26 - 50 of 202) sorted by relevance

123456789

/arch/powerpc/mm/
H A Dicswx.c68 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 Dhugetlbpage-book3e.c17 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 Dmmu_context.h60 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 Dstarfire.c45 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 Dmmu_context.h131 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 Dtime.c49 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 Dmmu_context.h39 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 Dmmu_context.h109 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 Dpda.h17 struct blackfin_pda *next; member in struct:blackfin_pda
/arch/cris/arch-v32/mm/
H A Dintmem.c110 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 Dtlb.c179 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 Dsvinto.h25 * 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 Dpgalloc.c101 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 Dmmu_context.h122 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 Dmmu_context.h72 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 Dmmu_context.h138 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 Dpgtable.c120 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 Dbootx.h28 u32 next; member in struct:bootx_dt_prop
44 u32 next; member in struct:bootx_dt_node
/arch/powerpc/oprofile/cell/
H A Dpr_util.h45 struct vma_to_fileoffset_map *next; /* list pointer */ member in struct:vma_to_fileoffset_map
/arch/score/include/asm/
H A Dmmu_context.h72 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 Dprocess_32.c181 __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 Dtlb-sh5.c27 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 Dmmu_context.h91 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 Dsmpboot.c245 int cpu, next, rc; local
263 (next = cpumask_next(cpu, &init_affinity)) < nr_cpu_ids;
264 cpu = next)
/arch/unicore32/kernel/
H A Dtime.c39 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;

Completed in 3332 milliseconds

123456789