Searched refs:type_sz (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 274 size_t type_sz; in btf_dump_data() local 292 type_sz = btf__resolve_size(btf, type_id); in btf_dump_data() 295 if (type_sz <= ptr_sz) { in btf_dump_data() 296 if (!ASSERT_EQ(ret, type_sz, "failed/unexpected type_sz")) in btf_dump_data() 574 size_t type_sz; in test_btf_dump_struct_data() local 647 type_sz = btf__resolve_size(btf, type_id); in test_btf_dump_struct_data() 651 ASSERT_EQ(ret, type_sz, in test_btf_dump_struct_data() 748 type_sz = btf__resolve_size(btf, type_id); in test_btf_dump_struct_data() 753 ASSERT_EQ(ret, type_sz, in test_btf_dump_struct_data() 776 type_sz = btf__resolve_size(btf, type_id); in test_btf_dump_struct_data() [all …]
|
H A D | ctx_rewrite.c | 290 int type_sz = matches[1].rm_eo - matches[1].rm_so; in find_field_offset() local 298 if (type_sz >= sizeof(type_str)) { in find_field_offset() 299 PRINT_FAIL("Malformed pattern: type ident is too long: %d\n", type_sz); in find_field_offset() 308 strncpy(type_str, type, type_sz); in find_field_offset()
|