Home
last modified time | relevance | path

Searched refs:sym_match_arr (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/scripts/kconfig/
Dsymbol.c956 struct sym_match *sym_match_arr = NULL; in sym_re_search() local
976 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); in sym_re_search()
979 sym_match_arr = tmp; in sym_re_search()
985 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()
986 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
987 sym_match_arr[cnt++].sym = sym; in sym_re_search()
989 if (sym_match_arr) { in sym_re_search()
990 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()
995 sym_arr[i] = sym_match_arr[i].sym; in sym_re_search()
1000 free(sym_match_arr); in sym_re_search()