/linux-6.1.9/arch/riscv/include/asm/ |
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 82 #define __xchg_release(ptr, new, size) \ 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 [all …]
|
/linux-6.1.9/include/linux/ |
D | kmemleak.h | 37 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 45 static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) in kmemleak_free_recursive() 51 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 61 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() 65 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 70 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu() 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() 84 static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) in kmemleak_free_recursive() 87 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | dynptr_fail.c | 14 struct bpf_dynptr ptr; member 50 static int get_map_val_dynptr(struct bpf_dynptr *ptr) in get_map_val_dynptr() 71 struct bpf_dynptr ptr; in ringbuf_missing_release1() local 105 struct bpf_dynptr ptr; in missing_release_callback_fn() local 126 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 138 struct bpf_dynptr ptr; in use_after_invalid() local 157 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 179 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 213 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 234 struct bpf_dynptr ptr; in data_slice_out_of_bounds_map_value() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
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
|
D | atom.c | 184 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 368 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 404 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 409 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 436 int *ptr, uint32_t *saved, int print) in atom_get_dst() 444 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 452 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 587 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 601 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 615 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
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-6.1.9/include/rdma/ |
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() 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ argument 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) argument [all …]
|
/linux-6.1.9/drivers/media/pci/zoran/ |
D | zr36050.c | 41 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 57 static void zr36050_write(struct zr36050 *ptr, u16 reg, u8 value) in zr36050_write() 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() 154 static int zr36050_pushit(struct zr36050 *ptr, u16 startreg, u16 len, const char *data) in zr36050_pushit() 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() [all …]
|
D | zr36060.c | 41 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 55 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value) in zr36060_write() 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() 132 static int zr36060_pushit(struct zr36060 *ptr, u16 startreg, u16 len, const char *data) in zr36060_pushit() 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() [all …]
|
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() 86 static void zr36016_writei(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_writei() 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 [all …]
|
/linux-6.1.9/arch/arm/include/asm/ |
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-6.1.9/arch/mips/include/asm/ |
D | cmpxchg.h | 71 unsigned long __xchg(volatile void *ptr, unsigned long x, int size) in __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 …]
|
/linux-6.1.9/arch/parisc/include/asm/ |
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
|
D | uaccess.h | 22 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument 23 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument 25 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr) argument 26 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument 59 #define __get_user_internal(sr, val, ptr) \ argument 74 #define __get_user(val, ptr) \ argument 79 #define __get_user_asm(sr, val, ldx, ptr) \ argument 106 #define __get_user_asm64(sr, val, ptr) \ argument 128 #define __put_user_internal(sr, x, ptr) \ argument 143 #define __put_user(x, ptr) \ argument [all …]
|
/linux-6.1.9/arch/csky/include/asm/ |
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
|
D | uaccess.h | 11 #define __put_user_asm_b(x, ptr, err) \ argument 29 #define __put_user_asm_h(x, ptr, err) \ argument 47 #define __put_user_asm_w(x, ptr, err) \ argument 65 #define __put_user_asm_64(x, ptr, err) \ argument 91 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn() 123 #define __get_user_asm_common(x, ptr, ins, err) \ argument 142 #define __get_user_asm_64(x, ptr, err) \ argument 168 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 182 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 366 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 402 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 407 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 434 int *ptr, uint32_t *saved, int print) in atom_get_dst() 442 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_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() 613 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/linux-6.1.9/mm/kasan/ |
D | kasan_test.c | 128 char *ptr; in kmalloc_oob_right() local 157 char *ptr; in kmalloc_oob_left() local 170 char *ptr; in kmalloc_node_oob_right() local 189 char *ptr; in kmalloc_pagealloc_oob_right() local 205 char *ptr; in kmalloc_pagealloc_uaf() local 219 char *ptr; in kmalloc_pagealloc_invalid_free() local 232 char *ptr; in pagealloc_oob_right() local 254 char *ptr; in pagealloc_uaf() local 268 char *ptr; in kmalloc_large_oob_right() local 456 char *ptr; in kmalloc_oob_memset_2() local [all …]
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | cmpxchg.h | 25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small() 65 __xchg(volatile void *ptr, unsigned long x, int size) in __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 …]
|
D | uaccess.h | 45 #define get_user(x, ptr) \ argument 71 #define put_user(x, ptr) \ argument 100 #define __get_user(x, ptr) \ argument 129 #define __put_user(x, ptr) \ argument 143 #define __get_user_common(val, size, ptr) \ argument 154 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument 156 #define __get_data_asm(val, insn, ptr) \ argument 177 #define __put_user_common(ptr, size) \ argument 188 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument 190 #define __put_data_asm(insn, ptr) \ argument
|
/linux-6.1.9/arch/s390/include/asm/ |
D | bitops.h | 45 __bitops_word(unsigned long nr, const volatile unsigned long *ptr) in __bitops_word() 58 static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) in arch_set_bit() 66 static __always_inline void arch_clear_bit(unsigned long nr, volatile unsigned long *ptr) in arch_clear_bit() 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() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
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 …]
|
D | cmpxchg_32.h | 24 static inline void set_64bit(volatile u64 *ptr, u64 value) in set_64bit() 39 #define arch_cmpxchg64(ptr, o, n) \ argument 42 #define arch_cmpxchg64_local(ptr, o, n) \ argument 45 #define arch_try_cmpxchg64(ptr, po, n) \ argument 50 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() 63 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() 76 static inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *pold, u64 new) in __try_cmpxchg64() 100 #define arch_cmpxchg64(ptr, o, n) \ argument 117 #define arch_cmpxchg64_local(ptr, o, n) \ argument
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | cmpxchg.h | 152 __xchg_local(void *ptr, unsigned long x, unsigned int size) in __xchg_local() 171 __xchg_relaxed(void *ptr, unsigned long x, unsigned int size) in __xchg_relaxed() 188 #define arch_xchg_local(ptr,x) \ argument 195 #define arch_xchg_relaxed(ptr, x) \ argument 392 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() 412 __cmpxchg_local(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local() 432 __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_relaxed() 452 __cmpxchg_acquire(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_acquire() 470 #define arch_cmpxchg(ptr, o, n) \ argument 479 #define arch_cmpxchg_local(ptr, o, n) \ argument [all …]
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | protection_keys.c | 173 u64 *ptr = (u64 *)(c + i); in dump_mem() local 470 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() 596 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() 633 void *ptr; member 640 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 677 void free_pkey_malloc(void *ptr) in free_pkey_malloc() 707 void *ptr; in malloc_pkey_with_mprotect() local 728 void *ptr; in malloc_pkey_anon_huge() local 808 void *ptr; in malloc_pkey_hugetlb() local 829 void *ptr; in malloc_pkey_mmap_dax() local [all …]
|