Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 130) sorted by relevance

123456

/include/linux/
Dkmemleak.h37 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 …]
Derr.h55 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()
Dif_tun.h19 void *ptr; member
31 static inline bool tun_is_xdp_frame(void *ptr) in tun_is_xdp_frame()
41 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
63 static inline bool tun_is_xdp_frame(void *ptr) in tun_is_xdp_frame()
73 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
78 static inline void tun_ptr_free(void *ptr) in tun_ptr_free()
Dkcsan-checks.h142 const volatile void *ptr; member
189 static inline void __kcsan_check_access(const volatile void *ptr, size_t size, in __kcsan_check_access()
209 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access()
229 static inline void kcsan_check_access(const volatile void *ptr, size_t size, in kcsan_check_access()
276 #define __kcsan_check_read(ptr, size) __kcsan_check_access(ptr, size, 0) argument
284 #define __kcsan_check_write(ptr, size) \ argument
293 #define __kcsan_check_read_write(ptr, size) \ argument
302 #define kcsan_check_read(ptr, size) kcsan_check_access(ptr, size, 0) argument
310 #define kcsan_check_write(ptr, size) \ argument
319 #define kcsan_check_read_write(ptr, size) \ argument
[all …]
Dptr_ring.h104 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
124 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
135 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
146 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
158 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
293 void *ptr; in __ptr_ring_consume() local
309 void *ptr; in __ptr_ring_consume_batched() local
329 void *ptr; in ptr_ring_consume() local
340 void *ptr; in ptr_ring_consume_irq() local
352 void *ptr; in ptr_ring_consume_any() local
[all …]
Dlist_nulls.h29 #define INIT_HLIST_NULLS_HEAD(ptr, nulls) \ argument
32 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) argument
34 #define hlist_nulls_entry_safe(ptr, type, member) \ argument
43 static inline int is_a_nulls(const struct hlist_nulls_node *ptr) in is_a_nulls()
54 static inline unsigned long get_nulls_value(const struct hlist_nulls_node *ptr) in get_nulls_value()
Dcontainer_of.h18 #define container_of(ptr, type, member) ({ \ argument
32 #define container_of_const(ptr, type, member) \ argument
Dkasan.h238 static __always_inline void kasan_kfree_large(void *ptr) in kasan_kfree_large()
266 static __always_inline void * __must_check kasan_kmalloc_large(const void *ptr, in kasan_kmalloc_large()
357 static __always_inline bool kasan_mempool_poison_object(void *ptr) in kasan_mempool_poison_object()
384 static __always_inline void kasan_mempool_unpoison_object(void *ptr, in kasan_mempool_unpoison_object()
434 static inline void kasan_kfree_large(void *ptr) {} in kasan_kfree_large()
445 static inline void *kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large()
459 static inline bool kasan_mempool_poison_object(void *ptr) in kasan_mempool_poison_object()
463 static inline void kasan_mempool_unpoison_object(void *ptr, size_t size) {} in kasan_mempool_unpoison_object()
511 static inline void kasan_record_aux_stack(void *ptr) {} in kasan_record_aux_stack()
512 static inline void kasan_record_aux_stack_noalloc(void *ptr) {} in kasan_record_aux_stack_noalloc()
Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
91 static inline u32 hash32_ptr(const void *ptr) in hash32_ptr()
Dpercpu-defs.h217 #define __verify_pcpu_ptr(ptr) \ argument
233 #define per_cpu_ptr(ptr, cpu) \ argument
239 #define raw_cpu_ptr(ptr) \ argument
246 #define this_cpu_ptr(ptr) \ argument
252 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
263 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) argument
264 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) argument
265 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
Dvirtio_config.h394 #define virtio_cread(vdev, structname, member, ptr) \ argument
423 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
458 #define virtio_cread_le(vdev, structname, member, ptr) \ argument
486 #define virtio_cwrite_le(vdev, structname, member, ptr) \ argument
606 #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ argument
617 #define virtio_cread_le_feature(vdev, fbit, structname, member, ptr) \ argument
Drcupdate.h616 #define rcu_replace_pointer(rcu_ptr, ptr, c) \ argument
1062 #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) argument
1063 #define kvfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) argument
1082 #define kfree_rcu_mightsleep(ptr) kvfree_rcu_arg_1(ptr) argument
1083 #define kvfree_rcu_mightsleep(ptr) kvfree_rcu_arg_1(ptr) argument
1085 #define kvfree_rcu_arg_2(ptr, rhf) \ argument
1095 #define kvfree_rcu_arg_1(ptr) \ argument
Dadfs_fs.h12 static inline int adfs_checkbblk(unsigned char *ptr) in adfs_checkbblk()
/include/rdma/
Diba.h12 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 …]
/include/linux/unaligned/
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
/include/linux/sunrpc/xdrgen/
D_builtins.h28 xdrgen_decode_bool(struct xdr_stream *xdr, bool *ptr) in xdrgen_decode_bool()
50 xdrgen_decode_int(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_int()
72 xdrgen_decode_unsigned_int(struct xdr_stream *xdr, u32 *ptr) in xdrgen_decode_unsigned_int()
94 xdrgen_decode_long(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_long()
116 xdrgen_decode_unsigned_long(struct xdr_stream *xdr, u32 *ptr) in xdrgen_decode_unsigned_long()
138 xdrgen_decode_hyper(struct xdr_stream *xdr, s64 *ptr) in xdrgen_decode_hyper()
160 xdrgen_decode_unsigned_hyper(struct xdr_stream *xdr, u64 *ptr) in xdrgen_decode_unsigned_hyper()
182 xdrgen_decode_string(struct xdr_stream *xdr, string *ptr, u32 maxlen) in xdrgen_decode_string()
213 xdrgen_decode_opaque(struct xdr_stream *xdr, opaque *ptr, u32 maxlen) in xdrgen_decode_opaque()
/include/asm-generic/
Dcmpxchg.h24 unsigned long __generic_xchg(unsigned long x, volatile void *ptr, int size) in __generic_xchg()
81 #define generic_xchg(ptr, x) ({ \ argument
91 #define generic_cmpxchg_local(ptr, o, n) ({ \ argument
96 #define generic_cmpxchg64_local(ptr, o, n) \ argument
Duaccess.h104 #define __put_user(x, ptr) \ argument
124 #define put_user(x, ptr) \ argument
135 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
146 #define __get_user(x, ptr) \ argument
186 #define get_user(x, ptr) \ argument
196 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
Dcmpxchg-local.h15 static inline unsigned long __generic_cmpxchg_local(volatile void *ptr, in __generic_cmpxchg_local()
54 static inline u64 __generic_cmpxchg64_local(volatile void *ptr, in __generic_cmpxchg64_local()
/include/linux/mlx4/
Ddoorbell.h52 #define MLX4_INIT_DOORBELL_LOCK(ptr) do { } while (0) argument
53 #define MLX4_GET_DOORBELL_LOCK(ptr) (NULL) argument
70 #define MLX4_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) argument
71 #define MLX4_GET_DOORBELL_LOCK(ptr) (ptr) argument
/include/vdso/
Dunaligned.h5 #define __get_unaligned_t(type, ptr) ({ \ argument
10 #define __put_unaligned_t(type, val, ptr) do { \ argument
/include/linux/atomic/
Datomic-instrumented.h4753 #define xchg(ptr, ...) \ argument
4761 #define xchg_acquire(ptr, ...) \ argument
4768 #define xchg_release(ptr, ...) \ argument
4776 #define xchg_relaxed(ptr, ...) \ argument
4783 #define cmpxchg(ptr, ...) \ argument
4791 #define cmpxchg_acquire(ptr, ...) \ argument
4798 #define cmpxchg_release(ptr, ...) \ argument
4806 #define cmpxchg_relaxed(ptr, ...) \ argument
4813 #define cmpxchg64(ptr, ...) \ argument
4821 #define cmpxchg64_acquire(ptr, ...) \ argument
[all …]
/include/linux/soc/marvell/octeontx2/
Dasm.h39 static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr) in otx2_atomic64_fetch_add()
54 #define otx2_atomic64_fetch_add(incr, ptr) ({ incr; }) argument
/include/linux/sunrpc/
Dxdr.h168 xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len) in xdr_decode_opaque_fixed()
533 xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) in xdr_stream_encode_opaque_inline()
558 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
579 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
651 xdr_stream_decode_bool(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_bool()
672 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
693 xdr_stream_decode_u64(struct xdr_stream *xdr, __u64 *ptr) in xdr_stream_decode_u64()
715 xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) in xdr_stream_decode_opaque_fixed()
742 xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) in xdr_stream_decode_opaque_inline()
/include/sound/
Dpcm-indirect.h83 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_playback_pointer()
156 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_capture_pointer()

123456