Home
last modified time | relevance | path

Searched refs:__ptr (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/arch/riscv/include/asm/
H A Dcmpxchg.h16 __typeof__(ptr) __ptr = (ptr); \
23 : "=r" (__ret), "+A" (*__ptr) \
30 : "=r" (__ret), "+A" (*__ptr) \
49 __typeof__(ptr) __ptr = (ptr); \
57 : "=r" (__ret), "+A" (*__ptr) \
65 : "=r" (__ret), "+A" (*__ptr) \
84 __typeof__(ptr) __ptr = (ptr); \
92 : "=r" (__ret), "+A" (*__ptr) \
100 : "=r" (__ret), "+A" (*__ptr) \
126 : "=r" (__ret), "+A" (*__ptr) \
[all …]
H A Duaccess.h72 u32 __user *__ptr = (u32 __user *)(ptr); \
83 : "m" (__ptr[__LSW]), "m" (__ptr[__MSW])); \
189 u32 __user *__ptr = (u32 __user *)(ptr); \
200 "=m" (__ptr[__LSW]), \
201 "=m" (__ptr[__MSW]) \
/openbmc/linux/arch/csky/include/asm/
H A Dcmpxchg.h12 __typeof__(ptr) __ptr = (ptr); \
19 u32 shif = ((ulong)__ptr & 2) ? 16 : 0; \
21 __ptr = (__typeof__(ptr))((ulong)__ptr & ~2); \
31 "r" (__ptr) \
44 : "r" (__new), "r"(__ptr) \
58 __typeof__(ptr) __ptr = (ptr); \
74 : "r" (__new), "r"(__ptr), "r"(__old) \
88 __typeof__(ptr) __ptr = (ptr); \
105 : "r" (__new), "r"(__ptr), "r"(__old) \
119 __typeof__(ptr) __ptr = (ptr); \
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dcmpxchg.h93 volatile u8 *__ptr = (volatile u8 *)(ptr); \
95 : "=a" (__ret), "+m" (*__ptr) \
102 volatile u16 *__ptr = (volatile u16 *)(ptr); \
104 : "=a" (__ret), "+m" (*__ptr) \
113 : "=a" (__ret), "+m" (*__ptr) \
122 : "=a" (__ret), "+m" (*__ptr) \
167 volatile u8 *__ptr = (volatile u8 *)(_ptr); \
171 [ptr] "+m" (*__ptr), \
183 [ptr] "+m" (*__ptr), \
195 [ptr] "+m" (*__ptr), \
[all …]
H A Duaccess.h177 __chk_user_ptr(__ptr); \
178 __ptr_pu = __ptr; \
187 instrument_put_user(__x, __ptr, sizeof(*(ptr))); \
236 __chk_user_ptr(__ptr); \
239 __put_user_goto(__x, __ptr, "b", "iq", label); \
242 __put_user_goto(__x, __ptr, "w", "ir", label); \
245 __put_user_goto(__x, __ptr, "l", "ir", label); \
248 __put_user_goto_u64(__x, __ptr, label); \
253 instrument_put_user(__x, __ptr, size); \
310 __typeof__(ptr) __ptr = (ptr); \
[all …]
/openbmc/linux/tools/arch/x86/include/asm/
H A Dcmpxchg.h43 volatile u8 *__ptr = (volatile u8 *)(ptr); \
45 : "=a" (__ret), "+m" (*__ptr) \
52 volatile u16 *__ptr = (volatile u16 *)(ptr); \
54 : "=a" (__ret), "+m" (*__ptr) \
61 volatile u32 *__ptr = (volatile u32 *)(ptr); \
63 : "=a" (__ret), "+m" (*__ptr) \
70 volatile u64 *__ptr = (volatile u64 *)(ptr); \
72 : "=a" (__ret), "+m" (*__ptr) \
/openbmc/u-boot/include/linux/
H A Dcompiler-intel.h25 ({ unsigned long __ptr; \
26 __ptr = (unsigned long) (ptr); \
27 (typeof(ptr)) (__ptr + (off)); })
H A Dcompiler-gcc.h53 unsigned long __ptr; \
54 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
55 (typeof(ptr)) (__ptr + (off)); \
H A Dcompiler.h185 ({ unsigned long __ptr; \
186 __ptr = (unsigned long) (ptr); \
187 (typeof(ptr)) (__ptr + (off)); })
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__receiver_ref.hpp48 return +[](void* __ptr, _Args&&... __args) noexcept { in __rcvr_vfun_fn() argument
49 _Obj* __obj = static_cast<_Obj*>(__ptr); in __rcvr_vfun_fn()
65 static auto __s_get_env(const void* __ptr) noexcept -> _Env in __s_get_env()
67 auto* __op_state = static_cast<const _OpState*>(__ptr); in __s_get_env()
H A D__intrusive_ptr.hpp33 namespace __ptr namespace
382 using __ptr::__enable_intrusive_from_this;
383 using __ptr::__intrusive_ptr;
385 inline constexpr __ptr::__make_intrusive_t<_Ty, _ReservedBits>
/openbmc/linux/scripts/genksyms/
H A Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \
71 if(!__ptr && size != 0) { \
75 __ptr; })
/openbmc/linux/include/linux/
H A Dcompiler-gcc.h33 unsigned long __ptr; \
34 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
35 (typeof(ptr)) (__ptr + (off)); \
H A Dcompiler.h167 ({ unsigned long __ptr; \
168 __ptr = (unsigned long) (ptr); \
169 (typeof(ptr)) (__ptr + (off)); })
H A Dstring.h361 u8 *__ptr = (u8 *)(obj); \
363 memset(__ptr + offsetofend(typeof(*(obj)), member), __val, \
379 u8 *__ptr = (u8 *)(obj); \
381 memset(__ptr + offsetof(typeof(*(obj)), member), __val, \
H A Drculist.h352 struct list_head *__ptr = (ptr); \
353 struct list_head *__next = READ_ONCE(__ptr->next); \
354 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
372 struct list_head *__ptr = (ptr); \
373 struct list_head *__next = READ_ONCE(__ptr->next); \
H A Dsocket.h156 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
158 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
159 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
162 return __ptr; in __cmsg_nxthdr()
H A Dcleanup.h43 ({ __auto_type __ptr = (p); (p) = NULL; __ptr; })
/openbmc/linux/arch/parisc/include/asm/
H A Duaccess.h116 __typeof__(&*(ptr)) __ptr = ptr; \
117 __typeof__(*(__ptr)) __x = (__typeof__(*(__ptr)))(x); \
118 __put_user_internal(SR_USER, __x, __ptr); \
/openbmc/linux/lib/raid6/
H A Ds390vx.uc60 register addrtype *__ptr asm("1") = (addrtype *) ptr;
63 : : "m" (*__ptr), "a" (__ptr), "i" (x),
70 register addrtype *__ptr asm("1") = (addrtype *) ptr;
73 : "=m" (*__ptr) : "a" (__ptr), "i" (x),
/openbmc/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h56 __typeof__(ptr) __ptr = (ptr); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.h1051 void *__ptr = (p); \
1054 if (__len >= 2 && (unsigned long)__ptr & 2) { \
1056 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1057 __ptr += 2; \
1061 SMC_outsl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
1063 __ptr += (__len & ~3); \
1064 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1075 void *__ptr = (p); \
1078 if ((unsigned long)__ptr & 2) { \
1092 __ptr -= 2; \
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Duaccess.h591 __typeof__(ptr) __ptr = (ptr); \
594 BUILD_BUG_ON(sizeof(*(__ptr)) != sizeof(*(__uval))); \
596 __chk_user_ptr(__ptr); \
597 __cmpxchg_user_key((unsigned long)(__ptr), (void *)(__uval), \
598 (old), (new), (key), sizeof(*(__ptr))); \
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h156 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
158 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
159 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
162 return __ptr; in __cmsg_nxthdr()
/openbmc/linux/arch/s390/kernel/
H A Duprobes.c192 __typeof__(ptr) __ptr = (ptr); \
195 if ((u64 __force)__ptr & mask) \
197 else if (put_user(*(input), __ptr)) \
201 (void __force *)__ptr, \

12