Lines Matching refs:next
38 struct dm_setup_target *next; member
53 static size_t __init get_dm_option(char *str, char **next, char sep) in get_dm_option() argument
72 if (!next) in get_dm_option()
77 *next = endp; in get_dm_option()
79 *next = endp + 1; in get_dm_option()
101 target = target->next; in dm_setup_cleanup()
111 char *next = NULL; in dm_setup_parse_device_args() local
115 len = get_dm_option(str, &next, DM_FIELD_SEP); in dm_setup_parse_device_args()
122 str = skip_spaces(next); in dm_setup_parse_device_args()
125 len = get_dm_option(str, &next, DM_FIELD_SEP); in dm_setup_parse_device_args()
132 str = skip_spaces(next); in dm_setup_parse_device_args()
209 char *next = NULL; in dm_setup_parse_targets() local
225 (*target)->begin = simple_strtoull(str, &next, 10); in dm_setup_parse_targets()
226 if (!next || *next != DM_FIELD_SEP) { in dm_setup_parse_targets()
231 str = skip_spaces(next + 1); in dm_setup_parse_targets()
233 (*target)->length = simple_strtoull(str, &next, 10); in dm_setup_parse_targets()
234 if (!next || *next != DM_FIELD_SEP) { in dm_setup_parse_targets()
239 str = skip_spaces(next + 1); in dm_setup_parse_targets()
241 len = get_dm_option(str, &next, DM_FIELD_SEP); in dm_setup_parse_targets()
248 str = skip_spaces(next); in dm_setup_parse_targets()
250 len = get_dm_option(str, &next, DM_LINE_SEP); in dm_setup_parse_targets()
257 str = skip_spaces(next); in dm_setup_parse_targets()
265 target = &((*target)->next); in dm_setup_parse_targets()
350 target = target->next; in dm_setup_drive()