Searched defs:prev (Results 1 - 25 of 96) sorted by relevance

1234

/arch/x86/lib/
H A Dcmpxchg.c12 u8 prev; local
17 prev = *(u8 *)ptr;
18 if (prev == old)
21 return prev;
27 u16 prev; local
32 prev = *(u16 *)ptr;
33 if (prev == old)
36 return prev;
42 u32 prev; local
47 prev
[all...]
/arch/xtensa/include/asm/
H A Dnommu_context.h14 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) argument
18 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
/arch/alpha/include/asm/
H A Dfutex.h88 u32 prev; local
110 : "+r"(ret), "=&r"(prev), "=&r"(cmp)
114 *uval = prev;
H A Dxchg.h132 * prev is equal to old) then we aren't acquiring anything new and
139 unsigned long prev, tmp, cmp, addr64; local
157 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64)
160 return prev;
166 unsigned long prev, tmp, cmp, addr64; local
184 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64)
187 return prev;
193 unsigned long prev, cmp; local
207 : "=&r"(prev), "=&r"(cmp), "=m"(*m)
210 return prev;
216 unsigned long prev, cmp; local
[all...]
/arch/cris/arch-v10/mm/
H A Dtlb.c151 void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
154 if (prev != next) {
/arch/cris/include/asm/
H A Dfasttimer.h21 struct fast_timer *prev; member in struct:fast_timer
/arch/h8300/include/asm/
H A Dmmu_context.h23 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
/arch/hexagon/include/asm/
H A Dfutex.h106 int prev; local
128 : "+r" (ret), "=&r" (prev), "+m" (*uaddr)
132 *uval = prev;
H A Dmmu_context.h66 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
75 if (next->context.generation < prev->context.generation) {
79 next->context.generation = prev->context.generation;
88 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) argument
93 switch_mm(prev, next, current_thread_info()->task);
/arch/ia64/include/asm/
H A Dfutex.h110 unsigned long prev; local
118 : "=r" (r8), "=r" (prev)
122 *uval = prev;
/arch/microblaze/include/asm/
H A Dfutex.h101 u32 prev; local
120 : "+r" (ret), "=&r" (prev), "=&r"(cmp) \
123 *uval = prev;
H A Dmmu_context_mm.h117 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
/arch/parisc/include/asm/
H A Dmmu_context.h52 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
55 if (prev != next) {
63 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) argument
78 switch_mm(prev,next,current);
/arch/parisc/lib/
H A Dbitops.c62 unsigned long prev; local
65 if ((prev = *ptr) == old)
68 return prev;
75 unsigned int prev; local
78 if ((prev = *ptr) == old)
81 return (unsigned long)prev;
/arch/powerpc/include/asm/
H A Dfutex.h90 u32 prev; local
112 : "+r" (ret), "=&r" (prev), "+m" (*uaddr)
116 *uval = prev;
H A Dmmu_context.h20 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next);
43 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
59 if (prev == next)
63 /* Switch coprocessor context only if prev or next uses a coprocessor */
64 if (prev->context.acop || next->context.acop)
86 switch_mmu_context(prev, next);
97 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) argument
102 switch_mm(prev, next, current);
/arch/s390/include/asm/
H A Dmmu_context.h74 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
79 atomic_dec(&prev->context.attach_count);
80 WARN_ON(atomic_read(&prev->context.attach_count) < 0);
90 static inline void activate_mm(struct mm_struct *prev, argument
93 switch_mm(prev, next, current);
/arch/sh/include/asm/
H A Dfutex-irq.h96 u32 prev = 0; local
100 ret = get_user(prev, uaddr);
101 if (!ret && oldval == prev)
106 *uval = prev;
/arch/um/include/asm/
H A Dmmu_context.h31 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
36 if(prev != next){
37 cpumask_clear_cpu(cpu, mm_cpumask(prev));
/arch/unicore32/include/asm/
H A Dmmu_context.h47 switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
52 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next)
57 #define activate_mm(prev, next) switch_mm(prev, next, NULL)
/arch/x86/include/asm/
H A Dmmu_context.h12 static inline void paravirt_activate_mm(struct mm_struct *prev, argument
33 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
38 if (likely(prev != next)) {
49 cpumask_clear_cpu(cpu, mm_cpumask(prev));
54 if (unlikely(prev->context.ldt != next->context.ldt))
74 #define activate_mm(prev, next) \
76 paravirt_activate_mm((prev), (next)); \
77 switch_mm((prev), (next), NULL); \
H A Dcmpxchg_32.h27 u64 prev = *ptr; local
32 : "=m" (*ptr), "+A" (prev)
52 u64 prev; local
54 : "=A" (prev),
60 return prev;
65 u64 prev; local
67 : "=A" (prev),
73 return prev;
/arch/arm/include/asm/
H A Dmmu_context.h109 switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
121 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) {
129 cpumask_clear_cpu(cpu, mm_cpumask(prev));
135 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
/arch/x86/kernel/
H A Dtsc_sync.c47 cycles_t start, now, prev, end; local
66 prev = last_tsc;
89 if (unlikely(prev > now)) {
91 max_warp = max(max_warp, prev - now);
/arch/arm/mach-omap2/
H A Dsdrc2xxx.c88 u32 prev = curr_perf_level; local
92 return prev;
99 return prev;
116 return prev;

Completed in 574 milliseconds

1234