Home
last modified time | relevance | path

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

/linux-6.6.21/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);
Dcompiler_types.h348 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
351 # define __alloc_size(x, ...) __malloc
Dslab.h499 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) __assume_slab_alignment __malloc;
501 gfp_t gfpflags) __assume_slab_alignment __malloc;
522 __malloc;
Dmempool.h53 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
Ddevice.h275 int nid, const char *name) __malloc;
309 const char *fmt, va_list ap) __malloc;
311 const char *fmt, ...) __malloc;
343 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
Dcompiler_attributes.h184 #define __malloc __attribute__((__malloc__)) macro
Dstring.h216 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
Dphy.h1810 __malloc;
/linux-6.6.21/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()
/linux-6.6.21/include/drm/
Ddrm_managed.h48 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/linux-6.6.21/Documentation/translations/zh_CN/process/
Dcoding-style.rst442 char *fmt, ...) __printf(4, 5) __malloc;
455 - 函数行为属性(上方的 ``__malloc`` )
462 size_t size, u8 count, char *fmt, ...) __malloc
/linux-6.6.21/drivers/infiniband/core/
Duverbs_ioctl.c106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
/linux-6.6.21/Documentation/process/
Dcoding-style.rst498 char *fmt, ...) __printf(4, 5) __malloc;
512 - function behavior attributes (here, ``__malloc``)
521 size_t size, u8 count, char *fmt, ...) __malloc
/linux-6.6.21/Documentation/translations/sp_SP/process/
Dcoding-style.rst510 char *fmt, ...) __printf(4, 5) __malloc;
526 - atributos de comportamiento de la función (aquí, ``__malloc``)
536 size_t size, u8 count, char *fmt, ...) __malloc
/linux-6.6.21/Documentation/translations/it_IT/process/
Dcoding-style.rst485 char *fmt, ...) __printf(4, 5) __malloc;
510 size_t size, u8 count, char *fmt, ...) __malloc