Home
last modified time | relevance | path

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

/include/linux/
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);
Dmempool.h53 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
Dcompiler_types.h359 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
362 # define __alloc_size(x, ...) __malloc
Dslab.h500 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) __assume_slab_alignment __malloc;
502 gfp_t gfpflags) __assume_slab_alignment __malloc;
523 __malloc;
Dcompiler_attributes.h184 #define __malloc __attribute__((__malloc__)) macro
Ddevice.h276 int nid, const char *name) __malloc;
310 const char *fmt, va_list ap) __malloc;
312 const char *fmt, ...) __malloc;
344 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
Dstring.h216 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
Dphy.h1818 __malloc;
/include/drm/
Ddrm_managed.h48 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/include/rdma/
Duverbs_ioctl.h862 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
865 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
871 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
877 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle, in uverbs_kcalloc()
914 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
919 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()