Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/arch/x86/include/asm/
A Dcmpxchg.h42 #define __xchg_op(ptr, arg, op, lock) \ argument
85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
133 #define __cmpxchg(ptr, old, new, size) \ argument
136 #define __sync_cmpxchg(ptr, old, new, size) \ argument
139 #define __cmpxchg_local(ptr, old, new, size) \ argument
148 #define arch_cmpxchg(ptr, old, new) \ argument
151 #define arch_sync_cmpxchg(ptr, old, new) \ argument
154 #define arch_cmpxchg_local(ptr, old, new) \ argument
221 #define __try_cmpxchg(ptr, pold, new, size) \ argument
230 #define arch_try_cmpxchg(ptr, pold, new) \ argument
[all …]
A Dcmpxchg_64.h5 #define arch_cmpxchg64(ptr, o, n) \ argument
11 #define arch_cmpxchg64_local(ptr, o, n) \ argument
17 #define arch_try_cmpxchg64(ptr, po, n) \ argument
23 #define arch_try_cmpxchg64_local(ptr, po, n) \ argument
50 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
56 static __always_inline u128 arch_cmpxchg128_local(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128_local()
82 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128()
88 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local()
/arch/parisc/include/asm/
A Dcmpxchg.h25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg()
47 #define arch_xchg(ptr, x) \ argument
67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg()
79 #define arch_cmpxchg(ptr, o, n) \ argument
89 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
107 #define arch_cmpxchg_local(ptr, o, n) \ argument
111 #define arch_cmpxchg64_local(ptr, o, n) \ argument
117 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
120 #define arch_cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
A Duaccess.h23 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument
24 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument
30 #define __get_user_internal(sr, val, ptr) \ argument
45 #define __probe_user_internal(sr, error, ptr) \ argument
55 #define __get_user(val, ptr) \ argument
65 #define __get_user_asm(sr, val, ldx, ptr) \ argument
92 #define __get_user_asm64(sr, val, ptr) \ argument
114 #define __put_user_internal(sr, x, ptr) \ argument
129 #define __put_user(x, ptr) \ argument
158 #define __put_user_asm(sr, stx, x, ptr) \ argument
[all …]
/arch/csky/include/asm/
A Dcmpxchg.h11 #define __xchg_relaxed(new, ptr, size) \ argument
54 #define arch_xchg_relaxed(ptr, x) \ argument
57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument
87 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument
90 #define __cmpxchg_acquire(ptr, old, new, size) \ argument
121 #define arch_cmpxchg_acquire(ptr, o, n) \ argument
124 #define __cmpxchg(ptr, old, new, size) \ argument
156 #define arch_cmpxchg(ptr, o, n) \ argument
159 #define arch_cmpxchg_local(ptr, o, n) \ argument
A Duaccess.h11 #define __put_user_asm_b(x, ptr, err) \ argument
29 #define __put_user_asm_h(x, ptr, err) \ argument
47 #define __put_user_asm_w(x, ptr, err) \ argument
65 #define __put_user_asm_64(x, ptr, err) \ argument
91 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
123 #define __get_user_asm_common(x, ptr, ins, err) \ argument
142 #define __get_user_asm_64(x, ptr, err) \ argument
168 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
/arch/arm64/include/asm/
A Dcompiler.h11 #define xpaclri(ptr) \ argument
24 #define ptrauth_strip_kernel_insn_pac(ptr) xpaclri(ptr) argument
26 #define ptrauth_strip_kernel_insn_pac(ptr) (ptr) argument
30 #define ptrauth_strip_user_insn_pac(ptr) xpaclri(ptr) argument
32 #define ptrauth_strip_user_insn_pac(ptr) (ptr) argument
/arch/arc/include/asm/
A Dcmpxchg.h22 #define __cmpxchg(ptr, old, new) \ argument
42 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument
64 #define arch_cmpxchg(ptr, old, new) \ argument
90 #define __arch_xchg(ptr, val) \ argument
100 #define arch_xchg_relaxed(ptr, val) \ argument
124 #define arch_xchg(ptr, val) \ argument
/arch/sparc/include/asm/
A Dcmpxchg_32.h18 static __always_inline unsigned long __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg()
28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… argument
47 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg()
56 #define arch_cmpxchg(ptr, o, n) \ argument
65 #define arch_cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) argument
73 #define arch_cmpxchg_local(ptr, o, n) \ argument
76 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
A Dcmpxchg_64.h55 #define arch_xchg(ptr,x) \ argument
75 unsigned int *ptr = (unsigned int *) (maddr & ~2); in xchg16() local
91 __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg()
136 unsigned int *ptr = (unsigned int *) (maddr & ~3); in __cmpxchg_u8() local
157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
171 #define arch_cmpxchg(ptr,o,n) \ argument
184 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
198 #define arch_cmpxchg_local(ptr, o, n) \ argument
201 #define arch_cmpxchg64_local(ptr, o, n) \ argument
206 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
/arch/mips/include/asm/
A Dcmpxchg.h71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg()
92 #define arch_xchg(ptr, x) \ argument
152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
177 #define arch_cmpxchg_local(ptr, old, new) \ argument
184 #define arch_cmpxchg(ptr, old, new) \ argument
210 #define arch_cmpxchg64_local(ptr, o, n) \ argument
216 #define arch_cmpxchg64(ptr, o, n) \ argument
224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
228 static inline unsigned long __cmpxchg64(volatile void *ptr, in __cmpxchg64()
299 # define arch_cmpxchg64(ptr, o, n) ({ \ argument
[all …]
/arch/arm/include/asm/
A Dcmpxchg.h30 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg()
119 #define arch_xchg_relaxed(ptr, x) ({ \ argument
139 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument
146 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
158 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
216 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument
223 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
243 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument
250 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64()
275 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument
[all …]
/arch/loongarch/include/asm/
A Dcmpxchg.h25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small()
65 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg()
85 #define arch_xchg(ptr, x) \ argument
114 static inline unsigned int __cmpxchg_small(volatile void *ptr, unsigned int old, in __cmpxchg_small()
163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg()
185 #define arch_cmpxchg_local(ptr, old, new) \ argument
192 #define arch_cmpxchg(ptr, old, new) \ argument
202 #define arch_cmpxchg64_local(ptr, o, n) \ argument
208 #define arch_cmpxchg64(ptr, o, n) \ argument
215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
[all …]
A Duaccess.h45 #define get_user(x, ptr) \ argument
71 #define put_user(x, ptr) \ argument
100 #define __get_user(x, ptr) \ argument
129 #define __put_user(x, ptr) \ argument
143 #define __get_user_common(val, size, ptr) \ argument
154 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument
156 #define __get_data_asm(val, insn, ptr) \ argument
170 #define __put_user_common(ptr, size) \ argument
181 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument
183 #define __put_data_asm(insn, ptr) \ argument
/arch/s390/include/asm/
A Dcmpxchg.h18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm()
28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm()
38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1()
61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2()
96 #define arch_cmpxchg(ptr, o, n) \ argument
110 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
155 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
176 static inline u8 __arch_xchg1(u64 ptr, u8 x) in __arch_xchg1()
191 static inline u16 __arch_xchg2(u64 ptr, u16 x) in __arch_xchg2()
206 static __always_inline u64 __arch_xchg(u64 ptr, u64 x, int size) in __arch_xchg()
[all …]
/arch/sh/include/asm/
A Dcmpxchg.h26 #define __arch_xchg(ptr, x, size) \ argument
49 #define arch_xchg(ptr,x) \ argument
56 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg()
69 #define arch_cmpxchg(ptr,o,n) \ argument
79 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument
A Duaccess.h20 #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) argument
21 #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument
28 #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
29 #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
34 #define __get_user_nocheck(x,ptr,size) \ argument
45 #define __get_user_check(x,ptr,size) \ argument
56 #define __put_user_nocheck(x,ptr,size) \ argument
66 #define __put_user_check(x,ptr,size) \ argument
/arch/riscv/include/asm/
A Dcmpxchg.h99 #define arch_xchg_relaxed(ptr, x) \ argument
102 #define arch_xchg_acquire(ptr, x) \ argument
106 #define arch_xchg_release(ptr, x) \ argument
109 #define arch_xchg(ptr, x) \ argument
112 #define xchg32(ptr, x) \ argument
118 #define xchg64(ptr, x) \ argument
279 #define arch_cmpxchg(ptr, o, n) \ argument
285 #define arch_cmpxchg_local(ptr, o, n) \ argument
288 #define arch_cmpxchg64(ptr, o, n) \ argument
348 #define arch_cmpxchg128(ptr, o, n) \ argument
[all …]
A Duaccess.h124 #define __get_user_8(x, ptr, label) \ argument
129 #define __get_user_8(x, ptr, label) \ argument
147 #define __get_user_8(x, ptr, label) \ argument
204 #define __get_user_error(x, ptr, err) \ argument
236 #define __get_user(x, ptr) \ argument
270 #define get_user(x, ptr) \ argument
290 #define __put_user_8(x, ptr, label) \ argument
293 #define __put_user_8(x, ptr, label) \ argument
337 #define __put_user_error(x, ptr, err) \ argument
367 #define __put_user(x, ptr) \ argument
[all …]
/arch/m68k/include/asm/
A Dcmpxchg.h13 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg()
38 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg()
73 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… argument
77 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
115 #define arch_cmpxchg(ptr, o, n) \ argument
118 #define arch_cmpxchg_local(ptr, o, n) \ argument
122 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
/arch/xtensa/include/asm/
A Dcmpxchg.h75 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
85 #define arch_cmpxchg(ptr,o,n) \ argument
94 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
112 #define arch_cmpxchg_local(ptr, o, n) \ argument
115 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
116 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
174 #define arch_xchg(ptr,x) \ argument
177 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small()
208 __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg()
/arch/openrisc/include/asm/
A Dcmpxchg.h25 static inline unsigned long cmpxchg_u32(volatile void *ptr, in cmpxchg_u32()
44 static inline unsigned long xchg_u32(volatile void *ptr, in xchg_u32()
59 static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new, in cmpxchg_small()
92 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small()
121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
135 #define arch_cmpxchg(ptr, o, n) \ argument
151 __arch_xchg(volatile void *ptr, unsigned long with, int size) in __arch_xchg()
164 #define arch_xchg(ptr, with) \ argument
A Duaccess.h45 #define get_user(x, ptr) \ argument
47 #define put_user(x, ptr) \ argument
50 #define __get_user(x, ptr) \ argument
52 #define __put_user(x, ptr) \ argument
57 #define __put_user_nocheck(x, ptr, size) \ argument
64 #define __put_user_check(x, ptr, size) \ argument
73 #define __put_user_size(x, ptr, size, retval) \ argument
129 #define __get_user_nocheck(x, ptr, size) \ argument
136 #define __get_user_check(x, ptr, size) \ argument
149 #define __get_user_size(x, ptr, size, retval) \ argument
/arch/arm/mach-s3c/
A Dpm-common.c27 void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save()
46 void s3c_pm_do_restore(const struct sleep_save *ptr, int count) in s3c_pm_do_restore()
69 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
/arch/nios2/include/asm/
A Duaccess.h86 #define __get_user_8(val, ptr, err) do { \ argument
96 #define __get_user_common(val, size, ptr, err) \ argument
117 #define __get_user(x, ptr) \ argument
125 #define get_user(x, ptr) \ argument
135 #define __put_user_asm(val, insn, ptr, err) \ argument
173 #define __put_user(x, ptr) \ argument
180 #define put_user(x, ptr) \ argument

Completed in 47 milliseconds

12345678910>>...13