Home
last modified time | relevance | path

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

/linux-6.15/include/linux/device/
H A Ddevres.h20 void * __malloc
88 char * __malloc
91 char * __printf(3, 0) __malloc
93 char * __printf(3, 4) __malloc
/linux-6.15/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 Dmempool.h66 extern void *mempool_alloc_noprof(mempool_t *pool, gfp_t gfp_mask) __malloc;
70 extern void *mempool_alloc_preallocated(mempool_t *pool) __malloc;
H A Dcompiler_types.h442 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
445 # define __alloc_size(x, ...) __malloc
H A Dslab.h738 gfp_t flags) __assume_slab_alignment __malloc;
742 gfp_t gfpflags) __assume_slab_alignment __malloc;
798 int node) __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;
H A Dphy.h1910 __malloc;
/linux-6.15/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-6.15/include/drm/
H A Ddrm_managed.h52 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/linux-6.15/Documentation/translations/zh_CN/process/
H A Dcoding-style.rst442 char *fmt, ...) __printf(4, 5) __malloc;
455 - 函数行为属性(上方的 ``__malloc`` )
462 size_t size, u8 count, char *fmt, ...) __malloc
/linux-6.15/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-6.15/drivers/infiniband/core/
H A Duverbs_ioctl.c109 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
/linux-6.15/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-6.15/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
/linux-6.15/Documentation/translations/it_IT/process/
H A Dcoding-style.rst485 char *fmt, ...) __printf(4, 5) __malloc;
510 size_t size, u8 count, char *fmt, ...) __malloc