Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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);
H A Dcompiler_types.h430 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
433 # define __alloc_size(x, ...) __malloc
H A Ddevice.h289 int nid, const char *name) __malloc;
323 const char *fmt, va_list ap) __malloc;
325 const char *fmt, ...) __malloc;
357 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __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/include/drm/
H A Ddrm_managed.h52 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/linux/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst445 char *fmt, ...) __printf(4, 5) __malloc;
458 - 函數行爲屬性(上方的 ``__malloc`` )
465 size_t size, u8 count, char *fmt, ...) __malloc
/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c109 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
/linux/Documentation/process/
H A 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/Documentation/translations/sp_SP/process/
H A 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