memset(res, 0, sizeof(*res)); 
struct resource * __request_region(struct resource *parent, unsigned long start, unsigned long n, const char *name){	struct resource *res = kmalloc(sizeof(*res), GFP_KERNEL);	if (res) {		memset(res, 0, sizeof(*res));		res->name = name;		res->start = start;		res->end = start + n - 1;		res->flags = IORESOURCE_BUSY;		write_lock(&resource_lock);		for (;;) {			struct resource *conflict;			conflict = __request_resource(parent, res);			if (!conflict)				break;			if (conflict != parent) {				parent = conflict;				if (!(conflict->flags & IORESOURCE_BUSY))					continue;			}			/* Uhhuh, that didn't work out.. */			kfree(res);			res = NULL;			break;		}		write_unlock(&resource_lock);	}	return res;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/dd3927105b6f65afb7dac17682172cdfb86d3f00/resource.c/clean/kernel/resource.c