Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dslab.h401 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc;
402 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
425 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc;
426 …kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __malloc;
440 … void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __malloc;
445 int node, size_t size) __assume_slab_alignment __malloc;
478 …void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc;
481 …kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) __assume_page_alignment __malloc;
H A Ddevice.h171 int nid, const char *name) __malloc;
178 gfp_t gfp, int nid) __malloc;
209 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __malloc;
213 const char *fmt, va_list ap) __malloc;
215 const char *fmt, ...) __malloc;
236 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
H A Dmempool.h48 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
H A Dcompiler_attributes.h179 #define __malloc __attribute__((__malloc__)) macro
H A Dkernel.h486 extern __printf(2, 3) __malloc
488 extern __printf(2, 0) __malloc
H A Dstring.h176 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
H A Dphy.h1475 __malloc;
/OK3568_Linux_fs/kernel/include/rdma/
H A Duverbs_ioctl.h851 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
854 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
860 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
866 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle, in uverbs_kcalloc()
898 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc()
903 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_managed.h49 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Duverbs_ioctl.c106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()