/Linux-v5.4/arch/arm64/include/asm/ |
D | barrier.h | 66 typeof(p) __p = (p); \ 70 kasan_check_write(__p, sizeof(*p)); \ 74 : "=Q" (*__p) \ 80 : "=Q" (*__p) \ 86 : "=Q" (*__p) \ 92 : "=Q" (*__p) \ 102 typeof(p) __p = (p); \ 104 kasan_check_read(__p, sizeof(*p)); \ 109 : "Q" (*__p) : "memory"); \ 114 : "Q" (*__p) : "memory"); \ [all …]
|
D | uaccess.h | 296 __typeof__(*(ptr)) __user *__p = (ptr); \ 298 if (access_ok(__p, sizeof(*__p))) { \ 299 __p = uaccess_mask_ptr(__p); \ 300 __raw_get_user((x), __p, (err)); \ 359 __typeof__(*(ptr)) __user *__p = (ptr); \ 361 if (access_ok(__p, sizeof(*__p))) { \ 362 __p = uaccess_mask_ptr(__p); \ 363 __raw_put_user((x), __p, (err)); \
|
/Linux-v5.4/arch/arm/include/asm/ |
D | uaccess.h | 156 #define __get_user_x(__r2, __p, __e, __l, __s) \ argument 162 : "0" (__p), "r" (__l) \ 167 #define __get_user_x_32t(__r2, __p, __e, __l, __s) \ argument 168 __get_user_x(__r2, __p, __e, __l, 32t_8) 178 #define __get_user_x_64t(__r2, __p, __e, __l, __s) \ argument 184 : "0" (__p), "r" (__l) \ 194 register typeof(*(p)) __user *__p asm("r0") = (p); \ 199 switch (sizeof(*(__p))) { \ 202 __get_user_x_64t(__r2, __p, __e, __l, 1); \ 204 __get_user_x(__r2, __p, __e, __l, 1); \ [all …]
|
/Linux-v5.4/arch/x86/include/asm/ |
D | special_insns.h | 198 static inline void clflush(volatile void *__p) in clflush() argument 200 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush() 203 static inline void clflushopt(volatile void *__p) in clflushopt() argument 208 "+m" (*(volatile char __force *)__p)); in clflushopt() 211 static inline void clwb(volatile void *__p) in clwb() argument 213 volatile struct { char x[64]; } *p = __p; in clwb()
|
/Linux-v5.4/arch/nds32/include/asm/ |
D | uaccess.h | 91 const __typeof__(*(ptr)) __user *__p = (ptr); \ 93 if (access_ok(__p, sizeof(*__p))) { \ 94 __get_user_err((x), __p, (err)); \ 186 __typeof__(*(ptr)) __user *__p = (ptr); \ 188 if (access_ok(__p, sizeof(*__p))) { \ 189 __put_user_err((x), __p, (err)); \
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_display.h | 181 #define for_each_plane_id_on_crtc(__crtc, __p) \ argument 182 for ((__p) = PLANE_PRIMARY; (__p) < I915_MAX_PLANES; (__p)++) \ 183 for_each_if((__crtc)->plane_ids_mask & BIT(__p)) 291 #define for_each_pipe(__dev_priv, __p) \ argument 292 for ((__p) = 0; (__p) < INTEL_INFO(__dev_priv)->num_pipes; (__p)++) 294 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument 295 for ((__p) = 0; (__p) < INTEL_INFO(__dev_priv)->num_pipes; (__p)++) \ 296 for_each_if((__mask) & BIT(__p)) 302 #define for_each_universal_plane(__dev_priv, __pipe, __p) \ argument 303 for ((__p) = 0; \ [all …]
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | uaccess.h | 234 const __typeof__(*(ptr)) __user *__p = (ptr); \ 236 access_ok(__p, sizeof(*__p)) ? \ 237 __get_user((x), __p) : \ 362 __typeof__(*(ptr)) __user *__p = (ptr); \ 364 access_ok(__p, sizeof(*__p)) ? \ 365 __put_user((x), __p) : \
|
/Linux-v5.4/include/asm-generic/ |
D | uaccess.h | 134 void __user *__p = (ptr); \ 136 access_ok(__p, sizeof(*ptr)) ? \ 137 __put_user((x), ((__typeof__(*(ptr)) __user *)__p)) : \ 196 const void __user *__p = (ptr); \ 198 access_ok(__p, sizeof(*ptr)) ? \ 199 __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; \ 94 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \ 96 __ret = *__p; \ 98 *__p = nval; \
|
/Linux-v5.4/include/linux/ |
D | percpu-defs.h | 231 #define SHIFT_PERCPU_PTR(__p, __offset) \ argument 232 RELOC_HIDE((typeof(*(__p)) __kernel __force *)(__p), (__offset)) 258 #define VERIFY_PERCPU_PTR(__p) \ argument 260 __verify_pcpu_ptr(__p); \ 261 (typeof(*(__p)) __kernel __force *)(__p); \
|
D | edac.h | 428 typeof(*var) __p; \ 431 __p = NULL; \ 433 __p = (var)[___i]; \ 434 __p; \
|
D | page-flags.h | 374 #define PageHighMem(__p) is_highmem_idx(page_zonenum(__p)) in PAGEFLAG() argument
|
D | serial_core.h | 374 * const __PASTE(__p, unique_id) = &unique_id
|
/Linux-v5.4/arch/m68k/include/asm/ |
D | page_mm.h | 163 const struct page *__p = (_page); \ 165 pgdat = &pg_data_map[page_to_nid(__p)]; \ 166 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
|
/Linux-v5.4/tools/perf/util/ |
D | dso.h | 274 #define kmod_path__parse(__m, __p) __kmod_path__parse(__m, __p, false) argument 275 #define kmod_path__parse_name(__m, __p) __kmod_path__parse(__m, __p, true) argument
|
D | unwind-libunwind-local.c | 102 type *__p = (type *) ptr; \ 104 if ((__p + 1) > (type *) end) \ 106 __v = *__p++; \ 107 ptr = (typeof(ptr)) __p; \
|
D | probe-event.c | 2240 ({ char *__p = NULL; if (str && !(__p = strdup(str))) goto label; __p; })
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_dev.h | 390 void *__p = (char *) (source) + (offset); \ 392 case 1: (dest) = *(u8 *) __p; break; \ 393 case 2: (dest) = be16_to_cpup(__p); break; \ 394 case 4: (dest) = be32_to_cpup(__p); break; \ 395 case 8: (dest) = be64_to_cpup(__p); break; \
|
/Linux-v5.4/lib/ |
D | iov_iter.c | 14 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument 17 __p = i->iov; \ 18 __v.iov_len = min(n, __p->iov_len - skip); \ 20 __v.iov_base = __p->iov_base + skip; \ 29 __p++; \ 30 __v.iov_len = min(n, __p->iov_len); \ 33 __v.iov_base = __p->iov_base; \ 42 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument 44 __p = i->kvec; \ 45 __v.iov_len = min(n, __p->iov_len - skip); \ [all …]
|
/Linux-v5.4/drivers/parport/ |
D | parport_ip32.c | 287 ({ const struct parport *__p = (p); \ 288 __p ? __p->name : "parport_ip32"; }), \
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 3861 #define be16(__p) (((__p)[0] << 8) | (__p)[1]) in phy_aq1202_version() argument 3862 #define le16(__p) ((__p)[0] | ((__p)[1] << 8)) in phy_aq1202_version() argument 3863 #define le24(__p) (le16(__p) | ((__p)[2] << 16)) in phy_aq1202_version() argument
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/sun/ |
D | sunhme.c | 253 #define hme_read_desc32(__hp, __p) \ argument 254 ((__hp)->read_desc32(__p)) 280 #define hme_read_desc32(__hp, __p) ((__force u32)(hme32)*(__p)) argument
|
/Linux-v5.4/drivers/gpu/drm/selftests/ |
D | test-drm_mm.c | 200 struct drm_printer __p = drm_debug_printer(__func__); \ 201 drm_mm_print((mm), &__p); } while (0)
|
/Linux-v5.4/mm/ |
D | slub.c | 313 #define for_each_object(__p, __s, __addr, __objects) \ argument 314 for (__p = fixup_red_left(__s, __addr); \ 315 __p < (__addr) + (__objects) * (__s)->size; \ 316 __p += (__s)->size)
|