Searched refs:__alloc_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/include/linux/ |
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); 144 extern void *vzalloc_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); 147 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1); 151 const void *caller) __alloc_size(1); 153 int node, const void *caller) __alloc_size(1); [all …]
|
D | slab.h | 487 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1); 520 __alloc_size(1); 525 __assume_kmalloc_alignment __alloc_size(3); 529 __alloc_size(4); 531 __alloc_size(1); 534 __alloc_size(1); 590 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) in kmalloc() 606 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node() 628 static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array() 665 static inline __alloc_size(1, 2) void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc() [all …]
|
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);
|
D | compiler_types.h | 348 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc macro 351 # define __alloc_size(x, ...) __malloc macro
|
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);
|
D | device.h | 305 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __alloc_size(2);
|