Lines Matching refs:str
89 static char __init *str_field_delimit(char **str, char separator) in str_field_delimit() argument
94 *str = skip_spaces(*str); in str_field_delimit()
95 s = strchr(*str, separator); in str_field_delimit()
99 *str = strim(*str); in str_field_delimit()
112 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) in dm_parse_table_entry() argument
121 field[0] = str; in dm_parse_table_entry()
163 static int __init dm_parse_table(struct dm_device *dev, char *str) in dm_parse_table() argument
165 char *table_entry = str; in dm_parse_table()
168 DMDEBUG("parsing table \"%s\"", str); in dm_parse_table()
193 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) in dm_parse_device_entry() argument
200 field[0] = str; in dm_parse_device_entry()
238 static int __init dm_parse_devices(struct list_head *devices, char *str) in dm_parse_devices() argument
242 char *device = str; in dm_parse_devices()
244 DMDEBUG("parsing \"%s\"", str); in dm_parse_devices()
274 char *str; in dm_init_init() local
284 str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL); in dm_init_init()
285 if (!str) in dm_init_init()
288 r = dm_parse_devices(&devices, str); in dm_init_init()
312 kfree(str); in dm_init_init()