d = kcalloc(1, sizeof *d, GFP_ATOMIC); 
d = kzalloc(sizeof *d, GFP_ATOMIC); 
aoedev_newdev(ulong nframes){	struct aoedev *d;	struct frame *f, *e;	d = kcalloc(1, sizeof *d, GFP_ATOMIC);	if (d == NULL)		return NULL;	f = kcalloc(nframes, sizeof *f, GFP_ATOMIC);	if (f == NULL) {		kfree(d);		return NULL;	}	d->nframes = nframes;	d->frames = f;	e = f + nframes;	for (; f<e; f++)		f->tag = FREETAG;	spin_lock_init(&d->lock);	init_timer(&d->timer);	d->bufpool = NULL;	/* defer to aoeblk_gdalloc */	INIT_LIST_HEAD(&d->bufq);	d->next = devlist;	devlist = d;	return d;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/82ca76b6b160b6fce46f78c069f87fe1a4dc0778/aoedev.c/buggy/drivers/block/aoe/aoedev.c