Home
last modified time | relevance | path

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

1234

/include/linux/
Dkmemleak.h50 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
58 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
64 static inline void kmemleak_erase(void **ptr) in kmemleak_erase()
74 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
78 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
83 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu()
91 static inline void kmemleak_free(const void *ptr) in kmemleak_free()
94 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
97 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
100 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu()
[all …]
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()
Dptr_ring.h107 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
127 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
138 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
149 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
161 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
278 void *ptr; in __ptr_ring_consume() local
293 void *ptr; in __ptr_ring_consume_batched() local
313 void *ptr; in ptr_ring_consume() local
324 void *ptr; in ptr_ring_consume_irq() local
336 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()
Dkasan.h77 static inline void kasan_unpoison_slab(const void *ptr) { ksize(ptr); } in kasan_unpoison_slab()
110 static inline void kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) {} in kasan_kmalloc_large()
111 static inline void kasan_kfree_large(const void *ptr) {} in kasan_kfree_large()
112 static inline void kasan_poison_kfree(void *ptr) {} in kasan_poison_kfree()
128 static inline void kasan_unpoison_slab(const void *ptr) { } in kasan_unpoison_slab()
Dcompiler-intel.h23 #define barrier_data(ptr) barrier() argument
25 #define RELOC_HIDE(ptr, off) \ argument
Dhash.h88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
94 static inline u32 hash32_ptr(const void *ptr) in hash32_ptr()
Dpercpu-defs.h204 #define __verify_pcpu_ptr(ptr) \ argument
220 #define per_cpu_ptr(ptr, cpu) \ argument
226 #define raw_cpu_ptr(ptr) \ argument
233 #define this_cpu_ptr(ptr) \ argument
239 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
250 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) argument
251 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) argument
252 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
Drculist.h277 #define list_entry_rcu(ptr, type, member) \ argument
313 #define list_first_or_null_rcu(ptr, type, member) \ argument
332 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
370 #define list_entry_lockless(ptr, type, member) \ argument
Dlist.h395 #define list_entry(ptr, type, member) \ argument
406 #define list_first_entry(ptr, type, member) \ argument
417 #define list_last_entry(ptr, type, member) \ argument
428 #define list_first_entry_or_null(ptr, type, member) ({ \ argument
657 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument
764 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
773 #define hlist_entry_safe(ptr, type, member) \ argument
Dadfs_fs.h12 static inline int adfs_checkbblk(unsigned char *ptr) in adfs_checkbblk()
Dllist.h92 #define llist_entry(ptr, type, member) \ argument
109 #define member_address_is_nonnull(ptr, member) \ argument
Drbtree.h66 #define rb_entry(ptr, type, member) container_of(ptr, type, member) argument
121 #define rb_entry_safe(ptr, type, member) \ argument
Dgoldfish.h7 static inline void gf_write_ptr(const void *ptr, void __iomem *portl, in gf_write_ptr()
Dthread_info.h104 static __always_inline void check_object_size(const void *ptr, unsigned long n, in check_object_size()
111 static inline void check_object_size(const void *ptr, unsigned long n, in check_object_size()
/include/asm-generic/
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
Duaccess.h57 #define __put_user(x, ptr) \ argument
77 #define put_user(x, ptr) \ argument
88 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
99 #define __get_user(x, ptr) \ argument
139 #define get_user(x, ptr) \ argument
149 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 __cmpxchg_local_generic(volatile void *ptr, in __cmpxchg_local_generic()
54 static inline u64 __cmpxchg64_local_generic(volatile void *ptr, in __cmpxchg64_local_generic()
/include/linux/unaligned/
Dgeneric.h11 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ argument
19 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ argument
27 #define __put_unaligned_le(val, ptr) ({ \ argument
48 #define __put_unaligned_be(val, ptr) ({ \ argument
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/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/linux/mlx5/
Ddoorbell.h46 #define MLX5_INIT_DOORBELL_LOCK(ptr) do { } while (0) argument
47 #define MLX5_GET_DOORBELL_LOCK(ptr) (NULL) argument
63 #define MLX5_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) argument
64 #define MLX5_GET_DOORBELL_LOCK(ptr) (ptr) argument
/include/net/netns/
Dgeneric.h35 void *ptr[0]; member
42 void *ptr; in net_generic() local
/include/linux/sunrpc/
Dxdr.h142 xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len) in xdr_decode_opaque_fixed()
326 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
347 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
368 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
390 xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) in xdr_stream_decode_opaque_fixed()
417 xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) in xdr_stream_decode_opaque_inline()
/include/sound/
Dpcm-indirect.h96 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_playback_pointer()
164 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_capture_pointer()

1234