/include/linux/ |
D | kmemleak.h | 40 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 48 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() 54 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() 64 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() 68 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 73 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu() 77 static inline void kmemleak_free(const void *ptr) in kmemleak_free() 80 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part() 83 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() 86 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 | list_nulls.h | 24 #define INIT_HLIST_NULLS_HEAD(ptr, nulls) \ argument 27 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) argument 33 static inline int is_a_nulls(const struct hlist_nulls_node *ptr) in is_a_nulls() 44 static inline unsigned long get_nulls_value(const struct hlist_nulls_node *ptr) in get_nulls_value()
|
D | uaccess.h | 113 #define unsafe_get_user(x, ptr, err) do { if (unlikely(__get_user(x, ptr))) goto err; } while (0) argument 114 #define unsafe_put_user(x, ptr, err) do { if (unlikely(__put_user(x, ptr))) goto err; } while (0) argument
|
D | hash.h | 88 static inline unsigned long hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() 93 static inline u32 hash32_ptr(const void *ptr) in hash32_ptr()
|
D | rbtree.h | 50 #define rb_entry(ptr, type, member) container_of(ptr, type, member) argument 88 #define rb_entry_safe(ptr, type, member) \ argument
|
D | percpu-defs.h | 204 #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
|
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 597 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument 688 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument 697 #define hlist_entry_safe(ptr, type, member) \ argument
|
D | adfs_fs.h | 11 static inline int adfs_checkbblk(unsigned char *ptr) in adfs_checkbblk()
|
D | rhashtable.h | 27 #define INIT_HASH_HEAD(ptr) ((ptr)->next = NULL) argument 122 #define rht_entry(ptr, type, member) container_of(ptr, type, member) argument 123 #define rht_entry_safe(ptr, type, member) \ argument
|
D | compiler-intel.h | 19 #define RELOC_HIDE(ptr, off) \ argument
|
D | virtio_config.h | 156 #define virtio_cread(vdev, structname, member, ptr) \ argument 185 #define virtio_cwrite(vdev, structname, member, ptr) \ argument 280 #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ argument
|
D | list_bl.h | 40 #define INIT_HLIST_BL_HEAD(ptr) \ argument 49 #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) argument
|
/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 96 #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 | 144 #define __put_user(x, ptr) \ argument 164 #define put_user(x, ptr) \ argument 175 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn() 187 #define __get_user(x, ptr) \ argument 227 #define get_user(x, ptr) \ argument 237 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
|
D | cmd.h | 39 u64 ptr; member
|
/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 | 57 static __inline void drm_free_large(void *ptr) in drm_free_large()
|
/include/sound/ |
D | pcm-indirect.h | 93 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_playback_pointer() 158 struct snd_pcm_indirect *rec, unsigned int ptr) in snd_pcm_indirect_capture_pointer()
|