Lines Matching defs:type_name
52 * @type_name
57 * Exstore modules are named "dm-exstore-" followed by the 'type_name'.
59 * This function will first try the module "dm-exstore-<type_name>",
60 * then truncate 'type_name' on the last '-' and try again.
62 * For example, if type_name was "clustered-shared", it would search
65 * 'dm-exception-store-<type_name>' is too long of a name in my
67 * containing exception store implementations be 'dm-exstore-<type_name>'.
73 static struct dm_exception_store_type *get_type(const char *type_name)
78 type = _get_exception_store_type(type_name);
82 type_name_dup = kstrdup(type_name, GFP_KERNEL);
84 DMERR("No memory left to attempt load for \"%s\"", type_name);
89 !(type = _get_exception_store_type(type_name))) {
97 DMWARN("Module for exstore type \"%s\" not found.", type_name);