Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/parisc/include/asm/
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) \
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dbarrier.h98 typeof(p) __p = (p); \
102 kasan_check_write(__p, sizeof(*p)); \
106 : "=Q" (*__p) \
112 : "=Q" (*__p) \
118 : "=Q" (*__p) \
124 : "=Q" (*__p) \
134 typeof(p) __p = (p); \
136 kasan_check_read(__p, sizeof(*p)); \
141 : "Q" (*__p) : "memory"); \
146 : "Q" (*__p) : "memory"); \
[all …]
Duaccess.h302 __typeof__(*(ptr)) __user *__p = (ptr); \
304 if (access_ok(__p, sizeof(*__p))) { \
305 __p = uaccess_mask_ptr(__p); \
306 __raw_get_user((x), __p, (err)); \
365 __typeof__(*(ptr)) __user *__p = (ptr); \
367 if (access_ok(__p, sizeof(*__p))) { \
368 __p = uaccess_mask_ptr(__p); \
369 __raw_put_user((x), __p, (err)); \
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Duaccess.h89 const __typeof__(*(ptr)) __user *__p = (ptr); \
90 __get_user_err((x), __p, (__gu_err)); \
96 const __typeof__(*(ptr)) __user *__p = (ptr); \
98 if (access_ok(__p, sizeof(*__p))) { \
99 __get_user_err((x), __p, (err)); \
184 __typeof__(*(ptr)) __user *__p = (ptr); \
185 __put_user_err((x), __p, __pu_err); \
197 __typeof__(*(ptr)) __user *__p = (ptr); \
199 if (access_ok(__p, sizeof(*__p))) { \
200 __put_user_err((x), __p, (err)); \
/kernel/linux/linux-5.10/arch/arm/include/asm/
Duaccess.h160 #define __get_user_x(__r2, __p, __e, __l, __s) \ argument
166 : "0" (__p), "r" (__l) \
171 #define __get_user_x_32t(__r2, __p, __e, __l, __s) \ argument
172 __get_user_x(__r2, __p, __e, __l, 32t_8)
182 #define __get_user_x_64t(__r2, __p, __e, __l, __s) \ argument
188 : "0" (__p), "r" (__l) \
198 register typeof(*(p)) __user *__p asm("r0") = (p); \
204 switch (sizeof(*(__p))) { \
207 __get_user_x_64t(__r2, __p, __e, __l, 1); \
209 __get_user_x(__r2, __p, __e, __l, 1); \
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dspecial_insns.h210 static inline void clflush(volatile void *__p) in clflush() argument
212 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush()
215 static inline void clflushopt(volatile void *__p) in clflushopt() argument
220 "+m" (*(volatile char __force *)__p)); in clflushopt()
223 static inline void clwb(volatile void *__p) in clwb() argument
225 volatile struct { char x[64]; } *p = __p; in clwb()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display.h186 #define for_each_plane_id_on_crtc(__crtc, __p) \ argument
187 for ((__p) = PLANE_PRIMARY; (__p) < I915_MAX_PLANES; (__p)++) \
188 for_each_if((__crtc)->plane_ids_mask & BIT(__p))
322 #define for_each_pipe(__dev_priv, __p) \ argument
323 for ((__p) = 0; (__p) < I915_MAX_PIPES; (__p)++) \
324 for_each_if(INTEL_INFO(__dev_priv)->pipe_mask & BIT(__p))
326 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument
327 for_each_pipe(__dev_priv, __p) \
328 for_each_if((__mask) & BIT(__p))
338 #define for_each_universal_plane(__dev_priv, __pipe, __p) \ argument
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Duaccess.h215 const __typeof__(*(ptr)) __user *__p = (ptr); \
217 access_ok(__p, sizeof(*__p)) ? \
218 __get_user((x), __p) : \
351 __typeof__(*(ptr)) __user *__p = (ptr); \
353 access_ok(__p, sizeof(*__p)) ? \
354 __put_user((x), __p) : \
/kernel/linux/linux-5.10/include/asm-generic/
Duaccess.h165 void __user *__p = (ptr); \
167 access_ok(__p, sizeof(*ptr)) ? \
168 __put_user((x), ((__typeof__(*(ptr)) __user *)__p)) : \
227 const void __user *__p = (ptr); \
229 access_ok(__p, sizeof(*ptr)) ? \
230 __get_user((x), (__typeof__(*(ptr)) __user *)__p) :\
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; \
94 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
96 __ret = *__p; \
98 *__p = nval; \
/kernel/linux/linux-5.10/include/linux/
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); \
Dpage-flags.h410 #define PageHighMem(__p) is_highmem_idx(page_zonenum(__p)) in PAGEFLAG() argument
Dserial_core.h395 * const __PASTE(__p, unique_id) = &unique_id
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpage_mm.h163 const struct page *__p = (_page); \
165 pgdat = &pg_data_map[page_to_nid(__p)]; \
166 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
/kernel/linux/linux-5.10/tools/perf/util/
Ddso.h290 #define kmod_path__parse(__m, __p) __kmod_path__parse(__m, __p, false) argument
291 #define kmod_path__parse_name(__m, __p) __kmod_path__parse(__m, __p, true) argument
Dunwind-libunwind-local.c102 type *__p = (type *) ptr; \
104 if ((__p + 1) > (type *) end) \
106 __v = *__p++; \
107 ptr = (typeof(ptr)) __p; \
Dprobe-event.c2329 ({ char *__p = NULL; if (str && !(__p = strdup(str))) goto label; __p; })
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
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++; \
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
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; \
/kernel/linux/linux-5.10/lib/
Diov_iter.c18 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument
21 __p = i->iov; \
22 __v.iov_len = min(n, __p->iov_len - skip); \
24 __v.iov_base = __p->iov_base + skip; \
33 __p++; \
34 __v.iov_len = min(n, __p->iov_len); \
37 __v.iov_base = __p->iov_base; \
46 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument
48 __p = i->kvec; \
49 __v.iov_len = min(n, __p->iov_len - skip); \
[all …]
/kernel/linux/linux-5.10/drivers/parport/
Dparport_ip32.c287 ({ const struct parport *__p = (p); \
288 __p ? __p->name : "parport_ip32"; }), \
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw.c60 void *__p = (char *) (source) + (offset); \
63 case 1: (dest) = *(u8 *) __p; break; \
64 case 2: (dest) = be16_to_cpup(__p); break; \
65 case 4: (dest) = be32_to_cpup(__p); break; \
66 case 8: val = get_unaligned((__be64 *)__p); \
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4338 #define be16(__p) (((__p)[0] << 8) | (__p)[1]) in phy_aq1202_version() argument
4339 #define le16(__p) ((__p)[0] | ((__p)[1] << 8)) in phy_aq1202_version() argument
4340 #define le24(__p) (le16(__p) | ((__p)[2] << 16)) in phy_aq1202_version() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunhme.c252 #define hme_read_desc32(__hp, __p) \ argument
253 ((__hp)->read_desc32(__p))
279 #define hme_read_desc32(__hp, __p) ((__force u32)(hme32)*(__p)) argument
/kernel/linux/linux-5.10/mm/
Dslub.c312 #define for_each_object(__p, __s, __addr, __objects) \ argument
313 for (__p = fixup_red_left(__s, __addr); \
314 __p < (__addr) + (__objects) * (__s)->size; \
315 __p += (__s)->size)

12