Home
last modified time | relevance | path

Searched refs:__p (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/arch/parisc/include/asm/
H A Dbarrier.h35 typeof(p) __p = (p); \
42 : : "r"(*(__u8 *)__u.__c), "r"(__p) \
47 : : "r"(*(__u16 *)__u.__c), "r"(__p) \
52 : : "r"(*(__u32 *)__u.__c), "r"(__p) \
58 : : "r"(*(__u64 *)__u.__c), "r"(__p) \
67 typeof(p) __p = (p); \
72 : "=r"(*(__u8 *)__u.__c) : "r"(__p) \
77 : "=r"(*(__u16 *)__u.__c) : "r"(__p) \
82 : "=r"(*(__u32 *)__u.__c) : "r"(__p) \
88 : "=r"(*(__u64 *)__u.__c) : "r"(__p) \
/openbmc/linux/arch/arm64/include/asm/
H A Dbarrier.h125 typeof(p) __p = (p); \
133 : "=Q" (*__p) \
139 : "=Q" (*__p) \
145 : "=Q" (*__p) \
151 : "=Q" (*__p) \
161 typeof(p) __p = (p); \
163 kasan_check_read(__p, sizeof(*p)); \
168 : "Q" (*__p) : "memory"); \
173 : "Q" (*__p) : "memory"); \
178 : "Q" (*__p) : "memory"); \
[all …]
H A Duaccess.h237 __typeof__(*(ptr)) __user *__p = (ptr); \
239 if (access_ok(__p, sizeof(*__p))) { \
240 __p = uaccess_mask_ptr(__p); \
241 __raw_get_user((x), __p, (err)); \
323 __typeof__(*(ptr)) __user *__p = (ptr); \
325 if (access_ok(__p, sizeof(*__p))) { \
326 __p = uaccess_mask_ptr(__p); \
327 __raw_put_user((x), __p, (err)); \
/openbmc/linux/arch/loongarch/include/asm/
H A Duaccess.h47 const __typeof__(*(ptr)) __user *__p = (ptr); \
50 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \
73 __typeof__(*(ptr)) __user *__p = (ptr); \
76 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \
/openbmc/linux/arch/arm/include/asm/
H A Duaccess.h128 : "0" (__p), "r" (__l) \
134 __get_user_x(__r2, __p, __e, __l, 32t_8)
150 : "0" (__p), "r" (__l) \
166 switch (sizeof(*(__p))) { \
169 __get_user_x_64t(__r2, __p, __e, __l, 1); \
171 __get_user_x(__r2, __p, __e, __l, 1); \
175 __get_user_x_64t(__r2, __p, __e, __l, 2); \
177 __get_user_x(__r2, __p, __e, __l, 2); \
183 __get_user_x(__r2, __p, __e, __l, 4); \
189 __get_user_x(__r2, __p, __e, __l, 8); \
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dspecial_insns.h178 static __always_inline void clflush(volatile void *__p) in clflush() argument
180 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush()
183 static inline void clflushopt(volatile void *__p) in clflushopt() argument
188 "+m" (*(volatile char __force *)__p)); in clflushopt()
191 static inline void clwb(volatile void *__p) in clwb() argument
193 volatile struct { char x[64]; } *p = __p; in clwb()
/openbmc/linux/arch/riscv/include/asm/
H A Duaccess.h164 const __typeof__(*(ptr)) __user *__p = (ptr); \
166 access_ok(__p, sizeof(*__p)) ? \
167 __get_user((x), __p) : \
280 __typeof__(*(ptr)) __user *__p = (ptr); \
282 access_ok(__p, sizeof(*__p)) ? \
283 __put_user((x), __p) : \
/openbmc/linux/arch/mips/include/asm/
H A Duaccess.h68 __typeof__(*(ptr)) __user *__p = (ptr); \
71 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \
94 const __typeof__(*(ptr)) __user *__p = (ptr); \
97 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.h110 #define for_each_plane_id_on_crtc(__crtc, __p) \ argument
111 for ((__p) = PLANE_PRIMARY; (__p) < I915_MAX_PLANES; (__p)++) \
112 for_each_if((__crtc)->plane_ids_mask & BIT(__p))
222 #define for_each_pipe(__dev_priv, __p) \ argument
223 for ((__p) = 0; (__p) < I915_MAX_PIPES; (__p)++) \
224 for_each_if(DISPLAY_RUNTIME_INFO(__dev_priv)->pipe_mask & BIT(__p))
226 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument
227 for_each_pipe(__dev_priv, __p) \
228 for_each_if((__mask) & BIT(__p))
238 #define for_each_sprite(__dev_priv, __p, __s) \ argument
[all …]
/openbmc/u-boot/arch/sh/include/asm/
H A Dposix_types.h70 static __inline__ int __FD_ISSET(unsigned long __fd, const __kernel_fd_set *__p) in __FD_ISSET() argument
74 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
82 static __inline__ void __FD_ZERO(__kernel_fd_set *__p) in __FD_ZERO() argument
84 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/openbmc/u-boot/arch/mips/include/asm/
H A Dposix_types.h72 static __inline__ int __FD_ISSET(unsigned long __fd, const __kernel_fd_set *__p) in __FD_ISSET() argument
76 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
84 static __inline__ void __FD_ZERO(__kernel_fd_set *__p) in __FD_ZERO() argument
86 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/openbmc/linux/include/asm-generic/
H A Duaccess.h126 void __user *__p = (ptr); \
128 access_ok(__p, sizeof(*ptr)) ? \
129 __put_user((x), ((__typeof__(*(ptr)) __user *)__p)) : \
188 const void __user *__p = (ptr); \
190 access_ok(__p, sizeof(*ptr)) ? \
191 __get_user((x), (__typeof__(*(ptr)) __user *)__p) :\
H A Dpercpu.h77 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
79 *__p += val; \
80 *__p; \
85 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
87 __ret = *__p; \
88 *__p = nval; \
103 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
104 typeof(pcp) __val = *__p, ___old = *(ovalp); \
107 *__p = nval; \
/openbmc/linux/include/linux/
H A Dpercpu-defs.h230 #define SHIFT_PERCPU_PTR(__p, __offset) \ argument
231 RELOC_HIDE((typeof(*(__p)) __kernel __force *)(__p), (__offset))
257 #define VERIFY_PERCPU_PTR(__p) \ argument
259 __verify_pcpu_ptr(__p); \
260 (typeof(*(__p)) __kernel __force *)(__p); \
H A Dfortify-string.h21 char *__p = (char *)(p); \
25 __builtin_constant_p(*__p)) { \
27 if (__builtin_constant_p(__p[__p_len]) && \
28 __p[__p_len] == '\0') \
29 __ret = __builtin_strlen(__p); \
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.h124 typeof(p) __p = (p); \
126 if (__p) \
127 func(__p, fmt, ##__VA_ARGS__); \
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/klibc/files/
H A D0001-mkfifo-Implement-mkfifo.patch22 +int mkfifo (const char *__p, mode_t __m)
24 + return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0);
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dat_coroutine_exit.hpp196 __promise& __p = __h.promise(); in await_suspend() local
197 auto __coro = __p.__is_unhandled_stopped_ in await_suspend()
198 ? __p.continuation().unhandled_stopped() in await_suspend()
199 : __p.continuation().handle(); in await_suspend()
H A Dasync_scope.hpp533 __dynamic_delete() : __delete_([](_Ty* __p) { delete __p; }) {} in __anonf62d8bc60202()
538 __delete_([](_Ty* __p) { delete static_cast<_Uy*>(__p); }) in __dynamic_delete()
549 void operator()(_Ty* __p) in operator ()()
551 __delete_(__p); in operator ()()
/openbmc/linux/tools/perf/util/
H A Ddso.h305 #define kmod_path__parse(__m, __p) __kmod_path__parse(__m, __p, false) argument
306 #define kmod_path__parse_name(__m, __p) __kmod_path__parse(__m, __p, true) argument
H A Dunwind-libunwind-local.c103 type *__p = (type *) ptr; \
105 if ((__p + 1) > (type *) end) \
107 __v = *__p++; \
108 ptr = (typeof(ptr)) __p; \
/openbmc/u-boot/drivers/net/
H A Dsmc91111.h74 unsigned int __p = (unsigned int)((a)->iobase + ((p)<<1)); \
75 unsigned int __v = *(volatile unsigned short *)((__p) & ~2); \
76 if (__p & 2) __v >>= 8; \
83 unsigned int __p = (unsigned int)((a)->iobase + (p)); \
84 unsigned int __v = *(volatile unsigned short *)((__p) & ~1); \
85 if (__p & 1) __v >>= 8; \
H A Dlan91c96.h67 unsigned int __p = p; \
68 unsigned int __v = SMC_inw(edev, __p & ~1); \
69 if (__p & 1) __v >>= 8; \
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dpush.h96 struct nvif_push *__p = (p); \
97 __p->seg++; \
98 __p->end++; \
265 struct nvif_push *__p = (p); \
267 PUSH_IMMD_HDR(__p, c, m, __d); \
268 __p->cur--; \
269 PUSH_PRINTF(__p, "%08x-> "#m, __d); \
270 __p->cur++; \
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_dev.h389 void *__p = (char *) (source) + (offset); \
391 case 1: (dest) = *(u8 *) __p; break; \
392 case 2: (dest) = be16_to_cpup(__p); break; \
393 case 4: (dest) = be32_to_cpup(__p); break; \
394 case 8: (dest) = be64_to_cpup(__p); break; \

12