Home
last modified time | relevance | path

Searched defs:ptr (Results 26 – 50 of 3491) sorted by relevance

12345678910>>...140

/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dcmpxchg_32.h18 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg()
28 #define 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 cmpxchg(ptr, o, n) \ argument
67 #define cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) argument
75 #define cmpxchg_local(ptr, o, n) \ argument
78 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
H A Dcmpxchg_64.h55 #define xchg(ptr,x) \ argument
75 unsigned int *ptr = (unsigned int *) (maddr & ~2); in xchg16() local
90 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, in __xchg()
136 unsigned int *ptr = (unsigned int *) (maddr & ~3); in __cmpxchg_u8() local
157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
171 #define cmpxchg(ptr,o,n) \ argument
184 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
198 #define cmpxchg_local(ptr, o, n) \ argument
201 #define cmpxchg64_local(ptr, o, n) \ argument
206 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dprotection_keys.c172 u64 *ptr = (u64 *)(c + i); in dump_mem() local
469 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey()
595 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey()
632 void *ptr; member
639 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc()
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
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dkcsan-checks.h97 const volatile void *ptr; member
142 static inline void __kcsan_check_access(const volatile void *ptr, size_t size, in __kcsan_check_access()
158 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access()
178 static inline void kcsan_check_access(const volatile void *ptr, size_t size, in kcsan_check_access()
190 #define __kcsan_check_read(ptr, size) __kcsan_check_access(ptr, size, 0) argument
198 #define __kcsan_check_write(ptr, size) \ argument
207 #define __kcsan_check_read_write(ptr, size) \ argument
216 #define kcsan_check_read(ptr, size) kcsan_check_access(ptr, size, 0) argument
224 #define kcsan_check_write(ptr, size) \ argument
233 #define kcsan_check_read_write(ptr, size) \ argument
[all …]
H A Derr.h29 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
34 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
39 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
57 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
/OK3568_Linux_fs/kernel/arch/xtensa/include/asm/
H A Dcmpxchg.h74 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
83 #define cmpxchg(ptr,o,n) \ argument
92 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
110 #define cmpxchg_local(ptr, o, n) \ argument
113 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
114 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
172 #define 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()
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Duaccess.h81 #define __get_user_asm(insn, x, ptr, err) \ argument
106 #define __get_user_8(x, ptr, err) \ argument
109 #define __get_user_8(x, ptr, err) \ argument
182 #define __get_user(x, ptr) \ argument
213 #define get_user(x, ptr) \ argument
222 #define __put_user_asm(insn, x, ptr, err) \ argument
245 #define __put_user_8(x, ptr, err) \ argument
248 #define __put_user_8(x, ptr, err) \ argument
318 #define __put_user(x, ptr) \ argument
349 #define put_user(x, ptr) \ argument
[all …]
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dcmpxchg_32.h24 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
47 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64()
60 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local()
79 #define arch_cmpxchg64(ptr, o, n) \ argument
96 #define arch_cmpxchg64_local(ptr, o, n) \ argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2/include/protozero/
H A Dbyteswap.hpp53 inline void byteswap_inplace(uint32_t* ptr) noexcept { in byteswap_inplace()
57 inline void byteswap_inplace(uint64_t* ptr) noexcept { in byteswap_inplace()
61 inline void byteswap_inplace(int32_t* ptr) noexcept { in byteswap_inplace()
66 inline void byteswap_inplace(int64_t* ptr) noexcept { in byteswap_inplace()
71 inline void byteswap_inplace(float* ptr) noexcept { in byteswap_inplace()
76 inline void byteswap_inplace(double* ptr) noexcept { in byteswap_inplace()
/OK3568_Linux_fs/kernel/arch/openrisc/include/asm/
H A Dcmpxchg.h25 static inline unsigned long cmpxchg_u32(volatile void *ptr, in cmpxchg_u32()
44 static inline unsigned long xchg_u32(volatile void *ptr, in xchg_u32()
59 static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new, in cmpxchg_small()
92 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small()
121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
135 #define cmpxchg(ptr, o, n) \ argument
150 static inline unsigned long __xchg(volatile void *ptr, unsigned long with, in __xchg()
164 #define xchg(ptr, with) \ argument
H A Duaccess.h82 #define get_user(x, ptr) \ argument
84 #define put_user(x, ptr) \ argument
87 #define __get_user(x, ptr) \ argument
89 #define __put_user(x, ptr) \ argument
94 #define __put_user_nocheck(x, ptr, size) \ argument
101 #define __put_user_check(x, ptr, size) \ argument
110 #define __put_user_size(x, ptr, size, retval) \ argument
166 #define __get_user_nocheck(x, ptr, size) \ argument
173 #define __get_user_check(x, ptr, size) \ argument
186 #define __get_user_size(x, ptr, size, retval) \ argument
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A Dcmpxchg.h17 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
47 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
66 #define cmpxchg(ptr, o, n) ({ \ argument
84 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, in __xchg()
106 #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \ argument
126 #define xchg(ptr, with) \ argument
139 #define xchg(ptr, with) _xchg(ptr, with) argument
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Duaccess.h78 #define put_user(x, ptr) __put_user_check((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr))) argument
79 #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument
86 #define __put_user(x, ptr) __put_user_nocheck((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr))) argument
87 #define __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
146 #define __do_get_user(check, x, ptr, size) \ argument
164 #define __get_user_nocheck(x, ptr, size) __do_get_user(0, x, ptr, size) argument
165 #define __get_user_check(x, ptr, size) __do_get_user(1, x, ptr, size) argument
173 #define __do_put_user(check, x, ptr, size) \ argument
191 #define __put_user_nocheck(x, ptr, size) __do_put_user(0, x, ptr, size) argument
192 #define __put_user_check(x, ptr, size) __do_put_user(1, x, ptr, size) argument
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h30 #define __xchg(x, ptr, size) \ argument
56 #define xchg(ptr, x) \ argument
71 #define ia64_cmpxchg(sem, ptr, old, new, size) \ argument
115 #define cmpxchg_acq(ptr, o, n) \ argument
117 #define cmpxchg_rel(ptr, o, n) \ argument
130 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
131 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/pauth/
H A Dhelper.c6 size_t keyia_sign(size_t ptr) in keyia_sign()
12 size_t keyib_sign(size_t ptr) in keyib_sign()
18 size_t keyda_sign(size_t ptr) in keyda_sign()
24 size_t keydb_sign(size_t ptr) in keydb_sign()
30 size_t keyg_sign(size_t ptr) in keyg_sign()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s.cpp26 __attribute__((weak)) void j2s_release_data(j2s_ctx* ctx, void* ptr) in j2s_release_data()
67 int j2s_struct_free(j2s_ctx* ctx, const char* name, void* ptr) in j2s_struct_free()
74 cJSON* j2s_struct_to_json(j2s_ctx* ctx, const char* name, void* ptr) in j2s_struct_to_json()
81 int j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, const char* name, void* ptr) in j2s_json_to_struct()
89 void* ptr) in j2s_json_from_struct()
96 void j2s_struct_to_cache(j2s_ctx* ctx, const char* name, int fd, void* ptr) in j2s_struct_to_cache()
103 int j2s_struct_from_cache(j2s_ctx* ctx, const char* name, int fd, void* ptr) in j2s_struct_from_cache()
295 char* ptr = (char*)ptr_; in j2s_obj_get_value() local
303 #define J2S_FETCH_NUM(type, ptr) \ in j2s_obj_get_value() argument
338 char* ptr = (char*)ptr_; in j2s_obj_set_value() local
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dcmpxchg.h26 unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg()
83 #define xchg(ptr, x) ({ \ argument
96 #define cmpxchg_local(ptr, o, n) ({ \ argument
103 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
106 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument
107 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dcmpxchg.h13 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
44 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
79 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
83 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
121 #define cmpxchg(ptr, o, n) \ argument
124 #define cmpxchg_local(ptr, o, n) \ argument
128 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Duaccess.h153 #define put_user(x,ptr) \ argument
174 #define get_user(x,ptr) \ argument
197 #define __put_user(x,ptr) \ argument
221 #define __get_user(x,ptr) \ argument
232 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument
252 #define __get_kernel_common(val, size, ptr) \ argument
265 #define __GET_DW(val, insn, ptr) __get_data_asm_ll32(val, insn, ptr) argument
268 #define __GET_DW(val, insn, ptr) __get_data_asm(val, insn, ptr) argument
273 #define __get_user_common(val, size, ptr) \ argument
284 #define __get_user_nocheck(x, ptr, size) \ argument
[all …]
/OK3568_Linux_fs/kernel/tools/lib/traceevent/
H A Dkbuffer-parse.c69 unsigned int *ptr; in host_is_bigendian() local
81 static unsigned long long __read_8(void *ptr) in __read_8()
88 static unsigned long long __read_8_sw(void *ptr) in __read_8_sw()
105 static unsigned int __read_4(void *ptr) in __read_4()
112 static unsigned int __read_4_sw(void *ptr) in __read_4_sw()
125 static unsigned long long read_8(struct kbuffer *kbuf, void *ptr) in read_8()
130 static unsigned int read_4(struct kbuffer *kbuf, void *ptr) in read_4()
135 static unsigned long long __read_long_8(struct kbuffer *kbuf, void *ptr) in __read_long_8()
140 static unsigned long long __read_long_4(struct kbuffer *kbuf, void *ptr) in __read_long_4()
145 static unsigned long long read_long(struct kbuffer *kbuf, void *ptr) in read_long()
[all …]
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Derr.h40 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
45 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
50 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
55 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
/OK3568_Linux_fs/kernel/arch/nds32/include/asm/
H A Duaccess.h73 #define get_user(x, ptr) \ argument
80 #define __get_user_error(x, ptr, err) \ argument
86 #define __get_user(x, ptr) \ argument
94 #define __get_user_check(x, ptr, err) \ argument
105 #define __get_user_err(x, ptr, err) \ argument
174 #define put_user(x, ptr) \ argument
181 #define __put_user(x, ptr) \ argument
189 #define __put_user_error(x, ptr, err) \ argument
195 #define __put_user_check(x, ptr, err) \ argument
206 #define __put_user_err(x, ptr, err) \ argument
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap3/
H A Dclock.c123 dpll_param *ptr = (dpll_param *) get_core_dpll_param(); in dpll3_init_34xx() local
235 dpll_param *ptr = (dpll_param *) get_per_dpll_param(); in dpll4_init_34xx() local
288 dpll_param *ptr = (dpll_param *) get_per2_dpll_param(); in dpll5_init_34xx() local
312 dpll_param *ptr = (dpll_param *) get_mpu_dpll_param(); in mpu_init_34xx() local
339 dpll_param *ptr = (dpll_param *) get_iva_dpll_param(); in iva_init_34xx() local
380 dpll_param *ptr = (dpll_param *) get_36x_core_dpll_param(); in dpll3_init_36xx() local
485 struct dpll_per_36x_param *ptr; in dpll4_init_36xx() local
528 dpll_param *ptr = (dpll_param *) get_36x_per2_dpll_param(); in dpll5_init_36xx() local
550 dpll_param *ptr = (dpll_param *) get_36x_mpu_dpll_param(); in mpu_init_36xx() local
570 dpll_param *ptr = (dpll_param *)get_36x_iva_dpll_param(); in iva_init_36xx() local
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.cpp27 __attribute__((weak)) void j2s_release_data(j2s_ctx *ctx, void *ptr) { in j2s_release_data()
167 int j2s_struct_free(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_struct_free()
173 int j2s_struct_to_bin(j2s_ctx *ctx, const char *name, void *ptr, size_t len, in j2s_struct_to_bin()
188 cJSON *j2s_struct_to_json(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_struct_to_json()
194 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr) { in j2s_json_to_struct()
201 void *ptr) { in j2s_json_from_struct()
384 char *ptr = (char *)ptr_; in j2s_obj_get_value() local
392 #define J2S_FETCH_NUM(type, ptr) \ in j2s_obj_get_value() argument
426 char *ptr = (char *)ptr_; in j2s_obj_set_value() local
434 #define J2S_STORE_NUM(type, value, ptr) \ in j2s_obj_set_value() argument
[all …]
/OK3568_Linux_fs/kernel/include/linux/unaligned/
H A Dpacked_struct.h12 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16() local
18 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32() local
24 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64() local
30 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16() local
36 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32() local
42 struct __una_u64 *ptr = (struct __una_u64 *)p; in __put_unaligned_cpu64() local

12345678910>>...140