Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/include/asm/
Dcmpxchg.h91 volatile u8 *__ptr = (volatile u8 *)(ptr); \
93 : "=a" (__ret), "+m" (*__ptr) \
100 volatile u16 *__ptr = (volatile u16 *)(ptr); \
102 : "=a" (__ret), "+m" (*__ptr) \
109 volatile u32 *__ptr = (volatile u32 *)(ptr); \
111 : "=a" (__ret), "+m" (*__ptr) \
118 volatile u64 *__ptr = (volatile u64 *)(ptr); \
120 : "=a" (__ret), "+m" (*__ptr) \
Dprocessor.h728 unsigned long __ptr = (unsigned long)task_stack_page(task); \
729 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \
730 ((struct pt_regs *)__ptr) - 1; \
/linux-4.4.14/include/linux/
Dcompiler-intel.h25 ({ unsigned long __ptr; \
26 __ptr = (unsigned long) (ptr); \
27 (typeof(ptr)) (__ptr + (off)); })
Dcompiler-gcc.h51 unsigned long __ptr; \
52 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
53 (typeof(ptr)) (__ptr + (off)); \
Dsocket.h128 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
130 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
131 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
134 return __ptr; in __cmsg_nxthdr()
Drculist.h287 struct list_head *__ptr = (ptr); \
288 struct list_head *__next = READ_ONCE(__ptr->next); \
289 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
Dcompiler.h185 ({ unsigned long __ptr; \
186 __ptr = (unsigned long) (ptr); \
187 (typeof(ptr)) (__ptr + (off)); })
/linux-4.4.14/scripts/genksyms/
Dgenksyms.h81 #define xmalloc(size) ({ void *__ptr = malloc(size); \
82 if(!__ptr && size != 0) { \
86 __ptr; })
/linux-4.4.14/arch/s390/include/asm/
Dcmpxchg.h27 __typeof__(ptr) __ptr = (ptr); \
30 __old = *__ptr; \
31 } while (!__sync_bool_compare_and_swap(__ptr, __old, x)); \
/linux-4.4.14/arch/frv/include/asm/
Duaccess.h25 #define __ptr(x) ((unsigned long __force *)(x)) macro
154 : "m" (*__ptr(ptr)), constraint (x), "i"(-EFAULT), "0"(err) \
165 : "m" (*__ptr(ptr)), con (x) \
243 : "m" (*__ptr(ptr)), "i"(-EFAULT), "0"(err) \
253 : "m" (*__ptr(ptr)))
/linux-4.4.14/arch/mips/include/asm/
Dcmpxchg.h200 __typeof__(ptr) __ptr = (ptr); \
207 switch (sizeof(*(__ptr))) { \
209 __res = __cmpxchg_asm("ll", "sc", __ptr, __old, __new); \
213 __res = __cmpxchg_asm("lld", "scd", __ptr, \
/linux-4.4.14/arch/hexagon/include/asm/
Dcmpxchg.h70 __typeof__(ptr) __ptr = (ptr); \
83 : "r" (__ptr), "r" (__old), "r" (__new) \
/linux-4.4.14/arch/m68k/include/asm/
Duaccess_no.h89 #define __ptr(x) ((unsigned long *)(x)) macro
94 :"d" (x),"m" (*__ptr(ptr)) : "memory")
128 : "m" (*__ptr(ptr)))
Dmotorola_pgtable.h141 unsigned long *__ptr = pmdp->pmd; \
144 *__ptr++ = 0; \
/linux-4.4.14/arch/blackfin/include/asm/
Duaccess.h122 #define __ptr(x) ((unsigned long __force *)(x)) macro
127 :"d" (x), "a" (__ptr(p)) : "memory")
163 : "a" (__ptr(ptr))); \
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmc91x.h1054 void *__ptr = (p); \
1057 if (__len >= 2 && (unsigned long)__ptr & 2) { \
1059 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1060 __ptr += 2; \
1064 SMC_outsl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
1066 __ptr += (__len & ~3); \
1067 SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
1078 void *__ptr = (p); \
1081 if ((unsigned long)__ptr & 2) { \
1095 __ptr -= 2; \
[all …]
/linux-4.4.14/arch/s390/kernel/
Duprobes.c181 __typeof__(ptr) __ptr = (ptr); \
186 else if ((u64 __force)__ptr & mask) \
188 else if (put_user(*(input), __ptr)) \
192 (void __force *)__ptr, \
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunhme.c254 #define hme_dma_map(__hp, __ptr, __size, __dir) \ argument
255 ((__hp)->dma_map((__hp)->dma_dev, (__ptr), (__size), (__dir)))
280 #define hme_dma_map(__hp, __ptr, __size, __dir) \ argument
281 dma_map_single((__hp)->dma_dev, (__ptr), (__size), (__dir))
308 #define hme_dma_map(__hp, __ptr, __size, __dir) \ argument
309 pci_map_single((__hp)->dma_dev, (__ptr), (__size), (__dir))