Searched refs:__malloc (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/include/linux/ |
D | slab.h | 389 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc; 390 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc; 413 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc; 414 …kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __malloc; 428 … void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __malloc; 433 int node, size_t size) __assume_slab_alignment __malloc; 466 …void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc; 469 …kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc;
|
D | device.h | 170 int nid, const char *name) __malloc; 177 gfp_t gfp, int nid) __malloc; 208 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __malloc; 212 const char *fmt, va_list ap) __malloc; 214 const char *fmt, ...) __malloc; 235 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
|
D | compiler_attributes.h | 166 #define __malloc __attribute__((__malloc__)) macro
|
D | mempool.h | 48 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
|
D | kernel.h | 486 extern __printf(2, 3) __malloc 488 extern __printf(2, 0) __malloc
|
D | string.h | 176 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
|
D | phy.h | 1464 __malloc;
|
/Linux-v5.10/include/rdma/ |
D | uverbs_ioctl.h | 851 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, 854 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc() 860 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc() 888 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc() 893 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
|
/Linux-v5.10/include/drm/ |
D | drm_managed.h | 49 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
|
/Linux-v5.10/drivers/infiniband/core/ |
D | uverbs_ioctl.c | 106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
|