| /include/linux/ |
| D | kmemleak.h | 47 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 55 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() 61 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 71 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() 75 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 80 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu() 84 static inline void kmemleak_free(const void *ptr) in kmemleak_free() 87 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part() 90 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() 93 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() [all …]
|
| D | err.h | 28 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 33 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 38 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 50 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() 56 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
|
| D | ptr_ring.h | 105 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce() 125 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce() 136 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq() 147 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any() 159 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh() 247 void *ptr; in __ptr_ring_consume() local 266 void *ptr; in ptr_ring_consume() local 277 void *ptr; in ptr_ring_consume_irq() local 289 void *ptr; in ptr_ring_consume_any() local 300 void *ptr; in ptr_ring_consume_bh() local [all …]
|
| D | list_nulls.h | 28 #define INIT_HLIST_NULLS_HEAD(ptr, nulls) \ argument 31 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) argument 37 static inline int is_a_nulls(const struct hlist_nulls_node *ptr) in is_a_nulls() 48 static inline unsigned long get_nulls_value(const struct hlist_nulls_node *ptr) in get_nulls_value()
|
| D | kasan.h | 75 static inline void kasan_unpoison_slab(const void *ptr) { ksize(ptr); } in kasan_unpoison_slab() 108 static inline void kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) {} in kasan_kmalloc_large() 109 static inline void kasan_kfree_large(const void *ptr) {} in kasan_kfree_large() 110 static inline void kasan_poison_kfree(void *ptr) {} in kasan_poison_kfree() 126 static inline void kasan_unpoison_slab(const void *ptr) { } in kasan_unpoison_slab()
|
| D | compiler-intel.h | 22 #define barrier_data(ptr) barrier() argument 24 #define RELOC_HIDE(ptr, off) \ argument
|
| D | hash.h | 88 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()
|
| D | uaccess.h | 117 #define unsafe_get_user(x, ptr, err) do { if (unlikely(__get_user(x, ptr))) goto err; } while (0) argument 118 #define unsafe_put_user(x, ptr, err) do { if (unlikely(__put_user(x, ptr))) goto err; } while (0) argument
|
| D | list.h | 351 #define list_entry(ptr, type, member) \ argument 362 #define list_first_entry(ptr, type, member) \ argument 373 #define list_last_entry(ptr, type, member) \ argument 384 #define list_first_entry_or_null(ptr, type, member) ({ \ argument 600 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument 707 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument 716 #define hlist_entry_safe(ptr, type, member) \ argument
|
| D | rculist.h | 278 #define list_entry_rcu(ptr, type, member) \ argument 314 #define list_first_or_null_rcu(ptr, type, member) \ argument 333 #define list_next_or_null_rcu(head, ptr, type, member) \ argument 371 #define list_entry_lockless(ptr, type, member) \ argument
|
| D | rbtree.h | 51 #define rb_entry(ptr, type, member) container_of(ptr, type, member) argument 100 #define rb_entry_safe(ptr, type, member) \ argument
|
| D | llist.h | 87 #define llist_entry(ptr, type, member) \ argument 104 #define member_address_is_nonnull(ptr, member) \ argument
|
| D | percpu-defs.h | 234 #define __verify_pcpu_ptr(ptr) \ argument 250 #define per_cpu_ptr(ptr, cpu) \ argument 256 #define raw_cpu_ptr(ptr) \ argument 263 #define this_cpu_ptr(ptr) \ argument 269 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument 280 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) argument 281 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) argument 282 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) argument
|
| D | thread_info.h | 92 static __always_inline void check_object_size(const void *ptr, unsigned long n, in check_object_size() 99 static inline void check_object_size(const void *ptr, unsigned long n, in check_object_size()
|
| D | adfs_fs.h | 11 static inline int adfs_checkbblk(unsigned char *ptr) in adfs_checkbblk()
|
| /include/asm-generic/ |
| D | cmpxchg.h | 25 unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() 82 #define xchg(ptr, x) ({ \ argument 95 #define cmpxchg_local(ptr, o, n) ({ \ argument 102 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument 105 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument 106 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
|
| D | uaccess-unaligned.h | 8 #define __get_user_unaligned(x, ptr) \ argument 20 #define __put_user_unaligned(x, ptr) \ argument
|
| D | uaccess.h | 141 #define __put_user(x, ptr) \ argument 161 #define put_user(x, ptr) \ argument 172 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn() 184 #define __get_user(x, ptr) \ argument 224 #define get_user(x, ptr) \ argument 234 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
|
| D | cmpxchg-local.h | 14 static inline unsigned long __cmpxchg_local_generic(volatile void *ptr, in __cmpxchg_local_generic() 53 static inline u64 __cmpxchg64_local_generic(volatile void *ptr, in __cmpxchg64_local_generic()
|
| /include/linux/unaligned/ |
| D | generic.h | 10 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ argument 18 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ argument 26 #define __put_unaligned_le(val, ptr) ({ \ argument 47 #define __put_unaligned_be(val, ptr) ({ \ argument
|
| D | packed_struct.h | 12 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/ |
| D | doorbell.h | 52 #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/ |
| D | doorbell.h | 46 #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/ |
| D | generic.h | 31 void *ptr[0]; member 37 void *ptr; in net_generic() local
|
| /include/drm/ |
| D | drm_mem_util.h | 66 void *ptr = kmalloc(nmemb * size, in drm_malloc_gfp() local 76 static __inline void drm_free_large(void *ptr) in drm_free_large()
|