Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4718 unsigned int raw_btf_size, user_btf_size, expected_nbytes; in do_test_get_info() local
4757 expected_nbytes = min(raw_btf_size, user_btf_size); in do_test_get_info()
4758 if (raw_btf_size > expected_nbytes) in do_test_get_info()
4759 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4760 raw_btf_size - expected_nbytes); in do_test_get_info()
4770 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4773 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
4778 while (expected_nbytes < raw_btf_size) { in do_test_get_info()
4779 fprintf(stderr, "%u...", expected_nbytes); in do_test_get_info()
4780 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
[all …]