/openbmc/linux/arch/ia64/include/uapi/asm/ |
H A D | gcc_intrin.h | 276 #define ia64_xchg1(ptr,x) \ argument 284 #define ia64_xchg2(ptr,x) \ argument 292 #define ia64_xchg4(ptr,x) \ argument 300 #define ia64_xchg8(ptr,x) \ argument 308 #define ia64_cmpxchg1_acq(ptr, new, old) \ argument 317 #define ia64_cmpxchg1_rel(ptr, new, old) \ argument 326 #define ia64_cmpxchg2_acq(ptr, new, old) \ argument 335 #define ia64_cmpxchg2_rel(ptr, new, old) \ argument 345 #define ia64_cmpxchg4_acq(ptr, new, old) \ argument 354 #define ia64_cmpxchg4_rel(ptr, new, old) \ argument [all …]
|
/openbmc/linux/kernel/kcsan/ |
H A D | core.c | 231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic() 268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch() 401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access() 418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access() 455 static noinline void kcsan_found_watchpoint(const volatile void *ptr, in kcsan_found_watchpoint() 527 kcsan_setup_watchpoint(const volatile void *ptr, size_t size, int type, unsigned long ip) in kcsan_setup_watchpoint() 719 check_access(const volatile void *ptr, size_t size, int type, unsigned long ip) in check_access() 907 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access() 956 void __kcsan_check_access(const volatile void *ptr, size_t size, int type) in __kcsan_check_access() 1029 void __tsan_read_range(void *ptr, size_t size) in __tsan_read_range() [all …]
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | misc-ep93xx.h | 8 static inline unsigned int __raw_readl(unsigned int ptr) in __raw_readl() 13 static inline void __raw_writeb(unsigned char value, unsigned int ptr) in __raw_writeb() 18 static inline void __raw_writel(unsigned int value, unsigned int ptr) in __raw_writel()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | cmpxchg.h | 7 #define arch_xchg(ptr, x) \ argument 10 #define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument 11 #define arch_cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | cmpxchg.h | 35 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 83 #define __cmpxchg(ptr, old, new, size) \ argument 86 #define cmpxchg(ptr, old, new) \ argument
|
/openbmc/qemu/host/include/x86_64/host/ |
H A D | atomic128-ldst.h | 33 static inline Int128 atomic16_read_ro(const Int128 *ptr) in atomic16_read_ro() 43 static inline Int128 atomic16_read_rw(Int128 *ptr) in atomic16_read_rw() 56 static inline void atomic16_set(Int128 *ptr, Int128 val) in atomic16_set()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-cmd-queue.h | 357 uint64_t *ptr = in cvmx_cmd_queue_write() local 365 uint64_t *ptr; in cvmx_cmd_queue_write() local 455 uint64_t *ptr = in cvmx_cmd_queue_write2() local 463 uint64_t *ptr; in cvmx_cmd_queue_write2() local 556 uint64_t *ptr = in cvmx_cmd_queue_write3() local 565 uint64_t *ptr; in cvmx_cmd_queue_write3() local
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cfg.c | 29 struct adf_cfg_key_val *ptr = in qat_dev_cfg_show() local 151 struct adf_cfg_key_val *ptr = in adf_cfg_keyval_remove() local 168 struct adf_cfg_key_val *ptr = in adf_cfg_keyval_del_all() local 177 struct adf_cfg_section *ptr; in adf_cfg_section_del_all() local 194 struct adf_cfg_key_val *ptr = in adf_cfg_key_value_find() local 209 struct adf_cfg_section *ptr = in adf_cfg_sec_find() local
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emufx.c | 490 unsigned int *ptr, in snd_emu10k1_write_op() 503 #define OP(icode, ptr, op, r, a, x, y) \ argument 507 unsigned int *ptr, in snd_emu10k1_audigy_write_op() 520 #define A_OP(icode, ptr, op, r, a, x, y) \ argument 1256 u32 *ptr, int tmp, int bit_shifter16, in snd_emu10k1_audigy_dsp_convert_32_to_2x16() 1297 u32 ptr, ptr_skip; in _snd_emu10k1_audigy_init_efx() local 1789 #define VOLUME(icode, ptr, dst, src, vol) \ argument 1799 #define _SWITCH(icode, ptr, dst, src, sw) \ argument 1801 #define SWITCH(icode, ptr, dst, src, sw) \ argument 1807 #define SWITCH_NEG(icode, ptr, dst, src) \ argument [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | fpu_helper.c | 88 static floatx80 do_fldt(X86Access *ac, target_ulong ptr) in do_fldt() 382 void helper_fldt_ST0(CPUX86State *env, target_ulong ptr) in helper_fldt_ST0() 395 void helper_fstt_ST0(CPUX86State *env, target_ulong ptr) in helper_fstt_ST0() 776 void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) in helper_fbld_ST0() 799 void helper_fbst_ST0(CPUX86State *env, target_ulong ptr) in helper_fbst_ST0() 2628 static void do_fxsave(X86Access *ac, target_ulong ptr) in do_fxsave() 2644 void helper_fxsave(CPUX86State *env, target_ulong ptr) in helper_fxsave() 2877 static void do_fxrstor(X86Access *ac, target_ulong ptr) in do_fxrstor() 2893 void helper_fxrstor(CPUX86State *env, target_ulong ptr) in helper_fxrstor() 2909 target_ulong ptr) in valid_xrstor_header() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 91 #define __xchg_wrapper(sfx, ptr, x) \ argument 175 #define __cmpxchg_wrapper(sfx, ptr, o, n) \ argument 201 #define arch_cmpxchg128(ptr, o, n) \ argument 206 #define arch_cmpxchg128_local(ptr, o, n) \ argument 261 #define __cmpwait_relaxed(ptr, val) \ argument
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | sdei.c | 53 static void _free_sdei_stack(unsigned long * __percpu *ptr, int cpu) in _free_sdei_stack() 77 static int _init_sdei_stack(unsigned long * __percpu *ptr, int cpu) in _init_sdei_stack() 112 static void _free_sdei_scs(unsigned long * __percpu *ptr, int cpu) in _free_sdei_scs() 133 static int _init_sdei_scs(unsigned long * __percpu *ptr, int cpu) in _init_sdei_scs()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-tlv.c | 1859 void *ptr; in ath10k_wmi_tlv_op_gen_init() local 1982 void *ptr; in ath10k_wmi_tlv_op_gen_start_scan() local 2190 void *ptr; in ath10k_wmi_tlv_op_gen_vdev_start() local 2356 void *ptr; in ath10k_wmi_tlv_op_gen_vdev_install_key() local 2440 void *ptr; in ath10k_wmi_tlv_op_gen_vdev_sta_uapsd() local 2498 void *ptr; in ath10k_wmi_tlv_op_gen_vdev_wmm_conf() local 2529 void *ptr; in ath10k_wmi_tlv_op_gen_sta_keepalive() local 2675 void *ptr; in ath10k_wmi_tlv_op_gen_peer_assoc() local 2960 void *ptr; in ath10k_wmi_tlv_op_gen_pdev_set_wmm() local 3094 void *ptr; in ath10k_wmi_tlv_op_gen_mgmt_tx_send() local [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-visitor-serialization.c | 476 strList *ptr = cur_head; in test_primitive_lists() local 482 intList *ptr = cur_head; in test_primitive_lists() local 488 int8List *ptr = cur_head; in test_primitive_lists() local 494 int16List *ptr = cur_head; in test_primitive_lists() local 500 int32List *ptr = cur_head; in test_primitive_lists() local 506 int64List *ptr = cur_head; in test_primitive_lists() local 512 uint8List *ptr = cur_head; in test_primitive_lists() local 518 uint16List *ptr = cur_head; in test_primitive_lists() local 524 uint32List *ptr = cur_head; in test_primitive_lists() local 530 uint64List *ptr = cur_head; in test_primitive_lists() local [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | boot.h | 80 u8 *ptr = (u8 *)absolute_pointer(addr); in rdfs8() local 87 u16 *ptr = (u16 *)absolute_pointer(addr); in rdfs16() local 94 u32 *ptr = (u32 *)absolute_pointer(addr); in rdfs32() local 102 u8 *ptr = (u8 *)absolute_pointer(addr); in wrfs8() local 107 u16 *ptr = (u16 *)absolute_pointer(addr); in wrfs16() local 112 u32 *ptr = (u32 *)absolute_pointer(addr); in wrfs32() local 118 u8 *ptr = (u8 *)absolute_pointer(addr); in rdgs8() local 125 u16 *ptr = (u16 *)absolute_pointer(addr); in rdgs16() local 132 u32 *ptr = (u32 *)absolute_pointer(addr); in rdgs32() local 140 u8 *ptr = (u8 *)absolute_pointer(addr); in wrgs8() local [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 671 static uint64_t dwc2_glbreg_read(void *ptr, hwaddr addr, int index, in dwc2_glbreg_read() 799 static uint64_t dwc2_fszreg_read(void *ptr, hwaddr addr, int index, in dwc2_fszreg_read() 845 static uint64_t dwc2_hreg0_read(void *ptr, hwaddr addr, int index, in dwc2_hreg0_read() 872 static void dwc2_hreg0_write(void *ptr, hwaddr addr, int index, uint64_t val, in dwc2_hreg0_write() 968 static uint64_t dwc2_hreg1_read(void *ptr, hwaddr addr, int index, in dwc2_hreg1_read() 1063 static uint64_t dwc2_pcgreg_read(void *ptr, hwaddr addr, int index, in dwc2_pcgreg_read() 1081 static void dwc2_pcgreg_write(void *ptr, hwaddr addr, int index, in dwc2_pcgreg_write() 1102 static uint64_t dwc2_hsotg_read(void *ptr, hwaddr addr, unsigned size) in dwc2_hsotg_read() 1140 static void dwc2_hsotg_write(void *ptr, hwaddr addr, uint64_t val, in dwc2_hsotg_write() 1180 static uint64_t dwc2_hreg2_read(void *ptr, hwaddr addr, unsigned size) in dwc2_hreg2_read() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | atomic_ops.h | 157 static inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg() 167 static inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() 179 static inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg() 189 static inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool()
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_buffer_fill.c | 30 char *ptr; in check_buffer_by_byte() local 66 char *ptr; in check_buffer_underflow_by_byte() local 161 char *ptr; in check_buffer_overflow_by_byte() local 351 static int compare_memory_tags(char *ptr, size_t size, int tag) in compare_memory_tags() 367 char *ptr; in check_memory_initial_tags() local
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | perms.c | 109 volatile unsigned long *ptr = (unsigned long *)&rodata; in lkdtm_WRITE_RO() local 118 volatile unsigned long *ptr = &ro_after_init; in lkdtm_WRITE_RO_AFTER_INIT() local 138 volatile unsigned char *ptr; in lkdtm_WRITE_KERN() local 223 unsigned long *ptr; in lkdtm_ACCESS_USERSPACE() local 256 volatile unsigned long *ptr = (unsigned long *)NULL; in lkdtm_ACCESS_NULL() local
|
/openbmc/linux/kernel/ |
H A D | extable.c | 143 void *dereference_function_descriptor(void *ptr) in dereference_function_descriptor() 154 void *dereference_kernel_function_descriptor(void *ptr) in dereference_kernel_function_descriptor() 163 int func_ptr_is_kernel_text(void *ptr) in func_ptr_is_kernel_text()
|
/openbmc/linux/security/tomoyo/ |
H A D | gc.c | 21 static inline void tomoyo_memory_free(void *ptr) in tomoyo_memory_free() 111 struct tomoyo_transition_control *ptr = in tomoyo_del_transition_control() local 127 struct tomoyo_aggregator *ptr = in tomoyo_del_aggregator() local 143 struct tomoyo_manager *ptr = in tomoyo_del_manager() local 550 struct tomoyo_shared_acl_head *ptr; in tomoyo_collect_entry() local 592 struct tomoyo_shared_acl_head *ptr; in tomoyo_collect_entry() local
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-lpc.c | 118 u8 *ptr = b; in opal_lpc_insb() local 126 __le16 *ptr = b; in opal_lpc_insw() local 134 __le32 *ptr = b; in opal_lpc_insl() local 142 const u8 *ptr = b; in opal_lpc_outsb() local 150 const __le16 *ptr = b; in opal_lpc_outsw() local 158 const __le32 *ptr = b; in opal_lpc_outsl() local
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | percpu.h | 71 static __always_inline unsigned long __percpu_read(void *ptr, int size) in __percpu_read() 108 static __always_inline void __percpu_write(void *ptr, unsigned long val, int size) in __percpu_write() 140 static __always_inline unsigned long __percpu_xchg(void *ptr, unsigned long val, in __percpu_xchg() 234 #define this_cpu_cmpxchg_1(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument 235 #define this_cpu_cmpxchg_2(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument 236 #define this_cpu_cmpxchg_4(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument 237 #define this_cpu_cmpxchg_8(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.h | 113 #define fm10k_tlv_attr_get_u8(attr, ptr) \ argument 115 #define fm10k_tlv_attr_get_u16(attr, ptr) \ argument 117 #define fm10k_tlv_attr_get_u32(attr, ptr) \ argument 119 #define fm10k_tlv_attr_get_u64(attr, ptr) \ argument 121 #define fm10k_tlv_attr_get_s8(attr, ptr) \ argument 123 #define fm10k_tlv_attr_get_s16(attr, ptr) \ argument 125 #define fm10k_tlv_attr_get_s32(attr, ptr) \ argument 127 #define fm10k_tlv_attr_get_s64(attr, ptr) \ argument
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4711 #define xchg(ptr, ...) \ argument 4719 #define xchg_acquire(ptr, ...) \ argument 4726 #define xchg_release(ptr, ...) \ argument 4734 #define xchg_relaxed(ptr, ...) \ argument 4741 #define cmpxchg(ptr, ...) \ argument 4749 #define cmpxchg_acquire(ptr, ...) \ argument 4756 #define cmpxchg_release(ptr, ...) \ argument 4771 #define cmpxchg64(ptr, ...) \ argument 4801 #define cmpxchg128(ptr, ...) \ argument 4945 #define cmpxchg_local(ptr, ...) \ argument [all …]
|