/* Objects are considered unreferenced only if their color is white, they have not be deleted and have a minimum age to avoid false positives caused by pointers temporarily stored in CPU registers.  */
static bool unreferenced_object(struct kmemleak_object *object)
/* Objects are considered unreferenced only if their color is white, they have not be deleted and have a minimum age to avoid false positives caused by pointers temporarily stored in CPU registers.  */
static bool unreferenced_object(struct kmemleak_object *object)
{
	return (color_white(object) && object->flags & OBJECT_ALLOCATED) &&
		time_before_eq(object->jiffies + jiffies_min_age,
			       jiffies_last_scan);
}