Searched refs:__malloc (Results 1 – 12 of 12) sorted by relevance
| /linux/include/linux/ |
| H A D | sprintf.h | 17 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...); 18 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args);
|
| H A D | mempool.h | 65 void *mempool_alloc_noprof(struct mempool *pool, gfp_t gfp_mask) __malloc; 73 void *mempool_alloc_preallocated(struct mempool *pool) __malloc;
|
| H A D | slab.h | 774 gfp_t flags) __assume_slab_alignment __malloc; 778 gfp_t gfpflags) __assume_slab_alignment __malloc; 834 int node) __assume_slab_alignment __malloc; 847 struct slab_sheaf *sheaf) __assume_slab_alignment __malloc;
|
| H A D | compiler_types.h | 504 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc 507 # define __alloc_size(x, ...) __malloc
|
| H A D | compiler_attributes.h | 171 #define __malloc __attribute__((__malloc__)) macro
|
| H A D | string.h | 301 extern char *kstrdup(const char *s, gfp_t gfp) __malloc;
|
| /linux/include/linux/device/ |
| H A D | devres.h | 22 void * __malloc 92 char * __malloc 95 char * __printf(3, 0) __malloc 97 char * __printf(3, 4) __malloc
|
| /linux/include/rdma/ |
| H A D | uverbs_ioctl.h | 864 __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/Documentation/translations/zh_TW/process/ |
| H A D | coding-style.rst | 445 char *fmt, ...) __printf(4, 5) __malloc; 458 - 函數行爲屬性(上方的 ``__malloc`` ) 465 size_t size, u8 count, char *fmt, ...) __malloc
|
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_ioctl.c | 109 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
|
| /linux/Documentation/process/ |
| H A D | coding-style.rst | 498 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 D | coding-style.rst | 510 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
|