/arch/x86/lib/ |
H A D | cmpxchg.c | 12 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 D | nommu_context.h | 14 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 D | futex.h | 88 u32 prev; local 110 : "+r"(ret), "=&r"(prev), "=&r"(cmp) 114 *uval = prev;
|
H A D | xchg.h | 132 * 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 D | tlb.c | 151 void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument 154 if (prev != next) {
|
/arch/cris/include/asm/ |
H A D | fasttimer.h | 21 struct fast_timer *prev; member in struct:fast_timer
|
/arch/h8300/include/asm/ |
H A D | mmu_context.h | 23 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/hexagon/include/asm/ |
H A D | futex.h | 106 int prev; local 128 : "+r" (ret), "=&r" (prev), "+m" (*uaddr) 132 *uval = prev;
|
H A D | mmu_context.h | 66 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 D | futex.h | 110 unsigned long prev; local 118 : "=r" (r8), "=r" (prev) 122 *uval = prev;
|
/arch/microblaze/include/asm/ |
H A D | futex.h | 101 u32 prev; local 120 : "+r" (ret), "=&r" (prev), "=&r"(cmp) \ 123 *uval = prev;
|
H A D | mmu_context_mm.h | 117 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
|
/arch/parisc/include/asm/ |
H A D | mmu_context.h | 52 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 D | bitops.c | 62 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 D | futex.h | 90 u32 prev; local 112 : "+r" (ret), "=&r" (prev), "+m" (*uaddr) 116 *uval = prev;
|
H A D | mmu_context.h | 20 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 D | mmu_context.h | 74 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 D | futex-irq.h | 96 u32 prev = 0; local 100 ret = get_user(prev, uaddr); 101 if (!ret && oldval == prev) 106 *uval = prev;
|
/arch/um/include/asm/ |
H A D | mmu_context.h | 31 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 D | mmu_context.h | 47 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 D | mmu_context.h | 12 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 D | cmpxchg_32.h | 27 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 D | mmu_context.h | 109 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 D | tsc_sync.c | 47 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 D | sdrc2xxx.c | 88 u32 prev = curr_perf_level; local 92 return prev; 99 return prev; 116 return prev;
|