Home
last modified time | relevance | path

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

1234

/include/linux/
Dkmemleak.h38 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 …]
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()
Dif_tun.h19 void *ptr; member
47 static inline bool tun_is_xdp_frame(void *ptr) in tun_is_xdp_frame()
51 static inline void *tun_xdp_to_ptr(void *ptr) in tun_xdp_to_ptr()
55 static inline void *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
59 static inline void tun_ptr_free(void *ptr) in tun_ptr_free()
Dptr_ring.h103 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
123 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
134 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
145 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
157 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
292 void *ptr; in __ptr_ring_consume() local
308 void *ptr; in __ptr_ring_consume_batched() local
328 void *ptr; in ptr_ring_consume() local
339 void *ptr; in ptr_ring_consume_irq() local
351 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()
Dcompiler-intel.h17 #define barrier_data(ptr) barrier() argument
19 #define RELOC_HIDE(ptr, off) \ argument
Dkasan.h80 static inline void kasan_unpoison_slab(const void *ptr) in kasan_unpoison_slab()
117 static inline void *kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large()
121 static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} in kasan_kfree_large()
122 static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} in kasan_poison_kfree()
156 static inline void kasan_unpoison_slab(const void *ptr) { } in kasan_unpoison_slab()
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.h218 #define __verify_pcpu_ptr(ptr) \ argument
234 #define per_cpu_ptr(ptr, cpu) \ argument
240 #define raw_cpu_ptr(ptr) \ argument
247 #define this_cpu_ptr(ptr) \ argument
253 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
264 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) argument
265 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) argument
266 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
Dllist.h80 #define llist_entry(ptr, type, member) \ argument
97 #define member_address_is_nonnull(ptr, member) \ argument
Dadfs_fs.h12 static inline int adfs_checkbblk(unsigned char *ptr) in adfs_checkbblk()
Dlist.h478 #define list_entry(ptr, type, member) \ argument
489 #define list_first_entry(ptr, type, member) \ argument
500 #define list_last_entry(ptr, type, member) \ argument
511 #define list_first_entry_or_null(ptr, type, member) ({ \ argument
740 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument
847 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
856 #define hlist_entry_safe(ptr, type, member) \ argument
Drculist.h295 #define list_entry_rcu(ptr, type, member) \ argument
331 #define list_first_or_null_rcu(ptr, type, member) \ argument
350 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
389 #define list_entry_lockless(ptr, type, member) \ argument
Dcompiler-gcc.h34 #define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory") argument
54 #define RELOC_HIDE(ptr, off) \ argument
/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.h112 #define __put_user(x, ptr) \ argument
132 #define put_user(x, ptr) \ argument
143 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
154 #define __get_user(x, ptr) \ argument
194 #define get_user(x, ptr) \ argument
204 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()
Datomic-instrumented.h1644 #define xchg(ptr, ...) \ argument
1653 #define xchg_acquire(ptr, ...) \ argument
1662 #define xchg_release(ptr, ...) \ argument
1671 #define xchg_relaxed(ptr, ...) \ argument
1680 #define cmpxchg(ptr, ...) \ argument
1689 #define cmpxchg_acquire(ptr, ...) \ argument
1698 #define cmpxchg_release(ptr, ...) \ argument
1707 #define cmpxchg_relaxed(ptr, ...) \ argument
1716 #define cmpxchg64(ptr, ...) \ argument
1725 #define cmpxchg64_acquire(ptr, ...) \ argument
[all …]
/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/net/netns/
Dgeneric.h35 void *ptr[0]; member
42 void *ptr; in net_generic() local
/include/linux/sunrpc/
Dxdr.h161 xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len) in xdr_decode_opaque_fixed()
358 xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) in xdr_stream_encode_opaque_inline()
383 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
404 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
450 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
472 xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) in xdr_stream_decode_opaque_fixed()
499 xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) in xdr_stream_decode_opaque_inline()
/include/uapi/linux/
Drseq.h112 __u64 ptr; member
122 } ptr; member
/include/trace/events/
Dkmem.h323 static unsigned int __maybe_unused mm_ptr_to_hash(const void *ptr) in mm_ptr_to_hash()

1234