Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4288 const char **strs_idx = NULL, **tmp_strs_idx; in btf_raw_create() local
4313 tmp_strs_idx = realloc(strs_idx, in btf_raw_create()
4314 sizeof(*strs_idx) * strs_cap); in btf_raw_create()
4320 strs_idx = tmp_strs_idx; in btf_raw_create()
4322 strs_idx[strs_cnt++] = next_str; in btf_raw_create()
4336 ret_types[i] = strs_idx[next_str_idx++] - str; in btf_raw_create()
4346 ret_types[i] = strs_idx[idx-1] - str; in btf_raw_create()
4364 next_str_idx < strs_cnt ? strs_idx[next_str_idx] : NULL; in btf_raw_create()
4367 free(strs_idx); in btf_raw_create()