Lines Matching refs:expected_nbytes
4718 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()
4781 "user_btf[%u]:%x != 0xff", expected_nbytes - 1, in do_test_get_info()
4782 user_btf[expected_nbytes - 1])) { in do_test_get_info()