Searched refs:currmap (Results 1 – 1 of 1) sorted by relevance
886 struct mapping_defn_t *currmap = NULL; in read_interfaces() local925 currmap = xzalloc(sizeof(*currmap)); in read_interfaces()928 currmap->match = xrealloc_vector(currmap->match, 4, currmap->n_matches); in read_interfaces()929 currmap->match[currmap->n_matches++] = xstrdup(first_word); in read_interfaces()939 *where = currmap; in read_interfaces()1069 if (currmap->script != NULL) in read_interfaces()1071 currmap->script = xstrdup(next_word(&rest_of_line)); in read_interfaces()1073 currmap->mapping = xrealloc_vector(currmap->mapping, 2, currmap->n_mappings); in read_interfaces()1074 currmap->mapping[currmap->n_mappings] = xstrdup(next_word(&rest_of_line)); in read_interfaces()1075 currmap->n_mappings++; in read_interfaces()[all …]