Home
last modified time | relevance | path

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

/linux/arch/riscv/include/asm/
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 …]
A Duaccess.h111 u32 __user *__ptr = (u32 __user *)(ptr); \
135 : "m" (__ptr[__LSW]), "m" (__ptr[__MSW]), \
250 u32 __user *__ptr = (u32 __user *)(ptr); \
271 "=m" (__ptr[__LSW]), \
272 "=m" (__ptr[__MSW]) \
398 __typeof__(ptr) __ptr = (ptr); \
426 [ptr] "+A" (*__ptr), \
452 [ptr] "+A" (*__ptr), \
/linux/arch/x86/include/asm/
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 …]
A Dpgtable.h1156 static inline bool pgdp_maps_userspace(void *__ptr) in pgdp_maps_userspace() argument
1158 unsigned long ptr = (unsigned long)__ptr; in pgdp_maps_userspace()
1181 unsigned long __ptr = (unsigned long)ptr; in ptr_set_bit() local
1183 __ptr |= BIT(bit); in ptr_set_bit()
1184 return (void *)__ptr; in ptr_set_bit()
1188 unsigned long __ptr = (unsigned long)ptr; in ptr_clear_bit() local
1190 __ptr &= ~BIT(bit); in ptr_clear_bit()
1191 return (void *)__ptr; in ptr_clear_bit()
A Duaccess.h349 __typeof__(ptr) __ptr = (ptr); \
364 : [lowbits] "m" (__m(__ptr)), \
365 [highbits] "m" __m(((u32 __user *)(__ptr)) + 1), \
A Dprocessor.h758 unsigned long __ptr = (unsigned long)task_stack_page(task); \
759 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \
760 ((struct pt_regs *)__ptr) - 1; \
/linux/tools/arch/x86/include/asm/
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) \
/linux/arch/csky/include/asm/
A Dcmpxchg.h13 __typeof__(ptr) __ptr = (ptr); \
25 : "r" (__new), "r"(__ptr) \
39 __typeof__(ptr) __ptr = (ptr); \
55 : "r" (__new), "r"(__ptr), "r"(__old) \
/linux/include/linux/
A Dcompiler-intel.h20 ({ unsigned long __ptr; \
21 __ptr = (unsigned long) (ptr); \
22 (typeof(ptr)) (__ptr + (off)); })
A Dcompiler-gcc.h33 unsigned long __ptr; \
34 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
35 (typeof(ptr)) (__ptr + (off)); \
A Dstring.h270 u8 *__ptr = (u8 *)(obj); \
272 memset(__ptr + offsetofend(typeof(*(obj)), member), __val, \
288 u8 *__ptr = (u8 *)(obj); \
290 memset(__ptr + offsetof(typeof(*(obj)), member), __val, \
A Dcompiler.h186 ({ unsigned long __ptr; \
187 __ptr = (unsigned long) (ptr); \
188 (typeof(ptr)) (__ptr + (off)); })
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); \
A Dsocket.h144 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
146 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
147 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
150 return __ptr; in __cmsg_nxthdr()
/linux/lib/raid6/
A Ds390vx.uc61 register addrtype *__ptr asm("1") = (addrtype *) ptr;
64 : : "m" (*__ptr), "a" (__ptr), "i" (x),
71 register addrtype *__ptr asm("1") = (addrtype *) ptr;
74 : "=m" (*__ptr) : "a" (__ptr), "i" (x),
/linux/scripts/genksyms/
A Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \
71 if(!__ptr && size != 0) { \
75 __ptr; })
/linux/arch/hexagon/include/asm/
A Dcmpxchg.h56 __typeof__(ptr) __ptr = (ptr); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/linux/drivers/net/ethernet/smsc/
A Dsmc91x.h1062 void *__ptr = (p); \
1065 if (__len >= 2 && (unsigned long)__ptr & 2) { \
1067 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1068 __ptr += 2; \
1072 SMC_outsl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
1074 __ptr += (__len & ~3); \
1075 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1086 void *__ptr = (p); \
1089 if ((unsigned long)__ptr & 2) { \
1103 __ptr -= 2; \
[all …]
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h144 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
146 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
147 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
150 return __ptr; in __cmsg_nxthdr()
/linux/arch/s390/kernel/
A Duprobes.c194 __typeof__(ptr) __ptr = (ptr); \
199 else if ((u64 __force)__ptr & mask) \
201 else if (put_user(*(input), __ptr)) \
205 (void __force *)__ptr, \
/linux/arch/arm/include/asm/
A Duaccess.h224 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument
228 register const void __user *__p asm("r0") = __ptr; \
/linux/include/kunit/
A Dtest.h1291 typeof(ptr) __ptr = (ptr); \
1294 !IS_ERR_OR_NULL(__ptr), \
1299 __ptr), \
/linux/drivers/media/i2c/ccs/
A Dccs-core.c92 unsigned int offset, void **__ptr) in ccs_limit_ptr() argument
106 *__ptr = sensor->ccs_limits + ccs_limit_offsets[limit].lim + offset; in ccs_limit_ptr()
/linux/drivers/net/wireless/realtek/rtw89/
A Drtw8852a_rfk.c2958 s8 *__ptr = (ptr); \ in _tssi_set_tmeter_tbl()
2962 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()

Completed in 48 milliseconds