Searched refs:kmemleak_enabled (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/mm/
H A Dkmemleak.c204 static int kmemleak_enabled; variable
861 if (!kmemleak_enabled || !log->ptr || IS_ERR(log->ptr)) early_alloc()
914 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_alloc()
941 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_alloc_percpu()
981 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_free_part()
1024 if (!kmemleak_enabled || IS_ERR_OR_NULL(ptr)) kmemleak_update_trace()
1055 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_not_leak()
1075 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_ignore()
1097 if (kmemleak_enabled && ptr && size && !IS_ERR(ptr)) kmemleak_scan_area()
1117 if (kmemleak_enabled && ptr && !IS_ERR(ptr)) kmemleak_no_scan()
1147 if (!kmemleak_enabled) scan_should_stop()
1711 if (kmemleak_enabled) kmemleak_write()
1718 if (!kmemleak_enabled) { kmemleak_write()
1816 kmemleak_enabled = 0; kmemleak_disable()
1888 kmemleak_enabled = 1; kmemleak_init()

Completed in 48 milliseconds