Searched refs:__ptr (Results 1 – 13 of 13) sorted by relevance
/arch/riscv/include/asm/ |
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 …]
|
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]) \
|
/arch/csky/include/asm/ |
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 …]
|
/arch/x86/include/asm/ |
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 …]
|
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 …]
|
D | processor.h | 635 unsigned long __ptr = (unsigned long)task_stack_page(task); \ 636 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \ 637 ((struct pt_regs *)__ptr) - 1; \
|
D | pgtable.h | 1398 static inline bool pgdp_maps_userspace(void *__ptr) in pgdp_maps_userspace() argument 1400 unsigned long ptr = (unsigned long)__ptr; in pgdp_maps_userspace() 1423 unsigned long __ptr = (unsigned long)ptr; in ptr_set_bit() local 1425 __ptr |= BIT(bit); in ptr_set_bit() 1426 return (void *)__ptr; in ptr_set_bit() 1430 unsigned long __ptr = (unsigned long)ptr; in ptr_clear_bit() local 1432 __ptr &= ~BIT(bit); in ptr_clear_bit() 1433 return (void *)__ptr; in ptr_clear_bit()
|
/arch/hexagon/include/asm/ |
D | cmpxchg.h | 56 __typeof__(ptr) __ptr = (ptr); \ 69 : "r" (__ptr), "r" (__old), "r" (__new) \
|
/arch/parisc/include/asm/ |
D | uaccess.h | 116 __typeof__(&*(ptr)) __ptr = ptr; \ 117 __typeof__(*(__ptr)) __x = (__typeof__(*(__ptr)))(x); \ 118 __put_user_internal(SR_USER, __x, __ptr); \
|
/arch/s390/include/asm/ |
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))); \
|
/arch/s390/kernel/ |
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, \
|
/arch/arm/include/asm/ |
D | uaccess.h | 200 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument 204 register const void __user *__p asm("r0") = __ptr; \
|
/arch/riscv/kvm/ |
D | aia_imsic.c | 242 #define imsic_mrif_atomic_write(__mrif, __ptr, __new_val) \ argument 243 imsic_mrif_atomic_rmw(__mrif, __ptr, __new_val, -1UL) 244 #define imsic_mrif_atomic_read(__mrif, __ptr) \ argument 245 imsic_mrif_atomic_or(__mrif, __ptr, 0)
|