Lines Matching defs:type_name
51 * @type_name
56 * Log modules are named "dm-log-" followed by the 'type_name'.
58 * This function will first try the module "dm-log-<type_name>",
59 * then truncate 'type_name' on the last '-' and try again.
61 * For example, if type_name was "clustered-disk", it would search
66 static struct dm_dirty_log_type *get_type(const char *type_name)
71 if (!type_name)
74 log_type = _get_dirty_log_type(type_name);
78 type_name_dup = kstrdup(type_name, GFP_KERNEL);
81 type_name);
86 !(log_type = _get_dirty_log_type(type_name))) {
94 DMWARN("Module for logging type \"%s\" not found.", type_name);
148 struct dm_dirty_log *dm_dirty_log_create(const char *type_name,
160 type = get_type(type_name);