Lines Matching refs:str
76 * @str: the pointer to the string to delimit.
83 static char __init *str_field_delimit(char **str, char separator)
88 *str = skip_spaces(*str);
89 s = strchr(*str, separator);
93 *str = strim(*str);
100 * @str: the pointer to a string with the format:
106 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str)
115 field[0] = str;
154 * @str: the pointer to a string with the format:
157 static int __init dm_parse_table(struct dm_device *dev, char *str)
159 char *table_entry = str;
162 DMDEBUG("parsing table \"%s\"", str);
181 * @str: the pointer to a string with the format:
187 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str)
194 field[0] = str;
229 * @str: the pointer to a string with the format:
232 static int __init dm_parse_devices(struct list_head *devices, char *str)
236 char *device = str;
238 DMDEBUG("parsing \"%s\"", str);
268 char *str;
278 str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL);
279 if (!str)
282 r = dm_parse_devices(&devices, str);
295 kfree(str);