Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dslab.h393 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc;
394 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
417 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc;
418 …kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __malloc;
432 … void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __malloc;
437 int node, size_t size) __assume_slab_alignment __malloc;
470 …void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc;
473 …kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc;
Dcompiler_attributes.h170 #define __malloc __attribute__((__malloc__)) macro
Dmempool.h48 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
Ddevice.h872 int nid, const char *name) __malloc;
879 int nid) __malloc;
911 extern void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __malloc;
914 va_list ap) __malloc;
916 char *devm_kasprintf(struct device *dev, gfp_t gfp, const char *fmt, ...) __malloc;
937 extern char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
Dkernel.h486 extern __printf(2, 3) __malloc
488 extern __printf(2, 0) __malloc
Dstring.h182 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
/Linux-v5.4/include/rdma/
Duverbs_ioctl.h875 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
878 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
884 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
912 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
917 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_ioctl.c105 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()