24 #ifdef CONFIG_DEBUG_KMEMLEAK
33 extern
void kmemleak_padding(
const void *ptr,
unsigned long offset,
40 static
inline void kmemleak_alloc_recursive(
const void *ptr,
size_t size,
41 int min_count,
unsigned long flags,
48 static inline void kmemleak_free_recursive(
const void *ptr,
unsigned long flags)
54 static inline void kmemleak_erase(
void **ptr)
64 static inline void kmemleak_alloc(
const void *ptr,
size_t size,
int min_count,
68 static inline void kmemleak_alloc_recursive(
const void *ptr,
size_t size,
69 int min_count,
unsigned long flags,
82 static inline void kmemleak_free_recursive(
const void *ptr,
unsigned long flags)
97 static inline void kmemleak_erase(
void **ptr)