Searched refs:__alloc_size (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | vmalloc.h | 140 extern void *vmalloc(unsigned long size) __alloc_size(1); 141 extern void *vzalloc(unsigned long size) __alloc_size(1); 142 extern void *vmalloc_user(unsigned long size) __alloc_size(1); 143 extern void *vmalloc_node(unsigned long size, int node) __alloc_size(1); 145 extern void *vmalloc_32(unsigned long size) __alloc_size(1); 146 extern void *vmalloc_32_user(unsigned long size) __alloc_size(1); 151 const void *caller) __alloc_size(1); 153 int node, const void *caller) __alloc_size(1); 154 void *vmalloc_huge(unsigned long size, gfp_t gfp_mask) __alloc_size(1); 157 extern void *vmalloc_array(size_t n, size_t size) __alloc_size(1, 2); [all …]
|
H A D | slab.h | 521 __alloc_size(1); 526 __assume_kmalloc_alignment __alloc_size(3); 530 __alloc_size(4); 532 __alloc_size(1); 535 __alloc_size(1); 591 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) in kmalloc() 672 unsigned long caller) __alloc_size(1); 719 static inline __alloc_size(1) void *kzalloc(size_t size, gfp_t flags) in kzalloc() 735 extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __alloc_size(1); 736 static inline __alloc_size(1) void *kvmalloc(size_t size, gfp_t flags) in kvmalloc() [all …]
|
H A D | percpu.h | 124 extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align) __alloc_size(1); 132 extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) __alloc_size(1); 133 extern void __percpu *__alloc_percpu(size_t size, size_t align) __alloc_size(1);
|
H A D | compiler_types.h | 359 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc macro 362 # define __alloc_size(x, ...) __malloc macro
|
H A D | gfp.h | 292 void *alloc_pages_exact(size_t size, gfp_t gfp_mask) __alloc_size(1); 294 __meminit void *alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) __alloc_size(2);
|
H A D | device.h | 305 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __alloc_size(2);
|