Home
last modified time | relevance | path

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

12345

/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()
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 …]
Dif_tun.h19 void *ptr; member
30 static inline bool tun_is_xdp_frame(void *ptr) in tun_is_xdp_frame()
38 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
56 static inline bool tun_is_xdp_frame(void *ptr) in tun_is_xdp_frame()
64 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
68 static inline void tun_ptr_free(void *ptr) in tun_ptr_free()
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()
Dcompiler-intel.h17 #define barrier_data(ptr) barrier() argument
19 #define RELOC_HIDE(ptr, off) \ argument
Dkasan.h220 static __always_inline void kasan_kfree_large(void *ptr) in kasan_kfree_large()
227 static __always_inline void kasan_slab_free_mempool(void *ptr) in kasan_slab_free_mempool()
255 static __always_inline void * __must_check kasan_kmalloc_large(const void *ptr, in kasan_kmalloc_large()
319 static inline void kasan_kfree_large(void *ptr) {} in kasan_kfree_large()
320 static inline void kasan_slab_free_mempool(void *ptr) {} in kasan_slab_free_mempool()
331 static inline void *kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large()
363 static inline void kasan_record_aux_stack(void *ptr) {} in kasan_record_aux_stack()
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.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.h329 #define virtio_cread(vdev, structname, member, ptr) \ argument
358 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
393 #define virtio_cread_le(vdev, structname, member, ptr) \ argument
421 #define virtio_cwrite_le(vdev, structname, member, ptr) \ argument
541 #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ argument
552 #define virtio_cread_le_feature(vdev, fbit, structname, member, 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.h510 #define list_entry(ptr, type, member) \ argument
521 #define list_first_entry(ptr, type, member) \ argument
532 #define list_last_entry(ptr, type, member) \ argument
543 #define list_first_entry_or_null(ptr, type, member) ({ \ argument
791 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument
972 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
981 #define hlist_entry_safe(ptr, type, member) \ argument
/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/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.h143 #define __put_user(x, ptr) \ argument
163 #define put_user(x, ptr) \ argument
174 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
185 #define __get_user(x, ptr) \ argument
225 #define get_user(x, ptr) \ argument
235 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.h1645 #define xchg(ptr, ...) \ argument
1654 #define xchg_acquire(ptr, ...) \ argument
1663 #define xchg_release(ptr, ...) \ argument
1672 #define xchg_relaxed(ptr, ...) \ argument
1681 #define cmpxchg(ptr, ...) \ argument
1690 #define cmpxchg_acquire(ptr, ...) \ argument
1699 #define cmpxchg_release(ptr, ...) \ argument
1708 #define cmpxchg_relaxed(ptr, ...) \ argument
1717 #define cmpxchg64(ptr, ...) \ argument
1726 #define cmpxchg64_acquire(ptr, ...) \ 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
Dgeneric.h13 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ argument
21 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ argument
29 #define __put_unaligned_le(val, ptr) ({ \ argument
50 #define __put_unaligned_be(val, ptr) ({ \ argument
/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.h158 xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len) in xdr_decode_opaque_fixed()
399 xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) in xdr_stream_encode_opaque_inline()
424 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
445 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
517 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
539 xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) in xdr_stream_decode_opaque_fixed()
566 xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) in xdr_stream_decode_opaque_inline()
/include/trace/events/
Dkmem.h323 static unsigned int __maybe_unused mm_ptr_to_hash(const void *ptr) in mm_ptr_to_hash()

12345