dev->db_tab->npages     = dev->uar_table.uarc_size / PAGE_SIZE; 
dev->db_tab->npages     = dev->uar_table.uarc_size / 4096; 
int mthca_init_db_tab(struct mthca_dev *dev){	int i;	if (dev->hca_type != ARBEL_NATIVE)		return 0;	dev->db_tab = kmalloc(sizeof *dev->db_tab, GFP_KERNEL);	if (!dev->db_tab)		return -ENOMEM;	init_MUTEX(&dev->db_tab->mutex);	dev->db_tab->npages     = dev->uar_table.uarc_size / PAGE_SIZE;	dev->db_tab->max_group1 = 0;	dev->db_tab->min_group2 = dev->db_tab->npages - 1;	dev->db_tab->page = kmalloc(dev->db_tab->npages *				    sizeof *dev->db_tab->page,				    GFP_KERNEL);	if (!dev->db_tab->page) {		kfree(dev->db_tab);		return -ENOMEM;	}	for (i = 0; i < dev->db_tab->npages; ++i)		dev->db_tab->page[i].db_rec = NULL;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/85665c9816a2b38866e03c019bf5c2e47eb9fb04/mthca_memfree.c/buggy/drivers/infiniband/hw/mthca/mthca_memfree.c