Lines Matching refs:kmemleak_enabled
202 static int kmemleak_enabled = 1; variable
892 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_alloc()
917 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_alloc_percpu()
941 if (kmemleak_enabled) { in kmemleak_vmalloc()
978 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_free_part()
1017 if (!kmemleak_enabled || IS_ERR_OR_NULL(ptr)) in kmemleak_update_trace()
1048 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_not_leak()
1066 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_ignore()
1086 if (kmemleak_enabled && ptr && size && !IS_ERR(ptr)) in kmemleak_scan_area()
1104 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) in kmemleak_no_scan()
1208 if (!kmemleak_enabled) in scan_should_stop()
1784 if (kmemleak_enabled) in kmemleak_write()
1791 if (!kmemleak_enabled) { in kmemleak_write()
1895 kmemleak_enabled = 0; in kmemleak_disable()