Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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);
H A Dmempool.h65 void *mempool_alloc_noprof(struct mempool *pool, gfp_t gfp_mask) __malloc;
73 void *mempool_alloc_preallocated(struct mempool *pool) __malloc;
H A Dcompiler_types.h515 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
518 # define __alloc_size(x, ...) __malloc
H A Dslab.h767 gfp_t flags) __assume_slab_alignment __malloc;
771 gfp_t gfpflags) __assume_slab_alignment __malloc;
827 int node) __assume_slab_alignment __malloc;
840 struct slab_sheaf *sheaf) __assume_slab_alignment __malloc;
H A Dcompiler_attributes.h171 #define __malloc __attribute__((__malloc__)) macro
H A Dstring.h301 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
/linux/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, 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()
/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c109 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()