Lines Matching defs:type_name
50 * @type_name
55 * Log modules are named "dm-log-" followed by the 'type_name'.
57 * This function will first try the module "dm-log-<type_name>",
58 * then truncate 'type_name' on the last '-' and try again.
60 * For example, if type_name was "clustered-disk", it would search
65 static struct dm_dirty_log_type *get_type(const char *type_name)
70 if (!type_name)
73 log_type = _get_dirty_log_type(type_name);
77 type_name_dup = kstrdup(type_name, GFP_KERNEL);
80 type_name);
85 !(log_type = _get_dirty_log_type(type_name))) {
93 DMWARN("Module for logging type \"%s\" not found.", type_name);
147 struct dm_dirty_log *dm_dirty_log_create(const char *type_name,
159 type = get_type(type_name);