alloc_memory_type
struct memory_dev_type *alloc_memory_type(int adistance);
EXPORT_SYMBOL_GPL(alloc_memory_type);
mtype = alloc_memory_type(adist);