Lines Matching refs:expected_nbytes
4134 unsigned int raw_btf_size, user_btf_size, expected_nbytes; in do_test_get_info() local
4175 expected_nbytes = min(raw_btf_size, user_btf_size); in do_test_get_info()
4176 if (raw_btf_size > expected_nbytes) in do_test_get_info()
4177 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4178 raw_btf_size - expected_nbytes); in do_test_get_info()
4188 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4191 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
4196 while (expected_nbytes < raw_btf_size) { in do_test_get_info()
4197 fprintf(stderr, "%u...", expected_nbytes); in do_test_get_info()
4198 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
4199 "user_btf[%u]:%x != 0xff", expected_nbytes - 1, in do_test_get_info()
4200 user_btf[expected_nbytes - 1])) { in do_test_get_info()