/linux-6.6.21/arch/parisc/include/asm/ |
D | barrier.h | 35 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) \
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | barrier.h | 125 typeof(p) __p = (p); \ 129 kasan_check_write(__p, sizeof(*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"); \ [all …]
|
D | uaccess.h | 237 __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)); \
|
/linux-6.6.21/arch/arm/include/asm/ |
D | uaccess.h | 122 #define __get_user_x(__r2, __p, __e, __l, __s) \ argument 128 : "0" (__p), "r" (__l) \ 133 #define __get_user_x_32t(__r2, __p, __e, __l, __s) \ argument 134 __get_user_x(__r2, __p, __e, __l, 32t_8) 144 #define __get_user_x_64t(__r2, __p, __e, __l, __s) \ argument 150 : "0" (__p), "r" (__l) \ 160 register typeof(*(p)) __user *__p asm("r0") = (p); \ 166 switch (sizeof(*(__p))) { \ 169 __get_user_x_64t(__r2, __p, __e, __l, 1); \ 171 __get_user_x(__r2, __p, __e, __l, 1); \ [all …]
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | uaccess.h | 47 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; \
|
/linux-6.6.21/arch/x86/include/asm/ |
D | special_insns.h | 178 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()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | uaccess.h | 164 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) : \
|
/linux-6.6.21/arch/mips/include/asm/ |
D | uaccess.h | 68 __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) : \
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_display.h | 110 #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 …]
|
/linux-6.6.21/include/asm-generic/ |
D | uaccess.h | 126 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) :\
|
D | percpu.h | 77 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; \
|
/linux-6.6.21/include/linux/ |
D | percpu-defs.h | 230 #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); \
|
D | fortify-string.h | 21 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); \
|
D | page-flags.h | 528 #define PageHighMem(__p) is_highmem_idx(page_zonenum(__p)) in PAGEFLAG() argument
|
/linux-6.6.21/drivers/platform/surface/aggregator/ |
D | ssh_packet_layer.h | 124 typeof(p) __p = (p); \ 126 if (__p) \ 127 func(__p, fmt, ##__VA_ARGS__); \
|
/linux-6.6.21/tools/perf/util/ |
D | dso.h | 305 #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
|
D | unwind-libunwind-local.c | 103 type *__p = (type *) ptr; \ 105 if ((__p + 1) > (type *) end) \ 107 __v = *__p++; \ 108 ptr = (typeof(ptr)) __p; \
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/ |
D | push.h | 96 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++; \
|
/linux-6.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_dev.h | 389 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; \
|
/linux-6.6.21/lib/ |
D | iov_iter.c | 18 #define iterate_buf(i, n, base, len, off, __p, STEP) { \ argument 21 base = __p + i->iov_offset; \ 28 #define iterate_iovec(i, n, base, len, off, __p, STEP) { \ argument 32 len = min(n, __p->iov_len - skip); \ 34 base = __p->iov_base + skip; \ 39 if (skip < __p->iov_len) \ 42 __p++; \
|
/linux-6.6.21/drivers/parport/ |
D | parport_ip32.c | 287 ({ const struct parport *__p = (p); \ 288 __p ? __p->name : "parport_ip32"; }), \
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 791 void *__p = (p); \ 792 u32 __t = MLX5_GET(typ, __p, fld); \ 794 MLX5_SET(typ, __p, fld, 0); \
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 60 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); \
|
/linux-6.6.21/drivers/net/ethernet/sun/ |
D | sunhme.c | 216 #define hme_read_desc32(__hp, __p) \ argument 217 ((__hp)->read_desc32(__p)) 235 #define hme_read_desc32(__hp, __p) ((__force u32)(hme32)*(__p)) argument
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 4333 #define be16(__p) (((__p)[0] << 8) | (__p)[1]) in phy_aq1202_version() argument 4334 #define le16(__p) ((__p)[0] | ((__p)[1] << 8)) in phy_aq1202_version() argument 4335 #define le24(__p) (le16(__p) | ((__p)[2] << 16)) in phy_aq1202_version() argument
|