/* Print the information for an unreferenced object to the seq file.  */
static int kmemleak_seq_show(struct seq_file *seq, void *v)
/* Print the information for an unreferenced object to the seq file.  */
static int kmemleak_seq_show(struct seq_file *seq, void *v)
{
	struct kmemleak_object *object = v;
	unsigned long flags;
	spin_lock_irqsave(&object->lock, flags);
	if ((object->flags & OBJECT_REPORTED) && unreferenced_object(object))
		print_unreferenced(seq, object);
	spin_unlock_irqrestore(&object->lock, flags);
	return 0;
}