Home
last modified time | relevance | path

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

/include/linux/
Dsprintf.h17 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...);
18 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args);
Dmempool.h66 extern void *mempool_alloc_noprof(mempool_t *pool, gfp_t gfp_mask) __malloc;
70 extern void *mempool_alloc_preallocated(mempool_t *pool) __malloc;
Dcompiler_attributes.h171 #define __malloc __attribute__((__malloc__)) macro
Dcompiler_types.h424 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
427 # define __alloc_size(x, ...) __malloc
Dslab.h714 gfp_t flags) __assume_slab_alignment __malloc;
718 gfp_t gfpflags) __assume_slab_alignment __malloc;
774 int node) __assume_slab_alignment __malloc;
Dstring.h300 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
Dphy.h1913 __malloc;
/include/linux/device/
Ddevres.h20 void * __malloc
88 char * __malloc
91 char * __printf(3, 0) __malloc
93 char * __printf(3, 4) __malloc
/include/drm/
Ddrm_managed.h52 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/include/rdma/
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, in uverbs_alloc()
873 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
879 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle, in uverbs_kcalloc()
916 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
921 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()