| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_fail.c | 18 struct bpf_dynptr ptr; member 119 struct bpf_dynptr ptr; in missing_release_callback_fn() local 142 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 155 struct bpf_dynptr ptr; in use_after_invalid() local 175 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 198 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 234 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 256 struct bpf_dynptr ptr; in data_slice_out_of_bounds_skb() local 277 struct bpf_dynptr ptr; in data_slice_out_of_bounds_map_value() local 297 struct bpf_dynptr ptr; in data_slice_use_after_release1() local [all …]
|
| /linux-6.15/include/linux/ |
| H 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() 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_transient_leak(const void *ptr) in kmemleak_transient_leak() 100 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore() 106 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() [all …]
|
| H A D | err.h | 55 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 61 #define PTR_ERR_PCPU(ptr) (PTR_ERR((const void *)(__force const unsigned long)(ptr))) argument 68 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 74 #define IS_ERR_PCPU(ptr) (IS_ERR((const void *)(__force const unsigned long)(ptr))) argument 82 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 94 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() 117 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | mseal_test.c | 172 void *ptr; in setup_single_address() local 180 void *ptr; in setup_single_address_rw() local 204 void *ptr; in seal_support() local 232 void *ptr; in test_seal_addseal() local 248 void *ptr; in test_seal_unmapped_start() local 276 void *ptr; in test_seal_unmapped_middle() local 308 void *ptr; in test_seal_unmapped_end() local 337 void *ptr; in test_seal_multiple_vmas() local 368 void *ptr; in test_seal_split_start() local 393 void *ptr; in test_seal_split_end() local [all …]
|
| H A D | guard-regions.c | 307 char *ptr; in TEST_F() local 662 char *ptr; in TEST_F() local 841 char *ptr; in TEST_F() local 902 char *ptr; in TEST_F() local 1083 char *ptr; in TEST_F() local 1147 char *ptr; in TEST_F() local 1202 char *ptr; in TEST_F() local 1276 char *ptr; in TEST_F() local 1329 char *ptr; in TEST_F() local 1368 char *ptr; in TEST_F() local [all …]
|
| H A D | protection_keys.c | 57 noinline int read_ptr(int *ptr) in read_ptr() 179 u64 *ptr = (u64 *)(c + i); in dump_mem() local 591 void *ptr; member 635 static void free_pkey_malloc(void *ptr) in free_pkey_malloc() 664 void *ptr; in malloc_pkey_with_mprotect() local 685 void *ptr; in malloc_pkey_anon_huge() local 765 void *ptr; in malloc_pkey_hugetlb() local 1243 static void test_pkey_init_state(int *ptr, u16 pkey) in test_pkey_init_state() 1305 static void test_ptrace_of_child(int *ptr, u16 pkey) in test_ptrace_of_child() 1725 int *ptr; in run_tests_once() local [all …]
|
| /linux-6.15/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
|
| /linux-6.15/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 | 181 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 439 int *ptr, uint32_t *saved, int print) in atom_get_dst() 455 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 598 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 612 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 685 static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) in atom_op_div() 702 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 794 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 805 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 810 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|
| /linux-6.15/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 230 #define arch_try_cmpxchg(ptr, pold, new) \ argument [all …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | cmpxchg.h | 97 #define arch_xchg_relaxed(ptr, x) \ argument 100 #define arch_xchg_acquire(ptr, x) \ argument 104 #define arch_xchg_release(ptr, x) \ argument 107 #define arch_xchg(ptr, x) \ argument 110 #define xchg32(ptr, x) \ argument 116 #define xchg64(ptr, x) \ argument 277 #define arch_cmpxchg(ptr, o, n) \ argument 283 #define arch_cmpxchg_local(ptr, o, n) \ argument 286 #define arch_cmpxchg64(ptr, o, n) \ argument 346 #define arch_cmpxchg128(ptr, o, n) \ argument [all …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/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() 79 #define arch_cmpxchg(ptr, o, n) \ argument 89 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 107 #define arch_cmpxchg_local(ptr, o, n) \ argument 111 #define arch_cmpxchg64_local(ptr, o, n) \ argument 117 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 120 #define arch_cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4xdr_gen.c | 11 xdrgen_decode_int64_t(struct xdr_stream *xdr, int64_t *ptr) in xdrgen_decode_int64_t() 17 xdrgen_decode_uint32_t(struct xdr_stream *xdr, uint32_t *ptr) in xdrgen_decode_uint32_t() 23 xdrgen_decode_bitmap4(struct xdr_stream *xdr, bitmap4 *ptr) in xdrgen_decode_bitmap4() 34 xdrgen_decode_nfstime4(struct xdr_stream *xdr, struct nfstime4 *ptr) in xdrgen_decode_nfstime4() 44 xdrgen_decode_fattr4_offline(struct xdr_stream *xdr, fattr4_offline *ptr) in xdrgen_decode_fattr4_offline() 50 xdrgen_decode_open_arguments4(struct xdr_stream *xdr, struct open_arguments4 *ptr) in xdrgen_decode_open_arguments4() 77 xdrgen_decode_open_args_share_deny4(struct xdr_stream *xdr, open_args_share_deny4 *ptr) in xdrgen_decode_open_args_share_deny4() 99 xdrgen_decode_open_args_open_claim4(struct xdr_stream *xdr, open_args_open_claim4 *ptr) in xdrgen_decode_open_args_open_claim4() 110 xdrgen_decode_open_args_createmode4(struct xdr_stream *xdr, open_args_createmode4 *ptr) in xdrgen_decode_open_args_createmode4() 121 xdrgen_decode_fattr4_open_arguments(struct xdr_stream *xdr, fattr4_open_arguments *ptr) in xdrgen_decode_fattr4_open_arguments() [all …]
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | cmpxchg.h | 30 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() 119 #define arch_xchg_relaxed(ptr, x) ({ \ argument 139 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 146 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 158 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 216 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument 223 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 243 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 250 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64() 275 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument [all …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | cmpxchg.h | 18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm() 28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm() 38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1() 61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2() 96 #define arch_cmpxchg(ptr, o, n) \ argument 110 #define arch_try_cmpxchg(ptr, oldp, new) \ argument 155 #define arch_try_cmpxchg(ptr, oldp, new) \ argument 176 static inline u8 __arch_xchg1(u64 ptr, u8 x) in __arch_xchg1() 191 static inline u16 __arch_xchg2(u64 ptr, u16 x) in __arch_xchg2() 206 static __always_inline u64 __arch_xchg(u64 ptr, u64 x, int size) in __arch_xchg() [all …]
|
| /linux-6.15/arch/csky/include/asm/ |
| H A D | cmpxchg.h | 11 #define __xchg_relaxed(new, ptr, size) \ argument 54 #define arch_xchg_relaxed(ptr, x) \ argument 57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 87 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument 90 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 121 #define arch_cmpxchg_acquire(ptr, o, n) \ argument 124 #define __cmpxchg(ptr, old, new, size) \ argument 156 #define arch_cmpxchg(ptr, o, n) \ argument 159 #define arch_cmpxchg_local(ptr, o, n) \ argument
|
| /linux-6.15/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 …]
|
| H A 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 170 #define __put_user_common(ptr, size) \ argument 181 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument 183 #define __put_data_asm(insn, ptr) \ argument
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | atom.c | 183 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 440 int *ptr, uint32_t *saved, int print) in atom_get_dst() 456 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 599 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 613 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 686 static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) in atom_op_div() 724 static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) in atom_op_eot() 817 static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) in atom_op_mul() 842 static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) in atom_op_nop() 847 static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) in atom_op_or() [all …]
|