/openbmc/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 16 __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) \ 119 __typeof__(ptr) __ptr = (ptr); \ [all …]
|
H A D | uaccess.h | 72 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/x86/include/asm/ |
H A D | cmpxchg.h | 93 volatile u8 *__ptr = (volatile u8 *)(ptr); \ 95 : "=a" (__ret), "+m" (*__ptr) \ 102 volatile u16 *__ptr = (volatile u16 *)(ptr); \ 104 : "=a" (__ret), "+m" (*__ptr) \ 111 volatile u32 *__ptr = (volatile u32 *)(ptr); \ 113 : "=a" (__ret), "+m" (*__ptr) \ 120 volatile u64 *__ptr = (volatile u64 *)(ptr); \ 122 : "=a" (__ret), "+m" (*__ptr) \ 167 volatile u8 *__ptr = (volatile u8 *)(_ptr); \ 171 [ptr] "+m" (*__ptr), \ [all …]
|
H A D | uaccess.h | 176 __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ 177 __chk_user_ptr(__ptr); \ 178 __ptr_pu = __ptr; \ 187 instrument_put_user(__x, __ptr, sizeof(*(ptr))); \ 235 __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ 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); \ [all …]
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 12 __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/tools/arch/x86/include/asm/ |
H A D | cmpxchg.h | 43 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 D | compiler-intel.h | 25 ({ unsigned long __ptr; \ 26 __ptr = (unsigned long) (ptr); \ 27 (typeof(ptr)) (__ptr + (off)); })
|
H A D | compiler-gcc.h | 53 unsigned long __ptr; \ 54 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \ 55 (typeof(ptr)) (__ptr + (off)); \
|
H A D | compiler.h | 185 ({ 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.hpp | 48 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.hpp | 33 namespace __ptr namespace 383 using __ptr::__enable_intrusive_from_this; 384 using __ptr::__intrusive_ptr; 386 inline constexpr __ptr::__make_intrusive_t<_Ty, _ReservedBits>
|
/openbmc/linux/scripts/genksyms/ |
H A D | genksyms.h | 70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ 71 if(!__ptr && size != 0) { \ 75 __ptr; })
|
/openbmc/linux/lib/raid6/ |
H A D | s390vx.uc | 60 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/include/linux/ |
H A D | compiler-gcc.h | 33 unsigned long __ptr; \ 34 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \ 35 (typeof(ptr)) (__ptr + (off)); \
|
H A D | compiler.h | 167 ({ unsigned long __ptr; \ 168 __ptr = (unsigned long) (ptr); \ 169 (typeof(ptr)) (__ptr + (off)); })
|
H A D | string.h | 361 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 D | rculist.h | 352 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 D | socket.h | 156 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 D | cleanup.h | 43 ({ __auto_type __ptr = (p); (p) = NULL; __ptr; })
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | uaccess.h | 116 __typeof__(&*(ptr)) __ptr = ptr; \ 117 __typeof__(*(__ptr)) __x = (__typeof__(*(__ptr)))(x); \ 118 __put_user_internal(SR_USER, __x, __ptr); \
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 56 __typeof__(ptr) __ptr = (ptr); \ 69 : "r" (__ptr), "r" (__old), "r" (__new) \
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.h | 1051 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 D | uaccess.h | 591 __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 D | socket.h | 156 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 D | uprobes.c | 192 __typeof__(ptr) __ptr = (ptr); \ 195 if ((u64 __force)__ptr & mask) \ 197 else if (put_user(*(input), __ptr)) \ 201 (void __force *)__ptr, \
|