Home
last modified time | relevance | path

Searched refs:__alloc_size (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/
Dvmalloc.h142 extern void *vmalloc(unsigned long size) __alloc_size(1);
143 extern void *vzalloc(unsigned long size) __alloc_size(1);
144 extern void *vmalloc_user(unsigned long size) __alloc_size(1);
145 extern void *vmalloc_node(unsigned long size, int node) __alloc_size(1);
146 extern void *vzalloc_node(unsigned long size, int node) __alloc_size(1);
147 extern void *vmalloc_32(unsigned long size) __alloc_size(1);
148 extern void *vmalloc_32_user(unsigned long size) __alloc_size(1);
149 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1);
153 const void *caller) __alloc_size(1);
155 int node, const void *caller) __alloc_size(1);
[all …]
Dslab.h443 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1);
469 __alloc_size(1);
474 __assume_kmalloc_alignment __alloc_size(3);
478 __alloc_size(4);
480 __alloc_size(1);
483 __alloc_size(1);
539 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) in kmalloc()
562 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
582 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
597 static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
[all …]
Dpercpu.h120 extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align) __alloc_size(1);
128 extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) __alloc_size(1);
129 extern void __percpu *__alloc_percpu(size_t size, size_t align) __alloc_size(1);
Dcompiler_types.h280 # define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc macro
283 # define __alloc_size(x, ...) __malloc macro
Dgfp.h292 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);