Lines Matching refs:kmemleak_enabled
204 static int kmemleak_enabled = 1; variable
906 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_alloc()
931 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_alloc_percpu()
955 if (kmemleak_enabled) { in kmemleak_vmalloc()
992 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_free_part()
1031 if (!kmemleak_enabled || IS_ERR_OR_NULL(ptr)) in kmemleak_update_trace()
1062 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_not_leak()
1080 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_ignore()
1100 if (kmemleak_enabled && ptr && size && !IS_ERR(ptr)) in kmemleak_scan_area()
1118 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_no_scan()
1224 if (!kmemleak_enabled) in scan_should_stop()
1801 if (kmemleak_enabled) in kmemleak_write()
1808 if (!kmemleak_enabled) { in kmemleak_write()
1918 kmemleak_enabled = 0; in kmemleak_disable()