Lines Matching refs:ptr

29 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count,
31 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size,
33 extern void kmemleak_free(const void *ptr) __ref;
34 extern void kmemleak_free_part(const void *ptr, size_t size) __ref;
35 extern void kmemleak_free_percpu(const void __percpu *ptr) __ref;
36 extern void kmemleak_update_trace(const void *ptr) __ref;
37 extern void kmemleak_not_leak(const void *ptr) __ref;
38 extern void kmemleak_ignore(const void *ptr) __ref;
39 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
40 extern void kmemleak_no_scan(const void *ptr) __ref;
42 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() argument
47 kmemleak_alloc(ptr, size, min_count, gfp); in kmemleak_alloc_recursive()
50 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() argument
53 kmemleak_free(ptr); in kmemleak_free_recursive()
56 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() argument
58 *ptr = NULL; in kmemleak_erase()
66 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() argument
70 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() argument
75 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu() argument
79 static inline void kmemleak_free(const void *ptr) in kmemleak_free() argument
82 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part() argument
85 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive() argument
88 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu() argument
91 static inline void kmemleak_update_trace(const void *ptr) in kmemleak_update_trace() argument
94 static inline void kmemleak_not_leak(const void *ptr) in kmemleak_not_leak() argument
97 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore() argument
100 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area() argument
103 static inline void kmemleak_erase(void **ptr) in kmemleak_erase() argument
106 static inline void kmemleak_no_scan(const void *ptr) in kmemleak_no_scan() argument