 memset(mem, 0, size); 
static int add_memory_block(unsigned long node_id, struct mem_section *section,		     unsigned long state, int phys_device){	size_t size = sizeof(struct memory_block);	struct memory_block *mem = kmalloc(size, GFP_KERNEL);	int ret = 0;	if (!mem)		return -ENOMEM;	memset(mem, 0, size);	mem->phys_index = __section_nr(section);	mem->state = state;	init_MUTEX(&mem->state_sem);	mem->phys_device = phys_device;	ret = register_memory(mem, section, NULL);	if (!ret)		ret = mem_create_simple_file(mem, phys_index);	if (!ret)		ret = mem_create_simple_file(mem, state);	if (!ret)		ret = mem_create_simple_file(mem, phys_device);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0b0acbec1bed75ec1e1daa7f7006323a2a2b2844/memory.c/clean/drivers/base/memory.c