| /linux/arch/riscv/include/asm/ |
| A D | cmpxchg.h | 14 #define __xchg_relaxed(ptr, new, size) \ argument 40 #define arch_xchg_relaxed(ptr, x) \ argument 75 #define arch_xchg_acquire(ptr, x) \ argument 110 #define arch_xchg_release(ptr, x) \ argument 117 #define __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 351 #define cmpxchg32(ptr, o, n) \ argument [all …]
|
| /linux/include/linux/ |
| A D | kmemleak.h | 38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 52 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 79 static inline void kmemleak_free(const void *ptr) in kmemleak_free() 82 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part() 88 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() 91 static inline void kmemleak_update_trace(const void *ptr) in kmemleak_update_trace() 94 static inline void kmemleak_not_leak(const void *ptr) in kmemleak_not_leak() 97 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore() 103 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() [all …]
|
| A D | kcsan-checks.h | 104 const volatile void *ptr; member 151 static inline void __kcsan_check_access(const volatile void *ptr, size_t size, in __kcsan_check_access() 167 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access() 187 static inline void kcsan_check_access(const volatile void *ptr, size_t size, in kcsan_check_access() 199 #define __kcsan_check_read(ptr, size) __kcsan_check_access(ptr, size, 0) argument 207 #define __kcsan_check_write(ptr, size) \ argument 216 #define __kcsan_check_read_write(ptr, size) \ argument 225 #define kcsan_check_read(ptr, size) kcsan_check_access(ptr, size, 0) argument 233 #define kcsan_check_write(ptr, size) \ argument 242 #define kcsan_check_read_write(ptr, size) \ argument [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| 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
|
| A D | atom.c | 183 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 435 int *ptr, uint32_t *saved, int print) in atom_get_dst() 451 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 586 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 600 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 673 static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) in atom_op_div() 690 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 782 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 793 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 798 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|
| /linux/drivers/gpu/drm/amd/include/ |
| 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
|
| /linux/arch/s390/include/asm/ |
| A D | bitops.h | 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() 125 volatile unsigned long *ptr) in arch___clear_bit() 134 volatile unsigned long *ptr) in arch___change_bit() 143 volatile unsigned long *ptr) in arch___test_and_set_bit() 155 volatile unsigned long *ptr) in arch___test_and_clear_bit() 196 volatile unsigned long *ptr) in arch_clear_bit_unlock() 203 volatile unsigned long *ptr) in arch___clear_bit_unlock() [all …]
|
| /linux/include/rdma/ |
| 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 …]
|
| /linux/drivers/staging/media/zoran/ |
| A D | zr36050.c | 52 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 89 static u8 zr36050_read_status1(struct zr36050 *ptr) in zr36050_read_status1() 104 static u16 zr36050_read_scalefactor(struct zr36050 *ptr) in zr36050_read_scalefactor() 120 static void zr36050_wait_end(struct zr36050 *ptr) in zr36050_wait_end() 141 static int zr36050_basic_test(struct zr36050 *ptr) in zr36050_basic_test() 308 static int zr36050_set_sof(struct zr36050 *ptr) in zr36050_set_sof() 339 static int zr36050_set_sos(struct zr36050 *ptr) in zr36050_set_sos() 366 static int zr36050_set_dri(struct zr36050 *ptr) in zr36050_set_dri() 388 static void zr36050_init(struct zr36050 *ptr) in zr36050_init() 717 struct zr36050 *ptr = codec->data; in zr36050_unset() local [all …]
|
| A D | zr36060.c | 54 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 85 static u8 zr36060_read_status(struct zr36060 *ptr) in zr36060_read_status() 94 static u16 zr36060_read_scalefactor(struct zr36060 *ptr) in zr36060_read_scalefactor() 105 static void zr36060_wait_end(struct zr36060 *ptr) in zr36060_wait_end() 121 static int zr36060_basic_test(struct zr36060 *ptr) in zr36060_basic_test() 253 static int zr36060_set_sof(struct zr36060 *ptr) in zr36060_set_sof() 281 static int zr36060_set_sos(struct zr36060 *ptr) in zr36060_set_sos() 306 static int zr36060_set_dri(struct zr36060 *ptr) in zr36060_set_dri() 323 static void zr36060_init(struct zr36060 *ptr) in zr36060_init() 758 struct zr36060 *ptr = codec->data; in zr36060_unset() local [all …]
|
| A D | zr36016.c | 43 static u8 zr36016_read(struct zr36016 *ptr, u16 reg) in zr36016_read() 58 static void zr36016_write(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_write() 72 static u8 zr36016_readi(struct zr36016 *ptr, u16 reg) in zr36016_readi() 109 static u8 zr36016_read_version(struct zr36016 *ptr) in zr36016_read_version() 121 static int zr36016_basic_test(struct zr36016 *ptr) in zr36016_basic_test() 185 static void zr36016_init(struct zr36016 *ptr) in zr36016_init() 227 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_mode() local 244 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_video() local 278 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_control() local 327 struct zr36016 *ptr = codec->data; in zr36016_unset() local [all …]
|
| /linux/arch/mips/include/asm/ |
| A D | cmpxchg.h | 72 unsigned long __xchg(volatile void *ptr, unsigned long x, int size) in __xchg() 93 #define arch_xchg(ptr, x) \ argument 153 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 178 #define arch_cmpxchg_local(ptr, old, new) \ argument 185 #define arch_cmpxchg(ptr, old, new) \ argument 211 #define arch_cmpxchg64_local(ptr, o, n) \ argument 217 #define arch_cmpxchg64(ptr, o, n) \ argument 225 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 229 static inline unsigned long __cmpxchg64(volatile void *ptr, in __cmpxchg64() 300 # define arch_cmpxchg64(ptr, o, n) ({ \ argument [all …]
|
| /linux/arch/arm/include/asm/ |
| A D | cmpxchg.h | 28 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() 117 #define arch_xchg_relaxed(ptr, x) ({ \ argument 137 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 144 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 156 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 210 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument 217 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 237 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 244 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64() 269 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument [all …]
|
| /linux/arch/parisc/include/asm/ |
| A D | cmpxchg.h | 25 __xchg(unsigned long x, volatile void *ptr, int size) in __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
|
| A D | uaccess.h | 28 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument 29 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument 32 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument 62 #define __get_user_internal(sr, val, ptr) \ argument 77 #define __get_user(val, ptr) \ argument 82 #define __get_user_asm(sr, val, ldx, ptr) \ argument 110 #define __get_user_asm64(sr, val, ptr) \ argument 132 #define __put_user_internal(sr, x, ptr) \ argument 148 #define __put_user(x, ptr) \ argument 174 #define __put_user_asm(sr, stx, x, ptr) \ argument [all …]
|
| /linux/arch/x86/include/asm/ |
| A D | cmpxchg.h | 42 #define __xchg_op(ptr, arg, op, lock) \ argument 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") 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 [all …]
|
| A D | uaccess.h | 124 #define do_get_user_call(fn,x,ptr) \ argument 192 #define __put_user_goto_u64(x, ptr, label) \ argument 217 #define do_put_user_call(fn,x,ptr) \ argument 276 #define __put_user_size(x, ptr, size, label) \ argument 309 #define __get_user_asm_u64(x, ptr, label) \ argument 313 #define __get_user_size(x, ptr, size, label) \ argument 347 #define __get_user_asm_u64(x, ptr, retval) \ argument 370 #define __get_user_asm_u64(x, ptr, retval) \ argument 487 #define unsafe_put_user(x, ptr, label) \ argument 491 #define unsafe_get_user(x, ptr, err_label) \ argument [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| 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() 708 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 801 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 826 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 831 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|
| /linux/lib/ |
| A D | test_kasan.c | 122 char *ptr; in kmalloc_oob_right() local 150 char *ptr; in kmalloc_oob_left() local 162 char *ptr; in kmalloc_node_oob_right() local 180 char *ptr; in kmalloc_pagealloc_oob_right() local 195 char *ptr; in kmalloc_pagealloc_uaf() local 209 char *ptr; in kmalloc_pagealloc_invalid_free() local 222 char *ptr; in pagealloc_oob_right() local 244 char *ptr; in pagealloc_uaf() local 258 char *ptr; in kmalloc_large_oob_right() local 437 char *ptr; in kmalloc_oob_memset_2() local [all …]
|
| /linux/arch/powerpc/include/asm/ |
| A D | cmpxchg.h | 152 __xchg_local(void *ptr, unsigned long x, unsigned int size) in __xchg_local() 188 #define arch_xchg_local(ptr,x) \ argument 195 #define arch_xchg_relaxed(ptr, x) \ argument 470 #define arch_cmpxchg(ptr, o, n) \ argument 479 #define arch_cmpxchg_local(ptr, o, n) \ argument 487 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument 496 #define arch_cmpxchg_acquire(ptr, o, n) \ argument 505 #define arch_cmpxchg64(ptr, o, n) \ argument 510 #define arch_cmpxchg64_local(ptr, o, n) \ argument 515 #define arch_cmpxchg64_relaxed(ptr, o, n) \ argument [all …]
|
| /linux/arch/sparc/include/asm/ |
| A D | cmpxchg_32.h | 18 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg() 28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));}) argument 46 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() 58 #define arch_cmpxchg(ptr, o, n) \ argument 67 #define arch_cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) argument 75 #define arch_cmpxchg_local(ptr, o, n) \ argument 78 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
|
| /linux/tools/testing/selftests/vm/ |
| A D | protection_keys.c | 172 u64 *ptr = (u64 *)(c + i); in dump_mem() local 632 void *ptr; member 676 void free_pkey_malloc(void *ptr) in free_pkey_malloc() 706 void *ptr; in malloc_pkey_with_mprotect() local 727 void *ptr; in malloc_pkey_anon_huge() local 807 void *ptr; in malloc_pkey_hugetlb() local 828 void *ptr; in malloc_pkey_mmap_dax() local 1319 void test_pkey_init_state(int *ptr, u16 pkey) in test_pkey_init_state() 1381 void test_ptrace_of_child(int *ptr, u16 pkey) in test_ptrace_of_child() 1592 int *ptr; in run_tests_once() local [all …]
|
| /linux/arch/xtensa/include/asm/ |
| A D | cmpxchg.h | 74 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 83 #define arch_cmpxchg(ptr,o,n) \ argument 92 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 110 #define arch_cmpxchg_local(ptr, o, n) \ argument 113 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 114 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument 172 #define arch_xchg(ptr,x) \ argument 175 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small() 206 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
|
| /linux/net/bluetooth/ |
| A D | eir.c | 16 u8 eir_append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_local_name() 53 u8 eir_append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_appearance() 60 u8 *ptr = data, *uuids_start = NULL; in create_uuid16_list() local 102 u8 *ptr = data, *uuids_start = NULL; in create_uuid32_list() local 135 u8 *ptr = data, *uuids_start = NULL; in create_uuid128_list() local 168 u8 *ptr = data; in eir_create() local 215 u8 eir_create_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) in eir_create_adv_data() 302 static u8 create_default_scan_rsp(struct hci_dev *hdev, u8 *ptr) in create_default_scan_rsp() 312 u8 eir_create_scan_rsp(struct hci_dev *hdev, u8 instance, u8 *ptr) in eir_create_scan_rsp()
|
| /linux/arch/arc/include/asm/ |
| A D | cmpxchg.h | 21 #define __cmpxchg(ptr, old, new) \ argument 41 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument 60 #define arch_cmpxchg(ptr, old, new) \ argument 88 #define __xchg(ptr, val) \ argument 98 #define arch_xchg_relaxed(ptr, val) \ argument 122 #define arch_xchg(ptr, val) \ argument
|