 #ifdef OFFLINE_SAMPLE samp_timer.expires = jiffies + (10 * HZ); add_timer(&samp_timer); #endif 
static int __init net_dev_init(void){	int i, rc = -ENOMEM;	BUG_ON(!dev_boot_phase);	net_random_init();	if (dev_proc_init())		goto out;	if (netdev_sysfs_init())		goto out;	INIT_LIST_HEAD(&ptype_all);	for (i = 0; i < 16; i++) 		INIT_LIST_HEAD(&ptype_base[i]);	for (i = 0; i < ARRAY_SIZE(dev_name_head); i++)		INIT_HLIST_HEAD(&dev_name_head[i]);	for (i = 0; i < ARRAY_SIZE(dev_index_head); i++)		INIT_HLIST_HEAD(&dev_index_head[i]);	/*	 *	Initialise the packet receive queues.	 */	for (i = 0; i < NR_CPUS; i++) {		struct softnet_data *queue;		queue = &per_cpu(softnet_data, i);		skb_queue_head_init(&queue->input_pkt_queue);		queue->throttle = 0;		queue->cng_level = 0;		queue->avg_blog = 10; /* arbitrary non-zero */		queue->completion_queue = NULL;		INIT_LIST_HEAD(&queue->poll_list);		set_bit(__LINK_STATE_START, &queue->backlog_dev.state);		queue->backlog_dev.weight = weight_p;		queue->backlog_dev.poll = process_backlog;		atomic_set(&queue->backlog_dev.refcnt, 1);	}#ifdef OFFLINE_SAMPLE	samp_timer.expires = jiffies + (10 * HZ);	add_timer(&samp_timer);#endif	dev_boot_phase = 0;	open_softirq(NET_TX_SOFTIRQ, net_tx_action, NULL);	open_softirq(NET_RX_SOFTIRQ, net_rx_action, NULL);	hotcpu_notifier(dev_cpu_callback, 0);	dst_init();	dev_mcast_init();	rc = 0;out:	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/34008d8c631d067caffa136313260525f3ae48a2/dev.c/clean/net/core/dev.c