Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c4003 unsigned int raw_btf_size, user_btf_size, expected_nbytes; in do_test_get_info() local
4041 expected_nbytes = min(raw_btf_size, user_btf_size); in do_test_get_info()
4042 if (raw_btf_size > expected_nbytes) in do_test_get_info()
4043 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4044 raw_btf_size - expected_nbytes); in do_test_get_info()
4054 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4057 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
4062 while (expected_nbytes < raw_btf_size) { in do_test_get_info()
4063 fprintf(stderr, "%u...", expected_nbytes); in do_test_get_info()
4064 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
[all …]