/openbmc/linux/arch/x86/include/asm/ |
H A D | uaccess.h | 375 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \ 376 __typeof__(*(_ptr)) __old = *_old; \ 382 [ptr] "+m" (*_ptr), \ 394 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \ 402 [ptr] "+m" (*_ptr) \ 415 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \ 426 [ptr] "+m" (*_ptr), \ 446 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \ 458 [ptr] "+m" (*_ptr) \ 567 __chk_user_ptr(_ptr); \ [all …]
|
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); \ 179 volatile u16 *__ptr = (volatile u16 *)(_ptr); \ 191 volatile u32 *__ptr = (volatile u32 *)(_ptr); \ 203 volatile u64 *__ptr = (volatile u64 *)(_ptr); \
|
H A D | cmpxchg_64.h | 30 #define __arch_cmpxchg128(_ptr, _old, _new, _lock) \ argument 36 : [ptr] "+m" (*(_ptr)), \ 56 #define __arch_try_cmpxchg128(_ptr, _oldp, _new, _lock) \ argument 65 [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; \
|
H A D | insn.h | 153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | basic_types.h | 47 #define READEF1BYTE(_ptr) \ argument 48 EF1BYTE(*((u8 *)(_ptr))) 50 #define READEF2BYTE(_ptr) \ argument 51 EF2BYTE(*(_ptr)) 52 #define READEF4BYTE(_ptr) \ argument 53 EF4BYTE(*(_ptr)) 56 #define WRITEEF1BYTE(_ptr, _val) \ argument 58 (*((u8 *)(_ptr))) = EF1BYTE(_val); \ 61 #define WRITEEF2BYTE(_ptr, _val) \ argument 63 (*((u16 *)(_ptr))) = EF2BYTE(_val); \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/ |
H A D | legacy_built-in_sync_functions.patch | 22 -# define fetch_and_add1(_ptr) __sync_fetch_and_add(_ptr, 1) 23 -# define fetch_and_add(_ptr, value) __sync_fetch_and_add(_ptr, value) 24 +# define fetch_and_add1(_ptr) __atomic_fetch_add(_ptr, 1, __ATOMIC_SEQ_CST) 25 +# define fetch_and_add(_ptr, value) __atomic_fetch_add(_ptr, value, __ATOMIC_SEQ_CST)
|
/openbmc/linux/drivers/infiniband/hw/efa/ |
H A D | efa_common_defs.h | 18 typeof(ptr) _ptr = ptr; \ 19 *_ptr = (*_ptr & ~(mask##_MASK)) | \
|
/openbmc/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 + \
|
/openbmc/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))); \
|
/openbmc/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; \
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-arch-fallback.h | 189 #define raw_try_cmpxchg(_ptr, _oldp, _new) \ argument 192 ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ 207 #define raw_try_cmpxchg_acquire(_ptr, _oldp, _new) \ argument 210 ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ 225 #define raw_try_cmpxchg_release(_ptr, _oldp, _new) \ argument 256 #define raw_try_cmpxchg64(_ptr, _oldp, _new) \ argument 259 ___r = raw_cmpxchg64((_ptr), ___o, (_new)); \ 323 #define raw_try_cmpxchg128(_ptr, _oldp, _new) \ argument 326 ___r = raw_cmpxchg128((_ptr), ___o, (_new)); \ 389 #define raw_try_cmpxchg_local(_ptr, _oldp, _new) \ argument [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 58 static struct btf_ptr _ptr = { }; \ 65 _ptr.ptr = &_ptrdata; \ 66 _ptr.type_id = bpf_core_type_id_kernel(_type); \ 67 if (_ptr.type_id <= 0) { \ 72 &_ptr, sizeof(_ptr), _hflags); \
|
/openbmc/qemu/hw/vfio/ |
H A D | display.c | 29 #define pread_field(_fd, _reg, _ptr, _fld) \ argument 30 (sizeof(_ptr->_fld) != \ 31 pread(_fd, &(_ptr->_fld), sizeof(_ptr->_fld), \ 32 _reg->offset + offsetof(typeof(*_ptr), _fld))) 34 #define pwrite_field(_fd, _reg, _ptr, _fld) \ argument 35 (sizeof(_ptr->_fld) != \ 36 pwrite(_fd, &(_ptr->_fld), sizeof(_ptr->_fld), \ 37 _reg->offset + offsetof(typeof(*_ptr), _fld)))
|
/openbmc/linux/lib/zstd/common/ |
H A D | compiler.h | 99 const char* const _ptr = (const char*)(p); \ 103 PREFETCH_L2(_ptr + _pos); \
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.h | 264 typeof((array)->freelist) _ptr = ptr; \ 266 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ 267 (array)->freelist = _ptr; \ 447 typeof(ptr) _ptr = ptr; \ 448 _ptr ? container_of(_ptr, type, member) : NULL; \
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | getopt.h | 49 *sandbox_cmdline_option_##f##_ptr = \
|
/openbmc/linux/include/linux/ |
H A D | pm.h | 475 #define pm_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM), (_ptr)) argument 476 #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr)) argument
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 313 void *_ptr = &_ptrdata; \ 316 _ptr, sizeof(_type), _str, \ 333 void *_ptr = &_ptrdata; \ 336 _ptr, _type_sz, _str, _expected); \ 343 void *_ptr = &_ptrdata; \ 346 _ptr, sizeof(_type), _str, \
|
/openbmc/linux/scripts/atomic/ |
H A D | gen-atomic-fallback.sh | 232 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \\ 233 ___r = raw_${cmpxchg}${order}((_ptr), ___o, (_new)); \\
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | insn.h | 153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
|
/openbmc/u-boot/include/dm/ |
H A D | device.h | 186 #define of_match_ptr(_ptr) (_ptr) argument 188 #define of_match_ptr(_ptr) NULL argument
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_legacy.h | 48 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci_sync.h | 9 #define PTR_UINT(_ptr) ((uintptr_t)((void *)_ptr)) argument
|
/openbmc/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)
|