int __printk_ratelimit(int ratelimit_jiffies, int ratelimit_burst){	static DEFINE_SPINLOCK(ratelimit_lock);	static unsigned long toks = 10*5*HZ;	static unsigned long last_msg;	static int missed;	unsigned long flags;	unsigned long now = jiffies;	spin_lock_irqsave(&ratelimit_lock, flags);	toks += now - last_msg;	last_msg = now;	if (toks > (ratelimit_burst * ratelimit_jiffies))		toks = ratelimit_burst * ratelimit_jiffies;	if (toks >= ratelimit_jiffies) {		int lost = missed;		missed = 0;		toks -= ratelimit_jiffies;		spin_unlock_irqrestore(&ratelimit_lock, flags);		if (lost)			printk(KERN_WARNING "printk: %d messages suppressed.\n", lost);		return 1;	}	missed++;	spin_unlock_irqrestore(&ratelimit_lock, flags);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/40dc565122ed1e180a0637f88cdfca734d33db78/printk.c/buggy/kernel/printk.c