Searched refs:expected_nbytes (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4660 unsigned int raw_btf_size, user_btf_size, expected_nbytes; in do_test_get_info() local 4699 expected_nbytes = min(raw_btf_size, user_btf_size); in do_test_get_info() 4700 if (raw_btf_size > expected_nbytes) in do_test_get_info() 4701 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info() 4702 raw_btf_size - expected_nbytes); in do_test_get_info() 4712 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info() 4715 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info() 4720 while (expected_nbytes < raw_btf_size) { in do_test_get_info() 4721 fprintf(stderr, "%u...", expected_nbytes); in do_test_get_info() 4722 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info() [all …]
|