| /linux-6.15/arch/parisc/include/asm/ |
| H A 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.15/arch/arm64/include/asm/ |
| H A D | barrier.h | 129 typeof(p) __p = (p); \ 137 : "=Q" (*__p) \ 143 : "=Q" (*__p) \ 149 : "=Q" (*__p) \ 155 : "=Q" (*__p) \ 165 typeof(p) __p = (p); \ 167 kasan_check_read(__p, sizeof(*p)); \ 172 : "Q" (*__p) : "memory"); \ 177 : "Q" (*__p) : "memory"); \ 182 : "Q" (*__p) : "memory"); \ [all …]
|
| H A D | uaccess.h | 254 __typeof__(*(ptr)) __user *__p = (ptr); \ 256 if (access_ok(__p, sizeof(*__p))) { \ 257 __p = uaccess_mask_ptr(__p); \ 258 __raw_get_user((x), __p, __gu_failed); \ 351 __typeof__(*(ptr)) __user *__p = (ptr); \ 353 if (access_ok(__p, sizeof(*__p))) { \ 354 __p = uaccess_mask_ptr(__p); \ 355 __raw_put_user((x), __p, __pu_failed); \
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | uaccess.h | 152 : "0" (__p), "r" (__l) \ 158 __get_user_x(__r2, __p, __e, __l, 32t_8) 174 : "0" (__p), "r" (__l) \ 190 switch (sizeof(*(__p))) { \ 193 __get_user_x_64t(__r2, __p, __e, __l, 1); \ 195 __get_user_x(__r2, __p, __e, __l, 1); \ 199 __get_user_x_64t(__r2, __p, __e, __l, 2); \ 201 __get_user_x(__r2, __p, __e, __l, 2); \ 207 __get_user_x(__r2, __p, __e, __l, 4); \ 213 __get_user_x(__r2, __p, __e, __l, 8); \ [all …]
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A 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.15/arch/x86/include/asm/ |
| H A D | special_insns.h | 172 static __always_inline void clflush(volatile void *__p) in clflush() argument 174 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush() 177 static inline void clflushopt(volatile void *__p) in clflushopt() argument 181 "+m" (*(volatile char __force *)__p)); in clflushopt() 184 static inline void clwb(volatile void *__p) in clwb() argument 186 volatile struct { char x[64]; } *p = __p; in clwb()
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | uaccess.h | 197 const __typeof__(*(ptr)) __user *__p = (ptr); \ 199 access_ok(__p, sizeof(*__p)) ? \ 200 __get_user((x), __p) : \ 313 __typeof__(*(ptr)) __user *__p = (ptr); \ 315 access_ok(__p, sizeof(*__p)) ? \ 316 __put_user((x), __p) : \
|
| H A D | kvm_nacl.h | 73 unsigned long *__p = (__shmem) + \ 76 lelong_to_cpu(*__p); \ 81 unsigned long *__p = (__shmem) + \ 84 *__p = cpu_to_lelong(__val); \ 90 unsigned long *__p = (__shmem) + \ 94 __p[__i] = cpu_to_lelong((__array)[__i]); \
|
| /linux-6.15/arch/mips/include/asm/ |
| H A 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.15/include/asm-generic/ |
| H A 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) :\
|
| H A D | percpu.h | 90 TYPEOF_UNQUAL(pcp) *__p = raw_cpu_ptr(&(pcp)); \ 92 *__p += val; \ 93 *__p; \ 98 TYPEOF_UNQUAL(pcp) *__p = raw_cpu_ptr(&(pcp)); \ 100 __ret = *__p; \ 101 *__p = nval; \ 116 TYPEOF_UNQUAL(pcp) *__p = raw_cpu_ptr(&(pcp)); \ 117 TYPEOF_UNQUAL(pcp) __val = *__p, ___old = *(ovalp); \ 120 *__p = nval; \
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_display.h | 97 #define for_each_plane_id_on_crtc(__crtc, __p) \ argument 98 for ((__p) = PLANE_PRIMARY; (__p) < I915_MAX_PLANES; (__p)++) \ 99 for_each_if((__crtc)->plane_ids_mask & BIT(__p)) 207 #define for_each_pipe(__dev_priv, __p) \ argument 208 for ((__p) = 0; (__p) < I915_MAX_PIPES; (__p)++) \ 209 for_each_if(DISPLAY_RUNTIME_INFO(__dev_priv)->pipe_mask & BIT(__p)) 211 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument 212 for_each_pipe(__dev_priv, __p) \ 213 for_each_if((__mask) & BIT(__p)) 223 #define for_each_sprite(__dev_priv, __p, __s) \ argument [all …]
|
| /linux-6.15/drivers/platform/surface/aggregator/ |
| H A D | ssh_packet_layer.h | 124 typeof(p) __p = (p); \ 126 if (__p) \ 127 func(__p, fmt, ##__VA_ARGS__); \
|
| /linux-6.15/include/linux/ |
| H A D | percpu-defs.h | 224 #define PERCPU_PTR(__p) \ argument 225 (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) 233 #define SHIFT_PERCPU_PTR(__p, __offset) \ argument 234 RELOC_HIDE(PERCPU_PTR(__p), (__offset))
|
| H A D | fortify-string.h | 65 char *__p = (char *)(p); \ 69 __builtin_constant_p(*__p)) { \ 71 if (__builtin_constant_p(__p[__p_len]) && \ 72 __p[__p_len] == '\0') \ 73 __ret = __builtin_strlen(__p); \
|
| H A D | dma-mapping.h | 633 ({ typeof(PTR) __p __maybe_unused = PTR; 0; }) 635 do { typeof(PTR) __p __maybe_unused = PTR; } while (0) 637 ({ typeof(PTR) __p __maybe_unused = PTR; 0; }) 639 do { typeof(PTR) __p __maybe_unused = PTR; } while (0)
|
| H A D | page-flags.h | 612 #define PageHighMem(__p) is_highmem_idx(page_zonenum(__p)) in PAGEFLAG() argument
|
| /linux-6.15/drivers/gpu/drm/nouveau/include/nvif/ |
| H A 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.15/drivers/infiniband/hw/mthca/ |
| H A 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.15/tools/perf/util/ |
| H A D | unwind-libunwind-local.c | 103 type *__p = (type *) ptr; \ 105 if ((__p + 1) > (type *) end) \ 107 __v = *__p++; \ 108 ptr = (typeof(ptr)) __p; \
|
| H A D | dso.h | 771 #define kmod_path__parse(__m, __p) __kmod_path__parse(__m, __p, false) argument 772 #define kmod_path__parse_name(__m, __p) __kmod_path__parse(__m, __p, true) argument
|
| /linux-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | debug.c | 1290 #define DLE_DFI_FREE_PAGE_DUMP(__p, __end, __type) \ in rtw89_debug_mac_dump_dle_dbg() argument 1300 __p += scnprintf(__p, __end - __p, "[%s] freepg head: %d\n", \ in rtw89_debug_mac_dump_dle_dbg() 1302 __p += scnprintf(__p, __end - __p, "[%s] freepg tail: %d\n", \ in rtw89_debug_mac_dump_dle_dbg() 1304 __p += scnprintf(__p, __end - __p, "[%s] pubpg num : %d\n", \ in rtw89_debug_mac_dump_dle_dbg() 1308 #define case_QUOTA(__p, __end, __type, __id) \ in rtw89_debug_mac_dump_dle_dbg() argument 1313 __p += scnprintf(__p, __end - __p, "[%s][%s] rsv_pgnum: %d\n", \ in rtw89_debug_mac_dump_dle_dbg() 1315 __p += scnprintf(__p, __end - __p, "[%s][%s] use_pgnum: %d\n", \ in rtw89_debug_mac_dump_dle_dbg()
|
| /linux-6.15/drivers/parport/ |
| H A D | parport_ip32.c | 287 ({ const struct parport *__p = (p); \ 288 __p ? __p->name : "parport_ip32"; }), \
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A 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.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A 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); \
|