| /kernel/linux/linux-5.10/arch/riscv/include/asm/ |
| D | cmpxchg.h | 14 #define __xchg_relaxed(ptr, new, size) \ argument 40 #define xchg_relaxed(ptr, x) \ argument 47 #define __xchg_acquire(ptr, new, size) \ argument 75 #define xchg_acquire(ptr, x) \ argument 82 #define __xchg_release(ptr, new, size) \ argument 110 #define xchg_release(ptr, x) \ argument 117 #define __xchg(ptr, new, size) \ argument 143 #define xchg(ptr, x) \ argument 149 #define xchg32(ptr, x) \ argument 155 #define xchg64(ptr, x) \ argument [all …]
|
| /kernel/linux/linux-6.6/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 __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 [all …]
|
| /kernel/liteos_a/syscall/ |
| D | syscall_pub.h | 48 #define CHECK_ASPACE(ptr, len, ...) \ argument 68 #define LEN(ptr) ((ptr) ? *(ptr) : 0) argument 70 #define DUP_FROM_USER_(ptr, size, copy, ...) \ argument 85 #define DUP_FROM_USER(ptr, size, ...) \ argument 88 #define DUP_FROM_USER_NOCOPY(ptr, size, ...) \ argument 91 #define DUP_TO_USER(ptr, size, ...) \ argument 102 #define FREE_DUP(ptr) \ argument 110 #define CPY_FROM_USER(ptr) \ argument 120 #define CPY_TO_USER(ptr, ...) \ argument 131 #define CONST_CAST(ptr) ((__typeof(ptr##_NONCONST))ptr) argument [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | dynptr_fail.c | 17 struct bpf_dynptr ptr; member 61 static int get_map_val_dynptr(struct bpf_dynptr *ptr) in get_map_val_dynptr() 83 struct bpf_dynptr ptr = {}; in ringbuf_missing_release1() local 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 [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/arch/s390/include/asm/ |
| D | bitops.h | 45 __bitops_word(unsigned long nr, volatile unsigned long *ptr) in __bitops_word() 54 __bitops_byte(unsigned long nr, volatile unsigned long *ptr) in __bitops_byte() 59 static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) in arch_set_bit() 80 static __always_inline void arch_clear_bit(unsigned long nr, volatile unsigned long *ptr) in arch_clear_bit() 102 volatile unsigned long *ptr) in arch_change_bit() 124 volatile unsigned long *ptr) in arch_test_and_set_bit() 135 volatile unsigned long *ptr) in arch_test_and_clear_bit() 146 volatile unsigned long *ptr) in arch_test_and_change_bit() 156 static inline void arch___set_bit(unsigned long nr, volatile unsigned long *ptr) in arch___set_bit() 164 volatile unsigned long *ptr) in arch___clear_bit() [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | kmemleak.h | 38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 46 static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) in kmemleak_free_recursive() 52 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 62 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() 66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 71 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu() 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() 85 static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) in kmemleak_free_recursive() 88 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
| D | zr36060.c | 54 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 67 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value) in zr36060_write() 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() 139 static int zr36060_pushit(struct zr36060 *ptr, u16 startreg, u16 len, const char *data) in zr36060_pushit() 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() [all …]
|
| D | zr36050.c | 52 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 68 static void zr36050_write(struct zr36050 *ptr, u16 reg, u8 value) in zr36050_write() 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() 182 static int zr36050_pushit(struct zr36050 *ptr, u16 startreg, u16 len, const char *data) in zr36050_pushit() 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() [all …]
|
| 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() 88 static void zr36016_writei(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_writei() 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 [all …]
|
| /kernel/linux/linux-5.10/arch/csky/include/asm/ |
| D | uaccess.h | 55 #define put_user(x, ptr) \ argument 58 #define __put_user(x, ptr) \ argument 63 #define get_user(x, ptr) \ argument 66 #define __get_user(x, ptr) \ argument 69 #define __put_user_nocheck(x, ptr, size) \ argument 80 #define __put_user_check(x, ptr, size) \ argument 90 #define __put_user_size(x, ptr, size, retval) \ argument 119 #define __put_user_asm_b(x, ptr, err) \ argument 137 #define __put_user_asm_h(x, ptr, err) \ argument 155 #define __put_user_asm_w(x, ptr, err) \ argument [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | uaccess.h | 46 #define get_user(x, ptr) \ argument 48 #define put_user(x, ptr) \ argument 51 #define __get_user(x, ptr) \ argument 53 #define __put_user(x, ptr) \ argument 55 #define __put_user_goto(x, ptr, label) \ argument 58 #define __get_user_allowed(x, ptr) \ argument 61 #define __get_user_inatomic(x, ptr) \ argument 63 #define __put_user_inatomic(x, ptr) \ argument 68 #define ___get_user_instr(gu_op, dest, ptr) \ argument 90 #define get_user_instr(x, ptr) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
| 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 | 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 | 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 …]
|
| /kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
| D | uaccess.h | 91 #define get_user(x,ptr) \ argument 117 #define put_user(x,ptr) \ argument 146 #define __get_user(x,ptr) \ argument 175 #define __put_user(x,ptr) \ argument 190 #define __GET_DW(val, insn, ptr) __get_data_asm_ll32(val, insn, ptr) argument 193 #define __GET_DW(val, insn, ptr) __get_data_asm(val, insn, ptr) argument 196 #define __get_user_common(val, size, ptr) \ argument 207 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument 209 #define __get_data_asm(val, insn, ptr) \ argument 226 #define __get_data_asm_ll32(val, insn, ptr) \ argument [all …]
|
| /kernel/linux/linux-6.6/arch/parisc/include/asm/ |
| 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 26 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", 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 [all …]
|
| /kernel/linux/linux-6.6/arch/arm/include/asm/ |
| 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 …]
|