Searched refs:__malloc (Results 1 - 11 of 11) sorted by relevance

/linux-master/include/linux/
H A Dsprintf.h16 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...);
17 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args);
H A Dmempool.h53 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
54 extern void *mempool_alloc_preallocated(mempool_t *pool) __malloc;
H A Dcompiler_types.h353 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
356 # define __alloc_size(x, ...) __malloc
H A Dslab.h528 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) __assume_slab_alignment __malloc; variable
530 gfp_t gfpflags) __assume_slab_alignment __malloc; variable
551 __malloc; variable
H A Dcompiler_attributes.h184 #define __malloc __attribute__((__malloc__)) macro
H A Ddevice.h274 int nid, const char *name) __malloc;
308 const char *fmt, va_list ap) __malloc;
310 const char *fmt, ...) __malloc;
342 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
H A Dstring.h282 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
H A Dphy.h1848 __malloc;
/linux-master/include/drm/
H A Ddrm_managed.h52 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/linux-master/include/rdma/
H A Duverbs_ioctl.h864 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
867 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle,
873 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle,
879 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle,
916 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle,
921 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle,
/linux-master/drivers/infiniband/core/
H A Duverbs_ioctl.c109 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,

Completed in 327 milliseconds