/openbmc/qemu/subprojects/libvhost-user/include/ |
H A D | atomic.h | 89 #define qatomic_read__nocheck(ptr) \ argument 130 #define qatomic_rcu_read(ptr) \ argument 195 #define qatomic_inc(ptr) \ argument 197 #define qatomic_dec(ptr) \ argument 199 #define qatomic_add(ptr, n) \ argument 201 #define qatomic_sub(ptr, n) \ argument 203 #define qatomic_and(ptr, n) \ argument 205 #define qatomic_or(ptr, n) \ argument 207 #define qatomic_xor(ptr, n) \ argument 234 # define qatomic_set_mb(ptr, i) \ argument [all …]
|
/openbmc/qemu/subprojects/libvduse/include/ |
H A D | atomic.h | 89 #define qatomic_read__nocheck(ptr) \ argument 130 #define qatomic_rcu_read(ptr) \ argument 195 #define qatomic_inc(ptr) \ argument 197 #define qatomic_dec(ptr) \ argument 199 #define qatomic_add(ptr, n) \ argument 201 #define qatomic_sub(ptr, n) \ argument 203 #define qatomic_and(ptr, n) \ argument 205 #define qatomic_or(ptr, n) \ argument 207 #define qatomic_xor(ptr, n) \ argument 234 # define qatomic_set_mb(ptr, i) \ argument [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | atomic.h | 89 #define qatomic_read__nocheck(ptr) \ argument 130 #define qatomic_rcu_read(ptr) \ argument 195 #define qatomic_inc(ptr) \ argument 197 #define qatomic_dec(ptr) \ argument 199 #define qatomic_add(ptr, n) \ argument 201 #define qatomic_sub(ptr, n) \ argument 203 #define qatomic_and(ptr, n) \ argument 205 #define qatomic_or(ptr, n) \ argument 207 #define qatomic_xor(ptr, n) \ argument 234 # define qatomic_set_mb(ptr, i) \ argument [all …]
|
H A D | bswap.h | 224 static inline int ldub_p(const void *ptr) in ldub_p() 229 static inline int ldsb_p(const void *ptr) in ldsb_p() 249 static inline int lduw_he_p(const void *ptr) in lduw_he_p() 256 static inline int ldsw_he_p(const void *ptr) in ldsw_he_p() 273 static inline int ldl_he_p(const void *ptr) in ldl_he_p() 297 static inline int lduw_le_p(const void *ptr) in lduw_le_p() 302 static inline int ldsw_le_p(const void *ptr) in ldsw_le_p() 307 static inline int ldl_le_p(const void *ptr) in ldl_le_p() 337 static inline int lduw_be_p(const void *ptr) in lduw_be_p() 342 static inline int ldsw_be_p(const void *ptr) in ldsw_be_p() [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 14 #define __xchg_relaxed(ptr, new, size) \ argument 40 #define arch_xchg_relaxed(ptr, x) \ argument 47 #define __xchg_acquire(ptr, new, size) \ argument 75 #define arch_xchg_acquire(ptr, x) \ argument 110 #define arch_xchg_release(ptr, x) \ argument 117 #define __arch_xchg(ptr, new, size) \ argument 143 #define arch_xchg(ptr, x) \ argument 149 #define xchg32(ptr, x) \ argument 155 #define xchg64(ptr, x) \ argument 340 #define arch_cmpxchg(ptr, o, n) \ argument [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 17 struct bpf_dynptr ptr; member 118 struct bpf_dynptr ptr; in missing_release_callback_fn() local 141 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 154 struct bpf_dynptr ptr; in use_after_invalid() local 174 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 197 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 233 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 255 struct bpf_dynptr ptr; in data_slice_out_of_bounds_skb() local 276 struct bpf_dynptr ptr; in data_slice_out_of_bounds_map_value() local 296 struct bpf_dynptr ptr; in data_slice_use_after_release1() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | kmemleak.h | 37 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 51 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 65 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 78 static inline void kmemleak_free(const void *ptr) in kmemleak_free() 81 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part() 87 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() 90 static inline void kmemleak_update_trace(const void *ptr) in kmemleak_update_trace() 93 static inline void kmemleak_not_leak(const void *ptr) in kmemleak_not_leak() 96 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore() 102 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
H A D | atom.c | 180 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 432 int *ptr, uint32_t *saved, int print) in atom_get_dst() 448 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 583 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 597 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 670 static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) in atom_op_div() 687 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 779 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 790 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 795 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cmpxchg.h | 42 #define __xchg_op(ptr, arg, op, lock) \ argument 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 133 #define __cmpxchg(ptr, old, new, size) \ argument 136 #define __sync_cmpxchg(ptr, old, new, size) \ argument 139 #define __cmpxchg_local(ptr, old, new, size) \ argument 148 #define arch_cmpxchg(ptr, old, new) \ argument 151 #define arch_sync_cmpxchg(ptr, old, new) \ argument 154 #define arch_cmpxchg_local(ptr, old, new) \ argument 221 #define __try_cmpxchg(ptr, pold, new, size) \ argument 227 #define arch_try_cmpxchg(ptr, pold, new) \ argument [all …]
|
H A D | cmpxchg_32.h | 11 #define arch_cmpxchg64(ptr, o, n) \ argument 14 #define arch_cmpxchg64_local(ptr, o, n) \ argument 17 #define arch_try_cmpxchg64(ptr, po, n) \ argument 22 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() 35 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() 48 static inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *pold, u64 new) in __try_cmpxchg64() 72 #define arch_cmpxchg64(ptr, o, n) \ argument 89 #define arch_cmpxchg64_local(ptr, o, n) \ argument
|
/openbmc/linux/include/rdma/ |
H A D | iba.h | 12 static inline u32 _iba_get8(const u8 *ptr) in _iba_get8() 17 static inline void _iba_set8(u8 *ptr, u32 mask, u32 prep_value) in _iba_set8() 22 static inline u16 _iba_get16(const __be16 *ptr) in _iba_get16() 27 static inline void _iba_set16(__be16 *ptr, u16 mask, u16 prep_value) in _iba_set16() 32 static inline u32 _iba_get32(const __be32 *ptr) in _iba_get32() 37 static inline void _iba_set32(__be32 *ptr, u32 mask, u32 prep_value) in _iba_set32() 42 static inline u64 _iba_get64(const __be64 *ptr) in _iba_get64() 51 static inline void _iba_set64(__be64 *ptr, u64 mask, u64 prep_value) in _iba_set64() 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) argument 69 #define IBA_GET_MEM_PTR(field, ptr) _IBA_GET_MEM_PTR(field, ptr) argument [all …]
|
/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zr36050.c | 41 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 72 static u8 zr36050_read_status1(struct zr36050 *ptr) in zr36050_read_status1() 81 static u16 zr36050_read_scalefactor(struct zr36050 *ptr) in zr36050_read_scalefactor() 97 static void zr36050_wait_end(struct zr36050 *ptr) in zr36050_wait_end() 118 static int zr36050_basic_test(struct zr36050 *ptr) in zr36050_basic_test() 282 static int zr36050_set_sof(struct zr36050 *ptr) in zr36050_set_sof() 317 static int zr36050_set_sos(struct zr36050 *ptr) in zr36050_set_sos() 345 static int zr36050_set_dri(struct zr36050 *ptr) in zr36050_set_dri() 368 static void zr36050_init(struct zr36050 *ptr) in zr36050_init() 702 struct zr36050 *ptr = codec->data; in zr36050_unset() local [all …]
|
H A D | zr36060.c | 41 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 75 static u8 zr36060_read_status(struct zr36060 *ptr) in zr36060_read_status() 84 static u16 zr36060_read_scalefactor(struct zr36060 *ptr) in zr36060_read_scalefactor() 95 static void zr36060_wait_end(struct zr36060 *ptr) in zr36060_wait_end() 112 static int zr36060_basic_test(struct zr36060 *ptr) in zr36060_basic_test() 250 static int zr36060_set_sof(struct zr36060 *ptr) in zr36060_set_sof() 279 static int zr36060_set_sos(struct zr36060 *ptr) in zr36060_set_sos() 305 static int zr36060_set_dri(struct zr36060 *ptr) in zr36060_set_dri() 323 static void zr36060_init(struct zr36060 *ptr) in zr36060_init() 761 struct zr36060 *ptr = codec->data; in zr36060_unset() local [all …]
|
H A D | zr36016.c | 33 static u8 zr36016_read(struct zr36016 *ptr, u16 reg) in zr36016_read() 49 static void zr36016_write(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_write() 68 static u8 zr36016_readi(struct zr36016 *ptr, u16 reg) in zr36016_readi() 105 static u8 zr36016_read_version(struct zr36016 *ptr) in zr36016_read_version() 116 static int zr36016_basic_test(struct zr36016 *ptr) in zr36016_basic_test() 154 static void zr36016_init(struct zr36016 *ptr) in zr36016_init() 198 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_mode() local 216 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_video() local 257 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_control() local 308 struct zr36016 *ptr = codec->data; in zr36016_unset() local [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | uaccess.h | 23 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument 24 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument 27 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument 30 #define __get_user_internal(sr, val, ptr) \ argument 45 #define __get_user(val, ptr) \ argument 50 #define __get_user_asm(sr, val, ldx, ptr) \ argument 77 #define __get_user_asm64(sr, val, ptr) \ argument 99 #define __put_user_internal(sr, x, ptr) \ argument 114 #define __put_user(x, ptr) \ argument 143 #define __put_user_asm(sr, stx, x, ptr) \ argument [all …]
|
H A D | cmpxchg.h | 25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() 47 #define arch_xchg(ptr, x) \ argument 67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() 81 #define arch_cmpxchg(ptr, o, n) \ argument 91 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 109 #define arch_cmpxchg_local(ptr, o, n) \ argument 113 #define arch_cmpxchg64_local(ptr, o, n) \ argument 119 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 122 #define arch_cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 29 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() 118 #define arch_xchg_relaxed(ptr, x) ({ \ argument 138 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 145 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 157 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 211 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument 218 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 238 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 245 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64() 270 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() 92 #define arch_xchg(ptr, x) \ argument 152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 177 #define arch_cmpxchg_local(ptr, old, new) \ argument 184 #define arch_cmpxchg(ptr, old, new) \ argument 210 #define arch_cmpxchg64_local(ptr, o, n) \ argument 216 #define arch_cmpxchg64(ptr, o, n) \ argument 224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 228 static inline unsigned long __cmpxchg64(volatile void *ptr, in __cmpxchg64() 299 # define arch_cmpxchg64(ptr, o, n) ({ \ argument [all …]
|
/openbmc/u-boot/arch/x86/cpu/coreboot/ |
H A D | tables.c | 31 static void cb_parse_memory(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_memory() 58 static void cb_parse_serial(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_serial() 64 static void cb_parse_vbnv(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_vbnv() 72 static void cb_parse_gpios(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_gpios() 84 static void cb_parse_vdat(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_vdat() 92 static void cb_parse_tstamp(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_tstamp() 97 static void cb_parse_cbmem_cons(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_cbmem_cons() 102 static void cb_parse_framebuffer(unsigned char *ptr, struct sysinfo_t *info) in cb_parse_framebuffer() 107 static void cb_parse_string(unsigned char *ptr, char **info) in cb_parse_string() 115 unsigned char *ptr = (unsigned char *)addr; in cb_parse_header() local
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 10 #define __xchg_relaxed(new, ptr, size) \ argument 53 #define arch_xchg_relaxed(ptr, x) \ argument 56 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 83 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument 86 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 114 #define arch_cmpxchg_acquire(ptr, o, n) \ argument 117 #define __cmpxchg(ptr, old, new, size) \ argument 146 #define arch_cmpxchg(ptr, o, n) \ argument 149 #define arch_cmpxchg_local(ptr, o, n) \ argument
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small() 65 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() 85 #define arch_xchg(ptr, x) \ argument 114 static inline unsigned int __cmpxchg_small(volatile void *ptr, unsigned int old, in __cmpxchg_small() 163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg() 185 #define arch_cmpxchg_local(ptr, old, new) \ argument 192 #define arch_cmpxchg(ptr, old, new) \ argument 202 #define arch_cmpxchg64_local(ptr, o, n) \ argument 208 #define arch_cmpxchg64(ptr, o, n) \ argument 215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | bitops.h | 45 __bitops_word(unsigned long nr, const volatile unsigned long *ptr) in __bitops_word() 75 volatile unsigned long *ptr) in arch_change_bit() 84 volatile unsigned long *ptr) in arch_test_and_set_bit() 95 volatile unsigned long *ptr) in arch_test_and_clear_bit() 106 volatile unsigned long *ptr) in arch_test_and_change_bit() 183 volatile unsigned long *ptr) in arch_test_and_set_bit_lock() 191 volatile unsigned long *ptr) in arch_clear_bit_unlock() 198 volatile unsigned long *ptr) in arch___clear_bit_unlock() 222 static inline void set_bit_inv(unsigned long nr, volatile unsigned long *ptr) in set_bit_inv() 233 volatile unsigned long *ptr) in test_and_clear_bit_inv() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atom.c | 182 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 434 int *ptr, uint32_t *saved, int print) in atom_get_dst() 450 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 585 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 599 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 672 static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) in atom_op_div() 710 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 803 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 828 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 833 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|