Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c3536 const char **strs_idx = NULL, **tmp_strs_idx; in btf_raw_create() local
3561 tmp_strs_idx = realloc(strs_idx, in btf_raw_create()
3562 sizeof(*strs_idx) * strs_cap); in btf_raw_create()
3568 strs_idx = tmp_strs_idx; in btf_raw_create()
3570 strs_idx[strs_cnt++] = next_str; in btf_raw_create()
3584 ret_types[i] = strs_idx[next_str_idx++] - str; in btf_raw_create()
3594 ret_types[i] = strs_idx[idx-1] - str; in btf_raw_create()
3612 next_str_idx < strs_cnt ? strs_idx[next_str_idx] : NULL; in btf_raw_create()
3618 if (strs_idx) in btf_raw_create()
3619 free(strs_idx); in btf_raw_create()