Home
last modified time | relevance | path

Searched refs:__malloc (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/include/linux/
Dslab.h389 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;
Ddevice.h170 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;
Dcompiler_attributes.h166 #define __malloc __attribute__((__malloc__)) macro
Dmempool.h48 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
Dkernel.h486 extern __printf(2, 3) __malloc
488 extern __printf(2, 0) __malloc
Dstring.h176 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
Dphy.h1464 __malloc;
/Linux-v5.10/include/rdma/
Duverbs_ioctl.h851 __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/
Ddrm_managed.h49 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/Linux-v5.10/drivers/infiniband/core/
Duverbs_ioctl.c106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()