| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | basic_types.h | 46 #define READEF1BYTE(_ptr) \ argument 47 EF1BYTE(*((u8 *)(_ptr))) 49 #define READEF2BYTE(_ptr) \ argument 50 EF2BYTE(*(_ptr)) 51 #define READEF4BYTE(_ptr) \ argument 52 EF4BYTE(*(_ptr)) 55 #define WRITEEF1BYTE(_ptr, _val) \ argument 57 (*((u8 *)(_ptr))) = EF1BYTE(_val); \ 60 #define WRITEEF2BYTE(_ptr, _val) \ argument 62 (*((u16 *)(_ptr))) = EF2BYTE(_val); \ [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg_32.h | 17 #define __arch_cmpxchg64(_ptr, _old, _new, _lock) \ argument 23 : [ptr] "+m" (*(_ptr)), \ 42 #define __arch_try_cmpxchg64(_ptr, _oldp, _new, _lock) \ argument 50 [ptr] "+m" (*(_ptr)), \ 88 #define __arch_cmpxchg64_emu(_ptr, _old, _new, _lock_loc, _lock) \ argument 99 [ptr] "S" (_ptr) \ 117 #define __arch_try_cmpxchg64_emu(_ptr, _oldp, _new, _lock_loc, _lock) \ argument 130 [ptr] "S" (_ptr) \
|
| H A D | cmpxchg.h | 158 #define __raw_try_cmpxchg(_ptr, _pold, _new, size, lock) \ argument 161 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \ 162 __typeof__(*(_ptr)) __old = *_old; \ 163 __typeof__(*(_ptr)) __new = (_new); \ 167 volatile u8 *__ptr = (volatile u8 *)(_ptr); \ 178 volatile u16 *__ptr = (volatile u16 *)(_ptr); \ 189 volatile u32 *__ptr = (volatile u32 *)(_ptr); \ 200 volatile u64 *__ptr = (volatile u64 *)(_ptr); \
|
| H A D | cmpxchg_64.h | 36 #define __arch_cmpxchg128(_ptr, _old, _new, _lock) \ argument 42 : [ptr] "+m" (*(_ptr)), \ 62 #define __arch_try_cmpxchg128(_ptr, _oldp, _new, _lock) \ argument 70 [ptr] "+m" (*(_ptr)), \
|
| H A D | pgtable-3level.h | 22 #define pxx_xchg64(_pxx, _ptr, _val) ({ \ argument 23 _pxx##val_t *_p = (_pxx##val_t *)_ptr; \
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_common.h | 62 const field_type *_ptr = ptr; \ 63 *((__le32 *)_ptr + (field_h) / 32) |= cpu_to_le32( \ 72 const field_type *_ptr = ptr; \ 74 *((__le32 *)_ptr + (field_h) / 32) &= \ 99 const field_type *_ptr = ptr; \ 102 le32_to_cpu(*((__le32 *)_ptr + (field_h) / 32))); \
|
| /linux/include/rdma/ |
| H A D | iba.h | 58 field_struct *_ptr = ptr; \ 59 _iba_set##num_bits((void *)_ptr + (field_offset), field_mask, \ 66 field_struct *_ptr = ptr; \ 67 (type *)((void *)_ptr + (field_offset)); \ 86 const field_struct *_ptr = ptr; \ 88 field_mask, _iba_get##num_bits((const void *)_ptr + \
|
| /linux/drivers/net/ethernet/3com/ |
| H A D | typhoon.h | 365 do { struct cmd_desc *_ptr = (x); \ 366 memset(_ptr, 0, sizeof(struct cmd_desc)); \ 367 _ptr->flags = TYPHOON_CMD_DESC | TYPHOON_DESC_VALID; \ 368 _ptr->cmd = command; \ 373 do { struct cmd_desc *_ptr = (x); \ 374 memset(_ptr, 0, sizeof(struct cmd_desc)); \ 375 _ptr->flags = TYPHOON_CMD_RESPOND | TYPHOON_CMD_DESC; \ 376 _ptr->flags |= TYPHOON_DESC_VALID; \ 377 _ptr->cmd = command; \ 378 _ptr->seqNo = 1; \
|
| /linux/drivers/infiniband/hw/efa/ |
| H A D | efa_common_defs.h | 18 typeof(ptr) _ptr = ptr; \ 19 *_ptr = (*_ptr & ~(mask##_MASK)) | \
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | netif_receive_skb.c | 55 static struct btf_ptr _ptr = { }; \ 62 _ptr.ptr = &_ptrdata; \ 63 _ptr.type_id = bpf_core_type_id_kernel(_type); \ 64 if (_ptr.type_id <= 0) { \ 69 &_ptr, sizeof(_ptr), _hflags); \
|
| /linux/include/linux/ |
| H A D | cleanup.h | 356 #define __GUARD_IS_ERR(_ptr) \ argument 358 unsigned long _rc = (__force unsigned long)(_ptr); \ 365 void *_ptr = (void *)(__force unsigned long)*(_exp); \ 366 if (IS_ERR(_ptr)) { \ 367 _ptr = NULL; \ 369 return _ptr; \
|
| H A D | of.h | 443 #define of_match_ptr(_ptr) (_ptr) argument 947 #define of_match_ptr(_ptr) NULL argument
|
| /linux/drivers/scsi/fnic/ |
| H A D | fdls_fc.h | 84 #define FNIC_STD_SET_NPORT_NAME(_ptr, _wwpn) put_unaligned_be64(_wwpn, _ptr) argument 85 #define FNIC_STD_SET_NODE_NAME(_ptr, _wwnn) put_unaligned_be64(_wwnn, _ptr) argument
|
| /linux/drivers/md/dm-vdo/ |
| H A D | memory-alloc.h | 89 TYPE1 **_ptr = (PTR); \ 96 _ptr); \
|
| /linux/drivers/md/bcache/ |
| H A D | util.h | 263 typeof((array)->freelist) _ptr = ptr; \ 265 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ 266 (array)->freelist = _ptr; \ 446 typeof(ptr) _ptr = ptr; \ 447 _ptr ? container_of(_ptr, type, member) : NULL; \
|
| /linux/lib/zstd/common/ |
| H A D | compiler.h | 116 const char* const _ptr = (const char*)(p); \ 120 PREFETCH_L2(_ptr + _pos); \
|
| /linux/scripts/atomic/ |
| H A D | gen-atomic-fallback.sh | 233 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \\ 234 ___r = raw_${prefix}${cmpxchg}${suffix}((_ptr), ___o, (_new)); \\
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 383 void *_ptr = &_ptrdata; \ 386 _ptr, sizeof(_type), _str, \ 403 void *_ptr = &_ptrdata; \ 406 _ptr, _type_sz, _str, _expected); \ 413 void *_ptr = &_ptrdata; \ 416 _ptr, sizeof(_type), _str, \
|
| /linux/include/net/bluetooth/ |
| H A D | hci_sync.h | 9 #define PTR_UINT(_ptr) ((uintptr_t)((void *)_ptr)) argument
|
| /linux/net/mptcp/ |
| H A D | protocol.h | 387 typeof(ptr) _ptr = (ptr); \ 388 WARN_ON(_ptr->sk_protocol != IPPROTO_TCP); \ 389 container_of_const(_ptr, struct tcp_sock, inet_conn.icsk_inet.sk); \ 392 typeof(ptr) _ptr = (ptr); \ 393 WARN_ON(_ptr->sk_protocol != IPPROTO_MPTCP); \ 394 container_of_const(_ptr, struct mptcp_sock, sk.icsk_inet.sk); \
|
| /linux/drivers/usb/dwc2/ |
| H A D | debugfs.c | 661 #define print_param(_seq, _ptr, _param) \ argument 662 seq_printf((_seq), "%-30s: %d\n", #_param, (_ptr)->_param) 664 #define print_param_hex(_seq, _ptr, _param) \ argument 665 seq_printf((_seq), "%-30s: 0x%x\n", #_param, (_ptr)->_param)
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | mcdi.h | 285 #define MCDI_FIELD(_ptr, _type, _field) \ argument 288 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | core.c | 740 #define pm_psci_sleep_ptr(_ptr) pm_sleep_ptr(_ptr) argument 745 #define pm_psci_sleep_ptr(_ptr) PTR_IF(false, (_ptr)) argument
|
| /linux/include/scsi/ |
| H A D | iscsi_if.h | 742 #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) argument
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi.h | 330 #define MCDI_FIELD(_ptr, _type, _field) \ argument 333 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
|