Lines Matching refs:str
81 * @str: the pointer to the string to delimit.
88 static char __init *str_field_delimit(char **str, char separator)
93 *str = skip_spaces(*str);
94 s = strchr(*str, separator);
98 *str = strim(*str);
105 * @str: the pointer to a string with the format:
111 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str)
120 field[0] = str;
159 * @str: the pointer to a string with the format:
162 static int __init dm_parse_table(struct dm_device *dev, char *str)
164 char *table_entry = str;
167 DMDEBUG("parsing table \"%s\"", str);
186 * @str: the pointer to a string with the format:
192 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str)
199 field[0] = str;
234 * @str: the pointer to a string with the format:
237 static int __init dm_parse_devices(struct list_head *devices, char *str)
241 char *device = str;
243 DMDEBUG("parsing \"%s\"", str);
273 char *str;
283 str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL);
284 if (!str)
287 r = dm_parse_devices(&devices, str);
313 kfree(str);